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.

CC2642R: CC2642R

Part Number: CC2642R
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hello,

I am trying to save some data in the non-volatile (flash) memory of the CC2642. According to the data sheet and the user guide, I should save the data in the CCFG, which leads me to the following questions: 

1. Can I use the Flash Programmer 2 to store the data directly in this memory location? or there is another software I should use instead?

2. Is the CCFG indeed the suggested memory location to store constant data? or I should store it in another location? 

3. How do I keep my data from being overwritten in the flash? and what are the CCFG start and end points (is it 0x57FA8 -> 0x57FFF)? 

Thank you in advance!

  • Hello Rosti Raviv,

    If you have the F2 SDK downloaded please reference the nvsinternal example which demonstrates how to store data in the non-volatile flash, I do not think its stored in the CCFG, and with syscfg you can control the Internal non-volatile flash region to be used.

    Thanks,
    Alex F

  • Hi Alex, 

    Thank you for your response. Please let me be more clear about what I'm trying to accomplish and how I tried to do that. I am trying to write a serial number into our device and I was wondering if I can do that straight from the Flash Programmer 2.

    According to the CC2642R User Guide, constant values like serial numbers can be stored in the CCFG, see below:

    Here are the steps I tried to write something into the CCFG memory, see figures below:

    Then, I tried to verify the memory in the IDE, which wasn't successful, see figures below:

    Please let me know if this approach is correct or any other method would be better? or if anything on the setting needs to be changed.

    Thank you!

  • Hello Rosti,

    As mentioned in the TRM I am a tad unsure if Flash Programmer 2 read/write memory can write in that particular section of the CCFG; due to the write protect; we could try to check this buy using Flash programmer to write to the memory then use Uniflash to read that same space to see if the change had any affect. One of the alternative approaches I am aware of is using CCS Eclipse + debug -> memory viewer to achieve a similar result, or by using NVS mentioned previously. 

    Similar thread:

    https://e2e.ti.com/f/1/t/1440755

    Thanks,
    Alex F