hey everyone, when i try uploading a sketch to my Arduino nano with a 168PA processor the sketch compiles and then is stuck in upload (this happens for every sketch I try to upload). I tried waiting for the upload to finish and I eventually got the following error message
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xd6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xd6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xd6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xd6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xd6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xd6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xd6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xd6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xd6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xd6
Failed uploading: uploading error: exit status 1
what i tried:
- I made sure that i selected the right processor (ATmega 168)
- made sure i selected the right COM port
- selected programmer as avrispmkII
- I tried burning the bootloader using an Arduino uno as ISP, but it failed
- tried holding down the reset button and let it go when the uploading starts.
- used different cables
- used different usb ports
- used both old and new Arduino IDEs
- reinstalled the ch340 drivers several times
I don't know if this helps but the led labeled L keeps blinking. (1 second on and like 1.5 seconds off).
let me know if there is any details I've missed that u would like me to provide
thank you in advanced.