SONOFF Cc2652P Firmware Flashing User Manual

June 8, 2024
SonOFF

SONOFF Cc2652P Firmware Flashing User Manual
SONOFF Cc2652P Firmware Flashing

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:

  1. 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:

  1. Download, unzip and execute the file
    DOWNLOAD FILE

  2. Enter the serial port number inserted into the dongle
    Enter the serial port number

  3. 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.
    RETURN RESULT

Using Flash Programmer 2 serial port flashing firmware

Using Flash Programmer

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

  1. CCS【Project】 – 【Import CCS Project】
    IMPORT PROJECT

  2. Click [Browse] and select the ZNP project file under SDK:
    SELECTED PROJECT

  3. Click [Finish]

Configure engineering hardware flow control

  1. Open the .syscfg configuration file in the ZNP project:

OPEN ZNP PROJECT

  1. Enable serial flow control in the UART option in the .syscfg configuration file:
    ENABLE SERIAL FLOW

  2. Then save and compile.

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals