Other Parts Discussed in Thread: SYSCONFIG
Hello,
I use NVS functions to write parameters to flash. It works good. I would like to check the all parameters were successfuly written (I do several writes/erases). I know (and I use it) there is check after writing. But if the power supply interrupt happens during writing, some data would be missing. I think the easist way to check it is to use another variable in the flash which I reset (set to zero) at the beggining after all writting I set the different value. Then I can anytime check the value of this variable, if the variable is not the chosen value, there is flash problem. I have implemented this. But the problem is the first start after uploading the FW. Can I tell the compiler to write a value of the specific address in my nvs section? I tried #pragma LOCATION and #pragma DATA_SECTION, but it does not work. I use CCS and CC1312 (when I filled the MCU in the part number here I could not choose CCS forum)


