Hello,
I am trying to use MC9S12XDP512 microcontroller in secure mode. The application code runs without any issues in unsecure mode, but when secure mode is enabled, I encounter a problem.
Based on my observations, the issue occurs when accessing variables in the SRAM region. These variables are located in the 0x20_0000–0x3F_FFFF (CS1) area. When secure mode is active, the program unexpectedly stops running.
Is there any special configuration required for SRAM access in secure mode?
Do you have any suggestions?
Best regards.