MQX 3.8.1 usb cdc device not enumerating

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

MQX 3.8.1 usb cdc device not enumerating

跳至解决方案
1,482 次查看
travis_l
Contributor III

I recently upgraded from MQX 3.8 to 3.8.1 and my usb cdc is not enumerating on my PC anymore.  Previously it all worked fine, but now I cannot see the device enumerate at all.  I am using USBView to see the devices attached to my PC and using 3.8 my device would enumerate properly and load the .inf driver and communicate properly.  Now nothing happens.  I have followed the instructions in the 3.8.1 release notes about adding the library search path and everything builds correctly.  I am wondering what changed to break what was previously working.  I am in the process now of trying this on a KwikStik to determine if it works on a demo board and is not just something to do with my own PCB.

Any information or suggestions would be greatly appreciated!

For reference, I am using:

K40DX256ZVLQ10

MQX 3.8.1

CW 10.2

标签 (1)
标记 (5)
0 项奖励
回复
1 解答
1,104 次查看
travis_l
Contributor III

Found it!   The updated demo app has a call to install the usb device driver right before calling USB_Class_CDC_Init()

if (MQX_OK != _usb_device_driver_install(USBCFG_DEFAULT_DEVICE_CONTROLLER))

{

  printf("Driver could not be installed\n");

  return;

}

I missed any mention of this in the release notes but it appears to be working now.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,104 次查看
travis_l
Contributor III

Just tried this on my KwikStik and it appears to work, now I just need to find the difference...   ARRRGH!

0 项奖励
回复
1,105 次查看
travis_l
Contributor III

Found it!   The updated demo app has a call to install the usb device driver right before calling USB_Class_CDC_Init()

if (MQX_OK != _usb_device_driver_install(USBCFG_DEFAULT_DEVICE_CONTROLLER))

{

  printf("Driver could not be installed\n");

  return;

}

I missed any mention of this in the release notes but it appears to be working now.

0 项奖励
回复