Go Down

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

hukasasha

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

http://www.ngcoders.com/downloads/arduino-hex-uploader-and-programmer

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..

hukasasha

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

retrolefty

Quote
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.


http://code.google.com/p/home-part/downloads/detail?name=avrdude-GUI-1.0.5.zip&can=2&q=

hukasasha

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