Pages: [1]   Go Down
Author Topic: Here is how i was able to upload external hex file to mega2560  (Read 1136 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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! smiley-lol

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

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17303
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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=
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: