mirror of
https://github.com/espressif/openthread.git
synced 2026-09-07 09:40:12 +00:00
CC2650: enable bootloader backdoor (#1555)
This commit is contained in:
@@ -77,7 +77,9 @@ $ cd <path-to-openthread>/output/cc2650/bin
|
||||
$ arm-none-eabi-objcopy -O binary ot-cli ot-cli.bin
|
||||
```
|
||||
The [cc2538-bsl.py script][cc2538-bsl-tool] provides a convenient method
|
||||
for flashing a CC2650 via the UART.
|
||||
for flashing a CC2650 via the UART. To enter the bootloader backdoor for flashing,
|
||||
hold down BTN-1 on CC2650 LauchPad or SELECT for CC2650DK (corresponds to logic '0')
|
||||
while you press the Reset button.
|
||||
|
||||
[ti-flash-programmer-2]: http://www.ti.com/tool/flash-programmer
|
||||
[ti-cc2650-bootloader]: http://www.ti.com/lit/an/swra466a/swra466a.pdf
|
||||
|
||||
@@ -30,6 +30,18 @@
|
||||
* Configure the Customer Configuration Area.
|
||||
*/
|
||||
|
||||
// enable bootloader backdoor
|
||||
#define SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE 0xC5 // Enable ROM boot loader
|
||||
|
||||
#define SET_CCFG_BL_CONFIG_BL_LEVEL 0x0 // Active low to open boot loader backdoor
|
||||
|
||||
#define SET_CCFG_BL_CONFIG_BL_PIN_NUMBER 0x0D // DIO13 (BTN-1 button) on CC2650 LaunchPad Board for boot loader backdoor
|
||||
// #define SET_CCFG_BL_CONFIG_BL_PIN_NUMBER 0x0B // DIO11 (SELECT button) on CC2650DK (QFN48/7*7) for boot loader backdoor
|
||||
|
||||
#define SET_CCFG_BL_CONFIG_BL_ENABLE 0xC5 // Enabled boot loader backdoor
|
||||
|
||||
#define SET_CCFG_IMAGE_VALID_CONF_IMAGE_VALID 0x00000000 // Flash image is valid
|
||||
|
||||
/*
|
||||
* Include the default ccfg struct and configuration code.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user