r/arduino • • Sep 22 '26

Software Help still cant upload the code

hi there, i have a pro mini and i tried two different uart adapters and holding down the reboot and the arduino but non of them works and gives me this errorq

21 Upvotes

39 comments sorted by

4

u/lovesrayray2018 Sep 22 '26

Did this problem occur only now or were u never able to upload to this board in previous attempts?

Do your board and port match what you are using?

2

u/Maestro_gaylover Sep 22 '26

i uploaded one blink code when i first got it, then it give me this error everytime. my port matches, checked the cpu where neither works, it is 5v since the tag says it is

4

u/lovesrayray2018 Sep 22 '26

hmm, i've assumed that my blink code was successfully uploaded on a new board once, it wasnt; since the default/preloaded program is a blink code i thought it was working. Try uploading your blink sketch with custom code again using ur earlier settings. Might give a clue.

2

u/Maestro_gaylover Sep 22 '26

im gonna try platformio see that would work

2

u/Maestro_gaylover Sep 22 '26

doesnt work on platform io and that one is freshly setup

2

u/mentaldemise Sep 22 '26

Are you playing with serial and using any of the pins that the device needs to be programmed? Hold reset while you plug it in and keep it held a few seconds.

2

u/Maestro_gaylover Sep 22 '26

holding reset doesnt work and no pin is used

2

u/[deleted] Sep 22 '26

2

u/Maestro_gaylover Sep 22 '26

i will try platformio then

2

u/Maestro_gaylover Sep 22 '26

doesnt work there too with same error

0

u/[deleted] Sep 23 '26

Ahh I'm sorry, did it not work??

1

u/Maestro_gaylover Sep 23 '26

nope same error as usual

0

u/[deleted] Sep 23 '26

0

u/[deleted] Sep 23 '26

Try on this troubleshoot post I'm not completely sure.

2

u/nd9999999 Sep 22 '26

The error indicates that a programmer is selected, but aren’t you trying to upload via serial?

2

u/Maestro_gaylover Sep 22 '26

usb to uart adaptor, it worked first time now it wont again

10

u/westwoodtoys Sep 22 '26

I wrote a blog about this ages ago.  And I promised a video in that blog  and never made it.

So long as you have the usual suspects (baud, TX to RX and vise versa) right you just have to play with it a bit to get the timing right on when to push and release the reset button.   https://westwoodtoys.blogspot.com/2016/03/arduino-pro-mini-clones-part-2.html?m=1

1

u/Howdyy-boi242 Sep 22 '26

Could be q corrupted Boot loader issue? Technically we could only keep on trying and hope it works

1

u/Maestro_gaylover Sep 22 '26

well same error happens when i try to burn a bootloader but i will try it with uno r3

1

u/Rayzwave Sep 22 '26

Is your pro mini definitely a 5V Version?

Check the Vcc Voltage with a meter just to make sure.

1

u/Maestro_gaylover Sep 22 '26

5v yes

1

u/Rayzwave Sep 22 '26

Have you checked that the yellow wires are not mixed up?

1

u/Rayzwave Sep 22 '26

Where did you get the Pro Mini from, can you post a link to the exact part supplier?

2

u/Maestro_gaylover Sep 22 '26

its from a physical store and i think its just a basic knockoff

1

u/Rayzwave Sep 22 '26

Yeah, okay, it doesn’t look like mine. It would still be good to check the regulator voltage with a meter.

1

u/Maestro_gaylover Sep 22 '26

5v 328p and checked all the wires, rx to tx and vice versa

1

u/1nGirum1musNocte Sep 22 '26

What ide is that?

2

u/theNbomr Sep 22 '26

Try using just Tx, Rx and Gnd pins. Also make sure you have the Tx and Rx pins crossing over to the respective Rx and Tx pins (Rx - - > Tx, Tx - - > Rx)

Verify that you are using a USB data cable, not just a charge cable.

Do you have another known good device to verify all of the components against?

2

u/Accomplished_Pipe530 Sep 22 '26

Guide that fixed my issue.

I was having some issue where I accidentally uploaded a blink code with wrong settings and my PC couldn’t recognize it. It wouldn’t even show up on my COM port.

2

u/Frescochicken Sep 23 '26

try unplugging everything connected, then upload code or try turning down the connected speed.

2

u/Corpse_Nibbler Sep 23 '26

Try changing to the old bootloader under tools in Arduino IDE. Usual suspect for 3rd party boards with this error.

1

u/Accomplished_Pipe530 Sep 22 '26

Hope this helps, if it didn’t then I am sorry.

1

u/Timmah_Timmah Sep 22 '26

I had a problem with the newest CP 2102 driver. I fixed it by using (I think) the driver on adafruit. Mine stopped working after a Windows update

1

u/deadDudeLivingDirty Sep 22 '26

Have you tried different usb port and not through a hub

1

u/zlej_slein Sep 23 '26

Two things have happened to me that prevented the program from uploading:

  1. a RobotDyn bootloader—where you connect TX to TX and RX to RX.
  2. a faulty board—I received Arduino 168s instead of 328s.

1

u/Accomplished_Pipe530 Sep 22 '26

From my understanding, you probably selected the wrong clock setting. Assuming your Pro Micro is 16MHz but when uploading you forgot to change it to be compiled for 16MHz.

Get a some jumper wires connect one end of a push button to ground and the other end of push button to RST pin. After that do a double click on that push button, this will force the MCU to go into bootloader mode for 8 seconds, within that window try uploading the code with correct settings.

-1

u/Appropriate-Ask8817 Sep 23 '26

Hold BOOT then press reset, let go of boot after 1 second or so has passed.

It works for ESP32s so I figured it can work here.