Writing to a file using the Harmony File System doesn't seem to be working
When trying to write to a file using the MPLAB® Harmony file system, the SYS_FS_FileWrite() function creates the file, but it contains no data. What is wrong?
After writing to a file using the SYS_FS_FileWrite() function, the file must be closed before you can read it. You must use the SYS_FS_FileClose() function to do this.
Please see the "MPLAB Harmony Help and Documentation" for more information.