sidoh / epaper_templates

Template-oriented driver for e-paper displays
MIT License
252 stars 28 forks source link

Exceptions #85

Open tj57 opened 3 years ago

tj57 commented 3 years ago

Scenario:

  1. Flash by esptool.py --chip esp32 --baud 460800 write_flash 0x1000 c:/tmp/INITIALIZER_epaper_templates_esp32-v2.6.0.bin
  2. Connect eink in HSPI mode
  3. ESP32 has reset loop

My e-ink 4.2 or 2.13 is blank. Is there any display test available ?

Here is log

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:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:9232
load:0x40080400,len:6412
entry 0x400806a8
*WM:
*WM: AutoConnect
*WM: Connecting as wifi client...
*WM: Connection result:
*WM: 6
*WM:
*WM: Configuring access point...
*WM: epaper_547663408
*WM: waveshare
*WM: AP IP address:
*WM: 192.168.4.1
*WM: HTTP server started
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40148030: b2810f0d 018072e7 a000a042
Core 0 register dump:
PC      : 0x40148035  PS      : 0x00060830  A0      : 0x801483d1  A1      : 0x3ffca200
A2      : 0x3ffd5227  A3      : 0x3ffd4bd8  A4      : 0x00000006  A5      : 0x3ffca312
A6      : 0x00008d25  A7      : 0x00000000  A8      : 0x3ffc8618  A9      : 0x3ffca1e0
A10     : 0x3ffc4c34  A11     : 0x000000e7  A12     : 0x00000000  A13     : 0x00000001
A14     : 0x00060220  A15     : 0x00000000  SAR     : 0x00000008  EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000  LBEG    : 0x4000c349  LEND    : 0x4000c36b  LCOUNT  : 0x00000000

Backtrace: 0x40148035:0x3ffca200 0x401483ce:0x3ffca270 0x40145c46:0x3ffca290 0x40145fcf:0x3ffca380 0x401a6b39:0x3ffca3a0 0x4008fe32:0x3ffca3f0 0x40088c55:0x3ffca430

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:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:9232
load:0x40080400,len:6412
entry 0x400806a8
*WM:
*WM: AutoConnect
assertion "it != NULL" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/app_update/esp_ota_ops.c", line 515, function: esp_ota_get_running_partition

Backtrace: 0x4008cd14:0x3ffca0c0 0x4008cf45:0x3ffca0e0 0x4010669f:0x3ffca100 0x4010c17b:0x3ffca130 0x401084c7:0x3ffca150 0x4008231a:0x3ffca170 0x4011585a:0x3ffca1c0 0x40116651:0x3ffca1f0 0x401145aa:0x3ffca210 0x40114bb2:0x3ffca290 0x40113f95:0x3ffca300 0x4014f03d:0x3ffca340 0x4014b9d4:0x3ffca370 0x4014ce39:0x3ffca3a0 0x4014df73:0x3ffca3d0 0x4008fdfc:0x3ffca3f0 0x40088c55:0x3ffca430

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:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:9232
load:0x40080400,len:6412
entry 0x400806a8
ets Jun  8 2016 00:22:57

