Hi,
Currently I store manufacturing information in the SNV sector of the CC2640. While we use 2 sectors (primary and secondary) for SNV, this implies that the manufacturing information, which in theory should read-only, gets copied over to the backup SNV sector every time the primary SNV sector gets above a threshold.
I find that the CCA sector of the CC2640 is a better location since I do lock sector 31 during the manufacturing process.
Some background here may help. We have multiple products that share a code-base and we use the manufacturing information to determine the product type. In addition, this area also contains information like datecodes, hardware version numbers, etc. all of which are generated during the manufacturing process. This information is currently stored in a well-defined inventory structure in SNV. When a new firmware image is created we ship this off to the manufacturers who then generate the inventory, place it in the appropriate area in memory, i.e., SNV, program the image and inventory into the device, lock the sectors 0 and 31, before running some basic tests on it. I would like to move this inventory structure to CCA. BTW, this model uses off-chip OAD.
Some questions for the TI experts:
- Do you think it is advisable to move the inventory structure to CCA?
- Any problems with writing out this inventory structure, with the Programmer, to CCA, while programming the firmware image?
- Can I allocate space in CCA for this inventory structure (about 20 bytes), generate it during the manufacture of the device and store it in the CCA area?
- We do lock Sectiors 0 and 31 (the CCA sector). Do you foresee any issues in reading this sector from the application during boot-up?
- Are there specific routines to access data in CCA?
I appreciate your response.
Regards,
KK