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.

CC2652R7: Firmware Upgrade over UART

Part Number: CC2652R7

Hi,

 SDK Using for FW upgrade : ti154stack_linux_x64_4_40_00_03

example code using : cc13xx-sbl

OD Platform : Linux Ubuntu

Interface : UART

EVK : CC2652-R7 Development Kit

Host to upgrade the FW : Linux PC

Client to download the FW : CC2652-R7

HW Connection : 

For CC2652-R1 :

On linux laptop side,  UART TX and Rx pin of USB to UART converter is connected to the (TxD and RxD) pin or (DIO2 and DIO3) of  CC2652-R7's EVK 

My Query;

1) Instead of (TxD and RxD) pin or (DIO2 and DIO3) in  CC2652-R7's EVK, We need to use the DIO23 and DIO24 th pin on our target board for FW upgrade but In our target board XDS110 will not be available. So, Without using XDS110 Shall we use only DIO23 and DIO24 th pin for UART Tx and Rx for firmware upgrade ?  

As Given in the below image In previous project, We succeed the FW upgrade in CC2652-R1 but Now We are trying it in CC2652-R7 chipset. 

  • Hi Divya,

    As the ROM serial bootloader only supports DIO2/3 for firmware upgrades on the CC2652RX devices, you will not be able to use DIO23/24 with the TI-15.4-STACK-GATEWAY-LINUX-SDK host-cc13xx_sbl solution.  Please see SWRA466 (Table 2-9) and TRM (Chapter 10) for more details.  If you are able to manage using DIO2/3 then you should at least increase the cc13xxdnld.h CCDNLD_CC13X3_NUM_PAGES from 44 to 88, given that the host-cc13xx_sbl example only includes CC2652R1 support by default.  If you need to consider creating a custom bootloader solution (i.e. in flash instead of ROM) then you can start from this CC2650 serial bootloader example, however changes will be necessary to support the CC26X2 SimpleLink devices instead.

    Regards,
    Ryan

  • Hi Ryan,

    1) Just to ensure one thing. In out target board, XDS110 will not be available without that also we can upgrade the FW through UART using DIO2/DIO3 ?

    2) In custom bootloader solution  (i.e. in flash instead of ROM), Can we use the DIO23 and DIO24 pins for FW upgrade through the UART ? If yes, please provide the source code and documents to implement this.

  • 1) Without the XDS110 debugger JTAG interface available, it is possible to program the CC2652R7 using the serial ROM bootloader which utilizes the UART interface on DIO2/DIO3.  The device's flash memory must be empty or the image loaded should support bootloader operation through its CCFG configuration.

    2) You would be able to use any DIO pins desired to complete a firmware upgrade through UART, including DIO23/DIO24.  TI does not provide an official solution or documentation for this application, thus users must allocate time to further develop their own and can reference the example provided on Github: https://github.com/TexasInstruments/ble_examples/tree/ble_examples-2.2/examples/util/serial_bootloader/cc2650 

    Regards,
    Ryan