Skip to main content
Graduate
May 23, 2021
Solved

How to update FATFS on STM32F103 Package ?

  • May 23, 2021
  • 2 replies
  • 1508 views

Hi to all,

I need to update from FatFS from R0.11 to R0.12c

In R0.12c there are new implementations compared to 0.11.

I see that for the STM32F401 the FATFS is in version 0.12c.

Is there a way to update the library for the STM32F103 as well?

Thank you.

    This topic has been closed for replies.
    Best answer by Tesla DeLorean

    Both are still rather stale.

    Older versions should be easy enough to substitute. Replace all the middleware files, and review the settings and match those up.

    The newer version s (0.13 / 0.14) will take more effort to adjust the DISKIO layer.

    Use a merge tool to understand the differences

    2 replies

    Graduate II
    May 23, 2021

    Both are still rather stale.

    Older versions should be easy enough to substitute. Replace all the middleware files, and review the settings and match those up.

    The newer version s (0.13 / 0.14) will take more effort to adjust the DISKIO layer.

    Use a merge tool to understand the differences

    ABatt.1Author
    Graduate
    July 4, 2021

    HI,

    Thanks for your help.

    substitute folder in repository works fine ( a part that Cube MX continue in use old ffconf.h, I need to update file every time I regenerate project in Cube MX).

    Now I'm facing a hardFault every time was called function validate() in f_Write().

    Other fuction works fine: I'm able to mount FAT and create a file.

    This is independent of what versione of FATFS I use.

    I'm investigating on why hardfault are generated. Someone have some suggestions?