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.

TMS320F28379S: firmware update using a pendrive through OTG reg.

Part Number: TMS320F28379S
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi,

I am working on implementing a firmware update using a pendrive through OTG for the TMS320F28379S controller on a custom PCB. I would like to know if TI provides:

Any official documentation related to firmware updates using a USB flash drive on the TMS320F28379S.
Any libraries, example code, or APIs that supports reading firmware from a USB mass storage device (MSC) and flashing it to the internal memory.

From my research, I have gathered the following points:

TMS320F28379S does not natively support USB DFU firmware updates, unlike the Tiva C Series.
C2000Ware provides USB Host Mode support and MSC drivers but lacks a direct implementation for firmware updates using a USB flash drive.
FatFs is required for FAT32 file handling to read the firmware file from a USB drive.
TI’s Flash API is available for erasing and programming firmware to flash memory.

Could you provide any relevant documentation, example projects, or best practices for implementing a firmware update using a USB flash drive through OTG on TMS320F28379S?

Looking forward to your guidance.

  • Hi, 

    An integrated solution is not provided but as you mentioned all the pieces are provided. 

    1. USB Host mode - Mass storage example which reads the file system on a pen drive. 

    2. USB Flash kernel example which uses the Flash API for erasring /progranming flash memory. 

    For the firmware upgrade, you will have to download this kernel to RAM which then runs and updates the application/firmware

    Best Regards

    Siddharth

  • Hi Siddharth,

    Thanks for your response.

    1. Since the TMS320F28379S does not natively support USB DFU, is there a straightforward way to upload application code remotely without using CCS or a JTAG debugger, such as via SCI or any other communication mode?
    2. Additionally, does TI provide a supported method (or best practice) to automate this process—such as an API-based approach for remote firmware updates without requiring CCS or a JTAG debugger?

    Does TI offer any framework or library that simplifies this process?

    Looking forward to your guidance.

  • Hi 

    Serial flash programmer and examlpes are included within C2000Ware, pls refer them. 

    App note on serial flash programming is available at this link https://www.ti.com/lit/an/sprabv4h/sprabv4h.pdf

    Best Regards

    Siddharth