3

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.

asked Mar 8, 2016 at 1:42

2 Answers 2

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

answered Mar 8, 2016 at 2:24
4
  • 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? Commented Mar 8, 2016 at 3:23
  • It can use the USB port. avrdude is the program the IDE uses to do its stuff. Commented Mar 8, 2016 at 4:07
  • Err... are you sure it's avrdude? The DUE features a SAMX ARM microprocessor, not an AVR. Commented Mar 8, 2016 at 12:54
  • 1
    I was wrong. Edited. Commented Mar 8, 2016 at 17:17
0

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.

answered Mar 8, 2016 at 13:00

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.