EmbeddedRelated.com
Forums

Re: Big endian and Little endian

Started by Juri Haberland October 18, 2007
42Bastian wrote:
> Hi
>> That is interesting because the IAR ARM Compiler gives you the option to set
>> this
>>
>> You are right, the LPC2294 is little endian
>
> There were controllers where you could change this. Maybe the
> NetARM MCUs are big-endian (as this is the byte-order for TCP/IP).

The ARM core itself can be switched to little or big endian format, but
AFAIK the LPC series is fixed to little endian format.

Cheers,
Juri

An Engineer's Guide to the LPC2100 Series

Hi

I hate endian modes

On a big military comms project I worked on, someone (not me) assumed the
Intel 386 processor was big endian.

I spent a long time writing stub functions to cure this. 200 people project
(big project)

Regards

Jean-Jacques
-----Original Message-----
From: l... [mailto:l...] On Behalf Of
Juri Haberland
Sent: 18 October 2007 13:38
To: l...
Subject: Re: [lpc2000] Big endian and Little endian

42Bastian wrote:
> Hi
>> That is interesting because the IAR ARM Compiler gives you the option to
set
>> this
>>
>> You are right, the LPC2294 is little endian
>
> There were controllers where you could change this. Maybe the
> NetARM MCUs are big-endian (as this is the byte-order for TCP/IP).

The ARM core itself can be switched to little or big endian format, but
AFAIK the LPC series is fixed to little endian format.

Cheers,
Juri