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.

Accessing SD card from Tivaware (or a non RTOS environment)

Other Parts Discussed in Thread: SW-TM4C

Hi,

   My application requires provision to upgrade the firmware via USB Thumb Drive as well as FOTA (Firmware upgrade Over The Air). I have successfully implemented the USB Thumb Drive based firmware upgrade but am stuck with a minor issue with the other one (FOTA) due to no driver availability to access SD card in non RTOS environment (no TI-RTOS).

   Like we have SDSPI driver in TI-RTOS, I tried to find out similar driver in Tivaware. What I found is that SPI driver is available but no SDSPI. Am I wrong somewhere? I mean, does the driver exists in Tivaware & I am unable to find it?

   My application has a GSM modem connected to the Tiva C MCU via an UART port. Data (the new firmware file) will be fetched from the GSM modem & stored in the SD card (while the old firmware is still running). After successful download of the new firmware file & storing it in the SD card, the old firmware will trigger a firmware upgrade which will cause the bootloader to run. The bootloader (non RTOS) needs to open the firmware file from the SD card & load the same on the Tiva C MCU's FLASH.

   How can I access the SD card from Tivaware or a non RTOS environment? Any example available?

Thanks

Regards

Soumyajit