au1500 usb device
-----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 stageusbdev.c: received NAK SETUPusbdev.c: do_setup: req 0 GET_STATUSusbdev.c: endpoint_stallusbdev.c: receive_packet_complete: ep0, NAK pkt=811b44e0, size=0 usbdev.c: SU bit is set in setup stageusbdev.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 stageusbdev.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 stageusbdev.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 stageusbdev.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-----