Hello,
I'm wondering if there's an easy way to determine that the firmware has been reloaded on a Stellaris processor (LM3S1J11 and LM4F232H5QD specifically). We could compare version strings, but this would not catch the case where the same version has been loaded again.
If it makes a difference, we are primarily interested in detecting a reload via serial UART and the ROM bootloader.
One method which could work would be having the firmware write to the program area of flash itself, but that seems dangerous (especially on the LM3S parts due to the flash issue).
I tried the reset cause register, and it does not appear to be able to differentiate between a normal power up or hard reset and a reset triggered by the bootloader.
Any thoughts?
Thanks,
---Karl