[ECOS] Big endian ARM HAL_WRITE_UINT8 problem

Roland Caßebohm roland.cassebohm@visionsystems.de
Fri Jul 26 05:59:00 GMT 2002


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



More information about the Ecos-discuss mailing list