MCU: TM4C1294NCPDT
CCS: v6.0.1.0040
Hi,
I am trying to implement access to SD card in my project (in the bootloader code, non-RTOS environment). The application will access the SD card, open a particular .bin file from the SD card & program it to the APPLICATION section of the Tiva C MCU.
Now, following the SD_Card example in DK-TM4C129X board, I am trying to implement similar type of SD card access in my project (which is a modified version of the usb_stick_update of examples provided for EK-TM4C129X board).
REFER attached project in zip format
I have included the following line in my code (in usb_stick_update):
#include "third_party/fatfs/src/ff.h"
I have also copied the file "mmc-ek-tm4c1294xl.c" from the directory "C:\ti\TivaWare_C_Series-2.1.0.12573\third_party\fatfs\port" to my working project directory "usb_stick_update".
And for initial test, I have added the following code to the main function of the usb_stick_update project.
static FATFS g_sFatFs;
FRESULT iFResult;
iFResult = f_mount(0, &g_sFatFs);
Upon carrying out the above mentioned modifications, the compiler gives the following errors:
#10010 errors encountered during linking; "usb_stick_update.out" not built usb_stick_update C/C++ Problem
#10234-D unresolved symbols remain usb_stick_update C/C++ Problem
unresolved symbol f_mount, first referenced in ./usb_stick_update.obj usb_stick_update C/C++ Problem
Now, I don't understand how to resolve the issue & carry forward with the implementation of the SD card access in usb_stick_update.
PLS HELP!!
NOTE: Since, I am testing the drivers & their implementation, I have not mapped the SD card access pins (hardware) properly to match with my board pins. I planned that once the driver codes are ready & compiles fine, I will proceed with the correct pin mappings.
Thanks
Regards
Soumyajit