Go Down

Topic: Error while uploading code avrdude: stk500_getsync() (Read 425 times) previous topic - next topic

engiuno

hello
whenever i try to upload the simple blink code(provided from examples) the same error occures but with different values of resp = ...

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xd9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xd9
Problème de téléversement vers la carte. Voir http://www.arduino.cc/en/Guide/Troubleshooting#upload pour suggestions.
 
the board is arduino uno and it is fine (checked the port and when i try to program another MCU Atmega 328p it works fine also )
also the MCU is fine as i know (it still got the latest program before the error started occuring ...)
the question is (can an mcu be fried and still working with the latest program ???)
i also tried to burn a new bootloader but it didn't worked ... (i think the problem is that the master is an atmega using its 8MHZ internal clock that i've burned the bootloader myself )

system : windows 10 x64
arduino version 1.8.5
ANY SUGGESTIONS ??!  :smiley-confuse:  :smiley-confuse:  :o

ieee488

the board is arduino uno and it is fine (checked the port and when i try to program another MCU Atmega 328p it works fine also )

What other MCU Atmega 328p ?


DrAzzy

Are you sure the chip you're using is bootloaded (and with the correct bootloader?)

Uno expects a chip clocked at 16mhz and optiboot bootloader at 115200 baud.

If you've got something else on the chip, it will not upload.
ATtiny core for 841+1634+828 and x313/x4/x5/x61/x7/x8 series Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts (some assembled), mosfets and awesome prototyping board in my store http://tindie.com/stores/DrAzzy

Go Up