Skip to content

Can't connect Access point #1631

@chryss44

Description

@chryss44

I have try to compile 1.13.3 and program it on Sonoff Basic with success (esptool).
I have just modified Hardware on Sonoff Basic to put another button.
When i reboot, everything is perfect on serial log except "[MDNS] Fail" and can't access AP with password :-(
Boot log

`[000161] [MAIN] ESPURNA 1.13.3
[000161] [MAIN] xose.perez@gmail.com
[000161] [MAIN] http://tinkerman.cat

[000162] [MAIN] CPU chip ID: 0x8B0103
[000164] [MAIN] CPU frequency: 80 MHz
[000167] [MAIN] SDK version: 3.0.0-dev(c0f7b44)
[000171] [MAIN] Core version: 2.5.0
[000174] [MAIN] Core revision: 2501570554
[000178]
[000179] [MAIN] Flash chip ID: 0x14405E
[000182] [MAIN] Flash speed: 40000000 Hz
[000186] [MAIN] Flash mode: DOUT
[000189]
[000190] [MAIN] Flash size (CHIP) : 1048576 bytes / 256 sectors ( 0 to 255)
[000197] [MAIN] Flash size (SDK) : 1048576 bytes / 256 sectors ( 0 to 255)
[000204] [MAIN] Reserved : 4096 bytes / 1 sectors ( 0 to 0)
[000211] [MAIN] Firmware size : 528048 bytes / 129 sectors ( 1 to 129)
[000218] [MAIN] Max OTA size : 495616 bytes / 121 sectors ( 130 to 250)
[000226] [MAIN] EEPROM size : 4096 bytes / 1 sectors ( 251 to 251)
[000233] [MAIN] Reserved : 16384 bytes / 4 sectors ( 252 to 255)
[000240]
[000241] [MAIN] EEPROM sectors: 251, 250
[000244] [MAIN] EEPROM current: 251
[000247]
[000248] [MAIN] EEPROM: 4096 bytes initially | 180 bytes used ( 4) | 3916 bytes free (95)
[000258] [MAIN] Heap : 43088 bytes initially | 5552 bytes used (12) | 37536 bytes free (87)
[000265] [MAIN] Stack : 4096 bytes initially | 1124 bytes used (27) | 2972 bytes free (72)
[000273]
[000274] [MAIN] Boot version: 31
[000277] [MAIN] Boot mode: 1
[000279] [MAIN] Last reset reason: Power on
[000283] [MAIN] Last reset info: flag: 0
[000286]
[000288] [MAIN] Board: ITEAD_SONOFF_BASIC_2
[000291] [MAIN] Support: ALEXA API BROKER BUTTON DEBUG_SERIAL DEBUG_TELNET DEBUG_WEB DOMOTICZ HOMEASSISTANT LED MDNS_SERVER MQTT NTP SCHEDULER TELNET TERMINAL THINGSPEAK WEB
[000306] [MAIN] WebUI image: SMALL
[000309]
[000549] [MAIN] Firmware MD5: f4258c5dd6b170dfc84ba547f22f8a4b
[000550] [MAIN] Power: 4466 mV
[000551] [MAIN] Power saving delay value: 10 ms
[000551]

---8<-------

[000563] [TELNET] Listening on port 23
[000565] [WEBSERVER] Webserver running on port 80
[000569] [RELAY] Retrieving mask: 255
[000570] [RELAY] Relay #0 boot mode 0
[000571] [RELAY] Relay #1 boot mode 0
[000572] [RELAY] #0 set to OFF
[000574] [RELAY] #1 set to OFF
[000578] [RELAY] Number of relays: 2
[000580] [BUTTON] Number of buttons: 2
[000583] [LED] Number of leds: 1
[000586] [MQTT] Async ENABLED, SSL DISABLED, Autoconnect ENABLED
[000600] [THINGSPEAK] Async ENABLED, SSL DISABLED
[000614] [MAIN] Uptime: 0 seconds
[000615] [MAIN] Heap : 43088 bytes initially | 11936 bytes used (27) | 31152 bytes free (72)
[000617] [MAIN] Power: 4466 mV
[000638] [WIFI] Creating access point
[000700] [WIFI] Captive portal enabled
[000702] [WIFI] -------------------------------------- MODE AP
[000703] [WIFI] SSID ESPURNA-8B0103
[000703] [WIFI] PASS fibonacci
[000705] [WIFI] IP 192.168.4.1
[000708] [WIFI] MAC 6A:C6:3A:8B:01:03
[000711] [WIFI] ----------------------------------------------
[000717] [MDNS] FAIL
[001576] [RELAY] Setting relay mask: 0`

Ok, i decide to download official 1.13.5 Sonoff Basic and program it.
Reboot end have same problem
boot log

`[000178] [MAIN] ESPURNA 1.13.5 (83195fd)
[000178] [MAIN] xose.perez@gmail.com
[000179] [MAIN] http://tinkerman.cat

[000179] [MAIN] CPU chip ID: 0x8B0103
[000182] [MAIN] CPU frequency: 80 MHz
[000186] [MAIN] SDK version: 1.5.3(aec24ac9)
[000190] [MAIN] Core version: 2.3.0
[000193] [MAIN] Core revision: 159542381
[000196]
[000197] [MAIN] Flash chip ID: 0x14405E
[000201] [MAIN] Flash speed: 40000000 Hz
[000204] [MAIN] Flash mode: DOUT
[000207]
[000208] [MAIN] Flash size (CHIP) : 1048576 bytes / 256 sectors ( 0 to 255)
[000215] [MAIN] Flash size (SDK) : 1048576 bytes / 256 sectors ( 0 to 255)
[000222] [MAIN] Reserved : 4096 bytes / 1 sectors ( 0 to 0)
[000230] [MAIN] Firmware size : 473536 bytes / 116 sectors ( 1 to 116)
[000237] [MAIN] Max OTA size : 548864 bytes / 134 sectors ( 117 to 250)
[000244] [MAIN] EEPROM size : 4096 bytes / 1 sectors ( 251 to 251)
[000251] [MAIN] Reserved : 16384 bytes / 4 sectors ( 252 to 255)
[000258]
[000260] [MAIN] EEPROM sectors: 251, 250
[000263] [MAIN] EEPROM current: 251
[000266]
[000267] [MAIN] EEPROM: 4096 bytes initially | 225 bytes used ( 5%) | 3871 bytes free (94%)
[000276] [MAIN] Heap : 36136 bytes initially | 5328 bytes used (14%) | 30808 bytes free (85%)
[000284] [MAIN] Stack : 4096 bytes initially | 720 bytes used (17%) | 3376 bytes free (82%)
[000292]
[000293] [MAIN] Boot version: 31
[000296] [MAIN] Boot mode: 1
[000298] [MAIN] Last reset reason: Power on
[000302] [MAIN] Last reset info: flag: 0
[000305]
[000306] [MAIN] Board: ITEAD_SONOFF_BASIC
[000310] [MAIN] Support: ALEXA API BROKER BUTTON DEBUG_SERIAL DEBUG_TELNET DEBUG_WEB DOMOTICZ HOMEASSISTANT LED MDNS_SERVER MQTT NTP SCHEDULER TELNET TERMINAL THINGSPEAK WEB
[000325] [MAIN] WebUI image: SMALL
[000328]
[000544] [MAIN] Firmware MD5: f0de0373a76d7960e0eb4e25d91dc0cf
[000544] [MAIN] Power: 4094 mV
[000545] [MAIN] Power saving delay value: 1 ms
[000545] [MAIN] WiFi Sleep Mode: MODEM
[000548]

---8<-------

[000557] [TELNET] Listening on port 23
[000558] [WEBSERVER] Webserver running on port 80
[000561] [RELAY] Retrieving mask: 255
[000562] [RELAY] Relay #0 boot mode 0
[000565] [RELAY] #0 set to OFF
[000568] [RELAY] Number of relays: 1
[000571] [BUTTON] Number of buttons: 2
[000574] [LED] Number of leds: 1
[000577] [MQTT] Async ENABLED, SSL DISABLED, Autoconnect ENABLED
[000589] [THINGSPEAK] Async ENABLED, SSL DISABLED
[000647] [WIFI] Creating access point
[000737] [WIFI] Captive portal enabled
[000738] [WIFI] -------------------------------------- MODE AP
[000738] [WIFI] SSID ESPURNA-8B0103
[000739] [WIFI] PASS fibonacci
[000741] [WIFI] IP 192.168.4.1
[000744] [WIFI] MAC 6A:C6:3A:8B:01:03
[000748] [WIFI] ----------------------------------------------
[000754] [MDNS] OK
[001568] [RELAY] Setting relay mask: 0
`

I try to compile with 1.13.5 and same problem :-(
Boot Log

` ets Jan 8 2013,rst cause:1, boot mode:(3,7)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v951aeffa
~ld
[000129]

---8<-------

[000130] [MAIN] ESPURNA 1.13.5
[000130] [MAIN] xose.perez@gmail.com
[000130] [MAIN] http://tinkerman.cat

[000130] [MAIN] CPU chip ID: 0x8B0103
[000133] [MAIN] CPU frequency: 80 MHz
[000136] [MAIN] SDK version: 3.0.0-dev(c0f7b44)
[000140] [MAIN] Core version: 2.5.0
[000144] [MAIN] Core revision: 2501570554
[000147]
[000148] [MAIN] Flash chip ID: 0x14405E
[000152] [MAIN] Flash speed: 40000000 Hz
[000155] [MAIN] Flash mode: DOUT
[000158]
[000159] [MAIN] Flash size (CHIP) : 1048576 bytes / 256 sectors ( 0 to 255)
[000166] [MAIN] Flash size (SDK) : 1048576 bytes / 256 sectors ( 0 to 255)
[000173] [MAIN] Reserved : 4096 bytes / 1 sectors ( 0 to 0)
[000181] [MAIN] Firmware size : 537840 bytes / 132 sectors ( 1 to 132)
[000188] [MAIN] Max OTA size : 483328 bytes / 118 sectors ( 133 to 250)
[000195] [MAIN] EEPROM size : 4096 bytes / 1 sectors ( 251 to 251)
[000202] [MAIN] Reserved : 16384 bytes / 4 sectors ( 252 to 255)
[000209]
[000210] [MAIN] EEPROM sectors: 251, 250
[000214] [MAIN] EEPROM current: 250
[000217]
[000218] [MAIN] EEPROM: 4096 bytes initially | 180 bytes used ( 4%) | 3916 bytes free (95%)
[000227] [MAIN] Heap : 42216 bytes initially | 5624 bytes used (13%) | 36592 bytes free (86%)
[000234] [MAIN] Stack : 4096 bytes initially | 976 bytes used (23%) | 3120 bytes free (76%)
[000242]
[000243] [MAIN] Boot version: 31
[000246] [MAIN] Boot mode: 1
[000249] [MAIN] Last reset reason: Power on
[000253] [MAIN] Last reset info: flag: 0
[000256]
[000257] [MAIN] Board: ITEAD_SONOFF_BASIC_2
[000261] [MAIN] Support: ALEXA API BROKER BUTTON DEBUG_SERIAL DEBUG_TELNET DEBUG_WEB DOMOTICZ HOMEASSISTANT LED MDNS_SERVER MQTT NTP SCHEDULER TELNET TERMINAL THINGSPEAK WEB
[000276] [MAIN] WebUI image: SMALL
[000279]
[000524] [MAIN] Firmware MD5: c8ba883b40ed37833f4cd7e65f96da33
[000525] [MAIN] Power: 4466 mV
[000525] [MAIN] Power saving delay value: 1 ms
[000526] [MAIN] WiFi Sleep Mode: MODEM
[000528]

---8<-------

[000543] [TELNET] Listening on port 23
[000545] [WEBSERVER] Webserver running on port 80
[000551] [RELAY] Retrieving mask: 255
[000552] [RELAY] Relay #0 boot mode 0
[000553] [RELAY] Relay #1 boot mode 0
[000554] [RELAY] #0 set to OFF
[000555] [RELAY] #1 set to OFF
[000558] [RELAY] Number of relays: 2
[000560] [BUTTON] Number of buttons: 2
[000564] [LED] Number of leds: 1
[000566] [MQTT] Async ENABLED, SSL DISABLED, Autoconnect ENABLED
[000582] [THINGSPEAK] Async ENABLED, SSL DISABLED
[000634] [WIFI] Creating access point
[000697] [WIFI] Captive portal enabled
[000698] [WIFI] -------------------------------------- MODE AP
[000699] [WIFI] SSID ESPURNA-8B0103
[000700] [WIFI] PASS fibonacci
[000702] [WIFI] IP 192.168.4.1
[000705] [WIFI] MAC 6A:C6:3A:8B:01:03
[000708] [WIFI] ----------------------------------------------
[000714] [MDNS] FAIL
[001557] [RELAY] Setting relay mask: 0`

I have try with 1.13.2 and CORE 2.4.2...same issue.
Serious problem on news librairies, no ?

The only stable release i have is 1.13.2.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions