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.

CC2650: What is the process for erasing all bonding information?

Part Number: CC2650

Tool/software:

Hello

I have a question about what happens when the CC2650 receives a command to delete all bonding information.

I think that all bonding information will be deleted using simple_np_cc2650bp_stack/PROFILES/gapbondmgr.c gapBondMgrEraseAllBondings().

I thought I was overwriting all the bonding information with 0xFF.However, when I checked the FLASHROM, I found that the bonding information was not erased, but rather values ​​were simply written under the addresses containing the bonding information.

Attached below is information on "FLASHROM before bonding information was deleted" and "FLASHROM after bonding information was deleted".


BR,
Taisei.

After_Erase_Bond.txtBefore_Erase_Bond.txt

  • Hi,

    The erasing process consist of invalidating some bits of the entry without erasing the whole page to save power consumption.

    Regards,
    Tanguy

  • Thanks for the answer.

    Is it correct that an entry is a value that is written to a new FLASHROM in the erasing process?

    Please tell me the following
    (1) Composition of Bonding Entries
    The composition of bonding entries in this Developer's Guide is as follows.
    www.ti.com/.../swru393e.pdf

    1.Bond Record
    2.Client Characteristic Configurations(CCC)
    3.Local Long Term Key
    4. Connected Device Long Term Key Info
    5.Connected Device Identify Resolving Key(IRK)
    6. Connected Device Sign Resolving Key(SRK)
    7.Connected Device Sign counter

    I am attaching a FLASHROM before pairing and a FLASHROM after one pairing. Please let me know which piece of information you are referring to above.

    After pairing.txtBefore pairing.txt

    (2) Amount of bonding that can be stored
    The Developer's Guide states that the default number of joins that can be saved is 10.
    The Developer's Guide states that if this number is exceeded, the most recently used bond will be removed to make room for a new bond.

    I am attaching a FLASHROM before the 11th pairing took place and a FLASHROM after the 11th pairing took place.
    I do not see any bonds being removed.

    Before pairing 11 times.txtAfter pairing 11 times.txt

    Also tell me about the 17th pairing.
    I am attaching a FLASHROM before the 17th pairing took place and a FLASHROM after the 17th pairing took place.
    I look like that for the 14th time the first bond was rewritten and the other bonds were written 0xFF.

    Before pairing 17 times.txtAfter pairing 17 times.txt

  • Hi,

    The entry in the flash is invalidated, but erasing is done by the SNV driver when it needs to, take a look at the 3.10.3 Using Simple NV for Flash Storage section in the Developer's Guide for more detail about the SNV driver.

    Regards,
    Tanguy