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.

RTOS/LAUNCHXL-CC1310: Reading/erasing/writing 128 KB internal flash storage

Part Number: LAUNCHXL-CC1310


Tool/software: TI-RTOS

Hi, according to the datasheet, CC1310F128 has 128 KB flash.

And from the NVSinternal demo project, 128 KB is divided into 8 regions, each having 16 KB. And each region is also divided into 4 sectors (each sector size is 4 KB).

  • The demo project uses 0x1a000 address as the base region which is the 2nd last region of the entire flash. To use the 3rd last region of the flash, what would be the address of the base and so on?
  • Is it possible to define a different size for a region (i.e. from 16 KB to 4 KB)?
  • Is it possible to define a different size for a sector (i.e. from 4 KB to 128 B)?

Thank you.

  • Hi Mahir,

    To start with it is important to understand that the sector size is fixed and can not be changed. As the sector size is 4 KB, there is 32 sections, or pages, of flash available. The region is simply a group of sections, and you could size these as you want.

    The region base address is simply the offset into flash for the first page contained inside the region. For example, a region starting at 0x1a000 would be a region starting at section/page 26. If you have another region covering for example page 1-2, this would start at 0x1000 (1 page offset into memory starting from 0x0)