SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By drwho9437
#131370
I posted my question in a relevant thread I found but it was very old.

Tempest C1 revision devices have a flash patch and lock the flash from mass erase.

I normally call write_image erase blah for flashing LM3S devices.

Calling this without the erase still seems to "auto erase"

write bank fails with an exception.

erase sector seems to freeze

Does anyone know how to flash a C1 Tempest device in OpenOCD?

I am looking for the command order. I have my linker script setup for 0x1000 offset. So as to be after the patch.
By drwho9437
#131417
I just wasn't using the write_bank command correctly I think:
Code: Select all
reset halt
flash erase_sector stellaris 4 255
flash write_bank stellaris file.bin 0x1000
reset run
With a linker setup with 0x1000 offset seems to work.