Skip to main content
alexey.b
Associate
September 5, 2019
Solved

PANIC during wake up MPU

  • September 5, 2019
  • 2 replies
  • 1258 views

Hello.

I have a DK2 board and I want to wake up MPU (CA7) after shutdown command. If no MCU (CM4) firmware is running then no problems, but otherwise if I run MCU firmware (GPIO example) before shutting down MPU I get the following error after pushing Wake Up button:

PANIC at PC : 0x2fff2e81

Exception mode=0x00000016 at: 0xc0831f9c

And it reboots after some time and stops MCU firmware:

INFO:   Reset reason (0x214):

INFO:     IWDG2 Reset (rst_iwdg2)

How can i solve this problem?

Thanks.

This topic has been closed for replies.
Best answer by Olivier GALLIEN

Hi @alexey.b​ 

Trying to go in Standby with shutdown command required to stop the MCU first.

If you want to reach low power mode while MCU is running you shoud use echo 'mem' > /sys/power/state 

Please refer to AN5109 STM32MP1 Series using low-power modes 

Olivier

2 replies

Olivier GALLIEN
Olivier GALLIENBest answer
ST Technical Moderator
September 6, 2019

Hi @alexey.b​ 

Trying to go in Standby with shutdown command required to stop the MCU first.

If you want to reach low power mode while MCU is running you shoud use echo 'mem' > /sys/power/state 

Please refer to AN5109 STM32MP1 Series using low-power modes 

Olivier

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
alexey.b
alexey.bAuthor
Associate
September 13, 2019

It looks like a bug in the Trusted Firmware-A.

But thanks anyway.