Unable to utilize the FAT file system on nRF7002 DK board.

Hi, 

I am trying to write a file to the FAT file system on nRF7002 board. 

Here is what I have tried:

in proj.conf:

ONFIG_FILE_SYSTEM=y
CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_FAT_FILESYSTEM_ELM=y
CONFIG_FS_FATFS_LFN=y
CONFIG_FS_FATFS_LFN_MODE_STACK=y
CONFIG_NVS=y
CONFIG_DISK_DRIVER_FLASH=y

in main.c of the app core:

#include <zephyr/fs/fs.h>



static struct fs_mount_t fat_fs = {
    .type = FS_FATFS,
    .fs_data = NULL,
    .mnt_point = "/mnt/storage",  // Mount point for the filesystem
};

void mount_fatfs(void) {
    int rc = fs_mount(&fat_fs);
    if (rc < 0) {
        printk("Failed to mount FATFS (%d)\n", rc);
    } else {
        printk("FATFS mounted successfully!\n");
    }
}
Invoke mount_fats in main(). 
Here is the error I see:
<err> qspi_nor: JEDEC id [00 00 00] expect [c2 28 17]
<err> fs: fs mount error (-19)
Failed to mount FATFS (-19)
How can this be fixed?
Related