I'm new to crossworks and am trying to debug an Arm926ej-s inside a SoC. I'm using the generic Arm package with
CW 2.2. The vendor supplied sample code is based on IAR's EW. If compiled in IAR, it generates a binary which is
written to the flash on the board. For the solution, I think I picked Generic->Arm9 Board, executable running
from flash and ram, but I'm not sure. I converted sample code to compile in CW and generated a bin file which I wrote to the flash using the vendor's supplied program. The sample code is supposed to toggle a GPIO, but it doesn't. To debug, I connect via Mcgraigor 20-pin wiggler and select Debug->Go. The Output shows:
Checking "arm9exe" in configuration ARM Flash Debug
Preparing target for download
Downloading to Wiggler
It seems that I can get to disassembly via Target->Attach Debugger. The disassembly shows a part of crt0.s,
around __fast_end__. I can read/write registers and step thru code, but only in disassembly.
For the more experienced users out there, can anyone suggest what one would do next to be able to debug properly?
It would be nice to step thru with the source code and not in disassembly.
Please sign in to leave a comment.