SONOFF Cc2652P Firmware Flashing User Manual
- June 8, 2024
- SonOFF
Table of Contents
SONOFF Cc2652P Firmware Flashing User Manual
Cc2652P Firmware Flashing
Firmware acquisition
Download the Z-Stack_3.x.0 firmware of CC2652P USB Dongle from the following link:
Coordinator
https://github.com/Koenkk/ZStackfirmware/tree/master/coordinator/Z-Stack_3.x.0
Router
https://github.com/Koenkk/ZStackfirmware/tree/master/router/Z-Stack_3.x.0
Firmware flashing
Method 1:
Use the automatic upgrade tool “cc2538-bsl” to achieve “Auto BSL”. https://github.com/JelmerT/cc2538-bsl
Method 2:
CC2652P USB Dongle supports serial port Bootloader to flash firmware. Use firmware flashing tools like “Flash Programmer 2” to flash the firmware.
Enter the serial port Bootloader
There are two ways for Dongle to enter Bootloader:
- Manual mode Keep pressing the Boot button, restart the device, and release the Boot button after Dongle enters the serial port Bootloader.
Automatically enter the serial port Bootloader through a python script https://bit.ly/32cJoz6
Step to execute python script:
-
Download, unzip and execute the file
-
Enter the serial port number inserted into the dongle
-
After executing the file, enter 55 55 in the serial port assistant tool, and receive the returned result 00 CC, which means that the dongle has successfully entered the Bootloader.
Using Flash Programmer 2 serial port flashing firmware
Note: There is no difference between the coordinator and routing firmware flashing steps.
Enable Hardware Flow Control and Generate Corresponding Firmware
(optional)
If you need to enable the hardware flow control of the CC2652P USB Dongle, you
need to use CCS to import the ZNP project to configure and compile the
firmware that supports the hardware flow control.
Note: At present, the device cannot be used after hardware flow control
is enabled, and the open source platforms have not yet supported it.
Import the ZNP project of CC1352P into CCS
-
CCS【Project】 – 【Import CCS Project】
-
Click [Browse] and select the ZNP project file under SDK:
-
Click [Finish]
Configure engineering hardware flow control
- Open the .syscfg configuration file in the ZNP project:
-
Enable serial flow control in the UART option in the .syscfg configuration file:
-
Then save and compile.
References
- GitHub - JelmerT/cc2538-bsl: Python cross-platform script to upload firmware via the serial boot loader onto the CC13xx, CC2538 and CC26xx SoC.
- Z-Stack-firmware/coordinator/Z-Stack_3.x.0 at master · Koenkk/Z-Stack-firmware · GitHub
- Z-Stack-firmware/router/Z-Stack_3.x.0 at master · Koenkk/Z-Stack-firmware · GitHub
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>