This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/AM5728: problem setting breakpoints in C source when debugging SPL

Part Number: AM5728

Tool/software: Code Composer Studio

Champs,

I have been debugging SPL code on AM5728 IDK board to help a customer and stumbled upon few deficiencies that I am not able to explain.

1. There are some code fragments where breakpoints created in C source do not work, i.e. the execution does not stop at the breakpoint, while the breakpoint created at exact same place in Disassembly does work. Example: function scale_vcores() in clocks-common.c

2. there is an inconsistency in what on board XDS100.v2 and external XDS560.v2 are able to perform. I have summarized my experiments in the table below:

Action

XDS100.v2

XDS560.v2

Single step in disassembly

Works

Works

Breakpoint in disassembly (inside scale_vcores() in clocks-common.c)

Works

Works

Breakpoint in spl.c (preloader_console_init

works

doesn't work

Breakpoint in clock_common.c(scale_vcores)

Doesn’t work

doesn't work

It is not impossible to debug under above limitations but quite inconvenient. Any comments/insights/suggestions would be greatly appreciated. 

thanks

Michael