LPC55s69 : Faulthandler in PowerDown mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC55s69 : Faulthandler in PowerDown mode

573 Views
EugeneHiihtaja
Senior Contributor I

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

Labels (1)
0 Kudos
3 Replies

480 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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.
-------------------------------------------------------------------------------

0 Kudos

480 Views
EugeneHiihtaja
Senior Contributor I

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

0 Kudos

480 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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?

0 Kudos