Are you actually using Cypress' FLASH File System (FFS), with the S25FL128Pxx?
I am currently using a FATfs from different vendor
Please find attached the Low Level Drivers (SLLD) for SPI FLASH memory products,
which also includes the S25FL128P.
Hope this helps...
Thank you and regards,
Spansion_SLLD_13.2.1.exe.zip 6.6 MB