Loading...
Pages: [1]   Go Down
Author Topic: Arduino HEX batch file  (Read 259 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: 316
Posts: 35566
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

Netherlands
Offline Offline
Tesla Member
***
Karma: 90
Posts: 9429
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 -

Pages: [1]   Go Up
Print
 
Jump to: