开机后板子自动重启
发表于 : 2022年 7月 10日 16:02
各位大神,
用esp32开发的小程序,主程序放在main.py中,用Thonny点击运行是正常的,为何开机运行始终不断复位,报错如下:
看网上有人说是电源问题,可能是某宝上买了便宜没好货?
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
modeIO, clock div:2
load:0x3fff0030,len:4540
ho 0 tail 12 room 4
load:0x40078000,len:12344
ho 0 tail 12 room 4
load:0x40080400,len:4124
entry 0x40080680
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x4000127a PS : 0x00060930 A0 : 0x8013efee A1 : 0x3ffccef0
A2 : 0x3f41dbcc A3 : 0x00000000 A4 : 0x00000014 A5 : 0x000000a5
A6 : 0x000000a5 A7 : 0x00000000 A8 : 0x00000057 A9 : 0x3ffccea0
A10 : 0x00000001 A11 : 0x00000000 A12 : 0x3ffd63c8 A13 : 0x00000000
A14 : 0x00000001 A15 : 0x3ffd63a0 SAR : 0x00000010 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
Backtrace:0x40001277:0x3ffccef0 0x4013efeb:0x3ffccf00 0x4013e925:0x3ffccf20 0x400f8663:0x3ffccf40 0x400dbdd3:0x3ffccfa0 0x400e2679:0x3ffccfd0 0x400e27a9:0x3ffccff0 0x40084789:0x3ffcd010 0x400dbd66:0x3ffcd0b0 0x400e2679:0x3ffcd110 0x400e27a9:0x3ffcd130 0x40084789:0x3ffcd150 0x400dbd66:0x3ffcd1f0 0x400e2679:0x3ffcd260 0x400e26a2:0x3ffcd280 0x400efbca:0x3ffcd2a0 0x400eff71:0x3ffcd330 0x400d4cea:0x3ffcd350
ELF file SHA256: 00495403985fb7e0
Rebooting...
ets Jun 8 2016 00:22:57
用esp32开发的小程序,主程序放在main.py中,用Thonny点击运行是正常的,为何开机运行始终不断复位,报错如下:
看网上有人说是电源问题,可能是某宝上买了便宜没好货?
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
modeIO, clock div:2
load:0x3fff0030,len:4540
ho 0 tail 12 room 4
load:0x40078000,len:12344
ho 0 tail 12 room 4
load:0x40080400,len:4124
entry 0x40080680
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x4000127a PS : 0x00060930 A0 : 0x8013efee A1 : 0x3ffccef0
A2 : 0x3f41dbcc A3 : 0x00000000 A4 : 0x00000014 A5 : 0x000000a5
A6 : 0x000000a5 A7 : 0x00000000 A8 : 0x00000057 A9 : 0x3ffccea0
A10 : 0x00000001 A11 : 0x00000000 A12 : 0x3ffd63c8 A13 : 0x00000000
A14 : 0x00000001 A15 : 0x3ffd63a0 SAR : 0x00000010 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
Backtrace:0x40001277:0x3ffccef0 0x4013efeb:0x3ffccf00 0x4013e925:0x3ffccf20 0x400f8663:0x3ffccf40 0x400dbdd3:0x3ffccfa0 0x400e2679:0x3ffccfd0 0x400e27a9:0x3ffccff0 0x40084789:0x3ffcd010 0x400dbd66:0x3ffcd0b0 0x400e2679:0x3ffcd110 0x400e27a9:0x3ffcd130 0x40084789:0x3ffcd150 0x400dbd66:0x3ffcd1f0 0x400e2679:0x3ffcd260 0x400e26a2:0x3ffcd280 0x400efbca:0x3ffcd2a0 0x400eff71:0x3ffcd330 0x400d4cea:0x3ffcd350
ELF file SHA256: 00495403985fb7e0
Rebooting...
ets Jun 8 2016 00:22:57