USB CDC virtual com example program on TWR70

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

USB CDC virtual com example program on TWR70

839件の閲覧回数
sueneal
Contributor I

I am having problems running this example when I build the example for ddrdata.

If I build for sramdata then the USB enumerates correctly and I can run the example in windows 7

If I build the same program for ddrdata then the USB doesn't enumerate and windows 7 gives an error that the device is unknown.

I get numerous USB_APP_BUS_RESET events but never get the USB_APP_ENUM_COMPLETE event.

I've checked the linker files and the .usb_bdt is set in the sram data and aligned corectly in both linker files - the only difference between the two is the start address

Am running out of things to look for.

Any ideas would be appreciated.

ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

572件の閲覧回数
isaacavila
NXP Employee
NXP Employee

Hello Sue,

Which example are you using? I was able to run cdc_vcom_twrk70f120m example that is located at: <MQX_4_2_PATH>/\usb\device\examples\cdc\virtual_com\build\cw10gcc and it worked well when ddrdata debug configuration was used.

Regards,

Isaac Avila

0 件の賞賛
返信

572件の閲覧回数
sueneal
Contributor I

Hello Isaac,

I was using the kds build - I managed to get it working as I realised that my bsp had BSPCFG_HAS_SRAM_POOL and MQX_USE_UNCACHED_MEM turned off Once I turned them on it worked fine.

Regards

Sue

0 件の賞賛
返信