Part Number: CC2538
Hi,
I am trying to erase the CCA (0x0027F800) via OpenOCD by using Flash Control Registers.
Set the flash page to be erased in FLASH_CTRL_FADDR
mww 0x400D300C 0x1FE00
Enable UPPER_PAGE_ACCESS and start an erase operation by setting FCTL.ERASE bit to 1
mww 0x400D3008 0x205
But after that, the CCA flash page remain unchanged.
Can anybody help me or point out what I am doing wrong?
Details about Flash Control Registers can be found in https://www.ti.com/lit/ug/swru319c/swru319c.pdf, section 8.10