AnsweredAssumed Answered

MC9S12XEP100 Illegal_BP ...code stops...

Question asked by João Marcos Scaramal on Nov 12, 2012
Latest reply on Nov 17, 2012 by João Marcos Scaramal

Hello... Good Evening for everyone...

 

well.. I'm a beginner on Embedded Systems... and this problem is driving me CRAZY!!! I'm working with the XGATE and CPU cores.. where xgate is producer and CPU consumer. Im using very perpherics of MCU... PIT, ECT, SCI,etc... I have only 1 variable shared between the cores... and im using Semaphore for read and write on this variable in both cores...

 

Im running the code with Cyclone Pro.. when i run the code... everything works fine... but... after some time.. (1 hour, 3 hours, 30 minutes..this time varies =/) ... my code stop run and in the debugger window.. show ILLEGAL_BP ... and in the HC12 registers... IP have the value E524D always!!!!

 

I'm newer in CW and CW debugger.. and i dont know what happen... please ...somebody can give me some kinds for i find what its the cause of this problem???

 

Thanks for your attention.. and sorry if i port in wrong place...

Outcomes