This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Linker code packing breaks breakpoints

uVision 4, C8051F360, C2 debugging

I've notice that I can no longer set breakpoints anywhere in my program after enabling, then disabling, linker code packing. ('anywhere' litterally means no breakpoints anywhere in the entire program)

They work when I enable linker code packing, and now do not work when I disable linker code packing.

It's like something in the IDE got switched when I enabled LCP, but now won't switch back when I disable LCP.

I noticed that I can exit debug mode, set a breakpoint (with an LCP compiled program), then go back into debug mode and I get an error in the command window:

BS \MAIN\93
____^
*** error 35: undefined line number

Using the Breakkill command:

Breakkill
*** error 34: undefined identifier

Updated the silabs debug driver and still have the same problem.

Any thoughts?

0