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.

TM4C1230C3PM: Linux Tool/program for flashing Tiva microcontroller via UART

Part Number: TM4C1230C3PM

Hello guys ,

I am looking to be able to  update  a Tiva TM4C1230C3PM with a new bin file. To do this I am trying to find a host tool that I can call from a bash script that will then send a .bin file over to a tiva , via uart, from TM4C1230C3PM where the uart flash bootloader on the tiva will take over and actually flash the device.

I've implemented the TI flash based boot loader and allocated memory accordingly in the .cmd file. My application starts at 0x1000 so that the bootloader has 0x000~0x1000. I have used lm flash to flash both the bootloader and the main application  with success. Now I just need to figure out how to  update a .bin file over from a linux(debian) computer. 

do you know if exist any program or tool that allows me to load  .bin to the tiva via uart ?  using linux

  • Hello Alfonso,

    Have you looked at the sflash utility provided in TivaWare under the tools folder? Details for how it works can be reviewed in the documentation we provide with TivaWare, look for SW-TM4C-TOOLS-UG-2.2.0.295.pdf in the docs folder.

    Best Regards,

    Ralph