NodeMCU Inaccessible apres reflashage

Forum dédié aux bricolages d'objets connectés IOT et leurs communications avec DomoticZ :
- Remplacement de firmware des prises, modules relais ...
- Fabrication à base d'ESP8266, de NodeMCU, de Weemos et consorts ...
LoTheGeek
Messages : 8
Inscription : 15 avr. 2017, 10:27

NodeMCU Inaccessible apres reflashage

Message par LoTheGeek »

Bonjour,

J'ai fait des essais avec un nodeMCU V3. Il a bien fonctionné toute la journée et j'ai réussi à allumer ma petite Led sur ma breadboard via Domoticz. J'étais super content et je me suis dit puisque cela fonctionne, avant d'aller plus loin, je vais fixer l'IP du nodeMCU plutôt que d’être en DHCP.
J'ai renseigné les informations dans l'interface web et j'ai rebooté l'appareil.
Au redémarrage impossible de le trouver sur le réseau, j’appuie sur reset, mais toujours pas de nodeMCU sur mon réseau.

Je me dit que je vais réinstaller un firmware de zéro. Je reprends ma version R120 d'origine et j’exécute flash.cmd.
Pas de soucis dans l’exécution (cf log ci-dessous)

Code : Tout sélectionner

Comport (example 3, 4, ..)           :9
Flash Size (example 512, 1024, 4096) :4096
Build (example 71, 72, ..)           :120
Using com port: 9
Using bin file: ESPEasy_R120_4096.bin
esptool v0.4.6 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
        setting board to nodemcu
        setting baudrate from 115200 to 115200
        setting port from COM1 to COM9
        setting address from 0x00000000 to 0x00000000
        espcomm_upload_file
        stat ESPEasy_R120_4096.bin success
        setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
        flush start
        setting serial port timeouts to 1 ms
        setting serial port timeouts to 1000 ms
        flush complete
        espcomm_send_command: sending command header
        espcomm_send_command: sending command payload
        read 0, requested 1
trying to connect
        flush start
        setting serial port timeouts to 1 ms
        setting serial port timeouts to 1000 ms
        flush complete
        espcomm_send_command: sending command header
        espcomm_send_command: sending command payload
        espcomm_send_command: receiving 2 bytes of data
        espcomm_send_command: receiving 2 bytes of data
        espcomm_send_command: receiving 2 bytes of data
        espcomm_send_command: receiving 2 bytes of data
        espcomm_send_command: receiving 2 bytes of data
        espcomm_send_command: receiving 2 bytes of data
        espcomm_send_command: receiving 2 bytes of data
        espcomm_send_command: receiving 2 bytes of data
        espcomm_open
Uploading 411264 bytes from ESPEasy_R120_4096.bin to flash at 0x00000000
        erasing flash
        size: 064680 address: 000000
        first_sector_index: 0
        total_sector_count: 101
        head_sector_count: 16
        adjusted_sector_count: 85
        adjusted_size: 055000
        espcomm_send_command: sending command header
        espcomm_send_command: sending command payload
        setting serial port timeouts to 10000 ms
        setting serial port timeouts to 1000 ms
        espcomm_send_command: receiving 2 bytes of data
        writing flash
....................................................................................................
....................................................................................................
..................................................................................
starting app without reboot
        espcomm_send_command: sending command header
        espcomm_send_command: sending command payload
        espcomm_send_command: receiving 2 bytes of data
closing bootloader
        flush start
        setting serial port timeouts to 1 ms
        setting serial port timeouts to 1000 ms
        flush complete
Appuyez sur une touche pour continuer...
je débranche mon NodeMCU, le rebranche, et ... Je ne vois pas d'access point ESP_0 ou autre.
J'ai essayé de télécharge la version R147RC8, mais le résultat est exactement le même.

Je ne sais plus quoi faire. J'ai tenté quelques bidouilles sous IDE Arduino en suivant des tutos mais je n'ai pas réussi à afficher une AP ESPEasy de configuration.

En revanche je suis certain que mon wifi fonctionne car j'ai téléchargé le script d'exemple WifiAccessPoint et mon nodemcu a bien créé une Access Point de démo.

Je ne comprends pas pourquoi je n'arrive pas à repartir de zéro avec ESPEasy.

J'espere que vous pourrez m'aider.

Laurent
Domoticz 3.0.7416-7 by Jadahl sur Synology DSM 6.0
RFLink Gateway v1.1 R46
totof60
Messages : 373
Inscription : 29 avr. 2016, 09:31

Re: NodeMCU Inaccessible apres reflashage

Message par totof60 »

Je ne sais pas l'expliquer ( suis nul!! ) mais l'ESP garde en mémoire quelque part le SSID, l'IP et mot de passe.

Un effacement total de ton ESP avant flashage devrait résoudre ton problème.

http://www.pratikpanda.com/completely-f ... sh-memory/
Domoticz V2022.2
sous Buster, Homebridge,RfLink
Raspberry pi3, Google home mini
plein de truc wifi !! de l'esp-01 jusque le nodemcu en passant par le wemos et même du DIY
LoTheGeek
Messages : 8
Inscription : 15 avr. 2017, 10:27

Re: NodeMCU Inaccessible apres reflashage

Message par LoTheGeek »

Merci pour ton aide. J'ai réussi à effacer en mettant en redémarrant le nodemcu en ayant raccordé les pins RX et TX

Laurent

Envoyé de mon Redmi Note 3 en utilisant Tapatalk
Domoticz 3.0.7416-7 by Jadahl sur Synology DSM 6.0
RFLink Gateway v1.1 R46
Répondre