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
Hi Bruno
I have attached a video showing possible operation as you wish.
I simply inform that there is no card inserted and after a short time I inform that a card 'is' inserted and then the disk drive "appears" (about 0:22 in the video).
If you look carefully, the disk drive does appear for a fraction of a second when the USB device enumerates but then disappears again.
As shown in the video the composite USB-CDC operates normally during the period.
Regards
Mark
Kinetis: http://www.utasker.com/kinetis.html
USB: http://www.utasker.com/docs/uTasker/USB_User_Guide.PDF
USB composites: http://www.utasker.com/kinetis/USB_Device.html
USB-CDC host<->device video: https://www.youtube.com/watch?v=XhISV1czIo4&list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&index=16
Free Open Source solution: https://github.com/uTasker/uTasker-Kinetis
Working project in 15 minutes video: https://youtu.be/K8ScSgpgQ6M
Professional Kinetis support, one-on-one training and complete fast-track project solutions: http://www.utasker.com/support.html