ogradyg

Jlink doesn't seem to be downloading to ATSAM3UEK

Discussion created by ogradyg on Oct 9, 2013
Latest reply on Dec 27, 2013 by ogradyg

I'm working with the v1.0.0 realease of the ATSAM3UEK bsp but I don't think code is being downloaded to the board during debug.

 

I'm using a Jlink to debug the Kernel Demo as a Nucleus application. The project appears to build without issue.

It seems that the Jlink connects to the board and Codebench will seem to step though the code - moves to next source line in csgnu_asm.S on each Step Over (Jlink activity light blinks on each step). However, in the Disassembly window, *all* instructions are listed as "movs r0,r0".

 

If I click on gdb in the Debug tab, it lists the following messages:

 

warning: while parsing target description (at line 38): Register "CR" has unknown type "CR"

warning: Could not load XML target description; ignoring

warning: while parsing target description (at line 38): Register "CR" has unknown type "CR"

warning: Could not load XML target description; ignoring

 

Is there some initial configuration that needs to be done to use the Jlink? The release notes indicate that the bsp is compatible with the Jlink.

 

Regards,

Galen

Outcomes