SparkFun Forums 

Where electronics enthusiasts find answers.

Everything ARM and LPC
By lusher00
#106980
I am trying to use Jym Lynch's tutorial and YAGARTO to set up a development environment for the AT91SAM3U-EK. YAGARTO also provides a short tutorial here

http://www.yagarto.de/howto/jlink/index.html

along with an example project for the board here

http://www.yagarto.de/howto/examples/index.html

I can compile and debug the example from YAGARTO but I am unable to extend the example to the Atmel examples available for the board. The projects compile with some slight modifications but I cant program FLASH or debug using the same techniques that YAGARTO uses. Has anyone been able to debug the Atmel applications using the GNU toolchain? If anyone knows of some more tutorials or detailed examples of setting up the GNU toolchain (and I should mention I am using SAM-ICE) besides for the ones from YAGRTO or Jim Lynch I would appreciate that as well. Neither tutorial does a great job of explaining what is going on in some critical sections which makes it difficult to extend the procedures to more complicated projects. I am not even sure what documentation I need to be looking at to figure this out. The J-Link docs don't really explain the programming and debugging procedures and I am not sure where else to look.