Pages: [1]   Go Down
Author Topic: Hex upload for Mega 2560  (Read 513 times)
0 Members and 1 Guest are viewing this topic.
South Africa
Offline Offline
Jr. Member
Karma: 0
Posts: 65
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

HI All

I am using a Mega 2560 and I would like to upload the hex file without using the IDE.
I have tried XLoader and ArduinoUploader but is seems the it does not support the 2560, does anyone know what settings to change for it to work with the Mega 2560?
Or is there a different way to upload the hex file?

Thank you in advance.



Massachusetts, USA
Offline Offline
Tesla Member
Karma: 212
Posts: 8967
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think the ATmega2560 bootloader uses the stk500v2 protocol, not the stk500 (v1) protocol used by earlier Arduino models.

If you hold down the shift key when you click on the Upload button for an Arduino sketch it will show you the commands it uses to upload the .hex of the sketch.  You can than adapt that command to your own .hex file.

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Pages: [1]   Go Up
Jump to: