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.

TM4C USB bootloader with dfuprog.exe

Hello everyone, 

I have a question regarding usb bootloader. I use EK TM4C1294 and what I'm trying to accomplish is to update firmware via usb interface. Checking over documentation I found dfuprog.exe source code. It is great since I also want to develop some windows application which would load .bin file to my MCU. Under "...boards\dk-tm4c129x\..." link I found

Under "...boards\dk-tm4c129x\..." link I found boot_demo_usb app which should work with this dfuprog. I adopted the code to work with this tiva board (removed extra code regarding screen and similar). But when I start dfuprog to list all devices connected only ICDI is listed. Is there some step in between which I might have missed.

Thank you in advance,

Djedjica

  • Hi Djedjica,

    There are 2 USB connectors on this DK boards. One is ICDI for debugging and programming (J4), this connector is located in the upper right of the board. The second one (J24) is USB OTG connector which is used for USB host, device, and OTG operation. Please unplug ICDI cable, and use external power supply when using J24 for USB bootloader.

    Regards,
    QJ
  • Hi Mr. Wang,
    Firstly, thank You for your response.
    Yes I am aware of that recommendation to use external power source in this situation, for safety so that firmware of ICDI doesn't get erased by accident, but still two devices should be displayed, right? I didn't see second DFU for device, but I checked a bit around drivers, and it seems that driver was not installed right. Now device is registered and it is left for me to study this code well and build something for our devices.
    What I plan to do is create bootloader that will use USB to update code on the board, and from Windows side try to build something similar to dfuprog.exe but what will be more user-friendly. Only this windows_drivers (boot_demo_usb_amd64...) are a bit risky for me. Will I need to build them by myself or they can be used for my project as well?
    Kind regards,
    JC
  • Hello Djedjica,

    DFU is standardized so windows drivers would be good to go.

    Regards
    Amit