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.

TM4C1290NCZAD: Making a USB (Run Time) Bootloader with TI-RTOS

Part Number: TM4C1290NCZAD
Other Parts Discussed in Thread: UNIFLASH, EK-TM4C1294XL

Hi Guys,

I have searched a lot lately but I found always the same answer that TI does not have a demo project or example for an USB Bootloader with TI-RTOS.
I have a TM4C1290NCZAD on a custom board and I would like to update it`s Firmware during runtime. I am using the TI-RTOS on it.
I tried the built in bootloader with the DFUProg provided by TI. If I erease the Flash with Uniflash first then I can update the Firmware of the empty microcontroller.
But I would also like to be able to update it when the Firmware is already running on it. I used the "boot_demo_usb" project from TI. That one is also working fine
and it does the update during runtime but it does not have the TI-RTOS. I tried to eliminate all the code parts regarding the touch screen and mouse and everything
which I dont have anyways and put the remaining code in to a TI-RTOS project but sofar I had no success. Is there anyone who already tried something similar,
or could anyone give me an example maybe? Or is there a reason why TI does not have an example like this?
If you could give me any tipps or ideas how to try it I would be really greatful for that.

Thank you very much in advance!

Best regards
Gergely

  • Hi Gergely,

     Unfortunately, we don't have a ready to use TI-RTOS USB application in DFU mode. For the bare metal example, you might have looked at the boot_demo_usb example from C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\dk-tm4c129x\boot_demo_usb which has the LCD related features. There is actually another boot_demo_usb from C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl\boot_demo_usb in the latest TivaWare release. This example is much simpler without all the LCD functionalities. It will call the USB bootloader in the ROM when the host places the device in DFU mode.