packet status error of sl811h with at76c503a based usb wlan adapter

"刘亨杰" <[email protected]>
Newsgroups gmane.linux.drivers.atmel-wlan
Message-ID <[email protected]>
Hi,all

I'm using samsung 4510b mcu, running uClinux 2.4.20. My usb-host controller is sl811hst, and the usb-wlan card is accton ew3301, an Atmel AT76C503A based USB WLAN adapter with Intersil radio i3861. 

BTW, I'm using the adapter from http://at76c503a.berlios.de, v0.10, which worked very well on redhat linux 9.0.

but under uClinux, errors occured when  usbdfu.c Downloading firmware for USB device 2, dmesg is bellow:

CmpArm>1Uncompressing Linux............................................................ done, booting the kernel.
Linux version 2.4.20-uc0 (root@hansburg) (gcc version 2.95.3 20010315 (release)) #4 Wed Jul 30 17:02:43 CST 2003
Processor: Samsung S3C4510B revision 6
Architecture: SNDS100
The core registers' values are:
 SYSCFG=0xe7ffff96
 EXTDBWTH=0x5503002
 ROMCON0=0x1c060060
 DRAMCON0=0x8000301
 REFEXTCON=0x9c298360
 EXTACON0=0xea80000
 EXTACON1=0x0
 rIOPCON = 320
..

usb.c: registered new driver hub
usb.c: new USB bus registered, assigned bus number 1
hc_sl811.c: USB SL811 at 7604000, addr2 = 7605000, IRQ 1
Product: USB SL811HS Root Hub
SerialNumber: 0
hub.c: USB hub found
hub.c: 1 port detected
usbdfu.c: USB Device Fimware Upgrade (DFU) handler v0.10
usb.c: registered new driver usbdfu
at76c503.c: Generic Atmel at76c503/at76c505 routines v0.10
at76c503-i3861.c: Atmel at76c503 (Intersil 3861) Wireless LAN Driver v0.10
usb.c: registered new driver at76c503-i3861

..                                                                                                                                

/>dmesg				//plugged atmel usb-wlan in
/> hc_sl811.c: 	master,full speed
control registers of sl811h
addr:	00  01  02  03  04  05  06  07  08  09  10  11  12  13  14  15
value:	00  10  08  0c  00  01  31  00  00  11  37  00  37  92  20  8f
hub.c: new USB device sl811-1, assigned address 2
usbdfu.c: Downloading firmware for USB device 2...
usbdfu.c: do_dfu_download: ctx = 29f000
usbdfu.c: do_dfu_download:dfu_state = 2
hc_simple.c: sh_donw_list: done_list: packet err, cc=0x4,  urb->length=0x400, actual_len=0x88, urb_state=0x1
hc_simple.c: sh_donw_list: done_list: packet err, cc=0x4,  urb->length=0x400, actual_len=0x338, urb_state=0x1
usbdfu.c: do_dfu_download:dfu_state = 3
usbdfu.c: do_dfu_download:dfu_state = 5
  ...repeated many times...							//cc=0x4 means that the packet status is time-out
usbdfu.c: do_dfu_download:dfu_state = 6
usbdfu.c: do_dfu_download:dfu_state = 7

hc_simple.c: sh_donw_list: done_list: packet err, cc=0xc,  urb->length=0x0, actual_len=0x0, urb_state=0x2
hc_simple.c: sh_donw_list: done_list: packet err, cc=0xc,  urb->length=0x0, actual_len=0x0, urb_state=0x2
hc_simple.c: sh_donw_list: done_list: packet err, cc=0xc,  urb->length=0x0, actual_len=0x0, urb_state=0x2
hc_simple.c: sh_donw_list: done_list: excessive error: errcount = 0x4, cc = 0xc
     ...repeated many times...                      //cc=0xc means that the packet status is slave returns NAK and slave 													//set STALL bit
hc_simple.c: sh_donw_list: done_list: packet err, cc=0xc,  urb->length=0x12, actual_len=0x0, urb_state=0x2
hc_simple.c: sh_donw_list: done_list: packet err, cc=0xc,  urb->length=0x12, actual_len=0x0, urb_state=0x2
hc_simple.c: sh_donw_list: done_list: packet err, cc=0xc,  urb->length=0x12, actual_len=0x0, urb_state=0x2
hc_simple.c: sh_donw_list: done_list: excessive error: errcount = 0x4, cc = 0xc
hub.c: USB device descriptor short read (expected 18, got 0)
usb_interface_claimed !=0,goto out_err
/>


could anyone give me a hand? How can I survive? or how can i debug this bug?
Thanks alot!


Regards,

[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.