Other Parts Discussed in Thread: SYSCONFIG
Tool/software: TI C/C++ Compiler
Hi Expert,
I had such a hard time opening the first NVS partition created by Syscfg regardless of its location and size.
I dig into the NV driver source code and it looks like the first NVS index (0) is already in use:
in simplelink_cc13x2_26x2_sdk_4_30_00_54/source/ti/common/nv/nvocmp.c // Which NVS_config indice is used to initialize NVS. #ifndef NVOCMP_NVS_INDEX #define NVOCMP_NVS_INDEX 0 #endif // NVOCMP_NVS_INDEX static uint8_t NVOCMP_initNvApi(void *param) { // Use default NVS_Params to open this flash region NVOCMP_nvsHandle = NVS_open(NVOCMP_NVS_INDEX, param); }
Also, this NVS region is never closed by the driver so could you please confirm that the first region is reserved for the NV driver?