Continuously receiving get_descriptor in usb

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Continuously receiving get_descriptor in usb

535 Views
salman83
Contributor II

Hi,

I am trying to program MCF52259 demo kit micro controller. At the moment I am stuck with USB Endpoint 0. When I connect my usb, I get interrupt and then asked for Get_Descriptor. I send the device descriptor then it resets but after resetting, it again asks for device descriptor instead of issuing Set_Address command.

 

What could be the cause of the problem.

 

Here is the sequence of events that I encountered.

 

RESET

SETUP - Get_Descritpor

IN

OUT

RESET

SETUP - Get_Descritpor

IN

OUT

RESET

SETUP - Get_Descritpor

IN

OUT

Labels (1)
0 Kudos
3 Replies

312 Views
eckhard
Contributor V

Hello,

 

maybe you have a problem with overlapping Interrupt Priorities.

Have a look at this http://mcuoneclipse.wordpress.com/2012/04/22/trapspitfalls-overlapping-interrupt-priorities/

 

Eckhard

0 Kudos

312 Views
salman83
Contributor II

Thanks for the reply.

 

I checked all the interrupt handlers. I am not receiving any interrupt apart from USB.

 

But still I am getting the same problem.

 

I looked into the sample programs on the internet but can't find whats the problem.

 

Any help will be highly appreciated.

 

Regards.

 

0 Kudos

312 Views
swapnilmisal
Contributor II

Hello,

try using a software usb sniffer for detail packet transfer.

find whose creating problem 1)is it PC who cannot detect ACK signals from MCF52259

                                          2) Or device which cannot send descriptor in required format.

     Download USB Monitor

Swapnil.