# Flashowanie CC2531

**URL:** <https://forum.arturhome.pl/t/flashowanie-cc2531/5224>\
**Category:** Zigbee\
**Tags:** cc2531, firmware\
**Created:** [7 Kwiecień 2022 14:26 UTC](https://forum.arturhome.pl/t/flashowanie-cc2531/5224 "2022-04-07T14:26:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Autor:** ![peelee](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@peelee](https://forum.arturhome.pl/u/peelee)\
**Data wpisu:** [7 Kwiecień 2022 14:26 UTC](https://forum.arturhome.pl/t/flashowanie-cc2531/5224/1 "2022-04-07T14:26:14Z")

</div>

no i mam kolejny problem  
próbuję go sflaszowac i utknąłem na początku

> **[Home Assistant na Raspberry Pi | Instalacje elektryczne Kraków](https://smarthomekr.pl/raspberry-cc2531/)**
>
> Home Assistant na Raspberry Pi 3 model B - Instalacja Hass.io.

**gpio -v**  
nie znaleziono polecenia  
robiłem według tego [http://wiringpi.com/download-and-install/](http://wiringpi.com/download-and-install/)  
ale polecenie dalej nie działa

---

<div class="post-metadata">

**Autor:** ![szopen](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/szopen/32/1093_2.png) [@szopen](https://forum.arturhome.pl/u/szopen)\
**Data wpisu:** [7 Kwiecień 2022 15:05 UTC](https://forum.arturhome.pl/t/flashowanie-cc2531/5224/2 "2022-04-07T15:05:34Z")

</div>

_ **WiringPi** _ is **PRE-INSTALLED** with standard Raspbian systems.  
W sumie nie piszesz z jakiego systemu próbujesz to zrobić…

---

<div class="post-metadata">

**Autor:** ![peelee](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@peelee](https://forum.arturhome.pl/u/peelee)\
**Data wpisu:** [7 Kwiecień 2022 15:25 UTC](https://forum.arturhome.pl/t/flashowanie-cc2531/5224/3 "2022-04-07T15:25:06Z")

</div>

zainstalowałem Raspberry Pi OS na Raspberry Pi 4

---

<div class="post-metadata">

**Autor:** ![szopen](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/szopen/32/1093_2.png) [@szopen](https://forum.arturhome.pl/u/szopen)\
**Data wpisu:** [7 Kwiecień 2022 15:33 UTC](https://forum.arturhome.pl/t/flashowanie-cc2531/5224/4 "2022-04-07T15:33:05Z")

</div>

Więc nie musisz doinstalowywać wiringPi, bo ten system jest gotowy pod tym względem (Raspberry Pi OS to nowa nazwa Raspbian’a), zacznij od kolejnego kroku

> **[Alternative flashing methods | Zigbee2MQTT](https://www.zigbee2mqtt.io/guide/adapters/flashing/alternative_flashing_methods.html)**
>
> Zigbee to MQTT bridge, get rid of your proprietary Zigbee bridges

---

<div class="post-metadata">

**Autor:** ![peelee](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@peelee](https://forum.arturhome.pl/u/peelee)\
**Data wpisu:** [7 Kwiecień 2022 15:57 UTC](https://forum.arturhome.pl/t/flashowanie-cc2531/5224/5 "2022-04-07T15:57:26Z")

</div>

> [@szopen](#):
>
> Więc nie musisz doinstalowywać wiringPi, bo ten system jest gotowy pod tym względem (Raspberry Pi OS to nowa nazwa Raspbian’a), zacznij od kolejnego kroku
> 
> [Alternative flashing methods | Zigbee2MQTT](https://www.zigbee2mqtt.io/guide/adapters/flashing/alternative_flashing_methods.html)

myślałem że to będzie prostsze  
4 punkt po komendzie ./cc\_chipid mam

./cc\_chipid: error while loading shared libraries: libwiringPi.so: cannot open shared object file: No such file or directory

---

<div class="post-metadata">

**Autor:** ![szopen](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/szopen/32/1093_2.png) [@szopen](https://forum.arturhome.pl/u/szopen)\
**Data wpisu:** [7 Kwiecień 2022 17:39 UTC](https://forum.arturhome.pl/t/flashowanie-cc2531/5224/6 "2022-04-07T17:39:46Z")

</div>

No to zmyłka, bo wygląda jakbyś faktycznie nie miał wiringPi “na pokładzie”.  
Którą wersję systemu użyłeś?

> **[Operating system images – Raspberry Pi](https://www.raspberrypi.com/software/operating-systems/)**
>
> From industries large and small, to the kitchen table tinkerer, to the classroom coder, we make computing accessible and affordable for everybody.

Bo jeśli pamiętam to ostatnio to robiłem chyba na busterze prawdopodobnie 32-bitowym (wersja full) dziś to “legacy”.

> [@peelee](#):
>
> myślałem że to będzie prostsze

Istotnie CC2531 jest wybitnie niewdzięczny do flashowania.

---

<div class="post-metadata">

**Autor:** ![peelee](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@peelee](https://forum.arturhome.pl/u/peelee)\
**Data wpisu:** [7 Kwiecień 2022 19:17 UTC](https://forum.arturhome.pl/t/flashowanie-cc2531/5224/7 "2022-04-07T19:17:25Z")

</div>

> [@szopen](#):
>
> Więc nie musisz doinstalowywać wiringPi, bo ten system jest gotowy pod tym względem (Raspberry Pi OS to nowa nazwa Raspbian’a), zacznij od kolejnego kroku
> 
> [Alternative flashing methods | Zigbee2MQTT](https://www.zigbee2mqtt.io/guide/adapters/flashing/alternative_flashing_methods.html)

Męczyłem i wymęczyłem udało się sfałszować poszło jak po sznurku.  
Teraz zobaczymy czy dało to jakiś efekt.

---

<div class="post-metadata">

**Autor:** ![szopen](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/szopen/32/1093_2.png) [@szopen](https://forum.arturhome.pl/u/szopen)\
**Data wpisu:** [7 Kwiecień 2022 20:20 UTC](https://forum.arturhome.pl/t/flashowanie-cc2531/5224/8 "2022-04-07T20:20:58Z")

</div>

> [@peelee](#):
>
> Męczyłem i wymęczyłem

To napisz ze 3 słowa, gdzie były pułapki - ludzie zazwyczaj w tych samych miejscach popełniają błędy jeśli są jakieś braki w tutorialach czy dokumentacji - będzie dla innych  
(miałem zamiar już przygotować obraz karty, która zalega sobie w pudełeczku na wypadek konieczności flaszowania CC2531 w przyszłości, ale plik wychodzi nierozsądnej wielkości nawet po kompresji).

---

<div class="post-metadata">

**Autor:** ![peelee](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@peelee](https://forum.arturhome.pl/u/peelee)\
**Data wpisu:** [7 Kwiecień 2022 21:12 UTC](https://forum.arturhome.pl/t/flashowanie-cc2531/5224/9 "2022-04-07T21:12:46Z")

</div>

Problem był w braku tego libwiringPi ale skąd go pobrałem to już nie wiem bo kombinowałem z różnymi linkami i w pewnym momencie zadziałało polecenie gpio -v  
potem już poszło z górki według tej instrukcji

> **[Alternative flashing methods | Zigbee2MQTT](https://www.zigbee2mqtt.io/guide/adapters/flashing/alternative_flashing_methods.html)**
>
> Zigbee to MQTT bridge, get rid of your proprietary Zigbee bridges
