Other Parts Discussed in Thread: C2000WARE, TEST2
Tool/software:
I am trying to write data to sdcard via SPI communication, but I am stumped by the fatfs settings.
I am referring to SDFatFS.c , sdspi.c of C:\ti\c2000\c2000Ware_4_01_00_00 libraries\fatfs\sdspi, but when I build it, I get the following error.
<Linking>
undefined first referenced
symbol in file
--------- ----------------
disk_register ./cg/SDFatFS.obj
disk_unregister ./cg/SDFatFS.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "test2_SDC.out" not built
*************************************************************************************************
SDFatFS_diskInitialize,SDFatFS_diskStatus... function generated the same error.
However, I was able to solve the problem, because I used the same name as the disk_initialize,disk_status... function declared in diskio.h.
On the other hand, I don't know what to do with the disk_register,disk_unregister... function.
Could you please tell me how to solve this problem?