AnsweredAssumed Answered

Access to RAM outside section

Question asked by Markus Neumair on Feb 18, 2019
Latest reply on Feb 19, 2019 by Diana Batrlova

Hello,

 

I would like to keep some information in RAM during a reset to handle the issue that caused the reset. Therefore, I reduced the section of m_data_2 of my S32K116 by 0x20 bytes.

 

Accessing those bytes with a debugger attached and handling SW-resets works fine.

Anyway, if I remove the debugger, the MCU cannot pass the line where the memory outside the section is accessed.

 

Can someone please give me a hint what causes this behaviour?

Is there some kind of protection that the debugger disables?

 

Thanks,

Markus

Outcomes