2026-02-04 4:32 AM
I have used HSEM on STM32H7 very well.
Recently,I test the HSEM of STM32MP257 in development mode, by JTAG/SWD,
I can lock the semaphore by reading the HSEM_RLRx register via CPU1~3,
but after power reset,when I write the HSEM_RLRx register to lock or unlock semaphore, it doesn't work!
the security /privilege / CID filtering of HSEM are all off after reset, and the cpu3 could access the HSEM_RLRx register correctly,but after cpu1/2 write the HSEM_RLRx register or HSEM_CnIER,both lock and unlock operations have no effect.
pls give me some suggestions to check what I might have done wrong .thanks!