STM32L4 FreeRTOS+FatFs+SD f_open() throws FR_DISK_ERR in application startup hook but not in any other tasks
I am using an STM32L475VG on the B-L475E-IOT01A discovery board. I am running into a strange problem where whenever I try to create a file within a task it throws back FR_DISK_ERR every time, but succeeds within the startup hook or within the main() ...