2010-03-12 01:17 AM
2011-05-17 01:00 AM
>>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