Programming a Arduino Due board without any JTAG/J-Link

952 views
Skip to first unread message

Yemans

unread,
Jun 5, 2014, 3:38:15 AM6/5/14
to devel...@arduino.cc
Hi 

I am working on Arduino Due (ATSAM3x8E)interface with a Wireless module . I am using SPI protocol for this interface. 
I want to port FreeRTOS in to this. I also want to add driver for this wireless module.
I already have the source code which i build in Atmel Studio IDE.  I tried programming/Downlaoding from Atmel Studio but it require JTAG/J-Link.
Since i don't have one i need to program without that.  So i am using Arduino IDE for building the code. 
But it found lot of limitation in that

So i need to solve my problem  using either of this below mentioned solution:

1) Some tool like AX Loader which will directly flash hex file on Arduino Due. I tried AXLoader but it does not support  Arduino Due.
AXLoader can be used for Uno and some other Arduino boards only.

2) Some way to add the new library files in Directory structure. Since my source code contains multiple files in same name i can't add the library files individually. So is there any option to add the library in directory structure?

Any one of the 2 solution is favorable. 
Is there any other ways to solve this issue?

Taylor Alexander

unread,
Jun 5, 2014, 6:29:21 PM6/5/14
to devel...@arduino.cc
Hello!
Arduino uses the BOSSA tool to load code onto the board without a JTAG unit, so use that for #1.
Not sure about #2.


--
You received this message because you are subscribed to the Google Groups "Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to developers+...@arduino.cc.

Rob Giseburt

unread,
Jun 5, 2014, 6:48:53 PM6/5/14
to devel...@arduino.cc
I'll chime in here to say that I have started (but not completed) a python rewrite of the essential functions of BOSSAc. 

It works to write to the SAM3X8x now. It cannot read yet so it doesn't verify, but it would only take an hour or so to get it there.

Anyway, I have no idea when I'll have time to finish it but it's a usable start if anyone's interested. 


-Rob

Yemans

unread,
Jun 6, 2014, 2:58:09 AM6/6/14
to devel...@arduino.cc

I got the answer for flashing a hex file in to an Arduino Due board using command line. 
We need to install Arduino Due IDE 1.5.6-r2 for that. Check this link below and do as it is:

 https://sites.google.com/site/arduinodueatmelstudio/home/uploading-code-to-due                                                           

Note:
Copy files to respective folders if they are not found while executing from command line
 eg: bossac.exe need to be copied to folder Arduino-ide-1.5.x\hardware\tools\
Reply all
Reply to author
Forward
0 new messages