2018-01-22 10:15 AM
Hello to all. I noticed that in the latest release of firmware for the STM32F7 (v1.9.0) the example application FatFs_USBDisk no longer works. During any fs_open command, an error is generated, and the app halts.
This did not happen in the previous version of firmware for the STM32F7 (v1.7.0).
I saw in the product release notes that there was an upgrade of components to the entire FatFs structure. I tried to follow the new rules of operation for the new upgrade (i.e - use updated usbh_diskio files, set block size to 512, etc), but still can't get it to run properly.
The folder for the FatFs applications is \STM32Cube_FW_F7_V1.9.0\Projects\STM32F767ZI-Nucleo\Applications\FatFs\FatFs_USBDisk.
Can somebody verify that they are seeing the same errors as I am seeing here now with this newly upgraded FatFs structure?
Thanks so much!!!
Chris
Solved! Go to Solution.
2018-01-23 04:51 AM
I looked up the error code I am getting from f_open. it is FR_NO_FILESYSTEM - There is no valid FAT volume on the drive or wrong lower layer implementation.
I tried another flash drive (Lexar 16GB) instead of the Lexar 32GB I was using.
That corrected the error.
I guess FatFs does not support drives larger than 32GB.
All okay now. Thanks everyone!!!
2018-01-22 11:21 AM
I can confirm that \STM32Cube_FW_F7_V1.8.0\Projects\STM32746G-Discovery\Applications\FatFs\FatFs_uSD works
I'm using FatFs r0.13 in my own trees, and that does have significant namespace differences to prior versions I was using.
2018-01-22 05:46 PM
Yes you are right Clive. I think the problem is just with the USBDisk application only.
I'm using the
STM32F767ZI-Nucleo board here only.
Do you have an STM32F767ZI-Nucleo board to check it on?
2018-01-22 05:57 PM
I have some, but not immediately to hand.
2018-01-23 04:51 AM
I looked up the error code I am getting from f_open. it is FR_NO_FILESYSTEM - There is no valid FAT volume on the drive or wrong lower layer implementation.
I tried another flash drive (Lexar 16GB) instead of the Lexar 32GB I was using.
That corrected the error.
I guess FatFs does not support drives larger than 32GB.
All okay now. Thanks everyone!!!