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.

EK-TM4C1294XL: USB_HOST_MSC code not working in custom code

Part Number: EK-TM4C1294XL

Hello All,

Ima using EK-TM4C1294XL launchpad for my project development. My aim is to store ADC data into a USB stick.

I've tried using USB_HOST_MSC example code , though it is for reading data from USB stick but I've added some code and was able to write data in to USB stick as well.

Now I'am trying to use the code of writing data into my other code in which ADC is capturing data but it is not writing & creating any file to the USB stick.  I only want to write the data so I've omitted the reading part of the  USB_HOST_MSC code.

kindly help me with which part of the code is to be used only to write data into USB stick.

  • You might want to look at the example code in:
    C:\ti\TivaWare_C_Series-2.1.4.178\examples\boards\dk-tm4c123g\qs-logger
    While this example is for a different board with a TM4C123 part, it does have the functions to read ADC values and write them to a USB stick in a .CSV file. You cannot use this example directly on the EK=TM4C1294XL board, but rather use as an example to guide you.