Pages: [1]   Go Down
Author Topic: Arduino HEX batch file  (Read 731 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,

I have two questions.

1. Where can I get a hex file using Arduino IDE?

2. How can I create a batch file (*.bat) to upload the hex file on Arduino?

Thanks a lot.



Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 640
Posts: 50335
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
1. Where can I get a hex file using Arduino IDE?
Use File + Preferences to turn on verbose mode, to see where the hex file is created.

Quote
2. How can I create a batch file (*.bat) to upload the hex file on Arduino?
Use a text editor?
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
1. Where can I get a hex file using Arduino IDE?
Use File + Preferences to turn on verbose mode, to see where the hex file is created.


Quote
2. How can I create a batch file (*.bat) to upload the hex file on Arduino?
Use a text editor?

- Thanks. What command lines I should write in the bat file?
Logged

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

there is only one command you need - avrdude.exe - google for the parameters.

If you set the verbose mode the (almost) right command will be shown.

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: