This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/CC3220MODA: How to prevent the erase of an internal flash memory region during the OTA process ?

Part Number: CC3220MODA
Other Parts Discussed in Thread: CC3220SF

Tool/software: TI C/C++ Compiler

I created an internal flash region (FLASH_W) to save some data during code execution, to do so I have configured the CC3220SF_LAUNCHXL_TIRTOS.cmd as explained in  

Just as follows:

MEMORY
{
    /* Bootloader uses FLASH_HDR during initialization */
    FLASH_HDR (RX)  : origin = 0x01000000, length = 0x7FF      /* 2 KB */
    FLASH     (RX)  : origin = 0x01000800, length = 0x0BF800   /* 766KB */
    FLASH_W   (RWX) : origin = 0x010C0000, length = 0x40000    /* 256KB */
    
    SRAM      (RWX) : origin = 0x20000000, length = 0x00040000 /* 256KB */
}

It's working well, but just after the OTA process was completed, the whole internal flash gets erased (after the system reboot), as a result of I lost all my stored data in the FLASH_W region, Is there any way to prevent this to happen?

Thanks in advance.