Question of the changing endian

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

Question of the changing endian

907 Views
Luke_Chun
NXP Employee
NXP Employee

Hello Team

 

Could you check my question about MPC5676R?
How to change the endian between big endian and little endian?


As my checking, it can change by MAS2’s E(0 bit) bits.
In case of big endian, it should be 0.
In case of little endian, it should be 1.


and other way,
It looks like that is possible to change by CW2.10’s Setting.
If it changes “Byte ordering” on EPPC target..


However when I tried to use above ways, it makes the error..and I cannot find how to fix it..


Could you provide the way of change the endian between big endian and little endian for MPC5676R?

 

Thank you.

Labels (1)
2 Replies

739 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Mentioned option in general one for all PowerPC platforms, “Big Endian” option must be used for all e200 cores. This option sets MSR[LE] bit but it is not implemented on e200 cores (but it is for instance implemented on core e300). e200 core is natively Big Endian device.

 

MAS2’s E(0 bit) should be implemented and it should theoretically be possible to have certain memory area set for little endian (and data could be stored in different order). However, what is your motivation to use it this way? I am asking because I have never heard someone is using little endian mode.

739 Views
Luke_Chun
NXP Employee
NXP Employee

Helo David
Thanks for your reply.
I wish to confirm about it...because customer asked me about the possibility for it.
Thank you.

0 Kudos