I have made a requst to freescale support about the software breakpoints.
My request:
Currently I am using HCS12 controllers. Debugging is extremely difficult due to limitations of software breakpoints
(two hardware breakpoints is not enough for a source code of 256KB).
Software breakpoint "asm BGND" must be placed in compliler IDE.
This is (almost) useless.
Software breakpoints should be able to be placed in debugger IDE.
Is it possible to add this feature to the near future?
Is there any freescale controller that is able to accept software breakpoints in debugger IDE instead of compiler IDE?
freescale responce:
When use P&E BDM MULTILINK the number of hardware breakpoints is limited by hardware. Depending to the
chip you are using, you are limited of the number of Hardware breakpoints(1, 2, 3, ...).
You are correct so far the only workaround is to use software breakpoint (just insert BGND instruction into your code
where you want to stop (asm {BGND} ). it has to be done in compiler IDE.
Anyway, I must thank for your propose this feature request. I will escalate it to PM. I will let you know as soon as this
feature request is entered into DOORs.