MQX 3.8.1 usb cdc device not enumerating

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

MQX 3.8.1 usb cdc device not enumerating

ソリューションへジャンプ
1,508件の閲覧回数
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,130件の閲覧回数
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,130件の閲覧回数
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,131件の閲覧回数
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 件の賞賛
返信