Bienvenue sur le forum de la ZiGate !

Ici, nous échangeons sur les produits ZiGate (matériellement) et les firmware.

Pour que vous puissiez gagner du temps, je vous conseille de visiter, dans un premier temps, les forums et documentations des plugins et box domotique que vous avez choisi :

Jeedom :

Forum : https://community.jeedom.com/
Plugin ZiGate : https://github.com/Jeedom-Zigate/jeedom-plugin-zigate
Plugin Abeille : https://github.com/KiwiHC16/Abeille + http://kiwihc16.free.fr/

Domoticz :

Forum Francophonehttps://easydomoticz.com/forum/viewforum.php?f=28
Forum Anglophonehttps://www.domoticz.com/forum/viewforum.php?f=68
Développeur: @pipiche38 disponible sur keybase.io en chat

EEdomus :

Forum : https://forum.eedomus.com/

Home-assistant :

Plugin : https://github.com/doudz/homeassistant-zigate
Zigpy : https://www.home-assistant.io/integrations/zha/

Veuillez pour créer des messages et des sujets de discussion.

Zigate Wifi invisible après Mise à jour V1.3 à V2.0

PrécédentPage 3 of 3

Bonjour,

je déterre le sujet !

Je crois avoir tout bien fait mais non !

J'ai tenté le passage de V1.3 à V.2xx en suivant :

https://zigate.fr/documentation/installation-du-firmware-v2-xx/

Et là comme les copains je ne vois plus le SSID du module wifi Zigate ! Je recommence de zéro...

Je résume :

Tout à l'air de bien se passer jusqu'à la 4ème passe à l'adresse 0x300000, cela ne défile pas jusqu'au bout bien que ready d'afficher en bas à droite de esp8266Flasher.exe et un sens interdit à gauche ! (je ne sais pas insérer les image dans mon message ! cela aurait été plus simple !)

Je considère que le module est tout de même effacer et passe à l'étape suivante:

Là tout ce passe impec ! Et je retrouve la V1.3 avec son SSID donc nickel je me dis que le RAZ de l'étape précédente a tout de même fonctionné et que je n'ai pas tout cassé !

J'insiste donc:

C:\>pip install esptool
Collecting esptool
Downloading esptool-4.5.1.tar.gz (252 kB)
---------------------------------------- 252.2/252.2 kB 3.1 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting bitstring>=3.1.6
Downloading bitstring-4.0.2-py3-none-any.whl (46 kB)
---------------------------------------- 46.0/46.0 kB 286.3 kB/s eta 0:00:00
Collecting cryptography>=2.1.4
Downloading cryptography-40.0.2-cp36-abi3-win_amd64.whl (2.6 MB)
---------------------------------------- 2.6/2.6 MB 6.9 MB/s eta 0:00:00
Collecting ecdsa>=0.16.0
Downloading ecdsa-0.18.0-py2.py3-none-any.whl (142 kB)
---------------------------------------- 142.9/142.9 kB 1.4 MB/s eta 0:00:00
Collecting pyserial>=3.0
Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
---------------------------------------- 90.6/90.6 kB 2.5 MB/s eta 0:00:00
Collecting reedsolo<=1.6.0,>=1.5.3
Downloading reedsolo-1.6.0.tar.gz (278 kB)
---------------------------------------- 278.6/278.6 kB 3.4 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting cffi>=1.12
Downloading cffi-1.15.1-cp311-cp311-win_amd64.whl (179 kB)
---------------------------------------- 179.0/179.0 kB 831.3 kB/s eta 0:00:00
Collecting six>=1.9.0
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
---------------------------------------- 118.7/118.7 kB 2.3 MB/s eta 0:00:00
Installing collected packages: reedsolo, pyserial, six, pycparser, bitstring, ecdsa, cffi, cryptography, esptool
DEPRECATION: reedsolo is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for reedsolo ... done
DEPRECATION: esptool is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for esptool ... done
Successfully installed bitstring-4.0.2 cffi-1.15.1 cryptography-40.0.2 ecdsa-0.18.0 esptool-4.5.1 pycparser-2.21 pyserial-3.5 reedsolo-1.6.0 six-1.16.0

