fopen() update mode problem with SPI Flash memory

Ave,
Today i encounter another problem with Keil libraries... The problem applies to fopen() function in update mode "w+" and SPI Flash memory. In such situation fopen() returns NULL. There is no problem when accessing uSD card nor SPI Flash without "+" qualifier (i.e. "w" or "a"). Documentation says it should work.
Particulary I need to create *.json file and I need to overwrite data inside the file.
Is there any solution/workaround for this? Finally I can use row data on SPI Flash memory but FAT file system is better solution.

My IDE is MDK Proffessional 4.54

Best regards,
Slavo

Parents Reply Children
No data
More questions in this forum