Skip to main content
deepak23
Visitor II
October 3, 2016
Question

STM32l433 + M25P16 + FatFs ... File system not working

  • October 3, 2016
  • 2 replies
  • 758 views
Posted on October 03, 2016 at 11:09

Hi all ,

I am currently with stm32l433, where i am stuck between FatFs file system. There are few things i need to clear.

1. Communication between STM32L433 and M25p16 working properly with help of SPI. All read and write operation working .

The Problem is : 

When i am trying to put Fatfs which was generated by CubemX , then i am getting error that ''No File System Found''.

So my first Question :

1. Is M25P16 Flash supports FatFs (

elm-chan.org/fsw/ff/00index_e.html

)  ?

2. If it is supported what will be the steps i need to follow to overcome this problem.

3. If it is not supported then, what other File system can i use with my external m25p16 memory device ?

 

    This topic has been closed for replies.

    2 replies

    Walid FTITI_O
    Visitor II
    October 4, 2016
    Posted on October 04, 2016 at 18:15

    Hi singh.deepak.002, 

    You may check in open project source communities like Github : for example this

    https://github.com/gk969/stm32-speech-recognition/blob/master/BSP/M25P16.c

    ( no confirmation of the code's wellness )

    -Hannibal-

    Tesla DeLorean
    Guru
    October 4, 2016
    Posted on October 04, 2016 at 18:41

    Unless the flash has been formatted/initialized it is not going to have FAT MBR or BPB data or structures on it. ie No File System

    1) Don't know, can you read/write 512 byte sector(s) properly?

    2)

    http://elm-chan.org/fsw/ff/en/mkfs.html

    () the media? See also

    http://elm-chan.org/fsw/ff/en/fdisk.html

    ()

    http://elm-chan.org/fsw/ff/en/appnote.html

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..