2023-04-27 06:37 AM
Hi, I would like to set all 8 pins in port Z to unsecure so i use these pins as other ports.
I read data sheet portz is set to secure mode as default after reset. And I tried write into it and system crashed.
Thanks
Solved! Go to Solution.
2023-05-09 11:51 PM
Hi @Community member?
GPIOZ can be unsecure adding this line in TF-A DTS :
DECPROT(STM32MP1_ETZPC_GPIOZ_ID, DECPROT_NS_RW, DECPROT_UNLOCK)>;
Refer to :
ETZPC device tree configuration - stm32mpu
Olivier
2023-05-09 11:51 PM
Hi @Community member?
GPIOZ can be unsecure adding this line in TF-A DTS :
DECPROT(STM32MP1_ETZPC_GPIOZ_ID, DECPROT_NS_RW, DECPROT_UNLOCK)>;
Refer to :
ETZPC device tree configuration - stm32mpu
Olivier
2023-05-10 08:51 AM
yes, thank you a lot. that did help