Associate III
May 17, 2018
Question
Bootloader loading File Object Structure Not Returning FR_OK
- May 17, 2018
- 4 replies
- 1217 views
Posted on May 17, 2018 at 18:45
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,
Daniel
