Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:tasmota [2023/10/16 19:30] – [Resources] darron | tools:tasmota [2023/12/15 07:56] (current) – [SONOFF 4CH PRO R2] darron | ||
---|---|---|---|
Line 352: | Line 352: | ||
===SONOFF 4CH PRO R2=== | ===SONOFF 4CH PRO R2=== | ||
- | First attach a console to the ESP8285. Connect a UART adapter in 3V mode to the Rx/Tx and GND pins on the board and power on with the DC input. | + | <wrap right> |
+ | {{tools: | ||
+ | </ | ||
The built-in firmware for this device died after 6 months of use. The console shows the chip rebooting with watchdog reset errors continuously. | The built-in firmware for this device died after 6 months of use. The console shows the chip rebooting with watchdog reset errors continuously. | ||
- | ==Write flash== | + | To upgrade attach a console to the ESP8285 by connecting a UART adapter in 3V mode to the Rx/Tx and GND pins on the board. Power up with the DC input. |
- | To enable flash mode power off and short IO0 on the pad. Power up with the DC input. | + | To enable flash erase/ |
+ | |||
+ | ==Write flash== | ||
- | Programming may take a few attempts. With 100% success power cycle the board. | + | Writing was unreliable and needed lots of attempts |
< | < | ||
- | esptool.py write_flash | + | esptool.py write_flash |
esptool.py v4.6.2 | esptool.py v4.6.2 | ||
+ | Loaded custom configuration from / | ||
Found 1 serial ports | Found 1 serial ports | ||
Serial port / | Serial port / | ||
- | Connecting....... | + | Connecting... |
Detecting chip type... Unsupported detection protocol, switching and trying again... | Detecting chip type... Unsupported detection protocol, switching and trying again... | ||
Connecting... | Connecting... | ||
Line 376: | Line 381: | ||
MAC: 84: | MAC: 84: | ||
Stub is already running. No upload is necessary. | Stub is already running. No upload is necessary. | ||
- | WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs. | ||
Configuring flash size... | Configuring flash size... | ||
- | Warning: Could not auto-detect Flash size (FlashID=0x0, | ||
Flash will be erased from 0x00000000 to 0x0009efff... | Flash will be erased from 0x00000000 to 0x0009efff... | ||
- | Flash params set to 0x0340 | ||
Wrote 655360 bytes at 0x00000000 in 59.9 seconds (87.5 kbit/s)... | Wrote 655360 bytes at 0x00000000 in 59.9 seconds (87.5 kbit/s)... | ||
Hash of data verified. | Hash of data verified. | ||
Line 386: | Line 388: | ||
Leaving... | Leaving... | ||
Hard resetting via RTS pin... | Hard resetting via RTS pin... | ||
- | |||
</ | </ | ||
==Boot== | ==Boot== | ||
+ | |||
+ | When writing succeeded, this was the boot message. | ||
< | < | ||
Line 408: | Line 411: | ||
[[https:// | [[https:// | ||
+ | |||
+ | [[https:// | ||
[[https:// | [[https:// | ||
Line 414: | Line 419: | ||
[[https:// | [[https:// | ||
+ | |||
+ | {{tools: | ||
+ |