NEWS
[gelöst] Sonoff Error beim flashen mit Atom
-
Hallo
Brauche wieder mal eure Hilfe.
Ich habe schon ca. 17 Sonoffs im Einsatz und funktionieren sehr gut.
Nun habe ich mir einen weiteren Sonoff POW zugelegt und möchte ihn wie immer flashen.
Ich benütze Atom und Platformio und dieselbe Tasmoter Software.
Nur bekomme jetzt immer einige warning und ERROR!!
! ````
tialized][attachment=0]Unbenannt 09.PNG[/attachment]
if (hlw_i && hlw_u && hlw_w && w) {
^
C:/Users/marku/Documents/Sonoff-Tasmota-development ---richtig--/Sonoff-Tasmota-development neu/sonoff/xsns_hlw8012.ino:241:13: warning: 'hlw_u' may be used uninitialized in this function [-Wmaybe-unini
tialized]
C:/Users/marku/Documents/Sonoff-Tasmota-development ---richtig--/Sonoff-Tasmota-development neu/sonoff/xsns_hlw8012.ino:242:23: warning: 'hlw_w' may be used uninitialized in this function [-Wmaybe-unini
tialized]
! hlw_temp = (hlw_w * 100) / ((hlw_u * hlw_i) / 1000);
^
C:/Users/marku/Documents/Sonoff-Tasmota-development ---richtig--/Sonoff-Tasmota-development neu/sonoff/xsns_hlw8012.ino: In function 'void hlw_margin_chk()':
C:/Users/marku/Documents/Sonoff-Tasmota-development ---richtig--/Sonoff-Tasmota-development neu/sonoff/xsns_hlw8012.ino:395:20: warning: 'pwv' may be used uninitialized in this function [-Wmaybe-uniniti
alized]
else if (power && (pwv <= sysCfg.hlw_mpl)) {
^
C:/Users/marku/Documents/Sonoff-Tasmota-development ---richtig--/Sonoff-Tasmota-development neu/sonoff/xsns_ds18b20.ino: In function 'boolean dsb_readTemp(float&)':
C:/Users/marku/Documents/Sonoff-Tasmota-development ---richtig--/Sonoff-Tasmota-development neu/sonoff/xsns_ds18b20.ino:157:25: warning: 'crc' may be used uninitialized in this function [-Wmaybe-uniniti
alized]
crc = dsb_crc(lsb, crc);
^
[ERROR] Took 5.18 seconds[SUMMARY]
Environment sonoff-NL [SKIP]
Environment sonoff-minimal [SKIP]
Environment sonoff-ds18x20 [SKIP]
Environment sonoff [ERROR]
[ERROR] Took 5.18 secondsKann mir da wer helfen was das bedeutet? Danke [4668_unbenannt_09.png](/assets/uploads/files/4668_unbenannt_09.png)
-
nun habe ich die neue Tasmota Software heruntergeladen und noch mal probiert….
nur bekomme ich einige neue ERROR
! ````
[05/31/18 10:25:41] Processing sonoff-DE (platform: espressif8266@1.5.0; board: esp01_1m; framework: arduino)Verbose mode can be enabled via
-v, --verbose
option
PLATFORM: Espressif 8266 > Espressif Generic ESP8266 ESP-01 1M
SYSTEM: 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 40 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <wire> v1.0
|-- <mutichannel_gas_sensor> v0.0.1
| |-- <wire> v1.0
|-- <arduinoota> v1.0
| |-- <esp8266wifi> v1.0
| |-- <esp8266mdns>
| | |-- <esp8266wifi> v1.0
|-- <esp8266webserver> v1.0
| |-- <esp8266wifi> v1.0
|-- <esp knx/ip/library=""> v0.5.1
| |-- <esp8266webserver> v1.0
| | |-- <esp8266wifi> v1.0
| |-- <eeprom> v1.0
| |-- <esp8266wifi> v1.0
|-- <esp8266httpupdate> v1.1
| |-- <esp8266wifi> v1.0
| |-- <esp8266httpclient> v1.1
| | |-- <esp8266wifi> v1.0
|-- <i2cdevlib-ads1115>
| |-- <i2cdevlib-core>
| | |-- <wire> v1.0
|-- <adafruit bme680/library=""> v1.0.5
| |-- <spi> v1.0
| |-- <wire> v1.0
| |-- <adafruit unified/sensor=""> v1.0.2
|-- <onewire> v2.3.2
|-- <pubsubclient> v2.6
|-- <ticker> v1.0
|-- <spi> v1.0
|-- <esp mqtt=""> v1.0.1
! |-- <irremoteesp8266> v2.2.1
|-- <joba_tsl2561> v2.0.1
| |-- <wire> v1.0
|-- <neopixelbus> v2.2.9
| |-- <spi> v1.0
|-- <esp8266wifi> v1.0
|-- <tasmotaserial> v2.0.0
|-- <arduinojson> v5.11.2
|-- <tasmotamqtt> v1.0.0
|-- <dnsserver> v1.1.0
| |-- <esp8266wifi> v1.0
|-- <adafruit sgp30/sensor=""> v1.0.2
| |-- <wire> v1.0
|-- <esp8266mdns>
| |-- <esp8266wifi> v1.0
|-- <esp8266httpclient> v1.1
| |-- <esp8266wifi> v1.0
Compiling .pioenvs\sonoff-DE\src\sonoff.ino.cpp.o
Linking .pioenvs\sonoff-DE\firmware.elf
Checking program size
text data bss dec hex filename
533611 11016 44248 588875 8fc4b .pioenvs\sonoff-DE\firmware.elf
Building .pioenvs\sonoff-DE\firmware.bin
Configuring upload protocol...
Looking for upload port...
Use manually specified: COM5
Uploading .pioenvs\sonoff-DE\firmware.bin
error: Failed to open COM5
error: espcomm_open failed
error: espcomm_upload_mem failed
*** [upload] Error -1
[ERROR] Took 8.53 seconds[SUMMARY]
Environment sonoff [SKIP]
Environment sonoff-minimal [SKIP]
Environment sonoff-classic [SKIP]
Environment sonoff-knx [SKIP]
Environment sonoff-allsensors [SKIP]
Environment sonoff-BG [SKIP]
Environment sonoff-BR [SKIP]
Environment sonoff-CN [SKIP]
Environment sonoff-CZ [SKIP]
Environment sonoff-ES [SKIP]
Environment sonoff-FR [SKIP]
Environment sonoff-GR [SKIP]
Environment sonoff-HU [SKIP]
Environment sonoff-IT [SKIP]
Environment sonoff-NL [SKIP]
Environment sonoff-PL [SKIP]
Environment sonoff-PT [SKIP]
Environment sonoff-RU [SKIP]
Environment sonoff-UK [SKIP]
Environment sonoff-TW [SKIP]
Environment sonoff-DE [ERROR]
[ERROR] Took 8.53 seconds</esp8266wifi></esp8266httpclient></esp8266wifi></esp8266mdns></wire></adafruit></esp8266wifi></dnsserver></tasmotamqtt></arduinojson></tasmotaserial></esp8266wifi></spi></neopixelbus></wire></joba_tsl2561></irremoteesp8266></esp></spi></ticker></pubsubclient></onewire></adafruit></wire></spi></adafruit></wire></i2cdevlib-core></i2cdevlib-ads1115></esp8266wifi></esp8266httpclient></esp8266wifi></esp8266httpupdate></esp8266wifi></eeprom></esp8266wifi></esp8266webserver></esp></esp8266wifi></esp8266webserver></esp8266wifi></esp8266mdns></esp8266wifi></arduinoota></wire></mutichannel_gas_sensor></wire> -
Kann mir wer sagen was das für ein Fehler ist?
! ````
Assembler messages:
Fatal error: can't create .pioenvs\sonoff-DE\src\sonoff.ino.cpp.o: No such file or directory
! *** [.pioenvs\sonoff-DE\src\sonoff.ino.cpp.o] Error 1
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden: 'C:\Users\marku\Downloads\Sonoff-Tasmota-development1\Sonoff-Tasmota-development\.pioenvs\.sconsign.dblite':
File "C:\Users\marku.platformio\packages\tool-scons\script..\engine\SCons\Script\Main.py", line 1346:
_exec_main(parser, values)Was habe ich da wieder falsch gemacht Bitte um Hilfe. Danke
-
Das System kann die angegebene Datei nicht finden:
Steht doch da, das der Pfad ins leere läuft. Schmeiß mal alles raus und öffne den Projekt Ordner neu. Bei Atom auch mal auf den Mülleimer oben klicken, dann sollte das wieder passen
-
Schmeiß mal alles raus und öffne den Projekt Ordner neu. Bei Atom auch mal auf den Mülleimer oben klicken, dann sollte das wieder passen `
habe ich schon gefühlt 100mal gemacht aber immer das gleiche…Habe den Speicherort schon geändert ….
und das gleich...
Atom auch schon neu installiert...
Auf einem anderen Rechner das ganze probiert...
immer ERROR
ich weiß nicht mehr was ich ton soll!!
Bitte um Hilfe.
-
Nur mal so zum Testen - der Pfad kommt mit sehr lang vor - Probier mal einen kürzeren Pfad.
LG
-
Hallo
Ich melde mich dann wieder mal mit dem selben Problem!!
Beim letzten mal habe ich dabei Sonoff Datei auf dem Bildschirm gespeichert und dann ging es!!
Nun möchte ich wieder mal mit der selben Einstellung einen Sonoff Basic neu flashen…
der wurde schon mal geflasht und hat funktioniert.
Nun möchte ich eine neu Tasmota drauf flashen….
Ich habe die selbe Datei wie beim letzten mal (aber schon neuer als die alte)
Bekomme aber immer ERROR
! ````
Checking size .pioenvs\sonoff-DE\firmware.elf
! Memory Usage -> http://bit.ly/pio-memory-usage
DATA: [======= ] 67.5% (used 55264 bytes from 81920 bytes)
PROGRAM: [===== ] 51.9% (used 544643 bytes from 1048576 bytes)
Configuring upload protocol...
Looking for upload port...
Use manually specified: COM4
Uploading .pioenvs\sonoff-DE\firmware.bin
*** [upload] Error -1
error: Failed to open COM4
error: espcomm_open failed
error: espcomm_upload_mem failed
[ERROR] Took 13.95 seconds[SUMMARY]
Environment sonoff [SKIP]
Environment sonoff-minimal [SKIP]
Environment sonoff-classic [SKIP]
Environment sonoff-knx [SKIP]
Environment sonoff-allsensors [SKIP]
Environment sonoff-BG [SKIP]
Environment sonoff-BR [SKIP]
Environment sonoff-CN [SKIP]
Environment sonoff-CZ [SKIP]
Environment sonoff-ES [SKIP]
Environment sonoff-FR [SKIP]
Environment sonoff-GR [SKIP]
Environment sonoff-HU [SKIP]
Environment sonoff-IT [SKIP]
Environment sonoff-NL [SKIP]
Environment sonoff-PL [SKIP]
Environment sonoff-PT [SKIP]
Environment sonoff-RU [SKIP]
Environment sonoff-UK [SKIP]
Environment sonoff-TW [SKIP]
Environment sonoff-DE [ERROR]
[ERROR] Took 13.96 secondsWo liegt da der fehler?? Ich habe mir die Aktuelle Tasmota von git geladen… aber immer ERROR >! ```` my_user_config.h platformio.ini 1 >! ; PlatformIO Project Configuration File ; ; Build options: build flags, source filter, extra scripting ; Upload options: custom port, speed and extra flags ; Library options: dependencies, extra library storages ; ; Please visit documentation for the other options and examples ; http://docs.platformio.org/en/stable/projectconf.html [platformio] src_dir = sonoff >! 18.1 s platformio run --target upload Checking size .pioenvs\sonoff-DE\firmware.elf Building .pioenvs\sonoff-DE\firmware.bin Memory Usage -> http://bit.ly/pio-memory-usage DATA: [======= ] 67.6% (used 55352 bytes from 81920 bytes) PROGRAM: [===== ] 48.0% (used 503331 bytes from 1048576 bytes) Configuring upload protocol... Looking for upload port... >! Use manually specified: COM4 Uploading .pioenvs\sonoff-DE\firmware.bin error: Failed to open COM4 error: espcomm_open failed error: espcomm_upload_mem failed *** [upload] Error -1 [ERROR] Took 17.52 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-ES [SKIP] Environment sonoff-FR [SKIP] Environment sonoff-GR [SKIP] Environment sonoff-HE [SKIP] Environment sonoff-HU [SKIP] Environment sonoff-IT [SKIP] Environment sonoff-NL [SKIP] Environment sonoff-PL [SKIP] Environment sonoff-PT [SKIP] Environment sonoff-RU [SKIP] Environment sonoff-TR [SKIP] Environment sonoff-TW [SKIP] Environment sonoff-UK [SKIP] Environment sonoff-DE [ERROR] [ERROR] Took 17.52 seconds
Bitte um Hilfe!!
Danke
-
Habs jetzt noch mit einem neuen Sonoff Basic probiert!
Immer der gleiche Fehler.
Was mach ich falsch?
-
Failed to open COM Port!
Du verwendest den falschen COM Port.
Schau mal in der Systemsteuerung an welchem dein Sonoff angeschlossen ist.
LG
-
-
Danke das wars!
Kann mir zwar nicht erklären das es plötzlich ein anderer COM ist aber gut so.
Hir wird man geholfen!!
Echt tolle unterstützung!!
Danke
-
Hi,
Ich habe das selbe Problem aber ich weiß nicht was ich dann hinschreiben soll Weil z.B. COM10 Hat nicht funktioniert.
-
Kannst du Dir in Serial Monitor / List Serial Ports anzeigen lassen , welcher Port überhaupt vorhanden ist .
-
Es ist der hier Weil ich mit einem Arduino Nano Arbeite.
-
OK, Danke jetzt funktioniert es dadurch das ich jetzt den/das richtige Com ausgewählt habe Denn in der Systemsteuerung steht Com 10
-
Beim flashen mit Atom oder VSC kommt jedes mal dieses Fehlermeldung, sowohl auf meinem PC als auch auf einem anderen PC, wo Atom und VSC neu installiert wurden.
habe bereits Atom neu installiert, die Tasmota Software neu heruntergeladen und weiß nicht weiter.> Executing task: platformio.exe run < Warning! `env_default` configuration option in section [platformio] is deprecated and will be removed in the next release! Please use `default_envs` instead Processing sonoff-DE (framework: arduino; platform: espressif8266@1.5.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 1.5.0 > Espressif Generic ESP8266 ESP-01 1M HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash PACKAGES: toolchain-xtensa 1.40802.0 (4.8.2), tool-esptool 1.409.0 (4.9), framework-arduinoespressif8266 1.20300.1 (2.3.0) Converting sonoff.ino LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 52 compatible libraries Scanning dependencies... Dependency Graph |-- <ESP8266WiFi> 1.0 |-- <TasmotaModbus> 1.1.0 | |-- <TasmotaSerial> 2.3.0 ... |-- <Adafruit GFX Library> 1.2.9 | |-- <SPI> 1.0 |-- <I2Cdevlib-MPU6050> | |-- <I2Cdevlib-Core> | | |-- <Wire> 1.0 |-- <BME680_driver-bme680_v3.5.9> Compiling .pio\build\sonoff-DE\src\sonoff.ino.cpp.o Linking .pio\build\sonoff-DE\firmware.elf c:/users/pc/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\sonoff-DE\firmware.elf section `.text' will not fit in region `iram1_0_seg' collect2.exe: error: ld returned 1 exit status *** [.pio\build\sonoff-DE\firmware.elf] Error 1 =============================================================================================== [ERROR] Took 12.07 seconds =============================================================================================== ======================================================================================================= [SUMMARY] ======================================================================================================= Environment sonoff [IGNORED] Environment sonoff-minimal [IGNORED] Environment sonoff-basic [IGNORED] Environment sonoff-classic [IGNORED] Environment sonoff-knx [IGNORED] Environment sonoff-sensors [IGNORED] Environment sonoff-display [IGNORED] Environment sonoff-BG [IGNORED] Environment sonoff-BR [IGNORED] Environment sonoff-CN [IGNORED] Environment sonoff-CZ [IGNORED] Environment sonoff-DE [FAILED] Environment sonoff-ES [IGNORED] Environment sonoff-FR [IGNORED] Environment sonoff-GR [IGNORED] Environment sonoff-HE [IGNORED] Environment sonoff-HU [IGNORED]
Atom funktionier bei mir garnicht mehr: bleibt bei Neuinstallation bei "Atom dependencies" hängen.
-
@PhilippG sagte in [gelöst] Sonoff Error beim flashen mit Atom:
Atom funktionier bei mir garnicht mehr: bleibt bei Neuinstallation bei "Atom dependencies" hängen.
https://forum.iobroker.net/topic/14734/probleme-mit-der-installation-von-atom/5
Hast du keine fertige Firmware.bin Datei , was möchtest du denn machen.
-
@PhilippG
Hatte ich auch und Atom nun endgültig runter geschmissen. VSC hatte auch zuerst Probleme, hab mir dann die aktuelle Version runter geladen und damit läuft es wieder. Kann auch sein, dass VSC erst noch was nach installiert und es erst beim zweiten Versuch kompiliert.