arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.04k stars 4.78k forks source link

Sonoff 4Ch Pro R2 - flashing issues #5542

Closed zzzZZZzzz9 closed 5 years ago

zzzZZZzzz9 commented 5 years ago

Hi all,

I flashed my Sonoff 4Ch Pro R2 a few weeks back, worked like a charm. Yesterday, I tried upgrading the firmware using the web interface. After the restart, I wasn't able to access it anymore.

Then I connected it to the computer in flash mode and flashed it again using PlatformIO which looks successful. But it doesn't connect to my WiFi i.e. no new IP pops up in my network.

When connected to electricity, the WiFi led is slowly flashing blue. I can control all 4 channels using the buttons but the button funtions described here do not work.

Any idea what the issue might be?

This is the Build Panel Output during flashing:

`Processing sonoff-DE (framework: arduino; platform: espressif8266@1.8.0; board: esp01_1m)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp01_1m.html PLATFORM: Espressif 8266 > Espressif Generic ESP8266 ESP-01 1M HARDWARE: ESP8266 80MHz 80KB RAM (1MB Flash)

Converting sonoff.ino Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF MODES: FINDER(chain) COMPATIBILITY(soft) Collected 54 compatible libraries Scanning dependencies... Dependency Graph |-- 2.6 |-- 1.0.2 | |-- 1.0 |-- | |-- | | |-- 1.0 |-- <Waveshare esp 2.9 inch e-paper display driver> 1.0 | |-- 1.0 |-- 1.0 |-- 0.0.1 | |-- 1.0 |-- 1.0 |-- 1.2.0 | |-- 1.2.9

| | |-- 1.0 | |-- 1.0 |-- 1.1 | |-- 1.0 |-- 2.3.0 |-- 1.0.0 |-- 1.0 | |-- 1.0 |-- | |-- 1.0 |-- 2.2.9 | |-- 1.0 |-- 2.3.2 |-- |-- 2.4.0 |-- |-- 1.0 |-- 1.9.1 |-- 1.0.0 |-- 1.1.0 | |-- 1.0 |-- 5.13.4

|-- 1.0 |-- 2.5.2 |-- 2.6.2 |-- | |-- 1.0 |-- 1.1.2 | |-- 1.2.9 | | |-- 1.0 | |-- 1.0 | |-- 1.0 |-- 2.0.7 | |-- 1.0 |-- 1.0 | |-- 1.0 | |-- | | |-- 1.0 |-- | |-- | | |-- 1.0 |-- 1.1.6 | |-- 1.2.9 | | |-- 1.0 | |-- 1.0 |-- 1.2 | |-- 1.0 | |-- 1.1 | | |-- 1.0 |-- 1.1.0 | |-- 2.3.0 |-- 1.0.0 | |-- 1.0 |-- 1.2.9 | |-- 1.0 |-- | |-- 1.0 |-- 0.5.1 | |-- 1.0 | |-- 1.0 | | |-- 1.0 | |-- 1.0 Compiling .pioenvs\sonoff-DE\src\Parsing.cpp.o Compiling .pioenvs\sonoff-DE\src\core_esp8266_timer.c.o Compiling .pioenvs\sonoff-DE\src\core_esp8266_wiring_digital.c.o

Compiling .pioenvs\sonoff-DE\src\core_esp8266_wiring_pwm.c.o sonoff\Parsing.cpp:25:2: warning: #warning Tasmota is using v2.4.2 patched Parsing.cpp as planned [-Wcpp]

warning Tasmota is using v2.4.2 patched Parsing.cpp as planned

^ sonoff\core_esp8266_timer.c:25:2: warning: #warning Tasmota is using v2.4.0 timer.c as planned [-Wcpp]

warning Tasmota is using v2.4.0 timer.c as planned

^ sonoff\core_esp8266_wiring_pwm.c:25:2: warning: #warning Tasmota is using v2.4.0 wiring_pwm.c as planned [-Wcpp]

warning Tasmota is using v2.4.0 wiring_pwm.c as planned

^ sonoff\core_esp8266_wiring_digital.c:25:2: warning: #warning Tasmota is using v2.4.0 wiring_digital.c as planned [-Wcpp]

warning Tasmota is using v2.4.0 wiring_digital.c as planned

^ Compiling .pioenvs\sonoff-DE\src\sonoff.ino.cpp.o Generating LD script .pioenvs\sonoff-DE\ld\eagle.app.v6.common.ld Compiling .pioenvs\sonoff-DE\libf66\PubSubClient-EspEasy-2.6.09\PubSubClient.cpp.o Compiling .pioenvs\sonoff-DE\lib294\Wire\Wire.cpp.o Compiling .pioenvs\sonoff-DE\libe47\Adafruit_SGP30-1.0.0.13\Adafruit_SGP30.cpp.o Archiving .pioenvs\sonoff-DE\lib294\libWire.a Compiling .pioenvs\sonoff-DE\lib355\I2Cdevlib-Core\I2Cdev.cpp.o Archiving .pioenvs\sonoff-DE\libf66\libPubSubClient-EspEasy-2.6.09.a Compiling .pioenvs\sonoff-DE\lib080\I2Cdevlib-ADS1115\ADS1115.cpp.o Archiving .pioenvs\sonoff-DE\libe47\libAdafruit_SGP30-1.0.0.13.a Compiling .pioenvs\sonoff-DE\lib8e0\SPI\SPI.cpp.o

[... more compiling and archiving...]

Compiling .pioenvs\sonoff-DE\FrameworkArduino\uart.c.o Compiling .pioenvs\sonoff-DE\FrameworkArduino\umm_malloc\umm_malloc.c.o Archiving .pioenvs\sonoff-DE\libFrameworkArduino.a

Linking .pioenvs\sonoff-DE\firmware.elf Retrieving maximum program size .pioenvs\sonoff-DE\firmware.elf Building .pioenvs\sonoff-DE\firmware.bin Checking size .pioenvs\sonoff-DE\firmware.elf Memory Usage -> http://bit.ly/pio-memory-usage DATA: [====== ] 60.2% (used 49328 bytes from 81920 bytes) PROGRAM: [===== ] 52.5% (used 537172 bytes from 1023984 bytes) Configuring upload protocol... Looking for upload port... Use manually specified: COM5 Uploading .pioenvs\sonoff-DE\firmware.bin Uploading 541312 bytes from .pioenvs\sonoff-DE\firmware.bin to flash at 0x00000000 ................................................................................ [ 15% ] ................................................................................ [ 30% ] ................................................................................ [ 45% ] ................................................................................ [ 60% ] ................................................................................ [ 75% ] ................................................................................ [ 90% ] ................................................. [ 100% ] [SUCCESS] Took 178.58 seconds

[SUMMARY] Environment sonoff [SKIP] Environment sonoff-minimal [SKIP] Environment sonoff-basic [SKIP] Environment sonoff-classic [SKIP] Environment sonoff-knx [SKIP] Environment sonoff-sensors [SKIP] Environment sonoff-display [SKIP] Environment sonoff-BG [SKIP] Environment sonoff-BR [SKIP] Environment sonoff-CN [SKIP] Environment sonoff-CZ [SKIP] Environment sonoff-DE [SUCCESS] Environment sonoff-ES [SKIP] Environment sonoff-FR [SKIP] Environment sonoff-GR [SKIP] Environment sonoff-HE [SKIP] Environment sonoff-HU [SKIP] Environment sonoff-IT [SKIP] Environment sonoff-KO [SKIP] Environment sonoff-NL [SKIP] Environment sonoff-PL [SKIP] Environment sonoff-PT [SKIP] Environment sonoff-RU [SKIP] Environment sonoff-SE [SKIP] Environment sonoff-SK [SKIP] Environment sonoff-TR [SKIP] Environment sonoff-TW [SKIP] Environment sonoff-UK [SKIP] [SUCCESS] Took 178.59 seconds`

Jason2866 commented 5 years ago

Erase flash with esptool https://github.com/arendst/Sonoff-Tasmota/wiki/Esptool#erase-firmware Upload with esptool a precompiled Tasmota version to be sure using a working build http://thehackbox.org/tasmota/release/sonoff-DE.bin

ascillato2 commented 5 years ago

Please, address this to the Tasmota Support Chat. The chat is a better and more dynamic channel for helping you. Github issues are meant for Tasmota Software Bug Reporting.

Please check the Contributing Guideline and Policy and the Support Guide).

Thanks.


Support Information

See Wiki for more information. See Chat for more user experience. See Community for forum. See Code of Conduct