It may be not a novelty since the problem was present in the previous Harmony version, but I think it is essential to bring attention now.
The mpfs.c misses a cache guard when used together with PIC32MZ and SST26 SQI in DMA or PIO mode. In that configuration, the SQI writes in non-cacheable space and mpfs.c, instead, uses cacheable addresses creating unpredictable behaviors that often prevent even to mount the file system.
Below a temporary fix to that issue acting on the mpfs.c.
Fix enabled with _SQI_CACHEWORKAROUND macro.
It may be not a novelty since the problem was present in the previous Harmony version, but I think it is essential to bring attention now.
The mpfs.c misses a cache guard when used together with PIC32MZ and SST26 SQI in DMA or PIO mode. In that configuration, the SQI writes in non-cacheable space and mpfs.c, instead, uses cacheable addresses creating unpredictable behaviors that often prevent even to mount the file system.
Below a temporary fix to that issue acting on the mpfs.c. Fix enabled with _SQI_CACHEWORKAROUND macro.
mpfs.c.zip