# Flashing Raspbee 2 not working

**URL:** <https://forum.phoscon.de/t/flashing-raspbee-2-not-working/2158>\
**Category:** General\
**Created:** [June 26, 2022, 12:33pm UTC](https://forum.phoscon.de/t/flashing-raspbee-2-not-working/2158 "2022-06-26T12:33:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mastrigt](https://forum.phoscon.de/user_avatar/forum.phoscon.de/mastrigt/32/58_2.png) [@mastrigt](https://forum.phoscon.de/u/mastrigt)\
**Post date:** [June 26, 2022, 12:33pm UTC](https://forum.phoscon.de/t/flashing-raspbee-2-not-working/2158/1 "2022-06-26T12:33:19Z")

</div>

My Raspbee2 doesn’t connect to Deconz on my rpi. So I tried to update/flash it manually but I get an error: 1054: Error: (assert) n == CMD\_deconzVersion.size().  
Can somebody help me and tell what to do?  
These are the logs:  
hoobs@hoobs:~$ sudo systemctl stop deconz  
[sudo] password for hoobs:  
hoobs@hoobs:~$ wget [https://deconz.dresden-elektronik.de/deconz-firmware/deCONZ\_RaspBeeII\_0x26780700.bin.GCF](https://deconz.dresden-elektronik.de/deconz-firmware/deCONZ_RaspBeeII_0x26780700.bin.GCF)  
–2022-06-26 14:24:20-- [https://deconz.dresden-elektronik.de/deconz-firmware/deCONZ\_RaspBeeII\_0x26780700.bin.GCF](https://deconz.dresden-elektronik.de/deconz-firmware/deCONZ_RaspBeeII_0x26780700.bin.GCF)  
Resolving [deconz.dresden-elektronik.de](http://deconz.dresden-elektronik.de) ([deconz.dresden-elektronik.de](http://deconz.dresden-elektronik.de))… 144.76.96.194  
Connecting to [deconz.dresden-elektronik.de](http://deconz.dresden-elektronik.de) ([deconz.dresden-elektronik.de](http://deconz.dresden-elektronik.de))|144.76.96.194|:443… connected.  
HTTP request sent, awaiting response… 200 OK  
Length: 163244 (159K) [application/octet-stream]  
Saving to: ‘deCONZ\_RaspBeeII\_0x26780700.bin.GCF.1’

deCONZ\_RaspBeeII\_0x2678070 100%[=======================================\>] 159.42K --.-KB/s in 0.06s

2022-06-26 14:24:20 (2.63 MB/s) - ‘deCONZ\_RaspBeeII\_0x26780700.bin.GCF.1’ saved [163244/163244]

hoobs@hoobs:~$ sudo GCFFlasher\_internal -t 60 -f deCONZ\_RaspBeeII\_0x26780700.bin.GCF  
GCFFlasher V3\_17 (c) dresden elektronik ingenieurtechnik gmbh  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
Reboot device RaspBee (RaspBee)  
retry, failed

1054: Error: (assert) n == CMD\_deconzVersion.size()  
hoobs@hoobs:~$

---

<div class="post-metadata">

**Author:** ![Mimiix](https://forum.phoscon.de/user_avatar/forum.phoscon.de/mimiix/32/10_2.png) [@Mimiix](https://forum.phoscon.de/u/Mimiix)\
**Post date:** [June 26, 2022, 1:55pm UTC](https://forum.phoscon.de/t/flashing-raspbee-2-not-working/2158/2 "2022-06-26T13:55:07Z")

</div>

Try it with a raspbian install and see if that works. I am not sure if there’s differences in hoobs their OS.

---

<div class="post-metadata">

**Author:** ![mastrigt](https://forum.phoscon.de/user_avatar/forum.phoscon.de/mastrigt/32/58_2.png) [@mastrigt](https://forum.phoscon.de/u/mastrigt)\
**Post date:** [June 26, 2022, 2:38pm UTC](https://forum.phoscon.de/t/flashing-raspbee-2-not-working/2158/3 "2022-06-26T14:38:54Z")

</div>

I did on a raspbian (native) install and it doesn’t work for connecting the raspbee nor for manually installing the firmware. Is there a way to check if the Raspbee2 is still working? If I check the RTC it works…

---

<div class="post-metadata">

**Author:** ![Mimiix](https://forum.phoscon.de/user_avatar/forum.phoscon.de/mimiix/32/10_2.png) [@Mimiix](https://forum.phoscon.de/u/Mimiix)\
**Post date:** [June 26, 2022, 2:47pm UTC](https://forum.phoscon.de/t/flashing-raspbee-2-not-working/2158/4 "2022-06-26T14:47:36Z")

</div>

Can you share some deconz logs on the native install? In #deconz you can find out how to make logs.

Also, what Raspberry are you running? Did you do any changes recently? Are you using an ssd?

---

<div class="post-metadata">

**Author:** ![mastrigt](https://forum.phoscon.de/user_avatar/forum.phoscon.de/mastrigt/32/58_2.png) [@mastrigt](https://forum.phoscon.de/u/mastrigt)\
**Post date:** [June 26, 2022, 4:16pm UTC](https://forum.phoscon.de/t/flashing-raspbee-2-not-working/2158/5 "2022-06-26T16:16:38Z")

</div>

After re-enabling serial port hardware on rpi it worked! I am sure I did that before…
