USB CDC virtual com example program on TWR70

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

USB CDC virtual com example program on TWR70

697 次查看
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 回复数

430 次查看
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 项奖励
回复

430 次查看
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 项奖励
回复