Associate II
May 22, 2020
Solved
I am facing USB MSD Device format issue using STM32F411E Discovery kit
- May 22, 2020
- 3 replies
- 5495 views
I am developing the application of USB Mass storage device using internal flash. I have used the ST CubeMx tool to generate the USB MSD code. I am using the last sector-7 (128KB) of MCU to create the Drive & i have modified the STORAGE_Write_FS() & STORAGE_Read_FS() functions to read and write from internal flash.
When i plugged In USB Device to PC, it created the flash drive in PC & the PC ask for formatting the drive first , but it is not able to format.
I have attached my code here, please check the code & let me know where i am wrong... 