Hi everyone!
I own a 3D-printer based on a Melzi board with Atmega 1284p, such this one
For a few month ago the board was broken - input voltage regulator AMS1117-5.0 was burned. I bought new one and solder it, but has no any response from the board.
I try to reflash the firmware for printer but AVRDUDE sent message that no any response from the board.
Then i try to burn the bootloader, first I used Arduino ISP through Arduino Nano, then Mega. Later I bought the UBASP programmer, such that
and try to reflash thу board - the result is the same.
Using Arduino Nano/Mega
Arduino: 1.8.5 (Windows 10), Плата:"Sanguino, ATmega1284 or ATmega1284P (16 MHz)"
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xff
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xff
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xff
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xff
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xff
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xff
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xff
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xff
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xff
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xff
Using an USBASP programmer earlier i receive the same but now whats happened with my programmer and AVRDUDE send this error:
avrdude.exe -p m1284p -c usbasp -P usb -U flash:w:"C:\xxx_folder_name_xxx\1284p.hex":a
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: error: programm enable: target doesn't answer. 1
avrdude.exe: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude.exe done. Thank you.
At the Russian-speaking forum somebody said that Atmega on the board was died and must be re-soldered to a similar chip. I was going to buy the same chip, but the seller warned that it also does not have a preburned bootloader.
So, is there a way to check chip - it's live or dead?
and separetely the question - what programmer should I buy for flashing the bootloader with a 100% result?
Much thanks in advance!!!