Re: Relais Wifi Sonoff
Publié : 04 juil. 2016, 23:37
Bonsoir,
Je viens de tenter de flasher un SonOff avec un EspEasy 78 avec le flash.cmd d'esptool.
Voici la sortie de la commande :
Ce qui semble vouloir dire que le flashage a été ok. j'ai donc rebranché l'usb du convertisseur USB-Serial sans mettre le SonOff en mode flashage et j'ai regardé si je voyais apparaître le réseau Wifi attendu. Ne voyant rien, j'ai relancé une procédure de flashage.
Elle se termine donc moins bien puisque j'ai des warning que je ne sais interpréter et donc corriger... Quelqu'un peut-il m'en dire un peu plus ?
Je viens de tenter de flasher un SonOff avec un EspEasy 78 avec le flash.cmd d'esptool.
Voici la sortie de la commande :
Code : Tout sélectionner
flash
Comport (example 3, 4, ..) :6
Flash Size (example 512, 1024, 4096) :1024
Build (example 71, 72, ..) :78
Using com port: 6
Using bin file: ESPEasy_R78_1024.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 COM6
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
stat ESPEasy_R78_1024.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 375904 bytes from ESPEasy_R78_1024.bin to flash at 0x00000000
erasing flash
size: 05bc60 address: 000000
first_sector_index: 0
total_sector_count: 92
head_sector_count: 16
adjusted_sector_count: 76
adjusted_size: 04c000
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...Code : Tout sélectionner
flash
Comport (example 3, 4, ..) :6
Flash Size (example 512, 1024, 4096) :1024
Build (example 71, 72, ..) :78
Using com port: 6
Using bin file: ESPEasy_R78_1024.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 COM6
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
stat ESPEasy_R78_1024.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 375904 bytes from ESPEasy_R78_1024.bin to flash at 0x00000000
erasing flash
size: 05bc60 address: 000000
first_sector_index: 0
total_sector_count: 92
head_sector_count: 16
adjusted_sector_count: 76
adjusted_size: 04c000
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
.................................................................. read 0, requested 1
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed
warning: espcomm_send_command: wrong direction/command: 0x01 0x03, expected 0x01 0x04
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...