AnsweredAssumed Answered

Bootloader loading File Object Structure Not Returning FR_OK

Question asked by blesener.daniel on May 17, 2018
Latest reply on May 17, 2018 by Clive One

Hi, I am a bit stumped at the moment. I attached the files that use the main code.


In usbh_usr.c, the function "USBH_USR_ReadWriteFirmware(void)" is the ffucntion that attempts to open the file. 

The line "if(f_open(&file, "0:g4_firmware.bin",FA_READ) == FR_OK)" is not returning true even though I have a bin file with that name.

f_open is in ff.c


It looks good to me? Does anyone see something wrong?


I am using Keil 5.18, and an STM32F2.


Thanks for you help,