K82 : MPU hit due process identifier

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

K82 : MPU hit due process identifier

1,084 次查看
EugeneHiihtaja
Senior Contributor I

Hello !

"

In addition to the comparison of the reference address versus the region descriptor's start
and end addresses, the optional process identifier is examined against the region
descriptor's PID and PIDMASK fields. A process identifier hit term is formed as follows:
pid_hit = ~RGDn_Word2[MxPE] |
((current_pid |
RGDn_Word3[PIDMASK]) == (RGDn_Word3[PID] | RGDn_Word3[PIDMASK]))

"

But where I can set current_pid ?

Regards,

Eugene

1 回复

983 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi Eugene,

"current_pid" is handled by Process ID register in MCM module. Please see 20.2.8 Process ID Register(MCM_PID).

Regards,

Jing