USB CDC virtual com example program on TWR70

cancel
Showing results for 
Search instead for 
Did you mean: 

USB CDC virtual com example program on TWR70

332 Views
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.

Labels (1)
Tags (1)
0 Kudos
2 Replies

65 Views
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 Kudos

65 Views
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 Kudos