Which PID will be recorded in register EPID of MPU module

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

Which PID will be recorded in register EPID of MPU module

Jump to solution
587 Views
Yellen
Contributor II

Hello, Team,

          We are trying to using MPU module in our design.  We read the Reference Manual of S32K1xx Series, but there is one doubt about the EPID in register Error Detail Register, slave port n (EDR0 - EDR4).

           It says the EPID records the process identifier of the faulting reference.  I wonder the "process identifier" would be PID in RGDn_WORD3  or the Current PID in MCM_PID?

Tags (2)
0 Kudos
1 Solution
522 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Value from MCM_PID. PID in RGDn_WORD3 serves for process evaluation for region hit not for an error.

View solution in original post

0 Kudos
3 Replies
547 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

"current_pid" is handled by Process ID register in MCM module.

0 Kudos
538 Views
Yellen
Contributor II

Thanks for your reply.

But I want to know if the M0PE is set, what the EPID will be when a protection error happend.

Snipaste_2023-06-01_21-19-55.png

Snipaste_2023-06-01_21-15-56.png

0 Kudos
523 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Value from MCM_PID. PID in RGDn_WORD3 serves for process evaluation for region hit not for an error.

0 Kudos