Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

big-endian mode

big-endian mode

2004-07-12 by Leighton Rowe

I understand that lpc21xx configures arm7 processor to work in 
little-endian mode.

Is it possible to change that around so that the processor works in 
big-endian? If yes, how?

RE: [lpc2000] big-endian mode

2004-07-12 by Paul Curtis

It's fixed little-endian.  No big-endian mode, sorry.

-- Paul. 
Show quoted textHide quoted text
> -----Original Message-----
> From: Leighton Rowe [mailto:leightonsrowe@...] 
> Sent: 12 July 2004 13:35
> To: lpc2000@yahoogroups.com
> Subject: [lpc2000] big-endian mode
> 
> I understand that lpc21xx configures arm7 processor to work 
> in little-endian mode.
> 
> Is it possible to change that around so that the processor 
> works in big-endian? If yes, how?
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~--> 
> Yahoo! Domains - Claim yours for only $14.70
> http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/dN_tlB/TM
> --------------------------------------------------------------
> ------~-> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
>

Re: big-endian mode

2004-07-12 by Leighton Rowe

Thanks Paul,

I wasn't aware of little-endian mode until I was reading large union 
buffers like:

union {char a[32]; short b[16];};

While debugging, the storage order for array "b" seem to be the 
reverse of array "a". This kinda affected my command parsing 
routines, which assumed that the words read were big-endian. Oh 
well, there goes my chance of reading large word buffers with ease.

Leighton




--- In lpc2000@yahoogroups.com, "Paul Curtis" <plc@r...> wrote:
Show quoted textHide quoted text
> It's fixed little-endian.  No big-endian mode, sorry.
> 
> -- Paul. 
> 
> > -----Original Message-----
> > From: Leighton Rowe [mailto:leightonsrowe@y...] 
> > Sent: 12 July 2004 13:35
> > To: lpc2000@yahoogroups.com
> > Subject: [lpc2000] big-endian mode
> > 
> > I understand that lpc21xx configures arm7 processor to work 
> > in little-endian mode.
> > 
> > Is it possible to change that around so that the processor 
> > works in big-endian? If yes, how?
> > 
> > 
> > 
> > ------------------------ Yahoo! Groups Sponsor 
> > --------------------~--> 
> > Yahoo! Domains - Claim yours for only $14.70
> > http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/dN_tlB/TM
> > --------------------------------------------------------------
> > ------~-> 
> > 
> >  
> > Yahoo! Groups Links
> > 
> > 
> > 
> >  
> > 
> > 
> >

RE: [lpc2000] Re: big-endian mode

2004-07-13 by Joseph Goldburg

-----Original Message-----
Show quoted textHide quoted text
From: Leighton Rowe [mailto:leightonsrowe@...] 
Sent: Tuesday, 13 July 2004 12:07 AM
To: lpc2000@yahoogroups.com
Subject: [lpc2000] Re: big-endian mode


Thanks Paul,

I wasn't aware of little-endian mode until I was reading large union 
buffers like:

union {char a[32]; short b[16];};

While debugging, the storage order for array "b" seem to be the 
reverse of array "a". This kinda affected my command parsing 
routines, which assumed that the words read were big-endian. Oh 
well, there goes my chance of reading large word buffers with ease.

Leighton




--- In lpc2000@yahoogroups.com, "Paul Curtis" <plc@r...> wrote:
> It's fixed little-endian.  No big-endian mode, sorry.
> 
> -- Paul. 
> 
> > -----Original Message-----
> > From: Leighton Rowe [mailto:leightonsrowe@y...] 
> > Sent: 12 July 2004 13:35
> > To: lpc2000@yahoogroups.com
> > Subject: [lpc2000] big-endian mode
> > 
> > I understand that lpc21xx configures arm7 processor to work 
> > in little-endian mode.
> > 
> > Is it possible to change that around so that the processor 
> > works in big-endian? If yes, how?
> > 
> > 
> > 
> > ------------------------ Yahoo! Groups Sponsor 
> > --------------------~--> 
> > Yahoo! Domains - Claim yours for only $14.70
> > http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/dN_tlB/TM
> > --------------------------------------------------------------
> > ------~-> 
> > 
> >  
> > Yahoo! Groups Links
> > 
> > 
> > 
> >  
> > 
> > 
> >



