cancel
Showing results for 
Search instead for 
Did you mean: 

How to update FATFS on STM32F103 Package ?

ABatt.1
Senior

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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

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

View solution in original post

2 REPLIES 2

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
ABatt.1
Senior

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?