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/TMS320F28379D: USB Firmware upgrade/USB Flash Programming for TMS320F28379D(Delphino processor)

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE, CONTROLSUITE

Tool/software: Code Composer Studio

We have below queries wherein we need Expedited TI support.

1)      TMS320F28379D USB Flash Programming : -

For TMS320F28379D we want to upgrade the firmware through USB.

-Could you please let us know the procedure for updating the firmware through USB?

What we understand is that EMU_BOOTCTRL (0x0D00) register has to be modified to 0xC5A.

This Register is not retaining the value 0x0C5A, if the power is removed.

   - Is there any way to retain this value?

  - Please note that BOOTCTRL register is an OTP (One time programmable) register. How to read and write to this register ?

2)      USB Firmware Upgrade : -

USB DFU device mode driver is available in C2000 Ware in the following location “C2000Ware_2_00_00_02_Software/libraries/communications/usb/f2837xd/source/device/usbddfu_rt.c” but application for DFU device is not available.

-Is there any Application for DFU device available form TI?

-DFU application for Host system is available for f2806x, can it be used for TMS320F28379D device ?

Thanks,

Phani.M

  • Hi Phani,

    1. The value will change as you are writing to RAM. Please go through http://www.ti.com/lit/an/spracn1/spracn1.pdf for writing to OTP.

    2. No there is no application to support for DFU and no such plan.
    Hope this helps.
    Thanks and Regards
    Harshmeet Singh
  • Hello Harshmeet Singh,

    Thanks for your response.

    From TRM document SPRUHM8H.pdf we understand that there are only two mode pins BMSP1 & BMSP0 from these two pins Boot mode will be decided by MCU & our preferred boot mode is Get/Flash.

    For TMS320F28379D device for Get boot mode BOOTCTRL register(OTP) need to be programmed accordingly. In our case it is USB boot mode so we are plan fuse it to 0xC5A.

    Based on this configuration during boot time the MCU will check for the USB connection with host. If connection to host is failed it will boot from Flash.

    If the connection is through to USB it can accept flashing through USB Flash programmer. Hope this is the right sequence.

    The document which you shared is referring to some other controller which mentions 3 boot mode pins, GPIO 15 pin configuration through RC sampling which is misleading and not matching with TRM.

    Hope for TMS320F28379D we don't be needing GPIO 15/similar configuration for USB flashing. Please clarify.

    Thanks,

    Phani.M

  • Hi Phani,

    As you are updating the value in the BOOTCTRL register you need to care about the GPIOs.

    Make sure the boot mode pins are correct.

    Thanks and Regard

  • Hi Phani,

    You understanding for booting is correct. If you want the option to boot to flash as well as USB bootloader, then you need to make sure your device always boots to flash and then have your flash application check to see if you want to do a DFU using USB.

    The USB boot mode and boot loader is available and source and drivers are in controlSUITE. The usb_flash_programmer and usb_flash_kernel are provided to help you get started with your DFU solution.

    sal