44.5. USB MSC DUAL LUN
44.5.1. Overview
This example project shows USB MSC storage device
PC shows two USB drives
When the KEY button is pressed, LUN1 will be set to not ready to simulate medium not present (e.g. SD card removed)
44.5.2. Board Setting
Connect a USB port on PC to the PWR DEBUG port on the development board with a USB Type-C cable
Connect a USB port on PC to one of USB port on the development board with a USB Type-C cable
44.5.3. Running the example
When the project runs correctly
After a USB cable plugged, you can see two virtual U disks on the PC device manager
These two virtual U disks can be accessed and store files temporarily before the system powers off or restarts
Press the KEY button, the LUN1 disk will be ejected (unavailable) to simulate medium removal. Press again to re-insert LUN1.