at91sam9x25 is big endian or little endian?

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I want to ask that at91sam9x25 is Big Endian or Little Endian?

How do we change it?

Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What does the datasheet say? Sam9 is arm 9 not arm7 btw.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


Thanks。

I can not find any thing about endian in《Atmel-11054-32-bit-ARM926EJ-S-Microcontroller-SAM9X25_Datasheet》。

I can find something in <ARM_926EJS_TRM.pdf>,  The SAM9X25 is a member of the Atmel® | SMART series of 400 MHz

ARM926EJ-Sâ„¢ embedded microprocessor units.  

But i can not find this pin in SAM9X25_Datasheet?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The older, bigger arm chips can be switched between endianness under sw control, via that c1 register. See the ARM TECHNICAL REFERNCE MANUAL(S) (from arm)
Not all chips will break out the pin that enables the endianness immediately after reset to be set.
After a quick look, it doesn’t seem that multiple endianness support is “optional” in the core, but memory system has wiring may also come into play.