How to setup a hardware breakpoint? Is S32DS support breakpoint inside ISR?
Is there a way to check SPR registers values (such as IVOR4)?
I use S32DS to debug MPC5644A based board.
In the IDE, you can simply double-click on the area to the left of your code - you'll see a blue dot when the breakpoint is acknowledged. You can also right click -> add breakpoint. It should be hit in an ISR as well.
In your "debug" context, there's a window to the top right that will show all breakpoints.
Also in the debug context should be "EmbSys Registers" which gives you a view of all the hardware registers while the debug session is suspended
Thank you for your comments.
1. I'm aware of setting breakpoints and view them. However, I was referring to hardware breakpoint rather than software breakpoint.
2. SPR (Special Purpose Registers) are architectural registers and not "systems embedded" (memory mapped) registers. In fact, checking INTC registers do not reveal the values, but their address and reset-values.
I'm not sure if PE Micro can set HW breakpoints - I'll try to figure out.
SPR view can be selected in active debug session by clicking on Window -> Show View -> Other
there is SPR view in debug folder:
You can check current value by doubleclick on particular register:
Hope it helps.
I figured out that breakpoint type can be set in breakpoints view and breakpoint's properties:
You can choose from couple breakpoint types - including the HW one:
The question is how good is this feature implemented by PE Micro. I never used it with PE Micro.
Thank you Jiri!
Retrieving data ...