cancel
Showing results for 
Search instead for 
Did you mean: 

Endian Mode

michaelneeser9
Associate II
Posted on March 12, 2010 at 10:17

Endian Mode

1 REPLY 1
Posted on May 17, 2011 at 10:00

>>Any idea whats wrong ?

The STR9 doesn't support big endian. About the only ARM I've used in years that actually used big endian was from Sharp. You have a specific application that must be big endian?

http://www.st.com/stonline/products/support/micro/files/hitex_str912.pdf

Pg 18

''The ARM9 is designed to operate as a big-endian or little-endian processor. That is, the MSB is located at the high order bit or the low order bit. You may be pleased to hear that the STR9 family fixes the endianess of the processor as little-endian (i.e. MSB at highest bit address), which does make it a lot easier to work with. However the ARM9 compiler you are working with will be able to compile code as little-endian or big-endian. You must be sure you have it set correctly or the compiled code will be back to front.''

-Clive
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..