This example project can let pc detected 2 comport and echo,but i only want to use one comport.
I try to modify
composite.c
usb_device_config.h
usb_device_descriptor.c
but two comport all disappear.
Any wrong?What should I do?
Hello @javenhuang1998,
Could you please test the usb_device_cdc_vcom example? Here you only got one VCOM port enumerated instead of two as the usb_device_composite_cdc_vcom_cdc_vcom does it.
Best regards, Raul.
Hello Raul,
Thank you for your message. I tested the example you advised, but it did not display any comport on my computer. I'm not sure about the reason, but it appears that opening two comports is necessary for it to work correctly.
Best regards,
Javen
Hello @javenhuang1998,
On our side we obtain the following:
[Running the usb_device_cdc_vcom example]
Is this what you are looking for? If so, could you please test the example following the next steps?
Best regards, Raul.
It's running fine now! I mistakenly opened the wrong project as 'lpcxpresso55s16_dev_composite_cdc_msc_freertos,' which caused it to not run.
I still don't understand the reason. Could it be a driver issue?
Hello @javenhuang1998,
In the readme of the lpcxpresso55s16_dev_composite_cdc_msc_freertos it is explained that you might need to Update the Driver Software for cases where the device is enumerated as USB COMPOSITE DEMO. As the readme mentions, if you had updated the driver, the device would have appeared as a Virtual COM Port.
Best regards, Raul.