Hello,
I'm looking for a way to get the compiled file of my firmware.
Is there anyone who knows the procedure?
Thank you
Regards,
DonatelloX
Hello,
I'm looking for a way to get the compiled file of my firmware.
Is there anyone who knows the procedure?
Thank you
Regards,
DonatelloX
Menu File -> Preferences, then check verbose option for compilation and look for file you need when compile. The file with .hex extension is used by avrdude.
In the IDE select Sketch > Export Compiled Binary and it will copy the binary file to your sketch folder.
Thank you all for the reply.
--> For export BIN see the attached image or "In the IDE select Sketch > Export Compiled Binary and it will copy the binary file to your sketch folder" (as Riva wrote)
--> For programming Arduino:
Search bossac.exe in tools of the Arduino IDE
(eg. path C:\Users*USERS*\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.6.1-arduino/bossac.exe)
And then in CMD (if the COM port is COM3, see in Device Manager in COM port):
mode com3:1200,n,8,1
After this command the COM port number changes (see in Device Manager in COM port), if COM port is COM4:
bossac.exe --port=COM4 -U true -e -w -v -b program.bin -R
and without verify mode (faster):
bossac.exe --port=COM4 -U true -e -w -b program.bin -R