Subject: au1500 usb device

From: Bruno Randolf <[email-masked]>
Date: Thu, 26 Jun 2003 19:43:10 +0200

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