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.

TM4C1294NCPDT: TM4C MCU Reprogramming option using DFU

Part Number: TM4C1294NCPDT

Hi,

I am using TM4C1294NCPDT micro-controller, My requirement is to program the chip using USB and LM Flash tool.

Able to program the empty chip in DFU mode using LM Flash tool. As soon as i programmed the chip it was not going into DFU mode until i erase the chip using programmer.

Is there any possibility to reprogram the chip using DFU with out erasing the chip? Please suggest

Regards,

Santosh

  • Hello Santosh,

    Yes. When you want the application to jump into boot loader mode, you would need to re-initialize the USB controller and call the ROM_UpdateUSB function. An example of the same is shown in the example

    D:\ti\TivaWare_C_Series-2.1.3.156\examples\boards\dk-tm4c129x\boot_demo_usb
  • Hi Amit,

    We are trying to load program from LMFlash to TM4C1294 chip using USB, but unable to detect the chip as DFU.

    Chip was new, We erased and tried to connect to LMFlash but not successful.

    Is the empty chip directly detect to LMFlash as DFU or we need to do some settings? Please suggest.

    Regards,

    Santosh

  • Hello Santosh,

    Do you have a crystal connected and the RBIAS resistor mounted on the board. The second one is a known errata for the device.
  • Hi Amit,

    Yes, Crystal(25MHz) is connected and RBIAS resistor(4.7 K) also mounted.

    Regards,

    Santosh