|
Message
From: Matt Gillespie<matt.gillespie@j...>
Date: Thu Oct 14 09:22:27 CEST 2004
Subject: [usb] bulkusb.sys with usb1_funct and usb_phy
Here are the results with the Hitex USB protocol analyser which seems to be really good bit of kit.
recorded7.usb Page 1 Hidden Line(s): SOF Hidden Columns(s): PID IDLE P# SYNCH PID FUNC DATA CRC5/16 time
____________________________________________________________________________ _____________________________ > OUT 7551 00000001 0xE1 ADDR/EP 0x01/0x01 0x1A 188.953 . > DAT. 7552 00000001 0xC3 DATA (64) 01 80 B7 02 00 00 00. 0x1B71 45.50 us < ACK 7553 00000001 0xD2 1.50 us > OUT 7784 00000001 0xE1 ADDR/EP 0x01/0x01 0x1A 229.953 . > DAT. 7785 00000001 0x4B DATA (64) 01 80 F4 00 00 00 00. 0x5E64 45.50 us < ACK 7786 00000001 0xD2 1.50 us > OUT 7998 00000001 0xE1 ADDR/EP 0x01/0x01 0x1A 210.953 . > DAT. 7999 00000001 0xC3 DATA (64) 01 81 31 00 A8 FB 00. 0xE89B 45.50 us < ACK 8000 00000001 0xD2 1.50 us > OUT 8269 00000001 0xE1 ADDR/EP 0x01/0x01 0x1A 267.953 . > DAT. 8270 00000001 0x4B DATA (64) 01 81 6E 00 00 00 00. 0xFE4A 45.50 us > OUT 8271 00000001 0xE1 ADDR/EP 0x01/0x01 0x1A 2.83 us > DAT. 8272 00000001 0x4B DATA (64) 01 81 6E 00 00 00 00. 0xFE4A 45.50 us < NAK 8273 00000001 0x5A 1.50 us > OUT 8274 00000001 0xE1 ADDR/EP 0x01/0x01 0x1A 2.83 us
> DAT. 8275 00000001 0x4B DATA (64) 01 81 6E 00 00 00 00. 0xFE4A 45.50 us < NAK 8276 00000001 0x5A 1.50 us > OUT 8277 00000001 0xE1 ADDR/EP 0x01/0x01 0x1A 2.83 us > DAT. 8278 00000001 0x4B DATA (64) 01 81 6E 00 00 00 00. 0xFE4A 45.50 us < NAK 8279 00000001 0x5A 1.50 us > OUT 8280 00000001 0xE1 ADDR/EP 0x01/0x01 0x1A 2.83 us > DAT. 8281 00000001 0x4B DATA (64) 01 81 6E 00 00 00 00. 0xFE4A 45.50 us < NAK 8282 00000001 0x5A
The problem appears to start at 8269. A DAT following by ACK does not have a reply. From now on every transaction is NACK'ed. I have tested ep_full and it remains low during the NAK period. I guess that this transaction was aborted but the SIE does not appear to recover. All these transactions are taking place at Full speed. My oscillator is a 48MHz Osc module so I dont think that there are any baud rate problems.
Anyone seen anything like this before.
Thanks
Matt
-----Original Message----- From: usb-bounces@o... [mailto:usb-bounces@o...] On Behalf Of Trainee IAC, (IE10) Sent: 11 October 2004 10:11 To: 'Discussion list about free,open source USB IP core' Subject: RE: [usb] bulkusb.sys with usb1_funct and usb_phy
hi matt, i feel the baud rate at which u are trying to communicate with device may be not right. jst check what baud rate the device supports and do reply me if there is any progress. thanks and regards paul > -----Original Message----- > From: usb-bounces@o... [mailto:usb-bounces@o...] > On Behalf Of Matt Gillespie > Sent: Monday, October 11, 2004 1:22 AM > To: usb@o... > Subject: [usb] bulkusb.sys with usb1_funct and usb_phy > > I am having a problem using bulkusb.sys ( XP DDK version running on a > windows XP HOME SP1 PC). Occasionally (and randomly) I get 0xc000005 > returned when I try to send a packet to the device. >
> I know that this means DEV_NOT_RESPONDING (from usbdi.h) but what does
> this actually mean. I do not have access to a protocol analyser and
> wondering whether this is a known issue with the driver or a problem with
> the device. I am using a fairchild transceiver with the usb1_funct and
> usb_phy which (apart from this) has operated perfectly.
>
> Could someone point me in the right direction
>
> 1) Has the device responded? If so, is it a corrupt response (i.e. a noise
> or timing issue). Has it stalled? According the device it has not stalled
> or had any CRC or overflow errors.
> 2) Can it be recovered (by some call into the driver, such as a reset)
> that will allow me to continue, or is it terminal. If I do nothing and
> simply try to write to using 'WriteFile' it just locks up.
>
> Thankyou, in advance, to anyone that bothers to reply to me!
>
> A reply from the www.usb.org <http://www.usb.org> forum has suggested that
> the means that the device has simply failed to respond. Why would this be?
> I currently have two bulk endpoints 1 IN and 1OUT. My OUT FIFO is empty.
>
>
> Matt
> << File: ATT12423654.txt >>
_______________________________________________
http://www.opencores.org/mailman/listinfo/usb
|
 |