Programming and flashing the DUE without the Arduino IDE

Hello,

I would like to do some bare metal C programming on the DUE, meaning I want to program directly the SAM3X8E without any of the Arduino IDE and stuff. I know it would be way easier using the IDE, but I would like to learn to do without it.

I already worked on a STM32 in C before, using the Keil IDE which was doing all the compiling and flashing for me, that is why I want to learn to do it without an IDE.

I suppose I should use the gcc arm-none-eabi tool-chain to compile the C code (in command line or using another IDE I don't know), but I can't figure how to flash the controller after that. Which USB port should I use? And which tool should I use to flash it?

Thanks

Atmel has a couple of tools: AS6 and SAM-BA. You can use also bossac by Shumatech and even Keil. For the AS6 and Keil you'll need a hardware programmer like SAM-ICE and the pin adapter. The other two are more for direct flashing via USB (programming or native port). Regards,

-p

I'll try flashing via USB, since I don't want to buy more hardware, so I'll look into bossac.

Thanks for the help.

Regards