Hi,
I have a device using TM4C (not sure which exact model). It is a commercial device (Avegant Glyph), which only has USB I/F.
It's boot Loader puts it in DFU mode, so I can connect to it using LM Flash Programmer and write firmware images (the application memory space starts at 0x4000).
I encountered a problem that requires me to write an updated Boot Loader image. I have the bin file, and it should be downloaded to address 0x0 of the Flash, but I can't figure out how to do that.
Trying to write to address 0x0 using the LM Flash Programmer results with an error message. i also tried to erase the entire Flash, in the hope that the device has a DFU boot loader in ROM as well (not really sure about it), but in any case erasing below address 0x4000 is also blocked (protected I guess).
I found in the TI Boot Loader manual that there should be a method for the boot loader to update itself in DFU devices, by copying itself to SRAM, writing the new image and then trying to run it with a safe mechanism that can switch back to the SRAM copy if it fails. I have no idea how to do that.
Any guidance here would be much appreciated.