Uploading Bootloader to atmega2560

I am using Atmega2560 for my project. I want to upload my arduino code on it. I tried to upload Bootloader first , using Arduino as ISP and USBASP. I failed in this. I am getting the error "avrdude: error: program enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

Error while burning bootloader."

And also "Yikes, invalid device signature. Please check your connections."
How do I solve this issue?

Hello,

that's not enough information...

do yourself a favour and please read How to get the best out of this forum and provide all the necessary documentation for your ask.

Is it an Arduino board you are using? If so, what board? If this is a custom board, post the FULL schematic & a close up, IN FOCUS photo of the board.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.