Hello,
I've recently implemented support in OpenOCD (a very popular free
software tool for on-chip-debug) for protecting flash memory of Snowflake Tiva C
parts (see http://openocd.zylin.com/#/c/2267/ ), but the testing results are
confusing, only the first 32 sectors can be protected.
Upon careful inspection
of tm4c129* datasheets I found that the FMA values for writing FMPPE8 and above
are strange: 0x0000.00011 (unexpected extra zero before 11). I wrote my code in
assumption that this is just a typo, but the debug log provided to me by karlp,
one of our users, made me believe 0x00000011 is not a correct value for writing
FMPPE8, the register contents was lost after power-cycling. The testing was done
with an integrated ICDI debugger of a TM4C1294XL launchpad board.
Can you please
recheck the datasheets and provide me with some more info on properly
implementing protection? You might also want to test my code directly, for that
just fetch with "git fetch http://openocd.zylin.com/openocd
refs/changes/67/2267/1". I only have two Blizzard (tm4c123gxl) launchpads here
for testing, so can't do it myself.
Thank you in advance!