From ec0605d83ccccdcc2fb44bdd819f7d5e3fbfdac4 Mon Sep 17 00:00:00 2001 From: pascalsaul Date: Tue, 31 Oct 2017 21:55:45 +0100 Subject: [PATCH] Updated Troubleshooting (markdown) --- Troubleshooting.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index c63cbd74..b18afbde 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -69,9 +69,9 @@ With the Command Prompt execute: 3. pip install esptool After this you can use the same commands as above: -1. esptool --port COM erase_region 0x0F4000 0x008000 -2. esptool --port COM erase_flash -3. esptool --port COM write_flash --flash_mode dout --flash_size 1MB 0x0 firmware.bin +1. esptool --port COM5 erase_region 0x0F4000 0x008000 +2. esptool --port COM5 erase_flash +3. esptool --port COM5 write_flash --flash_mode dout --flash_size 1MB 0x0 firmware.bin ## does not respond to button intermittently. The library that is being used to make the TCP connection to the MQTT server has a 5 second timeout, during which the firmware is stuck and can do nothing else (including switching the relay locally) @@ -126,4 +126,19 @@ The sonoff dual uses the serial port to control the relays, so serial logging in Through either a terminal program or the android serial monitor, set the baud rate to 115200 and disable hardware flow control and you will see the logs ## crashdumps -If the ESP-8266 crashes, it frequently dumps information about the crash out the serial port, so the process listed above to see serial logs can provide extremely useful information \ No newline at end of file +If the ESP-8266 crashes, it frequently dumps information about the crash out the serial port, so the process listed above to see serial logs can provide extremely useful information + +## unknown issues + %USERPROFILE%.platformio\python27\Scripts>esptool --port COM12 write_flash --flash_mode dout --flash_size 1MB 0x0 + firmware.bin + esptool.py v2.1 + Connecting.... + Detecting chip type... ESP8266 + Chip is ESP8266 + Uploading stub... + Running stub... + Stub running... + Configuring flash size... + Compressed 475008 bytes to 327693... + Writing at 0x00008000... (14 %) + A fatal error occurred: Timed out waiting for packet header \ No newline at end of file