Hi Erwin,

Inw/outw works fine in this EBI zone if the access is through a driver
(inw/outw coded within a driver) and fault if it's coded within an
application.

Thanks.

-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
En nombre de Erwin Authried
Enviado el: lunes, 09 de julio de 2007 12:13
Para: uClinux development list
Asunto: Re: [uClinux-dev] ARM EBI access in 8/16/32 bits

Am Freitag, den 06.07.2007, 11:02 +0200 schrieb rflores:
> Hi all,
> 
>  
> 
>             I use in my board a specific HW, in the code I use the
> macros inb/outb for 8 bits, inw/outw for 16bits and inl/outl for
> 32bits. When I try to read/write in a 16bits register in this HW with
> inw/outw the ARM divides the access into two of 8bits, I have checked
> this with a logic analyzer. My HW only supports 16bit accesses. 
> 
>  
> 
> What is the problem? Should I specify something within the Makefile?
> In other code-application compiled using the Keil compiler the 16bit
> accesses are performed with a pointer like as *(volatile unsigned
> short *) and works correctly.
That's exactly what inw/outw should end up in uClinux too. Maybe your
EBI setup is wrong when you use uClinux? Have you figured out with the
disassember how your inw/outw are compiled?

Regards,
Erwin



_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to