“I referred to NXP’s Flash partition sample code and wrote the following code. When executed on S32K146, it works normally and can perform partitioning. However, when debugging on S32K142, the program stops at the execution of [ MSCM->OCMDR[0u] |= MSCM_OCMDR_OCM1(0x3u); ]. After clicking break and then go, it continues to execute without crashing. When not debugging, the program also stops here. I would like to ask why this is happening?”

