Go Down

Topic: How to program Arduino Due from Atmel Studio 6.2? (Read 569 times) previous topic - next topic

AZDeen

Dear Members,

I require help, and guidance. I have compiled a LED blinking code for Arduino Due (AD) board in Atmel Studio 6.2. Now I have to program the hex file on AD board.

Please guide what steps I have to take to program Arduino Due board from Atmel Studio 6.2? There are much links to guide, programming other Arduino boards from Atmel Studio, but I have found none link/info on how to program Arduino Due board from Atmel Studio.

Thanks

AZDeen

Palliser

You can use the .bin file generated by AS6 located at:
Quote
...Documents\Atmel Studio\6.1\YourProject\Yourproject\Debug\


Then load your .bin file to Arduino Due using bossac.exe that comes with
the Arduino IDE (...\arduino-1.5.6-r2-windows\arduino-1.5.6-r2\hardware\tools) as follows (cmd command line):

Quote
bossac.exe --port=COM12 -U false -e -w -v -b yourfile.bin -R


Notice that I am using port 12 because that is the port in my laptop where my Due is connected.

Remember to press the delete and reset buttons of Arduino Due before run the bossac.

Good luck!

p

Go Up