For some reason the flash loader does not appear to be working as expected - i cannot reproduce here though.
The loader is common among all stellaris targets. After failing it is then dropping through to the much slower memory writes.
Do you get the same behaviour if you use the elf to program ?
If you do can you send me a copy of the failing elf or binary.
Sometimes it is easier to split the erase, as it can make debugging issues easier.
Code: Select all
flash erase_sector lm4f23x.flash 0 last
flash write_image firmware.bin
For info to quit OpenOCD in your script use 'shutdown' not 'exit'.