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 Boot loader

Other Parts Discussed in Thread: CC2650, CC2538

HI

I am using the CC2650 (QFN48/7x7) .I have some question about Bootloader Functionality.
How to configure the CCFG Boot loader parameters(through SPI command or load the register value by code)?
I tried with default CCFG configuration and enterd to bootloader mode. then i send PING command, but the boatloader is doesnot give any ACK/NACK.
Please let me know the procedure how to configure the CCFG area parameters and how to erase flash.

  • Hello,

    Please see the Bootloader & Device Configuration chapters, which has been updated, in the Rev B of the CC26xx TRM (SWCU117).
    Also, there is an app note on this topic: swra466a.pdf "CC2538/CC26xx Serial Bootloader Interface".

    Best wishes
  • I am using the default CCFG configuration, so the BL_ENABLE is 0xFF. so it is not responding any interface command. i send command for PING (0x03 0x20 0x20 ).
    But i didnt get any ACK/NACK. please let me know how to configure CCFG register to configure BL_ENABLE to 0xc5 .
  • Hello,

    As noted in the BLE SW Developer's Guide (SWRU393), the CCFG can be edited in ccfg_appBLE.c which includes ccfg.c. You can find a breakdown of the individual fields in ccfg.c.

    Best wishes
  • I tried to edit the ccfg_appBLE.c which includes ccfg.c code. I enabled the first line of below code. but it showing fatel error.
    "Fatal error: Failed to halt after bootloader". please let me knw how to update the CCFG register value? If am triying to send PING coomand, i am not getting any ACK/NACK from bootloader.

    // Bootloader failure analysis
    //**************************************************
    #define SET_CCFG_BL_CONFIG_BL_ENABLE 0xC5 // Enabled
    //#define SET_CCFG_BL_CONFIG_BL_ENABLE 0xFF // Disabled
  • I tried to send download command and data send command , but i am getting NACK. i didnt get any ACK, but after the operation i send command for get status, then am getting success message ( 0x03 0x40 0x40) . pls let me know how to send data to flash, do we need to disalbe any write protection?