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.

TM4C1294NCPDT: LM Flash Programmer 16.13 download using Ethernet fail

Part Number: TM4C1294NCPDT

I have already download boot_emac_flash into TM4C1294 as bootloader, then I download my project start at 0x4000,then the project can work .So I think the bootloader worked well.

When I want to download my project through Ethernet with LM Flash Programmer ,the error message shows as below,In my project ,I use LWIP ,and it work well.

How to solve this problem?                                                                  

  • Hi,
    What application did you program to 0x4000 in the flash using CCS? Is this the boot_demo_emac_flash or your own application? Please note that the bootloader will first check if there is already a valid application at 0x4000. If it does, then the bootloader will just jump to the application without downloading your application firmware. If there is a valid application then the application will force an update by jumping back to the bootloader. In the boot_demo_emac_flash example, it will try to detect if there is switch pressed. If there is a switch pressed then it will jump to the bootloader to start the download process.

    I will suggest you first program the bootloader to the flash using CCS. Please make sure via the memory window that the flash starting at 0x4000 and onward are in erased state. You will then start the LM flash programmer to download the boot_demo_emac_flash. Once the example works, you can move on to your own application for testing.
  • the firmware at 0x4000 is my own project, after some work ,the LM Flash Programmer works ,but the procedure in the bootloader I didn't read the detail very clearly, I can't make sure LM Flash Programmer can work steadily.In my project , I use the funciton from swupdate.c in TivaWare_C_Series-2.1.4.178 .Is there any document about the how the bootloader work ,I find the .s file uses lots of assembly language ,it is diffucult to understand
  • Hi,
    Please refer to the Bootloader user's guide in <TivaWare_Installation>/docs/SW-TM4C-BOOTLDR-UG-2.1.4.178.pdf.
  • thanks ,I will read it