User Activity

I am trying to interface a SPI flash from Winbond (W25Q64JV) with FATFS.I have no previous experience with FATFS.I initialize FATFS in CubeMX with the option "used-defined" and modified the MAXIMUM and MINIMUM Sector Size to 4096, as it is the smalle...
write successfully but read not working . and show fail to find file in fatfs spi flash using stmcube and w25q64 void test_fatfs(void) { printf("Mounting filesystem...\n"); fres = f_mount(&fs, "0:", 1); if (fres != FR_OK) { printf("Failed to mo...
res = disk_initialize(0);printf("disk_initialize returned: %d\n", res);if (res != RES_OK) {printf("Disk initialization failed!\n");v = 8;} else {fres = f_mount(&fs, "", 1);printf("mount returned: %d\n", fres);if (fres == FR_OK) {printf("Filesystem mo...
MX_GPIO_Init(); MX_SPI2_Init(); MX_USART2_UART_Init(); MX_FATFS_Init(); /* USER CODE BEGIN 2 */ W25Qxxx_Init(); fres = f_mount(&fs,"0:",1); if(fres == FR_OK) { v=9; fres = f_open(&fp, "info.txt", FA_OPEN_ALWAYS|FA_WRITE); } else { v=2;...