https://www.youtube.com/watch?v=RguRQUXWLCY
If you are using a CC2530 or CC2531; it is a common issue for this adapter to crash (due to its outdated hardware). Reflashing the firmware should fix the problem. If it happens often consider flashing the source routing firmware or upgrade to a more powerful adapter.
wget https://github.com/Koenkk/Z-Stack-firmware/raw/master/coordinator/Z-Stack_Home_1.2/bin/source_routing/CC2531_SOURCE_ROUTING_20211116.zip
so login to pi
Check if WiringPi is installed (should be) by runninggpio -vif you don’t see the version in the outputsudo apt install wiringpi
Navigate to the folder
cd flash_cc2531
and see if the USB device is wired correctly running:
./cc_chipid
You should see ID = b524. if any other outcome is given, check your wires.
md flash
cd flash
wget https://github.com/Koenkk/Z-Stack-firmware/raw/master/coordinator/Z-Stack_3.0.x/bin/CC2531_20190425.zipor use the alternative above....unzip filecd ..Clear the flash with./cc_eraseUpload new firmware using./cc_write /home/pi/flash_cc2531/flash/CC2531ZNP-Prod.hexthis will take about 3 min.
