Hello @WellLeithed ,Could you kindly test this code snippet and confirm whether it functions correctly on your end? /*##-1- Link the micro SD disk I/O driver ##################################*/
if(FATFS_LinkDriver(&SD_Driver, SDPath) == 0)
{
...
Hello @meimurugan ,The STM32 HAL library provides a function to lock the GPIO configuration. Locking the GPIO pin can help prevent it from being reconfigured unintentionally. You can use the HAL_GPIO_LockPin function to lock the pin. HAL_GPIO_LockPin...
Hello @Naresh_ ,Please consider compiling your code with varying optimization levels to determine if the issue persists. In some cases, aggressive optimization can result in unexpected behavior. BRs,
Hello @Driadix ,I suspect that the file system may not be mounted correctly, as I did not see the f_mount() function in the provided code. It sounds like there are potential problems with file system mounting and SD card initialization. Could you ple...
Hello @WellLeithed ,Could you kindly refer to the example provided in our reference firmware package, FatFs_uSD_Standalone, and examine the differences? Or could you please provide the model of the STM32 MCU you are utilizing so that I can attempt to...