Replies: 1 comment
-
Found it myself. ` /* USER CODE BEGIN USBD_STORAGE_Status */ switch(mediumState){ return status; |
Beta Was this translation helpful? Give feedback.
-
Found it myself. ` /* USER CODE BEGIN USBD_STORAGE_Status */ switch(mediumState){ return status; |
Beta Was this translation helpful? Give feedback.
-
Hello Everyone
I was able to setup USBX and FileX on a RAMdisk. My STM microcontroller appears as a "drive" under windows. I can read and write to it. Perfect.
If the content of the ramdisk change from within the microcontroller, windows does not update the cached drive content. What is the correct way in USBX to make windows update the drive content? (without restarting USB completely)
Is there an example out there?
I experimented with USBD_Storage_Status, which is supposed to return SCSI sense Keys. I tried to reply "0x02 0x28 0x00" which is supposed to be "drive not ready, medium might have changed"
But this didn't help.
Thank you for your help.
Johannes
Beta Was this translation helpful? Give feedback.
All reactions