Hello !
in UM is recommended to keep FaultHandler in SRAM when MCU in PowerDown mode.
Do you have code example how do it ?
Regards,
Eugene
Eugene
I am afraid there is no exact demo code as you requested. But I recommend you refer this doc of Relocating specific functions into RAM:
Relocating code from FLASH to RAM
Have a great day,
Jun Zhang
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi Jun Zhang !
in ARMv8-M MMU doc I have find out that if MMU is active, MemManage Fault can happens in case of protection violation.
But what is not clear if TZ violation we should have HardFault and if MMU is active memManage as well.
On Secure side MMU is not active and may be only Hardfault should be populated.
Or what handlers should be in RAM in case of active TZ ?
Regards,
Eugene
I am a bit confused. Is this issue related with the original question about "Faulthandler in PowerDown mode" ?
If it's a new question, Please create a new thread for it. Meanwhile, please be more specific about it and mention what problem you had experienced that make you have this concern?