MPC5741 INTC_0.PSR register cannot be written

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

MPC5741 INTC_0.PSR register cannot be written

264 Views
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

 

Tags (1)
0 Kudos
Reply
6 Replies

103 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

78 Views
lihui1
Contributor II

Yes,exactly no warning

0 Kudos
Reply

233 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

Thanks

0 Kudos
Reply

149 Views
lihui1
Contributor II

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

0 Kudos
Reply

67 Views
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 Kudos
Reply

55 Views
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.

Tags (1)
0 Kudos
Reply