MPC5741 INTC_0.PSR register cannot be written

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

MPC5741 INTC_0.PSR register cannot be written

4,139 次查看
lihui1
Contributor II

Hi:

We have encountered a problem that INTC_0.PSR register cannot be written due too only different link order,although the same project.

We checked the assembly instruction when the fault was repeated, and found that there was no problem with the assembly instruction, and there was no problem with the kernel register, but some INTC_0.PSR registers still could not be written in. Here are the results of our tests.

And we want to know if there are any special circumstances in which the INTC_0.PSR register cannot be written.


picture(1) shows before writing the INTC_0.PSR register, check that the assembly instruction and the kernel register are all right

picture(2) shows after writing the INTC_0.PSR register, check that the INTC_0.PSR register is not written successfully

 

标记 (1)
0 项奖励
回复
6 回复数

3,978 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

That's interesting. Haven't you seen any warning message after compiling the code?

0 项奖励
回复

3,953 次查看
lihui1
Contributor II

Yes,exactly no warning

0 项奖励
回复

4,108 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Could you specify used compiler? Possibly other information we should know..

Thanks

0 项奖励
回复

4,024 次查看
lihui1
Contributor II

we use S32DS for S32 Design Studio for Power Architecture Version 2017

0 项奖励
回复

3,942 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Could you use newest version of the S32DS? Latest version is 2.1, issued in 2019, latest update from 2020:

https://www.nxp.com/design/design-center/software/automotive-software-and-tools/s32-design-studio-id...

 

0 项奖励
回复

3,930 次查看
lihui1
Contributor II

Actually we had used latest version to compare but the same result as before.

We think it might be caused by some code we add to our previous version. we'll do more test and confirm.

标记 (1)
0 项奖励
回复