Arduino Pro Mini problems with sending sketches

Hello, I bought a new arduino pro mini and soldered all the headers that came with it (they all worked I checked with a multimeter)
Now, I also bought a HW-409 TTL Programming module, so I can easily program the Pro Mini without the use of my Uno. Unfortunately, I get these messages when I try to upload any sketch to it:

Sketch uses 924 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Problem uploading to board.  See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.

Connections:
Pro Mini -> TTL
DTR -> DTR
TXD -> RXD
RXI -> TXD
VCC -> 5V+
GND -> GND

IDE settings:
Board: Arduino Pro or Pro Mini (This also worked with my uno, I also tried Nano, Uno and Duemilanove or Dieciemela)
Processor: ATMega328, 5V, 16MHz (this is my board type)
Port: /dev/ttyUSB0 (I have checked and it's the right one)

Things I did

  1. I programmed my Arduino Pro Mini using my Uno to see if the board was the problem, and it uploaded the Blink code flawlessly
  2. I did a loopback test on the ttl module and whatever I send to serial comes right back
  3. Checked the drivers on my RPI400 (I also tried a windows laptop, no luck)

Any help is much appreciated, thank you.

You are aware, that the bootloader is overwritten if you program the board via the UNO as programmer? So you have to reflash the bootloader to get upload working via serial again.

So I flash a new bootloader using the UNO? Because I can't flash the bootloader using the TTL module.

Yes, you must flash the bootloader using the UNO to be able to download via the TTL module afterwards. But any further programming via the UNO will overwrite the bootloader again.
You cannot flash the bootloader via the TTL module ( serial<->USB converter )

So I tried flashing it with the uno following this wiring:
UnoPro Mini
5V (vcc) ------------------- VCC
GND ------------------------GND
Pin 10 ---------------------- RST
Pin 11 ---------------------- Pin 11
Pin12 ---------------------- Pin 12
Pin 13 ------------------- -- Pin 13

Connected GND and VCC to the pins on the serial communication part
I also uploaded the arduinoIsp code to the uno and checked arduino as ISP under programmer
Unfortunately I got this error almost instantly:

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x15

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x14

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x01
avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x10
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: stk500_disable(): unknown response=0x12
Error while burning bootloader.

I also notice that heartbeat is no longer visible on the UNO, integrated LED just stays off.

You wrote that you have been able to upload the blink sketch via the UNO as programmer. How did you do that? The wiring should be the same when uploading the bootloader.

The same way as I specified, I can upload sketches just fine, but I have trouble burning the boot loader.

I used a windows PC now and succesfully burned the boot loader, I guess it was just a problem with the PI. I am going to try to connect it to the programmer now.

Edit:
It doesn't work, I get the same error as the first time.

pls note that there are at least 3 different pin layouts on various china-promini.
On your connections
Pro Mini -> TTL
DTR -> DTR
TXD -> RXD
RXI -> RXD
VCC -> 5V+
GND -> GND
I see 2 times RXD and no TX

It was just a typo, I do not have 2 RXD pins on the TTL.

Did you try uploading on a windows PC or on linux?

Yes, I tried uploading from my windows 11 laptop and from my ubuntu mate raspberry pi 400, same error.

ok, what RXD is typo error(?) i.e.:
what is the connection ? TX->RX and RX->TX OR TX->TX AND RX->RX?

TX->RX and RX->TX, I also edited the main message.

By the way, here’s a picture of my board:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.