4 years, 6 months ago.  This question has been closed. Reason: Duplicate question

Flash File System Hanges in SPIFFS_close(&fs, handle);


I am using

Import programDragonfly_Filesystem_Example

Run a filesystem on the Dragonfly's SPI flash.

for generating my serial Nor flash Mx25R (16Mb) chip using stm32l0 controller. I had written data to external nor flash. I am able to see that when successfully written it will show how many bytes of data is being written then after it gets hanged in function named SPIFFS_close(&fs, handle); I made an attempt to debug and found that this is the function which is creating the issue. And further I could not read out the data as the controller pointer hangs at infinite loop. Could anyone provide me solution for this problem?