Skip to main content
MANISH
Associate III
November 14, 2018
Question

Mass store device for the STM32F7VIT device.

  • November 14, 2018
  • 4 replies
  • 1298 views

Hi,

We are using the STM32F7 device and we interfaced the NAND fash device through the SPI to the controller. Now we want to access the NAND flash device through the PC directly by using the FAT file system . Without using the device drivers in PC. What are the option we need to select in the cube mx.

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
November 14, 2018

Hard to say if there's a magic button

You'd need to manage blocks on the media, add FatFs so you can use it on the STM32 side, and then a separate USB-MSC so the PC can access the same blocks.

In 2018 I'd likely be considering the use of an eMMC over SPI/NAND so I didn't have the performance of a snail.

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

Hi,

Now i had selected the Fat file system and USB as mass storage class . But how to combine the SPI drivers with the Filewrite operation . And one more if the NAND flash device has to detect in the PC , what are drivers we need to manage.we are new to developments of the pc detectable memory device.

Tesla DeLorean
Guru
November 14, 2018

I don't use CubeMX, I can code and stitch boilerplate together without such tools.

>>we are new to developments of the pc detectable memory device.

Perhaps familiarize your self with block storage devices, and file systems. Review how data and files are stored on a USB flash memory drive or Micro SD card..

The MSC/USBSTOR type device presents like a SCSI hard drive or CD/DVD ROM, etc.

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