Hello,
suddenly out of the blue I cannot set breakpoints anymore in new code using CCS 11.2
and debugging with XDS110 JTAG-debug probe on an AM243x board.
I can set breakpoints in code I wrote a few months ago, but for new code the debugger says
"No Code associated with <mySourceFile>"
when I try to enable the breakpoints after starting the debug process and loading the firmware image.
The project is not a CCS project, as I am building in the terminal using the TI-ARM-clang compiler (ti-cgt-armllvm_1.3.0.LTS).
The "-O0"-Option is set for our debug build, so there is no compiler optimization as was the case here:
https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/682807/ccs-cc2640r2f-setting-breakpoints-on-my-own-new-code-are-not-in-debug-context
as far as I understood that case.
When I right click a working breakpoint and choose "Breakpoint Properties", and then on the right side in the Properties table look in "Hardware Configuration" -> Location,
the working breakpoints have a valid address and a symbolic showing, as I interpret it, the function scope the breakpoint is in plus the relative offset address from the beginning of the function.
Whereas for the not working breakpoints the address is 0x0 and the symbolic are empty.
I am currently at my wits end as I fail to see the difference between the new code and the old code.
Thank you for your help.
Best regards
Philip.

