Go Down

Topic: feature request hex upload (Read 3264 times) previous topic - next topic



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


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:


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: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp



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.



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