windows usb device disconnect reconnect

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

windows usb device disconnect reconnect

ソリューションへジャンプ
1,256件の閲覧回数
Keith4DSmith
Contributor V

I am using a Kinetis Freedom K22F evaluation board. I have a program running that enables a USB CDC VCOM device.

Windows sees the device just fine and communication is not a problem.

The problem I am having is each time I restart the debug session (I am using Segger J-Trace), I have to physically unplug and replug the USB CDC VCOM cable so I can talk to the device again.

I am using either PuTTY and RealTerm to communicate with the device.

Is there some 'reset' register or reset sequence available with the K22F eval board that one can use to 'simulate' the disconnect and reconnection of the USB device?

ラベル(1)
0 件の賞賛
返信
1 解決策
1,032件の閲覧回数
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Keith,

Thanks for providing more information. I was able to reproduce the behavior you mentioned using Windows7, the example dev_cdc_vcom_bm of the SDK v2.41 and Tera Term.

Please refer to the readme file about this behavior:

<MCUXpresso_SDK_Install>/boards/<board>/usb_examples/usb_device_cdc_vcom_lite/<rtos>/readme.pdf

Since there is no dynamic detection between host and device, the COM port must be closed from the terminal tool prior to plug-out/reset the CDC device. Or the CDC device won't get recognized next time you plug-in with the COM port still opened.

Hope it helps!

Victor.

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

----------------------------------------------------------------------------------------------------------------------- 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,032件の閲覧回数
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Keith,

I'm making tests on my side to reproduce this behavior. Could you please tell me which version of Windows are you running? 

Regards,

Victor. 

0 件の賞賛
返信
1,032件の閲覧回数
Keith4DSmith
Contributor V

Windows 7 Enterprise Service Pack 1

Details of usbser.sys at attached in jpgusbser.sys.jpg

0 件の賞賛
返信
1,033件の閲覧回数
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Keith,

Thanks for providing more information. I was able to reproduce the behavior you mentioned using Windows7, the example dev_cdc_vcom_bm of the SDK v2.41 and Tera Term.

Please refer to the readme file about this behavior:

<MCUXpresso_SDK_Install>/boards/<board>/usb_examples/usb_device_cdc_vcom_lite/<rtos>/readme.pdf

Since there is no dynamic detection between host and device, the COM port must be closed from the terminal tool prior to plug-out/reset the CDC device. Or the CDC device won't get recognized next time you plug-in with the COM port still opened.

Hope it helps!

Victor.

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

----------------------------------------------------------------------------------------------------------------------- 

0 件の賞賛
返信