Error in Verification of Arduino hex file

Status
Not open for further replies.

chirag2239

Member level 3
Joined
Jul 29, 2011
Messages
64
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
2,048
Hello,

I am using Arduino 1.6.4 IDE and my problem is that I am working on ATmega2560 and I need to bootload it. So I found the hex file of bootloader file and I opened it into Arduino IDE. So when I am verifying the code, it gives the error of this :


bootloader_2560:6: error: variable 'atmega2560_v2' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
variable 'atmega2560_v2' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

What error is this and why?

Please help me to solve. Please provide the compiled file. Here I have attached the whole folder. Please find the attachment and provide the compiled error free file.

Thanks.
Chirag
 

Attachments

  • Atmega_Board_Programmer.zip
    36.3 KB · Views: 138

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…