Předmět Autor Datum
Pozeram fdo gule a nic nevidim. Co keby si napisal, co presne ti nefunguje, chybove hlasky, ci na kt…
fleg 27.03.2021 11:53
fleg
Výpis ze sériového monitoru spadne -resetuje to na tomhle 11:17:29.074 -> *WM: Request redirected to…
Víťa 27.03.2021 12:07
Víťa
Ak je pricinou resetu ta chyba, co tam mas je riesenie taketo: Solution: I simply declared the buff…
fleg 27.03.2021 16:35
fleg
Já jsem si dal do googlu Solution: I simply declared the buffer locally inside the onWebSocketEvent… poslední
Víťa 27.03.2021 17:56
Víťa

Výpis ze sériového monitoru
spadne -resetuje to na tomhle
11:17:29.074 -> *WM: Request redirected to captive portal
11:17:29.127 -> *WM: Handle root

na mobilu vidím ten přístupový bod ESP_AP ale jakmile se ho dotknu tak se ESP32 resetuje ,paměti je tam dost Auto-detected Flash size: 4MB,chodí mi to na ESP8266 kde je jen 1MB

11:16:37.275 -> ets Jun  8 2016 00:22:57
11:16:37.275 -> 
11:16:37.275 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
11:16:37.322 -> configsip: 0, SPIWP:0xee
11:16:37.322 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
11:16:37.322 -> mode:DIO, clock div:1
11:16:37.322 -> load:0x3fff0018,len:4
11:16:37.322 -> load:0x3fff001c,len:1216
11:16:37.322 -> ho 0 tail 12 room 4
11:16:37.322 -> load:0x40078000,len:9720
11:16:37.322 -> ho 0 tail 12 room 4
11:16:37.322 -> load:0x40080400,len:6352
11:16:37.322 -> entry 0x400806b8
11:16:54.361 -> resetar
11:16:54.407 -> *WM: SET AP STA
11:16:54.407 -> *WM: 
11:16:54.407 -> *WM: Configuring access point... 
11:16:54.407 -> *WM: ESP_AP
11:16:54.461 -> *WM: 12345678
11:16:55.665 -> *WM: AP IP address: 
11:16:55.665 -> *WM: 192.168.4.1
11:16:55.665 -> *WM: HTTP server started
11:17:27.569 -> dhcps: send_offer>>udp_sendto result 0
11:17:29.074 -> *WM: Request redirected to captive portal
11:17:29.127 -> *WM: Handle root
11:17:29.174 -> Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
11:17:29.174 -> Core 1 register dump:
11:17:29.174 -> PC      : 0x400014fd  PS      : 0x00060230  A0      : 0x800daa57  A1      : 0x3ffb1ce0  
11:17:29.174 -> A2      : 0x00000020  A3      : 0x0000001c  A4      : 0x000000ff  A5      : 0x0000ff00  
11:17:29.174 -> A6      : 0x00ff0000  A7      : 0xff000000  A8      : 0x00000000  A9      : 0x3ffb1c40  
11:17:29.174 -> A10     : 0x3ffb1d00  A11     : 0x80000000  A12     : 0x3ffb1d00  A13     : 0x0000ff00  
11:17:29.174 -> A14     : 0x00ff0000  A15     : 0xff000000  SAR     : 0x0000000a  EXCCAUSE: 0x0000001c  
11:17:29.227 -> EXCVADDR: 0x00000020  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff  
11:17:29.227 -> 
11:17:29.227 -> Backtrace: 0x400014fd:0x3ffb1ce0 0x400daa54:0x3ffb1cf0 0x400daa7b:0x3ffb1d10 0x400d9266:0x3ffb1d30 0x40149c9e:0x3ffb1d90 0x400d6213:0x3ffb1db0 0x400d62c9:0x3ffb1dd0 0x400d633e:0x3ffb1e00 0x400d64a7:0x3ffb1e50 0x400d9dc6:0x3ffb1ea0 0x400d13cd:0x3ffb1ee0 0x400dbea9:0x3ffb1fb0 0x4008aff9:0x3ffb1fd0
11:17:29.227 -> 
11:17:29.227 -> Rebooting...
11:17:29.227 -> ets Jun  8 2016 00:22:57
11:17:29.227 -> 
11:17:29.227 -> rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
11:17:29.227 -> configsip: 0, SPIWP:0xee
11:17:29.227 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
11:17:29.274 -> mode:DIO, clock div:1
11:17:29.274 -> load:0x3fff0018,len:4
11:17:29.274 -> load:0x3fff001c,len:1216
11:17:29.274 -> ho 0 tail 12 room 4
11:17:29.274 -> load:0x40078000,len:9720
11:17:29.274 -> ho 0 tail 12 room 4
11:17:29.274 -> load:0x40080400,len:6352
11:17:29.274 -> entry 0x400806b8

Ak je pricinou resetu ta chyba, co tam mas je riesenie taketo:

Solution: I simply declared the buffer locally inside the onWebSocketEvent() function and the problem of overwriting was solved as the buffer was getting re-declared on every event preventing illegal memory-write attempt. The device never panicked ever again.

Já jsem si dal do googlu

Solution: I simply declared the buffer locally inside the onWebSocketEvent() function and the problem of overwriting was solved as the buffer was getting re-declared on every event preventing illegal memory-write attempt. The device never panicked ever again.

a vypadla mi s toho mimo jiné stránka https://stackoverflow.com/questions/63399901/how-to-fix-guru-meditation-error-core-1-paniced-loadprohibited-error a na té stránce mi vypadla přesně na puntík EDIT ne na puntík :!: tabulka která mi vyjela na sériovém monitoru tak se zdá že jsi mě navedl na správnou cestu . Ale jak to opravit ve které knihovně nebo části toho projektu to hledat ? ? díky

Zpět do poradny Odpovědět na původní otázku Nahoru