This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Big endian ARM HAL_WRITE_UINT8 problem


Hello,

I want to use the generic 16x5x serial driver with a bigendian system 
(ARM7TDMI). As discussed for a while, if I use the right baseaddress of the 
external 16550 UART, the macros will get the wrong registers.
As an example: If little or big endian, in both systems the receive buffer is 
at 0xXXXX000 and not on an big endian at 0xXXXX011.

Ok, I could change the baseaddress to 0xXXXX011, then the macros will access 
the right registers, but if I do this and than switch to little endian it 
won't work to.

Am I on the wrong way?

Roland


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]