Code running even after reset, programmer not responding

I tried resetting the Arduino board multiple times but the previous code keeps on running even after uploading a blank code

Given below is the Error that i have been getting :

Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 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=0xb1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xb1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xb1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xb1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xb1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xb1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xb1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xb1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xb1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xb1
Failed uploading: uploading error: exit status 1

Is the correct board and COM port selected in the TOOLS menu ?
Does the device / COM port show in the Windows Device Manager ?

You do realize that this message means the new code didn't go up, so whatever was there will be what executes.

These errors are capricious and annoying. I've had days of trouble then weeks or months with none.

Different cable
Different port
Use or try without any USB hub
Reboot your PC

Different Arduino board if you've more than one
Disconnnect anything atta ched to the Arduino board.

Rinse and repeat.

Each of those has been the answer for me at times.

If you do find consistent errors with any of what those experiments show, mark them so you don't inadvertently pick up the known bad (for Arduino) cable, for example.

a7

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