Skip to content

Commit

Permalink
boards: cc1352r1_launchxl / cc26x2r1_launchxl: enable ROM bootloader
Browse files Browse the repository at this point in the history
This enables the ROM bootloader on the CC13x2 / CC26x2 LaunchPad
development boards. The bootloader can be started by holding BTN-1
during reset. This can be useful during development to recover a board
if DAPs get disabled.

Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  • Loading branch information
bwitherspoon authored and nashif committed May 30, 2019
1 parent e8ac495 commit 6cf806a
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
4 changes: 4 additions & 0 deletions boards/arm/cc1352r1_launchxl/cc1352r1_launchxl_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ CONFIG_SOC_CC1352R=y
CONFIG_CORTEX_M_SYSTICK=y
CONFIG_BOARD_CC1352R1_LAUNCHXL=y

CONFIG_CC13X2_CC26X2_BOOTLOADER_ENABLE=y
CONFIG_CC13X2_CC26X2_BOOTLOADER_BACKDOOR_ENABLE=y
CONFIG_CC13X2_CC26X2_BOOTLOADER_BACKDOOR_PIN=15

CONFIG_PINMUX=y
CONFIG_GPIO=y
CONFIG_SERIAL=y
Expand Down
12 changes: 12 additions & 0 deletions boards/arm/cc1352r1_launchxl/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,15 @@ You can debug an application in the usual way. Here is an example for the
:maybe-skip-config:
:goals: debug

Bootloader
==========

The ROM bootloader on CC13x2 and CC26x2 devices is enabled by default. The
bootloader will start if there is no valid application image in flash or the
so-called backdoor is enabled (via option
:option:`CONFIG_CC13X2_CC26X2_BOOTLOADER_BACKDOOR_ENABLE`) and BTN-1 is held
down during reset. See the bootloader documentation in chapter 10 of the `TI
CC13x2 / CC26x2 Technical Reference Manual`_ for additional information.

References
**********
Expand All @@ -177,3 +186,6 @@ CC1352R1 LaunchPad Quick Start Guide:

.. _TI CC1352R Product Page:
http://www.ti.com/product/cc1352r

.. _TI CC13x2 / CC26x2 Technical Reference Manual:
http://www.ti.com/lit/pdf/swcu185
4 changes: 4 additions & 0 deletions boards/arm/cc26x2r1_launchxl/cc26x2r1_launchxl_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ CONFIG_SOC_CC2652R=y
CONFIG_CORTEX_M_SYSTICK=y
CONFIG_BOARD_CC26X2R1_LAUNCHXL=y

CONFIG_CC13X2_CC26X2_BOOTLOADER_ENABLE=y
CONFIG_CC13X2_CC26X2_BOOTLOADER_BACKDOOR_ENABLE=y
CONFIG_CC13X2_CC26X2_BOOTLOADER_BACKDOOR_PIN=13

CONFIG_PINMUX=y
CONFIG_GPIO=y
CONFIG_SERIAL=y
Expand Down
11 changes: 10 additions & 1 deletion boards/arm/cc26x2r1_launchxl/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,15 @@ You can debug an application in the usual way. Here is an example for the
:maybe-skip-config:
:goals: debug

Bootloader
==========

The ROM bootloader on CC13x2 and CC26x2 devices is enabled by default. The
bootloader will start if there is no valid application image in flash or the
so-called backdoor is enabled (via option
:option:`CONFIG_CC13X2_CC26X2_BOOTLOADER_BACKDOOR_ENABLE`) and BTN-1 is held
down during reset. See the bootloader documentation in chapter 10 of the `TI
CC13x2 / CC26x2 Technical Reference Manual`_ for additional information.

References
**********
Expand All @@ -190,5 +199,5 @@ CC26X2R1 LaunchPad Quick Start Guide:
.. _TI CC2652R Datasheet:
http://www.ti.com/lit/pdf/swrs207

.. _TI CC26x2R Technical Reference Manual:
.. _TI CC13x2 / CC26x2 Technical Reference Manual:
http://www.ti.com/lit/pdf/swcu185

0 comments on commit 6cf806a

Please sign in to comment.