Dec 192021
 

Recently I upgraded my Zigbee Hardware from CC2531 to CC2652 and noticed an issue. (Multiple other people had the same issue.) I was unable to add new devices. Somehow routing and joining has issues.

Upgrading the firmware might fix it. To upgrade the CC2652 stick from Linux I used Kali Linux just because I had a work laptop with native Kali Linux running already. My stick came from eBay and has an embedded USB to serial adapter. You just need to push a button while pluging it in (BTN1) and you will see a /dev/ttyUSB0 in your logs popping up.

From the dev branch of koenkk I tried the new firmware (CC2652R coordinator) from

https://github.com/Koenkk/Z-Stack-firmware/tree/develop/coordinator/Z-Stack_3.x.0/bin

unzip CC2652R_coordinator_20211207.zip

I use CC2538-bsl.py to flash it (it works with CC2652 as well):

If you do not have it, you can clone it
git clone https://github.com/JelmerT/cc2538-bsl
(you might need to add pip3 install intelhex)

Then

./cc2538-bsl.py -p /dev/ttyUSB0 -evw ../CC2652R_coordinator_20211207.hex

Flashing should start and be finished in ~10 seconds.

Opening port /dev/ttyUSB0, baud 500000
Reading data from ../CC2652R_coordinator_20211207.hex
Firmware file: Intel Hex
Connecting to target…
CC1350 PG2.0 (7x7mm): 352KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x00057FD8
Primary IEEE Address: 00:12:4B:00:22:A4:CC:37
Performing mass erase
Erasing all main bank flash sectors
Erase done
Writing 360448 bytes starting at address 0x00000000
Write 104 bytes at 0x00057F988
Write done
Verifying by comparing CRC32 calculations.
Verified (match: 0xc791b334)

Easy peasy!