How to instruct the P&E debugger to not break at se_illegal?

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

How to instruct the P&E debugger to not break at se_illegal?

562 Views
peter_vranken
Contributor IV

Hi NXP Team,

I have a debugger usability problem:

Environment: Code Warrior 10.7, P&E debugger, TRK-USB-MPC5643L, Embedded Qorivva OSBDM/OSJTAG Device

I'm writing exception handlers and have to inject a lot of arbitrary errors for testing it. This leads to a lot of se_illegal instructions, which is expected, wanted and natural because of the simple binary pattern zero of the instruction. My problem is that the frequent appearance of this instruction in the software error paths makes debugging of my software virtually impossible since the debugger understands the instruction as a break point. Instead of getting into the debugger, I would like the software to continue to see if the fault is safely caught by the program interrupt handler.

My question: Is it possible to instruct/configure the debugger to not break at an se_illegal instruction?

Best regards

Peter

0 Kudos
2 Replies

435 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

it looks like it is not possible.

There's bit BKPT in DBERC0:

pastedImage_1.png

... but debugger does not allow us to reconfigure this bit - it's '0' by default. It's obviously used for internal operations of the debugger.

Regards,

Lukas

435 Views
peter_vranken
Contributor IV

Lukas, Thanks for the inconvenient but clear answer. Regards, Peter

0 Kudos