Go Down

Topic: Here is how i was able to upload external hex file to mega2560 (Read 1 time) previous topic - next topic


After a lot of searching i was finally able to upload hex files to Arduino mega2560 with the help of this small software


this software was only for m8, m168, m328p and m128

but the usefull thing about it was, it lets u change the command line for avrdude

so all i did was
>Replace the (avrdude.conf) in the software with the (avrdude.conf) that is in arduino-0022\hardware\tools\avr\etc\avrdude.conf
>Run the software and add the hex file
> Choose your com port and any microntroller i.e m328p
>Change the AVR Dude Params to:-

-F -v -patmega2560 -cstk500v2 -P\\.\COM24 -b115200 -D -Uflash:w:"your_hex_file path.hex":i

Don't forget to change COM24 to your COM port number

>Click the upload button and I WAS DONE! XD

If you guys have better way to upload hex file to meg2560 please enlighten me..


oops... you don't have to replace the avrdude.conf
just start from the 2nd step


If you guys have better way to upload hex file to meg2560 please enlighten me..

This avrdude GUI is pretty nice and I've used it for several years now.



thanks retrolefty it worked.. but only with command line i posted, every time i upload i have to give it the command line and the hex file path written with it. Thats because i chose stk500v2 programmer and used COM instead of usb.

thank u, this is definitely better software

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131