Respond to USB command after code restart.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Respond to USB command after code restart.

542 次查看
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?

 

标签 (1)
0 项奖励
回复
0 回复数