Skip to content

Instantly share code, notes, and snippets.

@aseelye
Created Jul 21, 2021
Embed
What would you like to do?
lv_micropython lcd crash
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x17 (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:4
load:0x3fff0034,len:5600
ho 0 tail 12 room 4
load:0x40078000,len:13156
load:0x40080400,len:4356
entry 0x400806b0
Initialising M5Core2 power management
Vbus limit off
Speaker amplifier off
RTC battery charging enabled (3v, 200uA)
ESP32 power voltage set to 3.35v
LCD backlight voltage set to 2.80v
LCD logic and sdcard voltage set to 3.3v
LED on
Charge current set to 100 mA
Battery voltage now: 0.0v
Power key set, 4 seconds for hard shutdown
Enabled all ADC channels
USB / battery powered, 5V bus on
LCD and touch reset
Double buffer
ILI9341 initialization completed
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x40241867 PS : 0x00060e30 A0 : 0x80241871 A1 : 0x3ffd2c70
A2 : 0x167ca503 A3 : 0x3f81c990 A4 : 0x00000000 A5 : 0x00000528
A6 : 0x3ffc5fe8 A7 : 0x3ffc5be8 A8 : 0x00000214 A9 : 0x3f81c990
A10 : 0x3f81c180 A11 : 0x00000850 A12 : 0x00000010 A13 : 0x3f81c9d0
A14 : 0xffffffc0 A15 : 0x00000001 SAR : 0x00000020 EXCCAUSE: 0x0000001c
EXCVADDR: 0x167ca507 LBEG : 0x4009348e LEND : 0x40093499 LCOUNT : 0x00000000
Backtrace:0x40241864:0x3ffd2c70 0x4024186e:0x3ffd2c90 0x40133bc1:0x3ffd2cb0 0x4012e170:0x3ffd2cd0 0x4012dc07:0x3ffd2cf0 0x40149a5f:0x3ffd2d10 0x401066d1:0x3ffd2d40 0x401064b5:0x3ffd2d60 0x400e3465:0x3ffd2d80 0x400e35b6:0x3ffd2da0 0x400e5d71:0x3ffd2dc0 0x400dd230:0x3ffd2e60 0x400dd27c:0x3ffd2e80 0x400dd309:0x3ffd2eb0 0x400e389a:0x3ffd2ed0 0x4012309e:0x3ffd2f00 0x400dcd52:0x3ffd2f20 0x400e3465:0x3ffd2f40 0x400e5cc2:0x3ffd2f60 0x400dceb4:0x3ffd3000 0x400e3465:0x3ffd3030 0x400e35b6:0x3ffd3050 0x400e5d71:0x3ffd3070 0x400dceb4:0x3ffd3110 0x400e3465:0x3ffd3140 0x400e35b6:0x3ffd3160 0x400e5d71:0x3ffd3180 0x400dceb4:0x3ffd3220 0x400e3465:0x3ffd3250 0x40125bb2:0x3ffd3270 0x400e3465:0x3ffd32c0 0x400e35b6:0x3ffd32e0 0x400e1d02:0x3ffd3300 0x400e115d:0x3ffd3350 0x400e3465:0x3ffd3370 0x400e5cc2:0x3ffd3390 0x400dceb4:0x3ffd3430 0x400e3465:0x3ffd3460 0x400e348e:0x3ffd3480 0x400f6aaa:0x3ffd34a0 0x400f6e75:0x3ffd3530 0x400f6ed9:0x3ffd3550 0x400d6937:0x3ffd3570
ELF file SHA256: 9ec018dec49585a2
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x17 (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:4
load:0x3fff0034,len:5600
ho 0 tail 12 room 4
load:0x40078000,len:13156
load:0x40080400,len:4356
entry 0x400806b0
Initialising M5Core2 power management
Vbus limit off
Traceback (most recent call last):
File "boot.py", line 9, in <module>
File "m5core2_power.py", line 27, in __init__
File "m5core2_power.py", line 73, in speaker
KeyboardInterrupt:
Traceback (most recent call last):
File "main.py", line 1, in <module>
NameError: name 'lv' isn't defined
MicroPython v1.15-821-gdae3f0ab9-dirty on 2021-07-21; M5Stack Core2 with ESP32
Type "help()" for more information.
>>>
>>>
>>>
>>>
>>>
>>> from m5core2_power import Power
>>> power = Power()
Initialising M5Core2 power management
Vbus limit off
Speaker amplifier off
RTC battery charging enabled (3v, 200uA)
ESP32 power voltage set to 3.35v
LCD backlight voltage set to 2.80v
LCD logic and sdcard voltage set to 3.3v
LED on
Charge current set to 100 mA
Battery voltage now: 0.0v
Power key set, 4 seconds for hard shutdown
Enabled all ADC channels
USB / battery powered, 5V bus on
LCD and touch reset
>>> from ili9XXX import ili9341
>>> lcd = ili9341(mosi=23, miso=38, clk=18, dc=15, cs=5, invert=True, rot=0x10, width=320, height=240, rst=-1, power=-1, backlight=-1)
Double buffer
ILI9341 initialization completed
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x40241867 PS : 0x00060a30 A0 : 0x80241871 A1 : 0x3ffd2c70
A2 : 0x167ca503 A3 : 0x3f81cf70 A4 : 0x00000000 A5 : 0x00000586
A6 : 0x3ffc5fe8 A7 : 0x3ffc5be8 A8 : 0x00000214 A9 : 0x3f81cf70
A10 : 0x3f81c760 A11 : 0x00000850 A12 : 0x00000010 A13 : 0x3f81cfb0
A14 : 0xffffffc0 A15 : 0x00000001 SAR : 0x0000001c EXCCAUSE: 0x0000001c
EXCVADDR: 0x167ca507 LBEG : 0x4009348e LEND : 0x40093499 LCOUNT : 0x00000000
Backtrace:0x40241864:0x3ffd2c70 0x4024186e:0x3ffd2c90 0x40133bc1:0x3ffd2cb0 0x4012e170:0x3ffd2cd0 0x4012dc07:0x3ffd2cf0 0x40149a5f:0x3ffd2d10 0x401066d1:0x3ffd2d40 0x401064b5:0x3ffd2d60 0x400e3465:0x3ffd2d80 0x400e35b6:0x3ffd2da0 0x400e5d71:0x3ffd2dc0 0x400dd230:0x3ffd2e60 0x400dd27c:0x3ffd2e80 0x400dd309:0x3ffd2eb0 0x400e389a:0x3ffd2ed0 0x4012309e:0x3ffd2f00 0x400dcd52:0x3ffd2f20 0x400e3465:0x3ffd2f40 0x400e5cc2:0x3ffd2f60 0x400dceb4:0x3ffd3000 0x400e3465:0x3ffd3030 0x400e35b6:0x3ffd3050 0x400e5d71:0x3ffd3070 0x400dceb4:0x3ffd3110 0x400e3465:0x3ffd3140 0x400e35b6:0x3ffd3160 0x400e5d71:0x3ffd3180 0x400dceb4:0x3ffd3220 0x400e3465:0x3ffd3250 0x40125bb2:0x3ffd3270 0x400e3465:0x3ffd32c0 0x400e35b6:0x3ffd32e0 0x400e1d02:0x3ffd3300 0x400e115d:0x3ffd3350 0x400e3465:0x3ffd3370 0x400e5cc2:0x3ffd3390 0x400dceb4:0x3ffd3430 0x400e3465:0x3ffd3460 0x400e348e:0x3ffd3480 0x400f6aaa:0x3ffd34a0 0x400f6e09:0x3ffd3530 0x400d6978:0x3ffd3570
ELF file SHA256: 9ec018dec49585a2
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x17 (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:4
load:0x3fff0034,len:5600
ho 0 tail 12 room 4
load:0x40078000,len:13156
load:0x40080400,len:4356
entry 0x400806b0
Initialising M5Core2 power management
Vbus limit off
Speaker amplifier off
RTC battery charging enabled (3v, 200uA)
ESP32 power voltage set to 3.35v
LCD backlight voltage set to 2.80v
LCD logic and sdcard voltage set to 3.3v
LED on
Charge current set to 100 mA
Battery voltage now: 0.0v
Power key set, 4 seconds for hard shutdown
Enabled all ADC channels
USB / battery powered, 5V bus on
LCD and touch reset
Double buffer
Traceback (most recent call last):
File "boot.py", line 13, in <module>
File "ili9XXX.py", line 540, in __init__
File "ili9XXX.py", line 148, in __init__
File "ili9XXX.py", line 395, in init
KeyboardInterrupt:
Traceback (most recent call last):
File "main.py", line 1, in <module>
NameError: name 'lv' isn't defined
MicroPython v1.15-821-gdae3f0ab9-dirty on 2021-07-21; M5Stack Core2 with ESP32
Type "help()" for more information.
>>>
>>>
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment