cancel
Showing results for 
Search instead for 
Did you mean: 

STANDBY exit TF-A error STM32MP157

AKudr.1
Associate II

My board with stm32mp157 wakes up from CSTOP with UART wake source, but cannot wakes with RTC or WAKEUP PINs from STANDBY. TF-A outputs strange errors at the end:

ERROR:  Illegal access to 0xe0000000 in :

ERROR:     Non-Secure

ERROR:     Privilege

ERROR:     Read

And nothing goes on until watchdog reset.

This lines I see in tzc400 sources. But I don`t know how to interpret this.

Could anyone explain what is going wrong when I`m trying wakes from STANDBY?

1 REPLY 1
OlivierK
ST Employee

Hi AKudr.1 (Community Member)

It seems that the DDR firewall is not correctly setup.

https://wiki.st.com/stm32mpu/wiki/How_to_configure_TF-A_FW_CONFIG

Normally we use for a 1Gb DDR

memory-ranges = <

            0xc0000000 0x20000000 TZC_REGION_S_NONE TZC_REGION_NSEC_ALL_ACCESS_RDWR>;

Are you using DDR addresses above this region?

Regards,

Olivier