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.

LAUNCHXL-CC1312R1: Problem with NVS and syscfg

Part Number: LAUNCHXL-CC1312R1
Other Parts Discussed in Thread: CC1312R

Hello,

I am using CC1312R launch pad.

I am using SDK version 6.10 and CCS 11.1.0.

I try to run NVS external code for read write data in external flash of launch pad. I only modify that code with offset value from 0 to 0x8000. and add display log for check return status of NVS library functions. code works fine. see screenshot below. sector and region size match and NVS function  run without error.

Now I only add internal NVS(CONFIG_NVS_0) part in .syscfg only then run the same code. it shows region and sector size is differ for external NVS, also NVS function return error. see screenshot.

Then I checked syscfg generated files(ti_drivers_config.h and ti_drivers_config.c). I found that syscfg tool not generate same index for both NVS in that .c  and .h file. see screenshot.


I think, this problem comes from syscfg tool.

Attach source here. please check.
 nvsexternal_CC1312R1_LAUNCHXL_tirtos_ccs.zip

How to overcome from such problem? can anyone help me?

Thanks,
Dinkar

  • Hi Dinkar,

    I tried to reproduce the issue by following your instructions in the screenshot, and it is actually not letting me compile the code. I am getting the following:

    linker.cmd", line 651: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. placement with alignment fails for section ".resetVecs" size 0x3c, overlaps with ".TI.bound:flashBuf0", size 0x2000 (page 0)

    Are you certain that you managed to build the binary? I have also tried with the project you attached, it does not build either

    Regards,

    Arthur