Code Warrior/ S12X question

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Code Warrior/ S12X question

3,209 次查看
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
标签 (1)
0 项奖励
回复
2 回复数

516 次查看
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 项奖励
回复

516 次查看
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 项奖励
回复