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
That's interesting. Haven't you seen any warning message after compiling the code?
Yes,exactly no warning
Could you specify used compiler? Possibly other information we should know..
Thanks
we use S32DS for S32 Design Studio for Power Architecture Version 2017
Could you use newest version of the S32DS? Latest version is 2.1, issued in 2019, latest update from 2020:
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.