ESP32 a EEPROM

Pavel Brychta pavel.brychta na duhasys.eu
Čtvrtek Srpen 22 06:16:12 CEST 2019


DD,

zkuste vyrobit MCVE a pošlete mi takto vytvořený projekt, včetně 
platformio.ini - ověřím to na různých variantáh ESP32 modulů, které mám 
k dispozici.

Pavel

Dne 20.8.2019 v 19:16 Petr Zapadlo napsal(a):
> Zdravím,
>
> zapnul jsem ty ladící výpisy a níže je výsledek. Podle mého to v 
> obsluze webu nehavaruje.  Bohužel tam není ani náznak (alespoň pro mě) 
> proč to spadne.
>
>
> Petr
>
> [V][WebServer.cpp:284] handleClient(): New client
> [V][Parsing.cpp:113] _parseRequest(): method: POST url: / search:
> [V][Parsing.cpp:146] _parseRequest(): headerName: Host
> [V][Parsing.cpp:147] _parseRequest(): headerValue: 192.168.1.232
> [V][Parsing.cpp:146] _parseRequest(): headerName: Connection
> [V][Parsing.cpp:147] _parseRequest(): headerValue: keep-alive
> [V][Parsing.cpp:146] _parseRequest(): headerName: Content-Length
> [V][Parsing.cpp:147] _parseRequest(): headerValue: 8
>
> [V][Parsing.cpp:146] _parseRequest(): headerName: Cache-Control
> [V][Parsing.cpp:147] _parseRequest(): headerValue: max-age=0
> [V][Parsing.cpp:146] _parseRequest(): headerName: Origin
> [V][Parsing.cpp:147] _parseRequest(): headerValue: http://192.168.1.232
> [V][Parsing.cpp:146] _parseRequest(): headerName: 
> Upgrade-Insecure-Requests
> [V][Parsing.cpp:147] _parseRequest(): headerValue: 1
> [V][Parsing.cpp:146] _parseRequest(): headerName: Content-Type
> [V][Parsing.cpp:147] _parseRequest(): headerValue: 
> application/x-www-form-urlencoded
> [V][Parsing.cpp:146] _parseRequest(): headerName: User-Agent
>
> [V][Parsing.cpp:147] _parseRequest(): headerValue: Mozilla/5.0 (X11; 
> Linux x86_64) AppleWebKit/537.36 (KHTML, like G
> ecko) Chrome/73.0.3683.86 Safari/537.36
> [V][Parsing.cpp:146] _parseRequest(): headerName: Accept
> [V][Parsing.cpp:147] _parseRequest(): headerValue: 
> text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,
> image/apng,*/*;q=0.8,application/signed-exchange;v=b3
> [V][Parsing.cpp:146] _parseRequest(): headerName: Referer
> [V][Parsing.cpp:147] _parseRequest(): headerValue: http://192.168.1.232/
> [V][Parsing.cpp:146] _parseRequest(): headerName: Accept-Encoding
> [V][Parsing.cpp:147] _parseRequest(): headerValue: gzip, deflate
> [V][Parsing.cpp:146] _parseRequest(): headerName: Accept-Language
> [V][Parsing.cpp:147] _parseRequest(): headerValue: 
> cs-CZ,cs;q=0.9,en;q=0.8
> [V][Parsing.cpp:247] _parseArguments(): args: wjas=218
> [V][Parsing.cpp:265] _parseArguments(): args count: 1
> [V][Parsing.cpp:273] _parseArguments(): pos 0 =@4 &@-1
> [V][Parsing.cpp:284] _parseArguments(): arg 0 key: wjas value: 218
> [V][Parsing.cpp:291] _parseArguments(): args count: 1
> [V][Parsing.cpp:189] _parseRequest(): Plain: wjas=218
> [V][Parsing.cpp:230] _parseRequest(): Request: /
> [V][Parsing.cpp:231] _parseRequest():  Arguments: wjas=218
> Submit w_jas_temp:218
> Guru Meditation Error: Core  1 panic'ed (Cache disabled but cached 
> memory region accessed)
> Guru Meditation Error: Core  1 panic'ed (IllegalInstruction). 
> Exception was unhandled.
> Memory dump at 0x40149cac: bad00bad bad00bad bad00bad
>
>
> Dne 20.8.2019 v 09:34 Pavel Brychta napsal(a):
>> Dobrý den,
>>
>> no verze Atomu je asi nezajímavá - spíš šlo o verzi PIO, ale to 
>> nevadí. ESP32 Core používám 1.8.0, což by neměl být tak velký rozdíl 
>> (bohužel verze v PIO nekorespodují s oficiálními verzemi espressif 
>> Core, což je dost opruz). Pro PIO a ladění zadejte do platformio.ini
>>
>> build_flags =
>>   ;-fexceptions
>>   -D CORE_DEBUG_LEVEL=5
>>   -D DEBUG_ESP_PORT=Serial
>> (doufám, že mám debug_level správně - takhle to používám já...).
>>
>> Ten handlesubmit IMO není také dobře - nikde nevidím odeslání (aspoň 
>> nějaké) odpovědi. Nespadne spíš následně webový server? Exception 
>> decoder nenapoví víc?
>>
>> Pavel
>
> _______________________________________________
> HW-list mailing list  -  sponsored by www.HW.cz
> Hw-list na list.hw.cz
> http://list.hw.cz/mailman/listinfo/hw-list


Další informace o konferenci Hw-list