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.

RTOS/LAUNCHXL-CC26X2R1: srial bootloader

Part Number: LAUNCHXL-CC26X2R1
Other Parts Discussed in Thread: CC2640

Tool/software: TI-RTOS

Hi,

Cant find any info about serial bool loader (via uart) for the cc2642, It does not support?

  • There is and SBL example in the cc2642 sdk? cant find it...

  • Backdoor serial boot loader is in rom code and there’s no source available. Are you asking for BIM ( boot image manager) or backdoor serial boot loader?
  • I have already did it for the cc2640,
    I only remember that i config a register to enable SBL over specific UART, and also a specific pin that need to be in a specific level after reset.

    I cant find those registers names in the simplelink sdk. Please advice.
  • I found the settings here:

    //#####################################
    // Bootloader settings
    //#####################################

    #ifndef SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE
    //#define SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE 0x00 // Disable ROM boot loader
    #define SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE 0xC5 // Enable ROM boot loader
    #endif

    #ifndef SET_CCFG_BL_CONFIG_BL_LEVEL
    #define SET_CCFG_BL_CONFIG_BL_LEVEL 0x0 // Active low to open boot loader backdoor
    //#define SET_CCFG_BL_CONFIG_BL_LEVEL 0x1 // Active high to open boot loader backdoor
    #endif

    #ifndef SET_CCFG_BL_CONFIG_BL_PIN_NUMBER
    #define SET_CCFG_BL_CONFIG_BL_PIN_NUMBER 11 // DIO number for boot loader backdoor
    #endif

    #ifndef SET_CCFG_BL_CONFIG_BL_ENABLE
    #define SET_CCFG_BL_CONFIG_BL_ENABLE 0xC5 // Enabled boot loader backdoor
    //#define SET_CCFG_BL_CONFIG_BL_ENABLE 0xFF // Disabled boot loader backdoor
    #endif



    Used Find in all files under "Bootloader settings" to see where to change them.

    I think it's critical you add those lines in the SBL pdf so it will be easy to find.