Skip to content

Commit

Permalink
Update README.md documenting bootloader-sonoff-usb
Browse files Browse the repository at this point in the history
Update README.md documenting new `--bootloader-sonoff-usb` option from JelmerT#114

Note that was mentioned in JelmerT#114 that this option might be renamed in the future.
  • Loading branch information
Hedda authored Jan 27, 2022
1 parent b66ed76 commit 31fe912
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ The script has been tested with SmartRF06EB + CC2650 EM. The physical wiring on
For sensortags CC1350STK:
It is possible to solder cables to R21 and R22 for flashing using the Serial Bootloader. This [issue] has instructions about flashing the CC1350STK sensortag.

For the CC13xx and CC26xx families, the ROM bootloader is configured through the `BL_CONFIG` 'register' in CCFG. `BOOTLOADER_ENABLE` should be set to `0xC5` to enable the bootloader in the first place.
For ITead SONOFF Zigbee 3.0 USB Dongle Plus:
For the CC2652P based "SONOFF Zigbee 3.0 USB Dongle Plus" (model "ZBDongle-P") adapter from ITead you need to invoke toggle to activate bootloader with `--bootloader-sonoff-usb` if you do not want to open its enclosure to manually start the bootloader with the boot button on the PCB.

For all the CC13xx and CC26xx families, the ROM bootloader is configured through the `BL_CONFIG` 'register' in CCFG. `BOOTLOADER_ENABLE` should be set to `0xC5` to enable the bootloader in the first place.

This is enough if the chip has not been programmed with a valid image. If a valid image is present, then the remaining fields of `BL_CONFIG` and the `ERASE_CONF` register must also be configured correctly:

Expand Down

0 comments on commit 31fe912

Please sign in to comment.