czh-hzc
December 15, 2025, 1:56pm
1
I’m trying to mount a w25q64 onto the file system, but I’m encountering this issue where the device sector size is larger than the FAT sector size.
I followed online advice and changed the maximum sector size in the configuration to 4096, but I still get this error, and I’m not sure why.
Attached is my mounting code.
W25Q64_test.c (1.6 KB)
salt
December 16, 2025, 3:05am
2
Which file is the screenshot of this macro?
czh-hzc
December 16, 2025, 4:04am
3
Changed in menuconfig; I created a new program and found that the default here is 4096, then I tried it again and still got the same error.
czh-hzc
December 16, 2025, 7:43am
4
I figured it out. I defined W25Q64_SPI_DEVICE_NAME as W25Q64, and the identical names caused a bug in:
rt_sfud_flash_probe(“W25Q64”, W25Q64_SPI_DEVICE_NAME)