U-Boot Debug using CCSv5. In this session we will cover fundamentals necessary to use CCSv5 and a JTAG to debug a TI SDK-based U-Boot on an EVM platform. . July 2012. Pre-work Check List. Installed and configured VMWare Player v4 or later Installed Ubuntu 10.04
In this session we will cover fundamentals necessary to use CCSv5 and a JTAG to debug a TI SDK-based U-Boot on an EVM platform.
Menu File -> Import …
View -> Target Configurations
Right click on the target, click Launch Selected Configuration.
When it successes, it shows the following UI.
Now, the CCS successfully connect to the emulator.
Right click on the CortxA8 in last page, click Connect Target. Get the following picture
When it is ready.
Now the CCS connect to the Coretex-A8 Core correctly.
Select the CortxA8 core of the target.
Menu Tools -> Load memory, select the u-boot-spl.bin, the binary of the SPL
Start Address refers to 0x402f0400 mentioned as before.
Type-Size is 32 bit. This is because it is ARM code, not Thumb code.
The memory loading may fail for the first time, then trying it again will be OK.
Menu Run -> Load -> Load Symbols
Choose the image with symbols’ information, u-boot-spl
The initial status for the Cortex-A8 core here is Thumb, while, the system running
On the SOC is in ARM mode.
Menu View -> Registers. Change T bit to 0.