Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Connecting big endian device to LPC2210

2006-01-14 by Micron Engineering

Joel Winarske ha scritto:

>>So, does this hardware byte swap solve all endian problems?  Can you use
>>the Ethernet MAC chip without changes to the code?
>>    
>>
>
>The byte swapping of bus high/low bytes only makes bus endianess happy.  You
>still need to concern yourself with CPU endianess of code.
>
Yes and this is all needed.

>  If code was
>written targeting a little endian CPU there should be no problem.  Possibly
>if code targeted a big endian CPU there may be no issues, but depends on the
>code.  Computer networks are big endian, and endianess issues related to
>network byte order may only show up closer to the application layer.  It all
>depends on the code.
>  
>
Joel, all data related to ethernet level is endiness corrected by 
writing to the mac chip and this solves the hw chip interfacing problem 
that was the original question.

>
>Joel
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>  
>


  ----------

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/225 - Release Date: 09/01/2006


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

Attachments

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.