2017-12-27 01:03 AM
Hi,
I am using CubeMx v1.18 to generate the drivers for USB and SDIO.
The mass storage is detected on PC, but when write data the data is not written properly.
The same with read and write. After i delete the file it comes back again.
Right now i am not using FATfs.
Please guide me find the solution.
I have attached the .ioc file, Main.c and storage.if.c.
2017-12-27 07:17 AM
We configured this a long time ago bit I do remember we had to up the Heap value in the Cube to make this all work. Basically, the diver ran out of allocatable memory.
It was a long time back and the driver has almost certainly changed since then.
2017-12-27 10:12 AM
I have increased the heap and stack size. It has no impact on the problem mentioned above.
2017-12-29 03:22 AM
The problem is in firmware versions 1.14 and 1.18.
I am not able initialize SDIO+FatFs using V1.14, It gives lot of error in BSP_SD_Driver.c. But i am able to work with SDIO+USBD using this firmware version.
Similarly,
I am not able to initialize SDIO+USBD using V1.18, But SDIO+FatFs Works great with this firmware.
Any solutions????
I need SDIO+USBD+FatFs
2018-01-29 10:51 PM
Even the examples from Version 1.19 does not work with STM32F469- disco Boards