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.

TM4C129DNCPDT: Firmware Update through ethernet

Part Number: TM4C129DNCPDT

Hello friend's

I am using tm4c129dncpdt for my project and everything is working fine but I am using bootloader for firmware update and my application runs on 0x4000 address.

Is their any example or a way , so that during firmware update I can save that updated firmware in to another flash space and after completing the firmware update I can copy that updated firmware and run into my address 0x4000. Because of power glicthes or for any other reason their is a possibility that during firmware update my device may restart and the updating process stops , so I have to flash it by using jlink or ulink and in client site it is very difficult if this kind of thing happens.

If any suggestion please tell me.

Regards

Harish

  • Hello Harish,

    We don't have an example of that, but what you are saying makes a lot of sense if you are worried about power loss situations. It will cut your effective Flash space in half though, so it does come with a hefty cost. I'd recommend not doing the second copy and instead having the start of program have two locations, and as part of the update include a version and date as well as CRC information so then the device can look for the newest application, and if it is valid (passes CRC check), then it enters it, otherwise it uses the older version.