2022-11-22 08:21 AM
I'm trying to use fileX for format a card with filex with exfat but having some issues,
after the format when I create a file the file says it is already created, presumably from a previous format, possibly with regular FAT.
Currently calling as
status = fx_media_exFAT_format(&sdio_disk, fx_stm32_sd_driver,
(VOID *)FX_NULL,
(UCHAR *)media_memory,
sizeof(media_memory),
"EX_DISK" /* Volume Name */,
1 /* Number of FATs */,
32768 /* Hidden sectors */,
hsd1.SdCard.LogBlockNbr /* Total sectors */,
512 /* Sector size */,
256 /* Sectors per cluster */,
12345 /* Volume ID */,
8192 /* Boundary unit */);
these are the values suggested by the Microsoft guide, although their total sectors is slightly different so I use what's read from the card.
Wondering if the values are wrong or if there is some other issue