Hi,
I use MC9S12G128 for programming, there are two programs, APP and BOOT,They all work fine on their own, when merged, BOOT jumps to APP, it will prompt ILLEGAL_BP.I use RTI and CAN receive interrupt, adc sampling and polling to execute, when I comment out the adc function, Can jump normally, this is why, please help to answer!
Hi @ZzzzzZzzzz,
Some information about ILLEGAL_BP can be found in these threads:
https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ILLEGAL-BP-with-9S12xep100/m-p/877800
Please make sure the IVBR is relocated to the correct vector table of the APP.
Regadrs,
Daniel