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.

CC2652R: Uniflash command line cannot write secondary BLE address to CC2652

Part Number: CC2652R
Other Parts Discussed in Thread: UNIFLASH

Hi team,

I try to use Uniflash (version 4.5.0) command line tool (dslite.bat) to write secondary BLE address on CC2652 launchpad. But it's always fail. The error message shows "Failed: Error: Expected MAC address length of 6 bytes." Please see the attachment log. thank you.

  • Jerry,

    You will need to set the property that the WriteSecBle operation uses via the -s [ --setting ] option.

    For example:
    > dslite.bat -c cc2652r1f.ccxml -s DeviceBleSecondary="11:22:33:44:55:66" -b WriteSecBle -e

    Please let me know if this works for you.

    Thanks,
    Ricky
  • Hi Ricky,
    It works. Thank you.
    May I know which document describe about detailed parameter (eg. -s DeviceBleSecondary) ?
    thank you.
  • Jerry,

    Glad to hear that it is working for you.

    We have some documentation of the CLI here:
    processors.wiki.ti.com/.../UniFlash_v4_Quick_Guide

    Since we use a common command line interface between all of the devices UniFlash supports, we don't have specific examples of the settings that need to be set for any particular operation and device, but we do encourage users to set the necessary settings in the GUI, and either generate the command line package or export the settings file so that it can be used within the command line. This way, you don't need to know the exact ID of the setting you need to set.

    Thanks,
    Ricky