Breakpoints fail after NMI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Breakpoints fail after NMI

576 Views
mnewton
Contributor I

I have a board with an FS45 SBC that generates an NMI on a problem to an S32K144, in a similar arrangement to the NewTec BMS reference design. As I apply power to 5V peripherals, it causes a momentary power dip, which triggers the SBC and generates an NMI.

The NMI is handled OK, and normal code operation is then resumed and the program continues to execute correctly, with all interrupts etc OK.

However while breakpoints function up until this point, they cease to operate after the NMI, until the next time the code is restarted in the debugger.

On occasions - under less clear circumstances - sometimes get the 'failed to write breakpoints' error as well as previously reported.

SDK S32 Design Studio S32K1xx RTM SDK 3.0.3 Patch for SDK 3.0.0 1.0.0.202005140959

S32DS 2.0.0.202001161704

PE Micro debugger.

0 Kudos
0 Replies