Code Warrior/ S12X question

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

Code Warrior/ S12X question

3,157 Views
MIkeX
Contributor I
Hello all,
 
I have a error message on the debugger screen that says IIEGAL_BP. I have not been able to get around it and for that matter I don't know whats causing it.  Any ideas.
 
Thanks
 
Mike
Labels (1)
0 Kudos
2 Replies

464 Views
Steve
NXP Employee
NXP Employee
This is usually an indication that your code is running away.
When it stops and gives this error, the program counter will probably not be in the area of memory where your program is placed.
Assuming you are compiling or assembling code and downloading into the part then the most likely cause of this problem is an interrupt that is not trapped or a table jump that doesn't go where you expect.
0 Kudos

464 Views
MIkeX
Contributor I
Thanks, I'll look at the vectors/interrupts. I'm also using the OSEKturbo RTOS, which has not been so friendly
0 Kudos