Hi!
I just updated to the latest arduino IDE version (1.0.4), and I saw in the changelog that the Atmega2560 bootloader was improved.
I thought I might give it a go, so I hooked up my USBasp to my mega2560, and hit "burn bootloader".
after several minutes the IDE hang, and when I tried to burn the bootloader againg, I'm just getting :
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.
Yes, the USBasp does supply power to the mega. I've also burned a bootloader to the board before, but the IDE hang, and the MEGA doesn't respond anymore
It looks like some information is being read, but not the "critical" information. Just guessing, but I'd say that the lock bits are set in such a way as to prevent avrdude from reading the fuses or other critical information.
It's possible the low fuse may be set to internal low speed clocking of 128KHz. If that is the case your USBasp programmer cannot talk to the m2560 chip because it is running the older firmware version. Unless your USBasp version has a slow sck clock jumper option?
You could try upgrading the firmware of your USBasp programmer, but you will need another programmer to do it with.
Can you identify which USBasp programmer you have?