Pages: [1]   Go Down
Author Topic: feature request hex upload  (Read 1739 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Full Member
***
Karma: 0
Posts: 148
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

not sure this is of general interest, but for my daily work it would be helpful.

A possibility to select an external hex-file and upload it through the Arduino IDE.
Should not be a big deal for developers (?).

thank you
wally

Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 208
Posts: 8822
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

All the IDE would do is run avrdude.  If you need to upload hex files you should learn to use avrdude directly.  By turning on verbose upload logging (see Arduino->Preferences...) you can see the command line that the IDE uses to upload your sketch.  That will provide a good template.  For example:

Quote
avrdude  -Cavrdude.conf -v -v -v -v -patmega328p -carduino -P/dev/tty.usbmodem1d11 -b115200 -D -Uflash:w:Blink.cpp.hex:i
Logged

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

0
Offline Offline
Full Member
***
Karma: 0
Posts: 148
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

johnwasser

thank you for reply;

I know how to use it, i do every day. I requested for convenience only.
I think a IDE is for this convenience done. You can also compile and link
using avr-gcc commandline.

wally
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 216
Posts: 13663
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

you can put the AVRDUDE command in a cmd file and just drop the .hex file on it (at least on windows this should be possible)
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Pages: [1]   Go Up
Jump to: