Forum: Haus & Smart Home EMS > ESP8266-12 WLAN-Modul (2021)


von Andreas R. (andreasr)


Lesenswert?

Hallo Juergen O.

sorry dass ich den Thread (Beitrag "EMS > ESP8266-12 WLAN-Modul") 
nochmal ausgrabe. Irgendwie bekomme ich den ESP8266 nicht ans Laufen. 
Ich wollte die SW erst mal an einem D1 mini Board testen. Scheinbar 
hängt der Controller in einer Boot-Schleife; es wiederholt sich immer 
wieder (Ausgabe Seriell):

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0

2nd boot version : 1.4(b1)
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size & Map: 4Mbit(256KB+256KB)
jump to run user1 @ 1000

Geflasht habe ich den Inhalt von ems-esp-link-stable, 
ems-esp-link-stable\ems-link.tgz:

C:\Users\andreas\AppData\Roaming\Python\Python39\Scripts>esptool.py.exe 
--port COM4 write_flash 0x00000 C:\Temp\ems\boot_v1.4(b1).bin 0x01000 
C:\Temp\ems\user1.bin 0x3FE000 C:\Temp\ems\blank.bin 0x7FE000 
C:\Temp\ems\blank.bin
esptool.py v3.2
Serial port COM4
Connecting....
Detecting chip type... Unsupported detection protocol, switching and 
trying again...
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: cc:50:e3:17:8f:86
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00000fff...
Flash will be erased from 0x00001000 to 0x0003afff...
Flash will be erased from 0x003fe000 to 0x003fefff...
Flash will be erased from 0x007fe000 to 0x007fefff...
Compressed 2752 bytes to 2007...
Wrote 2752 bytes (2007 compressed) at 0x00000000 in 0.2 seconds 
(effective 92.5 kbit/s)...
Hash of data verified.
Compressed 235076 bytes to 176420...
Wrote 235076 bytes (176420 compressed) at 0x00001000 in 15.6 seconds 
(effective 120.2 kbit/s)...
Hash of data verified.
Compressed 4096 bytes to 26...
Wrote 4096 bytes (26 compressed) at 0x003fe000 in 0.0 seconds (effective 
819.7 kbit/s)...
Hash of data verified.
Compressed 4096 bytes to 26...
Wrote 4096 bytes (26 compressed) at 0x007fe000 in 0.0 seconds (effective 
825.4 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...



@Juergen O. (strolch):
Hast du eine Ahnung warum der Controller immer wieder neu bootet?
Es wird auch kein WLAN-Netz aufgespannt.

Viele Grüße, Andreas

von Juergen O. (strolch)


Lesenswert?

Hallo Andreas,

meist taucht dieses Problem auf wenn in der IDE die Parameter nicht 
stimmen, sprich das Binary ab $1000 nicht für $1000 kompiliert wurde 
oder die Libs nicht zur IDE passen.
Da ich
a) nicht weiss wie du zu diesem Binary gekommen bist
b) mit Windows absolut nix am Hut habe
c) das Repo schon mumifiziert ist
empfehle ich dir auf EMS-ESP zu gehen, da die Jungs auch ein sauber 
gepflegtes Wiki / Doc haben.

https://github.com/emsesp/EMS-ESP

Ich selbst verwende EMS-ESP - habe da vor Jahren mitgebastelt - und kann 
es nur empfehlen.

Beste Grüße
Jürgen

von Andreas R. (andreasr)


Lesenswert?

Hallo Jürgen, danke für die Antwort, leider komme ich erst jetzt zum 
Lesen :-(
Ist die SW auch für einen Buderus Logamax GB12 aus dem Jahre 2002 
geeignet?
Als Bus-Koppler habe ich diese HW: 
Beitrag "EMS > ESP8266-12 WLAN-Modul"

Viele Grüße und ein frohes neues Jahr, Andreas

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.