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.

CC2640R2F: CC2640R2F bootloader mode without backdoor pin

Part Number: CC2640R2F

Tool/software:

Hi team,
We are working on Onity project. As illustrated in the attached diagram, the PC12 pin from the STM32 is connected to the TI BLE module’s reset pin, which is pulled up to 3.3V via a resistor. We are aiming to enter Bootloader mode on the TI BLE module via UART, but without utilizing any backdoor pin mechanism.
 
Our objective is to transition the TI BLE device into Serial Boot mode during the OTA process (at runtime) by controlling the reset line through the PC12 GPIO from the STM32, as shown.
 
Upon reviewing Application Note CC26xx Serial Bootloader Interface, it appears that only the backdoor entry method is documented. Could you please advise if there is an alternative method to enter Bootloader mode without relying on the backdoor mechanism?
 
Looking forward to your guidance.
  • Hi Ippili,

    There are two ways to enter the ROM serial bootloader: with a blank device (validated through the CCFG entry IMAGE_VALID_CONF) or entering through the bootloader entry pin.  This presents a few options for your setup:

    1. Erase the last page of flash (where the CCFG) is contained during run-time so that the ROM bootloader is forcibly entered on subsequent power-up.  However, this will also invalidate the existing image and thus will not be able to run until the flash (including CCFG) is re-programmed through the bootloader.
    2. Use either the CC2640R2F UART RX or TX lines as the bootloader entry pin, and control the active level with the corresponding STM32 TX or RX GPIO during CC2620R2F reset/start-up.
    3. Implement a custom bootloader stored in flash, as with this published example.

    Regards,
    Ryan

  • Thanks for the reply