I recently bought a mega 2560 r3 which did work in initial 2-3 programs.a few days later it would show up all sorts of errors.To troubleshoot I followed many tips as directed on different forum,but ended messing up with the bootloader of the board .
The L-led does light up and so does the ON led upon connecting with a PC but does not respond to the reset button.
Need advise .Quick.Please.
this is what I get when i try to burn bootloader via usbasp
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
The USBAsp is connected improperly (either bad connections, wrong connections, or other crap connected in addition to the programmer) or the chip is dead. Recheck connections - use the 6-pin ISP header to program it - that way there's only one thing to plug in, and only two ways it can be plugged in there.
Disregard the cannot set sck period warning - that's nothing to worry about.
there has been a latest development, the computer does not respond to plugging in of the board but bascom-avr does identify both on board chips as ATmega 2560 and ATmega 26U2 through usbasp which makes me think that the firmware of the megas are bad ,both megas.