Go Down

Topic: feature request hex upload (Read 1 time) previous topic - next topic

wally123

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


johnwasser

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
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

wally123

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

robtillaart

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)
Rob Tillaart

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

Go Up