2025-01-28 08:27 PM - last edited on 2025-01-30 03:55 AM by Andrew Neil
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]
Solved! Go to Solution.
2025-01-31 05:52 AM
Please refer to the example in the link below:
2025-01-29 05:45 AM
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.
2025-01-29 10:39 PM
Could you please provide me with an example of how to implement LittleFS with SPI NOR flash? Your guidance would be greatly appreciated.
2025-01-30 01:30 AM
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.
2025-01-30 03:26 AM
Hi,
I understand that Cube_FW does not currently support the integration with littlefs. To help me proceed with my project, could you kindly provide me with an example code for FATFS? This would greatly assist me in writing the necessary API between littlefs and STM32Cube_FW.
Thank you for your support and understanding.
2025-01-30 07:16 AM
Hello @pankaj4
Please refer to the example provided in the post below:
Solved: How to edit low level disk i/o for FatFS+SPI? - STMicroelectronics Community
2025-01-31 04:04 AM
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!
2025-01-31 05:52 AM
Please refer to the example in the link below:
2025-02-02 11:01 PM
Hi,
I hope this message finds you well.
I am referring to the example provided in the following link: STM32CubeF4/Projects/STM32446E_EVAL/Applications/USB_Device/MSC_Standalone.
This example demonstrates the use of a micro SD card for USB MSC. However, I am interested in implementing a similar setup using NOR Flash memory for USB MSC. Could you please provide guidance or an example for NOR Flash USB MCS?
Additionally, I would like to know if FatFs is required for this implementation.
Thank you for your assistance.
Best regards,
Pankaj