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.

CCS/TM4C1294NCPDT: Change firmware on web page

Part Number: TM4C1294NCPDT

Tool/software: Code Composer Studio

Hello,

I want to know if it is possible to exchange the TM4C firmware on the web with a .bin file, just like it happens in routers ...

If possible, are there code examples, or a step-by-step how-to?

Thanks!!

  • Hello Simion,

    I am not fully understanding what you are wanting to do.

    Are you wanting to update the TM4C firmware running on your MCU with a .bin file over Ethernet? If so, this would be an Ethernet Bootloader. Does that sound like what you are looking for?

  • Yes, 

    I found some information on the subject, and managed to do an update through LM Flash using ethernet. It worked, but I found so much different information that I'm not sure I forgot any details...
    Basically I did the following:

    1) I added swupdate.c to the project

    2) I called the function

    SoftwareUpdateInit(SoftwareUpdateRequestCallback);

    before:

    while(1){...}

    3) When I want to change the firmware through LM Flash I call the function

    SoftwareUpdateBegin(g_ui32SysClock);

    Please, am I forgetting something?

    But my idea goes beyond, I do not want to depend on LM Flash, is it possible to replace it with scripts on the Web? Has anyone done anything like this??

    Thanks!

  • Hello Simion,

    It really depends how you want your bootloader to work. If you want it to be trigger based from a GPIO button, only on device startup, called by an API in your program based on an event like a certain packet being sent etc.

    As far as replacing LM Flash with a web script, you can do an Ethernet Bootloader, so the challenge then would be determining how you invoke the bootloader over Ethernet.