rst:0x3 (SW_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:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:9232
load:0x40080400,len:6412
entry 0x400806a8
*WM:
*WM: AutoConnect
*WM: Connecting as wifi client...
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40109320: 08e02206 3d1a2600 6781d29c
Core 0 register dump:
PC      : 0x40109327  PS      : 0x00060633  A0      : 0x8010b856  A1      : 0x3ffbd8e0
A2      : 0x00000001  A3      : 0x00000001  A4      : 0x80088e68  A5      : 0x3ffaf0d0
A6      : 0x00000000  A7      : 0x3ffbd600  A8      : 0x8010b841  A9      : 0x3ffbd8c0
A10     : 0x3ffcb948  A11     : 0x3ffbd8ef  A12     : 0x00000001  A13     : 0x00000001
A14     : 0x00060620  A15     : 0x00000000  SAR     : 0x00000000  EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000

Backtrace: 0x40109327:0x3ffbd8e0 0x4010b853:0x3ffbd910 0x401093fd:0x3ffbd930 0x4008ab55:0x3ffbd950 0x40088c55:0x3ffbd970

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:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:9232
load:0x40080400,len:6412
entry 0x400806a8
ets Jun  8 2016 00:22:57

rst:0x3 (SW_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:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:9232
load:0x40080400,len:6412
entry 0x400806a8
*WM:
*WM: AutoConnect
*WM: Connecting as wifi client...
*WM: Connection result:
*WM: 6
*WM:
*WM: Configuring access point...
*WM: epaper_547663408
*WM: waveshare
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC      : 0x40104380  PS      : 0x00060433  A0      : 0x80104ab8  A1      : 0x3ffbd490
A2      : 0x00000000  A3      : 0x00060423  A4      : 0x00060423  A5      : 0x00000001
A6      : 0x00060823  A7      : 0x00000000  A8      : 0x3ffbed88  A9      : 0x3ffbd490
A10     : 0x00000003  A11     : 0x00060823  A12     : 0x00060823  A13     : 0x00000001
A14     : 0x00060823  A15     : 0x00000000  SAR     : 0x00000000  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000001  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000

Backtrace: 0x40104380:0x3ffbd490 0x40104ab5:0x3ffbd4b0 0x4000bcdd:0x3ffbd4d0 0x40059140:0x3ffbd4f0 0x40058d62:0x3ffbd550 0x4011ceb2:0x3ffbd570 0x4011734d:0x3ffbd830 0x40106699:0x3ffbd880 0x4008a389:0x3ffbd8b0 0x4010b7f5:0x3ffbd8e0 0x4010b853:0x3ffbd910 0x401093fd:0x3ffbd930 0x4008ab55:0x3ffbd950 0x40088c55:0x3ffbd970

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:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:9232
load:0x40080400,len:6412
entry 0x400806a8
*WM:
*WM: AutoConnect
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC      : 0x401b94db  PS      : 0x00060e30  A0      : 0x801b7061  A1      : 0x3ffca1e0
A2      : 0xf6211a0c  A3      : 0x3ffc93d8  A4      : 0x00100000  A5      : 0x0ce9009d
A6      : 0x00ad7f98  A7      : 0xfffcffff  A8      : 0x3ffc944a  A9      : 0x00000006
A10     : 0x00000012  A11     : 0x0000003c  A12     : 0x0000003d  A13     : 0x0000003d
A14     : 0x3ffc93d8  A15     : 0x3ffbf8dc  SAR     : 0x00000007  EXCCAUSE: 0x0000001c
EXCVADDR: 0xf6211a0c  LBEG    : 0x401b94bd  LEND    : 0x401b94d0  LCOUNT  : 0x00000000

Backtrace: 0x401b94db:0x3ffca1e0 0x401b705e:0x3ffca200 0x401b754c:0x3ffca220 0x4010a781:0x3ffca2e0 0x4010aa86:0x3ffca310 0x4014d9cd:0x3ffca340 0x4014dad2:0x3ffca370 0x4014ddd2:0x3ffca3a0 0x4014df73:0x3ffca3d0 0x4008fdfc:0x3ffca3f0 0x40088c55:0x3ffca430

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:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:9232
load:0x40080400,len:6412
entry 0x400806a8
*WM:
*WM: AutoConnect
*WM: Connecting as wifi client...
*WM: Connection result:
*WM: 3
*WM: IP Address:
*WM: 10.16.0.243
Applying settings
*WM: freeing allocated params!
Loading new template: /t/tmp.json
                                 Loading template: /t/tmp.json
Free heap - 172636
WARNING: formatter definition block either missing or is of invalid type.
_PowerOn : 1645006
_Update_Full : 157005
_PowerOff : 1278005
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:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:9232
load:0x40080400,len:6412
entry 0x400806a8
*WM:
*WM: AutoConnect
*WM: Connecting as wifi client...
*WM: Connection result:
*WM: 3
*WM: IP Address:
*WM: 10.16.0.243
Applying settings
*WM: freeing allocated params!
Loading new template: /t/tmp.json
                                 Loading template: /t/tmp.json
Free heap - 172644
WARNING: formatter definition block either missing or is of invalid type.
_PowerOn : 25002
_Update_Full : 706003
_PowerOff : 190001
Applying settings
Loading new template: /t/tmp.json
                                 Loading template: /t/tmp.json
Free heap - 146448
WARNING: formatter definition block either missing or is of invalid type.
_PowerOn : 24004
_Update_Full : 1
_PowerOff : 22627
Applying settings
Loading new template: /t/tmp.json
                                 Loading template: /t/tmp.json
Free heap - 143128
formatter key = form
                    _PowerOn : 16005
_Update_Full : 189192
_PowerOff : 55008
Applying settings
assertion "head != NULL" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/heap/multi_heap_poisoning.c", line 214, function: multi_heap_free

Backtrace: 0x4008cd14:0x3ffdc650 0x4008cf45:0x3ffdc670 0x4010669f:0x3ffdc690 0x4008c989:0x3ffdc6c0 0x4008517e:0x3ffdc6e0 0x40086725:0x3ffdc700 0x4000bec7:0x3ffdc720 0x4015c6ad:0x3ffdc740 0x4015ca35:0x3ffdc760 0x400d6b6f:0x3ffdc780 0x400d6c39:0x3ffdc7b0 0x400d6d35:0x3ffdc7f0 0x401c2e29:0x3ffdc820 0x400d6ddb:0x3ffdc840 0x400d333e:0x3ffdc860 0x401c29ad:0x3ffdc8e0 0x400f1812:0x3ffdc900 0x400f32f7:0x3ffdc920 0x401c626c:0x3ffdc950 0x400f1ebb:0x3ffdc970 0x400f65bd:0x3ffdc990 0x400f663d:0x3ffdca90 0x400f09f1:0x3ffdcac0 0x400f14d1:0x3ffdcb20 0x400f1511:0x3ffdcbc0 0x4017f3e9:0x3ffdcc10 0x4017f4ad:0x3ffdcc60 0x40176bcd:0x3ffdcc80 0x40176c49:0x3ffdccc0 0x401772ee:0x3ffdcce0 0x40088c55:0x3ffdcd10

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:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:9232
load:0x40080400,len:6412
entry 0x400806a8
*WM:
*WM: AutoConnect
*WM: Connecting as wifi client...
*WM: Connection result:
*WM: 3
*WM: IP Address:
*WM: 10.16.0.243
Applying settings
*WM: freeing allocated params!
Loading new template: /t/tmp.json
                                 Loading template: /t/tmp.json
Free heap - 172804
formatter key = form
                    _PowerOn : 801005
_Update_Full : 460005
_PowerOff : 565004