linux-mips
[Top] [All Lists]

au1500 usb device

To: linux-mips@linux-mips.org
Subject: au1500 usb device
From: Bruno Randolf <bruno.randolf@4g-systems.de>
Date: Thu, 26 Jun 2003 19:43:10 +0200
Organization: 4G Mobile Systeme
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.5.2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello!

i have an au1500 based board named "mtx-1" and i want to test the usb device 
functionality. i have enabled "Au1x00 USB TTY Device support", set 
SYS_PINFUNC to USB device in my setup.c, enabled VDEBUG in 
au1000/common/usbdevice.c and followed the instructions from steve's previous 
mail.

when i attach the USB cable, i get the following output

usbdev.c: receive_packet_complete: ep0, NAK pkt=811dd520, size=8
usbdev.c: SU bit is set in setup stage
usbdev.c: received NAK SETUP
usbdev.c: do_setup: req 0 GET_STATUS
usbdev.c: endpoint_stall
usbdev.c: receive_packet_complete: ep0, NAK pkt=811b44e0, size=0
usbdev.c: SU bit is set in setup stage
usbdev.c: process_ep0_receive: wrong size SETUP received
usbdev.c: receive_packet_complete: ep0, NAK pkt=811dd520, size=0
usbdev.c: SU bit is set in setup stage
usbdev.c: process_ep0_receive: wrong size SETUP received
usbdev.c: receive_packet_complete: ep0, NAK pkt=811b44e0, size=0
usbdev.c: SU bit is set in setup stage
usbdev.c: process_ep0_receive: wrong size SETUP received
usbdev.c: receive_packet_complete: ep0, NAK pkt=811dd520, size=0
usbdev.c: SU bit is set in setup stage
usbdev.c: process_ep0_receive: wrong size SETUP received

it seems like the device does not react to the GET_STATUS request from the 
host (the code to do so is missing) and then stalls. has anyone got this to 
work with another board? anything that i might be doing wrong?

thanks,
bruno



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE++zCufg2jtUL97G4RAkK0AKCfHwdRiCCZsRadsaz9vJlKhljZ3wCfd7ZG
Jd7l3n5+vc59vdwHWy0sXKs=
=Fl4x
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>
  • au1500 usb device, Bruno Randolf <=