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/CC1310: NVS Address question

Part Number: CC1310

Tool/software: TI-RTOS

A link to my previous questions is below.

If I set NVS_REGIONS2_BASE to 0x56000, you will have a build problem.

However, if I set NVS_REGIONS2_BASE to 0x40000, the build will be normal.

Where can I find the sector addresses and region address information for the cc1310 and cc1312?

Thanks.

  • Hi Kim,

    The memory map of the devices can be found inside the TRM (Technical reference manual). There is however no complete list of sector addresses as this is given by the page size of the flash (which is given in the TRM).

    In the NVS driver, we typically call a flash page a sector; a region is then multiple sectors. This means that there is no pre-defined list of sectors and regions, this is up to the user to configure based on the flash memory used (if using a external flash for example, the flash page/sector size could be different from the on-chip flash).

    As mentioned in the other post, the compilation error when setting the region to 0x56000 is most likely due to conflicts with other regions (such as the ccfg region). Typically, there is no limitations to what sectors/regions you can use the NVS driver for, BUT if multiple parts of an application tries to place itself in the same part of flash, you will get a linker error.