Skip to main content
SKoh.12
Associate
July 27, 2019
Question

STM32F723 USB Device MSC with internal flash

  • July 27, 2019
  • 4 replies
  • 1667 views

Hi!

I am using stm32f723 to implement usb device mass storage.

I try to mass storage using an internal flash, but I get a message that the formatting is not complete.

I have developed it by referring to the link below, and I have confirmed the same value for reading and writing.

But it is doesn't working.

​Can someone please confirm?

I put the file in the attachment.

https://community.st.com/s/question/0D50X00009XkYLbSAN/stm32f4-mass-storage-class-with-internal-flash

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
July 27, 2019

The large flash sectors, and erase times, make the internal flash of the F7 series ill suited to a FAT/MSC solution. Consider external flash memories with smaller erase block sizes, eMMC chips designed for such tasks.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
SKoh.12
SKoh.12Author
Associate
July 27, 2019

Thank you.

The test product does not have an emmc or nand, so I'm testing it with an internal flash to check some actions.

Tesla DeLorean
Guru
July 27, 2019

Then you'll need to manage the deblocking​ and partial writes to flash sectors holding existing data.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..