2025-02-28 2:48 PM
I have a project with TrustZone enabled, and am able to debug the non-secure side fine, but breakpoints never hit on the secure side (functions through nsc from non-secure side) other than main before it jumps to the non-secure side. I'm setting it up as follows:
. Are there any settings so that breakpoints will hit in the secure code called from the non-secure side?
Thanks.
2025-03-03 11:26 AM
It turns out "some" of the secure code can be debugged but other modules cannot. Below shows an image of the breakpoints. When stopped at main, the top breakpoint (secure area) does not show the checkmark. The others do. The second breakpoint is also in a different secure module and does work. In what scenario would only some breakpoints work? The code does build, run, and function normally.
2025-03-03 4:25 PM
If turns out if I uncheck this box in the secure project, I am able to debug as expected and the breakpoints are hit:
Does anyone have insight as to why it's considering included code as unused?