Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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: 5

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top