hello,
after a big pause , i try again to use my ESP32 with my Wifi LAN
All application made in 2022 was Working in 2022 …and no more in 2023 ….2024
i try this application (dated 2022)
_ESP32_HTTP_GET_OpenWeatherMap.ino
Loading is OK ..
but start give me this result
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:13260
load:0x40080400,len:3028
entry 0x400805e4
E (302) esp_core_dump_flash:
does it means, somme parts of firmware are corrupted or absent ?
How to reload original ESP32 firmware ?
With ESPTOOL ?
but wich et how many *.bin to reload ?
Nota : this ESP is OK with Wifiscan !!!
i tried also an application wit DASH librairie
it is OK , using a Hot spot Wifi on my Phone
i also can connect on this local Lan with my PC ..
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:13260
load:0x40080400,len:3028
entry 0x400805e4
Config Board: DOIT ESP32 DEVKIT V1
_ESP32_DASH_test_2024.ino
Version : 28/01/2024
Hardware : ESP32 Rouge Vromm32 Devkitv1 30 pins
PWM (8b) test sur Led Verte 15
Sensor DHT11-AM2302 sur D5 !)
DHT11 Temp.: 18.80
Humid : 51.20
AM2302 sensor
Temperature : 18.80 Humidity: 51.20
SSID : Redmi4Esp32
PWD : Frisco1983
. IP Address: 192.168.86.145
Start AsyncWebServer 0 , AM2302 Temp.=18.80 , Humid.=51.20
1 , AM2302 Temp.=18.90 , Humid.=51.30
2 , AM2302 Temp.=18.90 , Humid.=51.30
3 , AM2302 Temp.=18.80 , Humid.=50.10
4 , AM2302 Temp.=18.80 , Humid.=50.10
5 , AM2302 Temp.=18.90 , Humid.=50.10
BP1 Cde Led Bleue: true
6 , AM2302 Temp.=18.90 , Humid.=50.10
7 , AM2302 Temp.=18.90 , Humid.=50.30
8 , AM2302 Temp.=18.90 , Humid.=50.30
BP2 Cde Led Rouge: true
9 , AM2302 Temp.=18.90 , Humid.=50.30
10 , AM2302 Temp.=18.90 , Humid.=50.30
BP1 Cde Led Bleue: false
11 , AM2302 Temp.=18.90 , Humid.=50.30
12 , AM2302 Temp.=18.90 , Humid.=50.30
13 , AM2302 Temp.=18.90 , Humid.=50.30
BP2 Cde Led Rouge: false;
could my ESP be configured for JPN region channel 14 …
so inaccessible with my WIFI Freebox, and OK with a local Hotspot Wifi ?
nota :
other application with ESP8266 works OK in 2023 and 2024 ,
i can join / connect on my PC WIFI …
very strange problem ..
Hello,
With FLASH_download_tool_3.9.3, i reloaded this file
ESP32-WROOM-32-V2.4.0.0\factory\factory_WROOM-32.bin sucesfully
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 115200
Changed.
FLASH_CRYPT_CNT 0
ABS_DONE_0 False
test offset : 0 0x0
case ok
..
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 115200
Changed.
FLASH_CRYPT_CNT 0
ABS_DONE_0 False
Compressed 4194304 bytes to 960513… <— seems OK !!!
is stub and send flash finish
and get infos :
AP: 7C9EBD5472F5
STA: 7C9EBD5472F4
BT: 7C9EBD5472F6
then Using YAT Terminal PC
and pushing BP Reset on ESP32
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7672
load:0x40078000,len:16432
load:0x40080400,len:3704
entry 0x4008067c
[0;32mI (27) boot: ESP-IDF qa-test-v4.3.3-20220423 2nd stage bootloader[0m
[0;32mI (27) boot: compile time 11:11:52[0m
[0;32mI (27) boot: chip revision: 1[0m
[0;32mI (31) boot_comm: chip revision: 1, min. bootloader chip revision: 0[0m
[0;32mI (38) boot.esp32: SPI Speed : 40MHz[0m
[0;32mI (43) boot.esp32: SPI Mode : DIO[0m
[0;32mI (47) boot.esp32: SPI Flash Size : 4MB[0m
[0;32mI (52) boot: Enabling RNG early entropy source…[0m
[0;32mI (57) boot: Partition Table:[0m
[0;32mI (61) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (68) boot: 0 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (76) boot: 1 otadata OTA data 01 00 00010000 00002000[0m
[0;32mI (83) boot: 2 nvs WiFi data 01 02 00012000 0000e000[0m
[0;32mI (91) boot: 3 at_customize unknown 40 00 00020000 000e0000[0m
[0;32mI (98) boot: 4 ota_0 OTA app 00 10 00100000 00180000[0m
[0;32mI (106) boot: 5 ota_1 OTA app 00 11 00280000 00180000[0m
[0;32mI (113) boot: End of partition table[0m
[0;32mI (117) boot: No factory image, trying OTA 0[0m
[0;32mI (122) boot_comm: chip revision: 1, min. application chip revision: 0[0m
[0;32mI (130) esp_image: segment 0: paddr=00100020 vaddr=3f400020 size=295d8h (169432) map[0m
[0;32mI (200) esp_image: segment 1: paddr=00129600 vaddr=3ffbdb60 size=04474h ( 17524) load[0m
[0;32mI (207) esp_image: segment 2: paddr=0012da7c vaddr=40080000 size=0259ch ( 9628) load[0m
[0;32mI (211) esp_image: segment 3: paddr=00130020 vaddr=400d0020 size=111630h (1119792) map[0m
[0;32mI (619) esp_image: segment 4: paddr=00241658 vaddr=4008259c size=1b568h (111976) load[0m
[0;32mI (665) esp_image: segment 5: paddr=0025cbc8 vaddr=400c0000 size=00064h ( 100) load[0m
[0;32mI (666) esp_image: segment 6: paddr=0025cc34 vaddr=50000000 size=00010h ( 16) load[0m
[0;32mI (685) boot: Loaded app from partition at offset 0x100000[0m
[0;32mI (728) boot: Set actual ota_seq=1 in otadata[0][0m
[0;32mI (728) boot: Disabling RNG early entropy source…[0m
module_name:WROOM-32
max tx power=78,ret=0
2.4.0
on my PC computer
a new WIFI LAN appeared ! ………. Without loading any application ???
ESP_5472F5
reseau privé
SSID : ESP_5472F5 <– AP Soft_AP !!!
Protocole : Wi-Fi 4 (802.11n)
Type de sécurité : Ouvrir
Bande passante réseau : 2,4 GHz
Canal réseau : 1
Adresse IPv6 locale du lien : fe80::81c5:3ea2:b670:1ad9%21
Adresse IPv4 : 192.168.4.2
Serveurs DNS IPv4 : 212.27.40.241
212.27.40.240
Fabricant : Ralink Technology, Corp.
Description : 802.11n Wireless LAN Card
Version du pilote : 5.0.57.1
Adresse physique (MAC) : 20-68-9D-04-2B-CF
Without adding any application software
I suppose Password is ” ” or NULL ? because Open WIFI …
WIFI Name contains the last 6 digits of MAC Adress
AP: 7C9EBD5472F5 <—–> ESP_5472F5
After ,i try to reload my last application with DASH …
Now , my Program crash when it start to connect to wifi ! (WIFI STA) !!!
Temperature : ??? Humidity: ???
SSID : Redmi4Esp32
PWD : Frisco1983
……………………………
……………………………
……………….. IP Address: 192.168.86.145
Start AsyncWebServer CORRUPT HEAP: Bad head at 0x3ffd0a0c. Expected 0xabba1234 got 0x3ffc872c
assert failed: multi_heap_free multi_heap_poisoning.c:259 (head != NULL)Backtrace: 0x40083771:0x3ffb1f50 0x4008be51:0x3ffb1f70 0x400915a5:0x3ffb1f90 0x4009119d:0x3ffb20c0 0x40083ce1:0x3ffb20e0 0x400915d5:0x3ffb2100 0x40145355:0x3ffb2120 0x400d57b8:0x3ffb2140 0x400dcfcd:0x3ffb2160 0x400d3392:0x3ffb2180 0x400e0cf2:0x3ffb2290
ELF file SHA256: 8a0712f4ae15b049
Rebooting…
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13232
load:0x40080400,len:3028
entry 0x400805e4
Config Board: DOIT ESP32 DEVKIT V1
i don’t know if i upload the right *.bin file into this ESP32 …
Aduino 1.8.19 IDE tell me , about the board
Arduino
Board info
BN: LilyGo T-Display …. from where is comming this info
VID: 1a86
PID: 55d4
SN: 52BF027558
Could sommeone give me a link to upload the correct *.bin file to upload ?
Hello,
With FLASH_download_tool_3.9.3, i reloaded this file
ESP32-WROOM-32-V2.4.0.0\factory\factory_WROOM-32.bin sucesfully
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 115200
Changed.
FLASH_CRYPT_CNT 0
ABS_DONE_0 False
test offset : 0 0x0
case ok
..
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 115200
Changed.
FLASH_CRYPT_CNT 0
ABS_DONE_0 False
Compressed 4194304 bytes to 960513… <— seems OK !!!
is stub and send flash finish
and get infos :
AP: 7C9EBD5472F5
STA: 7C9EBD5472F4
BT: 7C9EBD5472F6
then Using YAT Terminal PC
and pushing BP Reset on ESP32
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7672
load:0x40078000,len:16432
load:0x40080400,len:3704
entry 0x4008067c
[0;32mI (27) boot: ESP-IDF qa-test-v4.3.3-20220423 2nd stage bootloader[0m
[0;32mI (27) boot: compile time 11:11:52[0m
[0;32mI (27) boot: chip revision: 1[0m
[0;32mI (31) boot_comm: chip revision: 1, min. bootloader chip revision: 0[0m
[0;32mI (38) boot.esp32: SPI Speed : 40MHz[0m
[0;32mI (43) boot.esp32: SPI Mode : DIO[0m
[0;32mI (47) boot.esp32: SPI Flash Size : 4MB[0m
[0;32mI (52) boot: Enabling RNG early entropy source…[0m
[0;32mI (57) boot: Partition Table:[0m
[0;32mI (61) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (68) boot: 0 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (76) boot: 1 otadata OTA data 01 00 00010000 00002000[0m
[0;32mI (83) boot: 2 nvs WiFi data 01 02 00012000 0000e000[0m
[0;32mI (91) boot: 3 at_customize unknown 40 00 00020000 000e0000[0m
[0;32mI (98) boot: 4 ota_0 OTA app 00 10 00100000 00180000[0m
[0;32mI (106) boot: 5 ota_1 OTA app 00 11 00280000 00180000[0m
[0;32mI (113) boot: End of partition table[0m
[0;32mI (117) boot: No factory image, trying OTA 0[0m
[0;32mI (122) boot_comm: chip revision: 1, min. application chip revision: 0[0m
[0;32mI (130) esp_image: segment 0: paddr=00100020 vaddr=3f400020 size=295d8h (169432) map[0m
[0;32mI (200) esp_image: segment 1: paddr=00129600 vaddr=3ffbdb60 size=04474h ( 17524) load[0m
[0;32mI (207) esp_image: segment 2: paddr=0012da7c vaddr=40080000 size=0259ch ( 9628) load[0m
[0;32mI (211) esp_image: segment 3: paddr=00130020 vaddr=400d0020 size=111630h (1119792) map[0m
[0;32mI (619) esp_image: segment 4: paddr=00241658 vaddr=4008259c size=1b568h (111976) load[0m
[0;32mI (665) esp_image: segment 5: paddr=0025cbc8 vaddr=400c0000 size=00064h ( 100) load[0m
[0;32mI (666) esp_image: segment 6: paddr=0025cc34 vaddr=50000000 size=00010h ( 16) load[0m
[0;32mI (685) boot: Loaded app from partition at offset 0x100000[0m
[0;32mI (728) boot: Set actual ota_seq=1 in otadata[0][0m
[0;32mI (728) boot: Disabling RNG early entropy source…[0m
module_name:WROOM-32
max tx power=78,ret=0
2.4.0
on my PC computer
a new WIFI LAN appeared !
ESP_5472FS
reseau privé
SSID : ESP_5472F5 <– AP Soft_AP !!!
Protocole : Wi-Fi 4 (802.11n)
Type de sécurité : Ouvrir
Bande passante réseau : 2,4 GHz
Canal réseau : 1
Adresse IPv6 locale du lien : fe80::81c5:3ea2:b670:1ad9%21
Adresse IPv4 : 192.168.4.2
Serveurs DNS IPv4 : 212.27.40.241
212.27.40.240
Fabricant : Ralink Technology, Corp.
Description : 802.11n Wireless LAN Card
Version du pilote : 5.0.57.1
Adresse physique (MAC) : 20-68-9D-04-2B-CF
Without adding any application software
I suppose Password is ” ” or NULL ? because Open WIFI …
WIFI Name contains the last 6 digits of MAC Adress
AP: 7C9EBD5472F5 <–> ESP_5472F5
After ,i try to reload my last application with DASH …
Now Program crash when start to connect to wifi ! (WIFI STA) !!!
Temperature : ??? Humidity: ???
SSID : Redmi4Esp32
PWD : Frisco1983
……………………………
……………………………
……………….. IP Address: 192.168.86.145
Start AsyncWebServer CORRUPT HEAP: Bad head at 0x3ffd0a0c. Expected 0xabba1234 got 0x3ffc872c
assert failed: multi_heap_free multi_heap_poisoning.c:259 (head != NULL)
Backtrace: 0x40083771:0x3ffb1f50 0x4008be51:0x3ffb1f70 0x400915a5:0x3ffb1f90 0x4009119d:0x3ffb20c0 0x40083ce1:0x3ffb20e0 0x400915d5:0x3ffb2100 0x40145355:0x3ffb2120 0x400d57b8:0x3ffb2140 0x400dcfcd:0x3ffb2160 0x400d3392:0x3ffb2180 0x400e0cf2:0x3ffb2290
ELF file SHA256: 8a0712f4ae15b049
Rebooting…
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13232
load:0x40080400,len:3028
entry 0x400805e4
Config Board: DOIT ESP32 DEVKIT V1
i don’t know if i upload the right *.bin file into this ESP32 …
Could sommeone give me a link to upload the correct *.bin file to upload ?
Hi.
I’m sorry, but I’m not sure that I understood your issue.
I never uploaded any .bin file to the ESP32 to upload firmware… at least when programming with Arduino IDE.
Maybe what you need to do is to erase flash before trying to upload any other code.
Regards,
Sara
Hello,
Thank’s for the answer
With FLASH_download_tool_3.9.3,
i first, ERASED all firmware on my ESP32
Then i reloaded this file
ESP32-WROOM-32-V2.4.0.0\factory\factory_WROOM-32.bin …. sucesfully
On my phone, i have a
Wifi Hotspot SSID : Redmi Note 11
with a password : WPA2-personal key ( 11 cars long)
i can see the Wifi lan “Redmi Note 11” and active it on my PC computer
Arduino application is compiled with the option
option Core debug info … info
i get on PC YAT terminal
Config Board: DOIT ESP32 DEVKIT V1
_ESP32_DASH_test_2024.ino
Version : 01/02/2024
Hardware : ESP32 Rouge Vromm32 Devkitv1 30 pins
PWM (8b) test sur Led Verte 15
Sensor DHT11-AM2302 sur D5 !)
DHT11 Temp.: 18.30
AM2302 sensor :
Humid : 51.50
Mode WIFI_STA
SSID : Redmi Note 11
PWD : xxxxxxxxxxx <– 11 cars long Key
.[ 12200][W][WiFiGeneric.cpp:955] _eventCallback(): Reason: 202 – AUTH_FAIL
IP Address: 192.168.86.145
Start AsyncWebServer
0, AM2302 T=18.30 , H=53.60
1, AM2302 T=18.30 , H=52.60
2, AM2302 T=18.30 , H=52.50
then i Open the web page at 192.168.86.145
show the DASH page with Temper,Humid,2 BP,1 Slider, 1 progress
All are working OK …i can drive my Led_Vert ith the PWM Slider …OK
and On/OF led Blue or Red
My probleme is with my ON_AIR_2024 Wifi ( freebox)
But ,i want to use my WIFI LAN ( Freebox LAN) ON_AIR_2024
The main difference is ON_AIR has a WPA (TKIP+AES) ( Key WPA(TKIP+AES) is 37 cars long )
New test with WIFI SSID ON_AIR2024 and correct password !
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
Config Board: DOIT ESP32 DEVKIT V1
_ESP32_DASH_test_2024.ino
Version : 01/02/2024
Hardware : ESP32 Rouge Vromm32 Devkitv1 30 pins
PWM (8b) test sur Led Verte 15
Sensor DHT11-AM2302 sur D5 !)
AM2302 sensor :
DHT11 Temp.: 18.50
Humid : 53.80
Mode WIFI_STA
SSID : ON_AIR2024
PWD : pXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3
.[ 14590][W][WiFiGeneric.cpp:955] _eventCallback(): Reason: 201 – NO_AP_FOUND
..[ 17006][W][WiFiGeneric.cpp:955] _eventCallback(): Reason: 201 – NO_AP_FOUND
.[ 19421][W][WiFiGeneric.cpp:955] _eventCallback(): Reason: 201 – NO_AP_FOUND
.[ 21837][W][WiFiGeneric.cpp:955] _eventCallback(): Reason: 201 – NO_AP_FOUND
.[ 24252][W][WiFiGeneric.cpp:955] _eventCallback(): Reason: 201 – NO_AP_FOUND
i can not connect …
in summary : Problem seems linked with Safety KEY
I can use my Freebox WIFI LAN “ON_AIR2024” without problem to connect
to Internet , or
on Freebox Harddisk with FTP,
or with my Phone ..
.or Casting PC screen on my TV .
question:
i was able to connect on my Freebox ON_AIR2022 with this EPS32 , 2 years ago ..
my KEY was 63 cars long ..
could the problem due to a too short key ( 37 cars) with ESP32 client …
do i have to use another AsyncWebserver Arduino lib ?
Hi.
I’m not sure. I haven’t faced a problem like that before. I don’t think the number of characters is an issue.
Are you sure the password is correct? Sometimes, copying and pasting the password adds some invisible characters at the end or spaces…
Regards,
Sara
hello,
i used Wifi Manager to reconfigure my ESP32
with a Wifi SSI ESP32_BleuAP and a shortpassword
Now i can reach this ESP at 192.168.4.1 —> OK
it’s open a web page to configure an AP
I try to add my Wifi LAN (freebox) … but impossible to valide this .
Wifi Manager running
but i can define another Wifi AP Redmi Note 11 ( on my Phone)
How to use this ESP32 ..with my Freebox Wifi ( with internet access)
Start your code here #include <WiFiManager.h> // Utilisation de la librairie WiFiManager.h #define VERSION "07-02-2024" // test OK // Hardware ESP32 WROOM32 DEVKIT V1 30 pins WiFiManager wm; // Définition du nom du WifiManager = wm const char* ssid = "ESP32_BleuAP"; // ssid (exemple) const char* password = "paulfjujo"; // Mot de passe (exemple) void setup() { WiFi.mode(WIFI_STA); // Définition du Wifi en mode Station Serial.begin(115200); // Initialisation du moniteur série delay(1000); Serial.println("\n"); Serial.println(" ESP32_Wifi_Manager_2024-0208"); Serial.print(" SSID: "); Serial.println(ssid); Serial.print(" PWD: "); Serial.println(password); if(!wm.autoConnect(ssid, password)) // Test d'auto-connexion Serial.println("Erreur de connexion."); // Si pas de connexion = Erreur else Serial.println("Connexion etablie !"); // Si connexion = OK } void loop() { if(touchRead(T0) < 60) // Utilisation de la fonction Touch sur la pin T0 (GPIO4) pour resetter l'Esp32 { // Si détection touch < 60 sur pin T0 Serial.println("Suppression des reglages et redemarrage ..."); wm.resetSettings(); // Reset des paramètres Wifi ESP.restart(); // Restart de l'esp32 } }
This is the same issue as this one: https://rntlab.com/question/eps32-not-connected-to-wifi-internet/