2025-06-22 11:23 AM - last edited on 2025-06-25 3:11 AM by mƎALLEm
i have created a USBx ramdisk which enumerates with windows and a usb disk is shown. when i look at the properties it is 0bytes in size and wont let me format it.if ULONG USBD_STORAGE_GetMediaLastLba(VOID) and USBD_STORAGE_GetMediaBlocklength are set to0 the USB will enumerates. if they are any other size then the USB wont enumerate.
i have attched the design. Any pointers would be great. i will eventually be adding an external SD card inthe design. but just want to get the ramdisk working first.