This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TM4C1294NCZAD: DK-TM4C129X flash file system questions.

Part Number: TM4C1294NCZAD

Tool/software: Code Composer Studio

I have a couple of questions about creating a flash file system using a Tiva CPU. I have a DK-TM4C129X eval board and I have run two example applications to learn about using flash file system. I have run the sd_card example that was provided in the software that came with the eval board. I have also run an example application I found in the resource explorer called fatsd_DK_TM4C129X_TI_TivaTM4C129XNCZAD using Code Composer Studio.

 

My end goal would be to put a file system on the Quad SPI 512 Flash device like the Macronix MX66 device on the board. Is there an example of a file system that uses the Quad SPI 512 Flash device and not the micro-SD card?

 

I assume I could do something like the two examples but I would need to change the chip select (see J7 pins 1-2 and J7 pins 13-14 on the DK-TM4C129X eval board) to use the flash device and not the micro-SD card. I would also need to format the file system with something like f_mkfs(). What else would I have to do to use the MX66 and not the micro-SD card to create a flash file system?

 

I did have a question about the fatsd_DK_TM4C129X_TI_TivaTM4C129XNCZAD project. In main there is a call the function Board_initSDSPI() that calls DK_TM4C129X_initSDSPI() and DK_TM4C129X_initSDSPI() calls the function SDSPI_init(). I looked for the project includes for the function SDSPI_init() and I didn’t see it in the Tiva Rom document and I didn’t see it “linked in” as a c source file like many of the example applications do. For example, the project sd_card links in the file ff.c as a link file under the project folder third_party/src. How does the project fatsd_DK_TM4C129X_TI_TivaTM4C129XNCZAD link in and use the function SDSPI_init()? I assume since I can’t step into the function SDSPI_init() with the debugger that it is either in the ROM on the CPU or in a library that the linker uses.

 

Thanks,

Doug