Skip to main content
Visitor II
January 29, 2025
Solved

Integrating SPI NOR Flash with FATFS and USB MSC

  • January 29, 2025
  • 2 replies
  • 2139 views

Dear STM Community,

I hope this message finds you well.

I am currently working on a project that involves integrating SPI NOR Flash (MT25TL01GB) with FATFS and USB MSC on STM32F429. Despite my efforts, I have encountered some challenges and would greatly appreciate any guidance or support from the community.

If anyone has experience with this integration or can provide any resources, examples, or advice, it would be immensely helpful.

Thank you in advance for your assistance.

Best regards, [Your Name]

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    January 29, 2025

    Hello @pankaj4 

    Using FatFs with SPI NOR flash is not recommended because the flash memory could fail in a short time, especially with intensive I/O operations like those performed by FatFs. Instead, consider using a more appropriate filesystem library designed for flash memories, such as LittleFS.

    pankaj4Author
    Visitor II
    January 30, 2025

    Could you please provide me with an example of how to implement LittleFS with SPI NOR flash? Your guidance would be greatly appreciated.

    Technical Moderator
    January 30, 2025

    Hello @pankaj4 

    Unfortunately, we don't support it in Cube_FW for the moment, you need to write the API between littlefs & STM32Cube_FW by yourself.

     

     

    pankaj4Author
    Visitor II
    January 31, 2025

    Hi,

    Could you please assist me with information on how to operate a NOR flash drive on a PC using USB FS MSC? I came across your post and found the example very helpful, but I need further support with this specific aspect.

    Thank you!

    Saket_OmAnswer
    Technical Moderator
    January 31, 2025