Part Number: TMDXIDK5718
Tool/software: Code Composer Studio
Hi
I'm using Code composer studio 8.0.0, connected to a IDK5718 via XDS200 USB-to-JTAG
I built Sitara RT Linux SDK V5.0.0.15 according to instructions in "Linux Board Porting Series, module 6".
Then I follow "Linux Board Porting Series - Module 7 - Debugging U-boot with JTAG in CCS".
I can launch debug config, connect to target (ARM0). I loaded "ti-processor-sdk-linux-rt-am57xx-evm-05.00.00.15/board-support/u-boot-2018.01+gitAUTOINC+131dc82830-g131dc82830/spl/u-boot-spl.bin" into memory. I loaded the symbols: /home/chchlee/ti-processor-sdk-linux-rt-am57xx-evm-05.00.00.15/board-support/u-boot-2018.01+gitAUTOINC+131dc82830-g131dc82830/spl/u-boot-spl
I set the PC to 0x4300000.
In the disassembly window I see the start:
I can also single step and set HW breakpoint in the disassembly window. So far so good.
Now I tried to set a HW BP in board.c, emif_get_dmm_regs(). I get:
So why does this association not work?
Then I tried to find the address of the function emif_get_dmm_regs() in u-boot-spl.map and entered it in the disassembly window:
Here I can activate a HW BP. But if I hit resume the CPU does not stop at the breakpoint. I strongly assume that this function is called by SPL.
If I do not set any breakpoint and hit resume sometimes I get the expected console output "Please RESET the board...". Most of the times it hangs and after hitting suspend the PC is 0x0000000c.
Regards, Chris







