Dear Jan
Thanks so much for reverting. I would now like to elaborate my problem.
Well, I am working on a USB 2.0 Bridge implementation using an FPGA such that any communication between the HOST and the USB Mass Storage Device happens via the USB Bridge. Now I use a Mixed signal Oscilloscope to observe the D+ and D- USB lines of both the device as well as the HOST.Also I am using a Logic Analyser to observe the ULPI interface of the PHY at both host and device end.
My observations :-
1. Oscilloscope observation
As I plug in the mass storage device, after the initial VBUS steps and full speed pullups and stuff,terminations,I observe the Chirp K signal on the D- line of the device. Then the HOST initiates the KJ sequence after which I have some communication happening on both the sides.
2.After this the chirp K from the device repeats.I assume this is after the device descriptor is read by the HOST and the HOST issues a reset.(Please correct me if I am wrong).Following this there is some more communication happening between the Host and the device. Now the behaviour post this is variable.Sometimes after a little communication, the Chirp K sequence fiollowed by JK from the HOST repeats.Sometimes it does not. After a little communication , the D+ line of the HOST remains high and sometimes USB device is not recognised and sometimes detected with the yellow exclamation mark.
Observations made on the Logic Analyser.
1. The SOF repeating after every 125 us on the HOST as well as the DEvice side
2.18 bytes of device descriptor read with all stages of control transfer successfully happening. Following this a reset happens. After this I have a Set address happening.
3. Post this I am not able to tweak immediately after Set Address what happens. But eventually I have a successful Get device descriptor followed by Get Configuration Descriptor,Get String Descriptor, Get Configuration(this time config followed by interfasce and endpoint).
4. Post this I have been struggling to tweak Set Configuration or even Get Configuration for that matter .But I have not been able to do so as yet.
Now what I wanted to know what is the yellow exclamation mark in terms of enumeration means till what stage has it reached?
Also post Set Configuration do I have the BULK TRANSFERS initaied or before that?
Also if this is some power related issue , could you highlight what could be the problem.
Any help/suggestion from your side is going to help me immensely to channelize in the direction.
Looking forward to your early reply.
PFA the waveforms observed on the USB interface both on teh device as well as the HOST side.
here
yellow D- device
blue D+ device
green D- host
pink D+ host
Please see that the D+ line goes high in the last.
There is one more file which I wanted to attach but cannot do so because of the limited 128 kb size.
Is there any way I acn send it across.Its 160 Kb after compression.
Warm Regards
Akanksha Jain
[attachment deleted by admin]