[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: python.exe -m pip install --upgrade pip

Donc ça à l'air de fonctionner, je continue :

C:\>esptool.py --port COM4 --baud 115200 erase_flash
esptool.py v4.5.1
Serial port COM4
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: bc:dd:c2:25:9a:fc
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 5.8s
Hard resetting via RTS pin...

Donc je continue :

C:\>esptool.py --port COM4 --baud 115200 write_flash -fs 16MB -ff 80m 0x00000 boot_V1.7.bin 0x1000 user1.bin 0x3FE000 blank.bin 0xFC000 esp_init_data_default.bin
esptool.py v4.5.1
Serial port COM4
Connecting...
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: bc:dd:c2:25:9a:fc
Stub is already running. No upload is necessary.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00000fff...
Flash will be erased from 0x00001000 to 0x00057fff...
Flash will be erased from 0x003fe000 to 0x003fefff...
Flash will be erased from 0x000fc000 to 0x000fcfff...
Flash params set to 0x009f
Compressed 4080 bytes to 2936...
Wrote 4080 bytes (2936 compressed) at 0x00000000 in 0.3 seconds (effective 104.9 kbit/s)...
Hash of data verified.
Compressed 355348 bytes to 264418...
Wrote 355348 bytes (264418 compressed) at 0x00001000 in 23.5 seconds (effective 121.2 kbit/s)...
Hash of data verified.
Compressed 4096 bytes to 26...
Wrote 4096 bytes (26 compressed) at 0x003fe000 in 0.1 seconds (effective 630.0 kbit/s)...
Hash of data verified.
Compressed 128 bytes to 75...
Wrote 128 bytes (75 compressed) at 0x000fc000 in 0.1 seconds (effective 20.1 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

Donc pas de problème à priori ! même si j'ai du modifier 32m par 16MB :

C:\>esptool.py --port COM4 --baud 115200 write_flash -fs 32m -ff 80m 0x00000 boot_V1.7.bin 0x1000 user1.bin 0x3FE000 blank.bin 0xFC000 esp_init_data_default.bin
usage: esptool write_flash [-h] [--erase-all] [--flash_freq {keep,80m,60m,48m,40m,30m,26m,24m,20m,16m,15m,12m}]
[--flash_mode {keep,qio,qout,dio,dout}]
[--flash_size {detect,keep,256KB,512KB,1MB,2MB,2MB-c1,4MB,4MB-c1,8MB,16MB,32MB,64MB,128MB}]
[--spi-connection SPI_CONNECTION] [--no-progress] [--verify] [--encrypt]
[--encrypt-files <address> <filename> [<address> <filename> ...]]
[--ignore-flash-encryption-efuse-setting] [--force] [--compress | --no-compress]
<address> <filename> [<address> <filename> ...]
esptool write_flash: error: argument --flash_size/-fs: invalid choice: '32m' (choose from 'detect', 'keep', '256KB', '512KB', '1MB', '2MB', '2MB-c1', '4MB', '4MB-c1', '8MB', '16MB', '32MB', '64MB', '128MB')

C:\>esptool.py --port COM4 --baud 115200 write_flash -fs 32MB -ff 80m 0x00000 boot_V1.7.bin 0x1000 user1.bin 0x3FE000 blank.bin 0xFC000 esp_init_data_default.bin
esptool.py v4.5.1
Serial port COM4
Connecting...
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: bc:dd:c2:25:9a:fc
Stub is already running. No upload is necessary.
Configuring flash size...
WARNING: Flasher stub doesn't fully support flash size larger than 16MB, in case of failure use --no-stub.
Flash will be erased from 0x00000000 to 0x00000fff...
Flash will be erased from 0x00001000 to 0x00057fff...
Flash will be erased from 0x003fe000 to 0x003fefff...
Flash will be erased from 0x000fc000 to 0x000fcfff...

A fatal error occurred: Flash size '32MB' is not supported by this chip type. Supported sizes: 512KB, 256KB, 1MB, 2MB, 4MB, 2MB-c1, 4MB-c1, 8MB, 16MB

 

Voilà ! Je suis de nouveau à la case départ !!

S'il vous plait ?

Merci

Yannick

Bonjour,

Apparemment, l'argument 32m n'est plus supporté. Cependant, l'équivalent de cette argument n'est pas 16MB ou 32MB mais 4MB.

Pouvez-vous essayer avec cet argument ?

Fred

Bonjour,

et merci pour votre réponse...

voici ce que j'ai fait après un nouveau RAZ:

C:\>esptool.py --port COM4 --baud 115200 erase_flash
esptool.py v4.5.1
Serial port COM4
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: bc:dd:c2:25:9a:fc
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 5.2s
Hard resetting via RTS pin...

C:\>esptool.py --port COM4 --baud 115200 write_flash -fs 4MB -ff 80m 0x00000 boot_V1.7.bin 0x1000 user1.bin 0xFC000 esp_init_data_default.bin
esptool.py v4.5.1
Serial port COM4
Connecting...
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: bc:dd:c2:25:9a:fc
Stub is already running. No upload is necessary.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00000fff...
Flash will be erased from 0x00001000 to 0x00057fff...
Flash will be erased from 0x000fc000 to 0x000fcfff...
Flash params set to 0x004f
Compressed 4080 bytes to 2936...
Wrote 4080 bytes (2936 compressed) at 0x00000000 in 0.3 seconds (effective 103.9 kbit/s)...
Hash of data verified.
Compressed 355348 bytes to 264418...
Wrote 355348 bytes (264418 compressed) at 0x00001000 in 23.5 seconds (effective 121.2 kbit/s)...
Hash of data verified.
Compressed 128 bytes to 75...
Wrote 128 bytes (75 compressed) at 0x000fc000 in 0.0 seconds (effective 20.5 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

 

La LED bleu du module WIFI clignote rapidement et je ne vois plus son SSID !

Faut il repasser par boot_V1.2 puis boot_V1.6 avant de passer le boot_V1.7 ?

Ceci dit, avant de faire ces dernières manips, j'ai essayé de la faire fonctionner en V1.3 mais sans succès non plus !

Je voyais bien son SSID Zigate-XXXX, je peux acceder au menu de paramétrage et saisir le nouveau SSID, IP, MASK, GATEWAY je peux sauvegarder mais après le reboot impossible de pinguer à l'adresse sauvgardée.

Je ne sais pas si les 2 problèmes sont liés ? Autre chose, l'accès au réseau du module Zigate WIFI se fait par une borne Cisco (bridge) et non pas directement sur ma box !?

Merci

Yannick

bonjour,

voici la commande que j’exécute :

esptool.py --port COM9 --baud 250000 write_flash -fs 4MB -ff 80m 0x00000 boot_v1.6.bin 0x1000 user1.bin 0x3FE000 blank.bin 0x3FC000 esp_init_data_default.bin

esp_init_data_default.bin n'est pas à la bonne adresse dans votre cas

Ah grand merci !

Je commettais donc 2 erreurs :

le 4MB à la place du 32m et effectivement une erreur de frappe sur l'adresse de esp_init_data_default.bin.

merci

Yannick

PrécédentPage 3 of 3
Translate »