AnsweredAssumed Answered

USB Device - dynamically choose interfaces

Question asked by Bruno Albrecht on Jan 17, 2018
Latest reply on Jan 24, 2018 by Bruno Albrecht

Hello,

 

I have an application running FreeRTOS and USB communication (acts as a Device). My objective is to have one Virtual COM port and on Mass Storage Device over the same USB (composite device), where the MSD should NOT show up automatically. The user can ask through VCOM Port for the Disk to appear or disappear.

 

I used one of the examples (usb_device_composite_cdc_msc from SDK 2.3.0 for MK22FN512VLH12) as a base for my application, but I don't understand how to control when the interface should appear, which functions to call, etc.

 

Can anyone point me to the direction?

 

Cheers,

Bruno

Outcomes