S32K3 XRDC Non secure access

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

S32K3 XRDC Non secure access

194 Views
zhurui
Contributor I

When we use MCAL(version: SW32K3_RTD_4.4_2.0.0) RM module to config S32K344 XRDC function, we would like set some Peripheral to "Non Secure access policy = XRDC_NO_ACCESS","Secure access policy = XRDC_FULL_ACCESS", but we found that "Non Secure access policy" configuration don't work, maybe cpu still in secure mode.

So we try "Rm_XrdcSetProcessID(XRDC_CORE_M7_0, 0, XRDC_NON_SECURE)" to set

PID to 32(bit 5=1) , but XRDC still don't work,  can you help me to set non secure mode?

 

zhurui_1-1690444728458.png

 

zhurui_0-1690444638563.png

And MPU can't prevent writting by user mode(CPU control = 1)

zhurui_2-1690445230847.png

 

 

Tags (3)
0 Kudos
0 Replies