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.

CC2340R5: CC2340 User Record usage issues

Part Number: CC2340R5
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hi,

I want to write the calibration data for the sensor at the time of CC2340’s factory shipment, and this data should not be erased when the chip is wiped. After following the instructions in the link provided, I found that the user-stored data is erased along with the program when I reprogram it.

https://software-dl.ti.com/simplelink/esd/simplelink_lowpower_f3_sdk/8.10.01.02/exports/docs/ble5stack/ble_user_guide/html/memory/memory_management-cc23xx.html?#user-record

1、Compile the basic_ble project and flash the hex file using UniFlash.

2、Program 128 bytes of data to the address 0x4e020750.

3、Read from 0x4e020750, and you can see that the write was successful.

4、Reprogram the hex file compiled from the basic_ble project again, and check the following options.

5、Read 0x4e020750 again, and the previously written values have changed to 0xFF.

My hope is that when reprogramming, the contents of the 0x4e020750 (User Record) area are not erased.

  • Hi Wangrenli, we've received your inquiry and an expert will reply shorty. 

  • Hello Wangrenli,

    I have checked this internally with the team, and it is not possible to avoid reseting the user record with the current tool we have (uniflash). You would have to flash the .bin file of the user record one more time after flashing the main program with a hex file. On the other hand, you may be able to do this if flashing a .bin file of the main project.

    May I ask what is the use case?

    BR,

    David.