Ide gets errors trying to upload

IDE 1.8.19 had worked fine before I updated some libraries. Now, upload fails with uploading any sketch, any board. This example is for trying to upload Blink into a Nano, Error message is:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x95

I am running Windows 11, current .

Did you select the correct board? I know, stupid question but needs verification.
For the Nano, did you try the different processor options?
What are the other boards that you tried and what are the error messages?

Updating libraries should by no means affect the upload process.
Which version of the IDE; Windows Store or normal (msi) or standalone (zip)?

IDE 1.8.19. I even cleaned everything Arduino from my computer (saved the sketches) and downloaded 1.8.19 again (Zip). no change. I have been working with Nano and MKR wifi 1010. The wifi 1010 also failed but I would have to try it again to save that error msg. I think it was the same.
Update -- Just tried a different (old bootloader) processor option and IT WORKED with the blink. I thought I tried all three options with a more involved sketche. but now I will try them again. Thanks.

Well, blink worked, but so far everything else fails on upload. Another Nano, that I used successfully before, fails on upload. Used it to test a 4988 stepper motor. The only error message this time is "An error occurred while uploading the sketch"

Another Nano, still working on the sketch, upload says "Done uploading", but the program is not running, and the LED on the Nano blinks briefly about once a second, as if it is still in an upload mode. Pushing the restart button on the Nano changes nothing.

Maybe I have discovered something. One sketch that the IDE said was finished uploading, but the Nano did nothing, will upload and run correctly when I commented out everything involving the Adafruit _SSD1306 and Adafruit_GFX. And I believe that is one of the libraries that I updated when this problem started.

Well, without the Adafruit library, it will load and run, but not correctly. It runs the Setup, and a very small part of the Loop, then restarts.

That could be an indication of a memory issue; either running out of memory or your code corrupts memory. Or can also be a power issue.

You can always downgrade the libraries. Why did you upgrade them?

I have a more involved sketch running on a MKR WIFI 1010, and have no problems with the Adafruit library. I need to spend more time figuring out what works and what doesn't work. Maybe then my requests for help will make more sense. I've been a newby with the Arduinos for about 3 years now.

Note that the MKR has significant more memopry to waste than the Nano.

:laughing:

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