Page 1 of 1

Tempest C1 flash without mass erase

Posted: Thu Aug 04, 2011 10:02 pm
by drwho9437
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.

Re: Tempest C1 flash without mass erase

Posted: Sat Aug 06, 2011 8:24 am
by drwho9437
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.