Yahoo! Groups Sponsor	

ADVERTISEMENT
 
<http://us.ard.yahoo.com/SIG=1297nkmga/M=295196.4901138.6071305.3001176/
D=groups/S=1706554205:HM/EXP=1089727798/A=2128215/R=0/SIG=10se96mf6/*htt
p://companion.yahoo.com> click here	
 
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=575741269> 	


  _____  

Yahoo! Groups Links


*	To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  

*	To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
  

*	Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 




[Non-text portions of this message have been removed]

RE: [lpc2000] Re: big-endian mode

2004-07-13 by Paul Curtis

> -----Original Message-----
> From: h s [mailto:h7242004@...] 
> Sent: 13 July 2004 11:39
> To: lpc2000@yahoogroups.com
> Subject: RE: [lpc2000] Re: big-endian mode
> 
> The IAR compiler has a project option which supports both the 
> big/little endian data format.
>  
> Other compilers may also, support similar option. 

Yeah, and absolutely useless unless your hardware can run in big-endian
mode, which the LPC can't.

-- Paul.

RE: [lpc2000] Re: big-endian mode

2004-07-13 by h s

The IAR compiler has a project option which supports both the big/little endian data format.
 
Other compilers may also, support similar option. 

Joseph Goldburg <joseph.goldburg@...> wrote:
Show quoted textHide quoted text
-----Original Message-----
From: Leighton Rowe [mailto:leightonsrowe@...] 
Sent: Tuesday, 13 July 2004 12:07 AM
To: lpc2000@yahoogroups.com
Subject: [lpc2000] Re: big-endian mode


Thanks Paul,

I wasn't aware of little-endian mode until I was reading large union 
buffers like:

union {char a[32]; short b[16];};

While debugging, the storage order for array "b" seem to be the 
reverse of array "a". This kinda affected my command parsing 
routines, which assumed that the words read were big-endian. Oh 
well, there goes my chance of reading large word buffers with ease.

Leighton




--- In lpc2000@yahoogroups.com, "Paul Curtis" <plc@r...> wrote:
> It's fixed little-endian.  No big-endian mode, sorry.
> 
> -- Paul. 
> 
> > -----Original Message-----
> > From: Leighton Rowe [mailto:leightonsrowe@y...] 
> > Sent: 12 July 2004 13:35
> > To: lpc2000@yahoogroups.com
> > Subject: [lpc2000] big-endian mode
> > 
> > I understand that lpc21xx configures arm7 processor to work 
> > in little-endian mode.
> > 
> > Is it possible to change that around so that the processor 
> > works in big-endian? If yes, how?
> > 
> > 
> > 
> > ------------------------ Yahoo! Groups Sponsor 
> > --------------------~--> 
> > Yahoo! Domains - Claim yours for only $14.70
> > http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/dN_tlB/TM
> > --------------------------------------------------------------
> > ------~-> 
> > 
> >  
> > Yahoo! Groups Links
> > 
> > 
> > 
> >  
> > 
> > 
> >



Yahoo! Groups Sponsor      

ADVERTISEMENT

<http://us.ard.yahoo.com/SIG=1297nkmga/M=295196.4901138.6071305.3001176/
D=groups/S=1706554205:HM/EXP=1089727798/A=2128215/R=0/SIG=10se96mf6/*htt
p://companion.yahoo.com> click here      

<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=575741269>       


  _____  

Yahoo! Groups Links


*      To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  

*      To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
  

*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 




[Non-text portions of this message have been removed]


Yahoo! Groups SponsorADVERTISEMENT


---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  
   To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


		
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

[Non-text portions of this message have been removed]

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.