sketch compiles but won't load

My sketches will not upload. I have tried two Unos, multiple USB cables, multiple generic sketches. The sketches verify, the port is the Arduino port. The most obvious error that appears on all sketches is that the IDE tries to load over a 115,000 baud rate but I have Serial.begin (9600); in the sketches.
I'm using a new mini computer
The error message is:
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM4
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x61
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x61
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x61
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x61
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x61
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x61
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x61
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x61
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x61
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x61

avrdude done. Thank you.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

It's driving me crazy.

Hi,
What OS and IDE version are you using?

Tom.. :slight_smile:

Try holding down the reset button on the Arduino until the first "programmer is not responding" error happens.

The most obvious error that appears on all sketches is that the IDE tries to load over a 115,000 baud rate but I have Serial.begin (9600); in the sketches.

That is normal, the upload is always at 115,200 baud with the UNO, regardless of the sketch contents.

Are you using a USB 3.0 port? Sometimes that will cause problems, try a USB 2.0 port if possible.

IDE 1.8.13. It's a 2.0 port. tried the reset button-nada. I know the sketches are good, using examples from IDE etc.

Are you sure you have the right port selected? It will display at the lower right corner of the IDE window.

Anything connected to pin 0 and 1? If yes, disconnect it and try again.

Hi,
Do you have the correct Arduino model controller selected?

Do you have the correct port selected?
Do you have more that one COM port to choose from in the port list in the IDE?

Some Arduino controllers, especially clones I have seen have COM 52 and COM 70 as locations for the programming port.

Does your computer make a beep/noise when you plug the controller USB cable in.

Thanks.. Tom... :slight_smile:

Tried everything. Device manager and com port on bottom right of IDE agree. Cable makes ting ting ting noise

I checked the stack500 problem on Google. One fix I hadn't performed was to hit the reset and see if the LED near pin 13 lit. It did not, meaning somehow the bootloader became corrupted. One person did say to hit the reset but didn't mention observing to see if the LED lit.

Apparently fixing the bootloader is not easy so I'll wait until tomorrow and hope I don't need help.

Hi,
Can I suggest you google
Usbtiny Usbtinyisp Avr Isp Programmer For Arduino Bootloader

It is well worth buying one, it will program your bootloader.
I have found clone Nano controllers have usually got the old bootloader in firmware, a real pain if you also have Nanos with the later bootloader.
It only takes seconds to load the latest bootloader, or in your case reload.

Tom... :slight_smile:

I, too, recommend a USBasp. You can get one for well under $5 on eBay or Amazon. Most of the inexpensive ones come with a 10-pin cable (the old Atmel standard) but the Arduino has a 6-pin connector so look for one that includes the 10-pin to 6-pin adapter or buy the adapter separately.

If you want one very quickly and have Amazon Prime, they are available for $6 to $10 with free next-day shipping.

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