Is it possible to program the Arduino Due without the Arduino IDE? Is there a standalone program that can be downloaded, and be used to upload a .bin file (which has already been generated from the arduino IDE) to the Due? Any guidance appreciated.
I read about SAM-BA programmer, downloaded it but double clicking the .exe file does nothing. Something seems to open but it disappers.
2 Answers 2
The standalone program for most arduinos is avrdude: http://www.nongnu.org/avrdude/
However, for the Due, it is BOSSA:
Unlike other Arduino boards which use avrdude for uploading, the Due relies on bossac. -- Arduino Due Overview
-
thanks. Do you know if this one can upload the code via the native USB port? or does it need to have a jtag port?aVC– aVC2016年03月08日 03:23:05 +00:00Commented Mar 8, 2016 at 3:23
-
It can use the USB port. avrdude is the program the IDE uses to do its stuff.Dave X– Dave X2016年03月08日 04:07:00 +00:00Commented Mar 8, 2016 at 4:07
-
Err... are you sure it's avrdude? The DUE features a SAMX ARM microprocessor, not an AVR.zmo– zmo2016年03月08日 12:54:00 +00:00Commented Mar 8, 2016 at 12:54
-
1
Usually when on opening a program you get a console that pops on, it means that this program is meant for commandline usage and not CLI.
You should open a terminal, cd
in the downloaded .exe directory, and then type that tool's name. You might want to try adding --help
after the program's name to learn how to use it.
Another good idea is to look at what Arduino does by clicking on the verbose option in the preferences. Then you'll be able to copy/paste the command call and modify it to upload the firmware blob you want.
Finally, if you look up "AVR SAMX upload tool windows" on google you might find a GUI wrapper for the command line tool.