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.

Linux/TM4C1294NCZAD: Linux based command line Upload-Tool for flashing a TIVA over UART?

Part Number: TM4C1294NCZAD
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Linux

Hi guys,

I am looking to be able to flash a Tiva with a new bin file remotely. 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 tm4c1294NCZCAD, via uart, from 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 0x10000 so that the bootloader has 0x000~0x10000. I have used uniflash to flash both the bootloader and a sample application  with great success. Now I just need to figure out how to remotely push a .bin file over from a linux computer using a bash script to really get the use out of the bootloader. 

I have used lm4flash with the ICDI interface to flash the tiva but that I really need is to be able to use UART and the uart based flash bootloader to flash the tiva. any help will be appreciated

  • Hello Frank,

    I believe what you are seeking is the sflash utility that is part of the Tools folder in TivaWare. This is aSerial Boot Loader Download Utility for UART and in the TivaWare tools/bin folder is a pre-built binary you can leverage. You should be able to use this for the Linux bash script.

    More details on how it works and how the command format looks can be found in Section 9 of the TivaWare Tools User Guide located in the docs folder of TivaWave titled "SW-TM4C-TOOLS-UG-2.1.4.178.pdf"