Part Number:TMDXIDK5718
Tool/software: Code Composer Studio
Hi
I use Linux SDK 5.1 on an IDK571. HW and SW out of the box.
Build U-boot SPL with debug symbols active.
Connecting to USB JTAG XDS200
Code Composer Studio: Version: 8.2.0.00007
Followed closely TI's video training on building U-Boot SPL as project with existing makefile.
Added U-boot path as path relative to Source Folders in Debug Configurations / Source.
Using 0x4030'0000 as PC start address.
I can single step over and into C code and assembly code in SPL. Both source and disassembly are in sync. I can also step into C modules and the source files is opened automatically.
Problem is that it does not stop on HW breakpoints:
If I activate the HW BP in the disassembly window I get a new BP, which is shown as checked.
If I do the same in the source window the “Breakpoint manager” window pops up as shown telling that it cannot add a breakpoint.
If I run the code, the CPU does not stop. I tried breakpoint at various places: C code, disassembly, etc. None works
Addtition observation: In the disassembly windows sometime wrong code is displayed. Example above shows line 349 (correct) and then line 439, spl_board_init (wrong).
What could I have done wrong? Is there any optimization that should be turned off?
Regards, Chris