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/EK-TM4C1294XL: Firmware Upgrade / Flash via Ethernet, in Linux

Part Number: EK-TM4C1294XL

Tool/software: Linux

Hi,

Looking for a way to flash TM4C via Ethernet using Linux. It would be helpful if anyone could point me to some resources/links.

With Regards,

Vedant

  • Hi Vedant,
    We have Firmware upgrade via Ethernet examples in the TivaWare library. The bootloader example is called boot_emac_flash and the application example that goes with the bootloader is calleded boot_demo_emac_flash. The LM Flash Programmer which is a Windows based GUI application which can be used to upload the new firmware. There is also a Windows based eflash.exe utility which is command-line based that can do the same thing. The source code for eflash.exe is provided in the TivaWare library. This is all we have. You might want to take a look and see if you can port it to your Linux environment. I hope that some community members may be able to provide additional guidance from Linux perspective.

    Ethernet Flash Downloader
    Usage:
    eflash [OPTION]... [INPUT FILE]
    Description:
    Downloads a firmware image to a Tiva board using an Ethernet connection to the TivaWare
    Boot Loader. This has the same capabilities as the Ethernet download portion of the LM Flash
    Programmer tool.
    The source code for this utility is contained in tools/eflash, with a pre-built binary contained
    in tools/bin.
    Arguments:
    --help displays usage information.
    -h is an alias for --help.
    --ip=IP specifies the IP address to be provided by the BOOTP server.
    -i IP is an alias for --ip.
    --mac=MAC specifies the MAC address
    -m MAC is an alias for --mac.
    --quiet specifies that only error information should be output.
    --silent is an alias for --quiet.
    --verbose specifies that verbose output should be output.
    --version displays the version of the utility and exits.
    INPUT FILE specifies the name of the firmware image file.
    Example:
    The following will download a firmware image to the board over Ethernet, where the target
    board has a MAC address of 00:11:22:33:44:55 and is given an IP address of 169.254.19.70:
    eflash -m 00:11:22:33:44:55 -i 169.254.19.70 image.bin