> For the complete documentation index, see [llms.txt](https://tk233.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tk233.gitbook.io/notes/workflow-automation/zigbee-based-home-automation/update-sonoff-zigbee-3.0-usb-dongle-plus-cc2652p.md).

# Update Sonoff Zigbee 3.0 USB Dongle Plus (CC2652P)

Follow this video

<https://www.youtube.com/watch?v=KBAGWBWBATg&t=233s>

Encountered this error&#x20;

```bash
>Reading file: D:/Downloads/CC1352P2_CC2652P_launchpad_coordinator_20240710.hex.
>Unknown record type: 3.
```

<figure><img src="https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2F3A8ubWd19QQTJ7k8jdMw%2Fimage.png?alt=media&amp;token=39e9251e-d70f-42e2-ab5a-e30310c8d7a1" alt=""><figcaption></figcaption></figure>

Solution here

{% embed url="<https://github.com/Koenkk/Z-Stack-firmware/issues/397#issuecomment-1455614843>" %}

Use this command to convert the file to binary

{% code overflow="wrap" %}

```bash
.\srec_cat.exe "CC1352P2_CC2652P_launchpad_coordinator_20240710.hex" -intel -o CC1352P2_CC2652P_launchpad_coordinator_20240710.bin -binary
```

{% endcode %}

here's the converted file

{% file src="/files/CyZAyRnDyrxkKboARWWE" %}

Then program again with the binary file. Leave the start address at 0x00000000

<figure><img src="https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2FEyRkYYyIlE06PTEWJJPx%2Fimage.png?alt=media&amp;token=e944e13c-4a6f-4ce8-b4d2-4d7c9e29e33d" alt=""><figcaption></figcaption></figure>
