Go Down

Topic: Hex upload for Mega 2560 (Read 954 times) previous topic - next topic


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.




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: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

Go Up