Hello folks,
I'm working on a device that needs a USB storage connection capability. I have put the "mass" sample into my application, and it works as expected except for one thing -- I can't seem to change the displayed name of the mounted drive.
I'm working in SDK v2.5.0 / nRF52840 / Windows 11 Host.
The nRF USB port connection connects as "USB Drive (E:)" and I can use my computer to format the drive to whatever name I want (e.g. USB_CfgTool (E:)). I want to be able to set this name programmatically.
What I have tried so far:
KConfig - CONFIG_USB_DEVICE_PRODUCT="MyName"
Code: Change the name of the mount_point (fs_mount_t *mnt ;; mnt->mnt_point="MyName" ;; usb_dc_reset();) (In the hope that changing mount point, then disconnecting / reconnecting would update the name)
Based on this post: Set USB Device Product name on runtime
It seems like I might be fighting against Windows Driver Caching based on VID/PID -- but I'd like to set up new devices (my own) to show up with a correct USB name on their first run. In that case, the caching won't be an issue because the right information will get cached.
Could someone please point me in the right direction to name USB Devices?
Thank you,
- Finn