Respond to USB command after code restart.

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

Respond to USB command after code restart.

531 Views
VinceTF
Contributor III

Device: mcf52258

Compiler: CW Eclipse 10.2

RTOS: None/Bare Metal

 

I have a custom usb driver that I am trying to setup to respond to

a command after a restart.  Note that the usb driver is interrupt

driven.

 

The desired process is as follows:

1) Out pipe issues a command.

2) code restarts.

3) In pipe issues a response.

 

In my code I purposely do NOT enable the USB peripheral after

the code is restarted to avoid a reset.  However I do install and

enable the interrupt a second time.  The response to the OUT

pipe is a stalled IN pipe.

 

Any ideas as to what could be causing this?

 

Labels (1)
0 Kudos
Reply
0 Replies