IDF V4.4 无法适配Micropython,主板官方ESP32的开发板。4M

netnice
Posts: 2
Joined: Wed Feb 09, 2022 2:24 am

IDF V4.4 无法适配Micropython,主板官方ESP32的开发板。4M

Postby netnice » Thu Feb 24, 2022 7:58 am

git上下载 idf v4.4 , Micropython 的v1.18 或最新版,
编译后烧录到eps32或 编译 esp32c3的版本,烧录后,板子反复重启。

TX0串口输出日志:
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:0x3fff0030,len:4344
load:0x40078000,len:13816
load:0x40080400,len:3340
entry 0x40080618

[15:54:32.908]收←◆Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.

Core 1 register dump:
PC : 0x40147256 PS : 0x00060733 A0 : 0x800d6fe8 A1 : 0x3ffceeb0
A2 : 0x00000000 A3 : 0x00000000 A4 : 0x3ffb78c8 A5 : 0x0000040e
A6 : 0x3ffceee0 A7 : 0x3ffbf244 A8 : 0x00000000 A9 : 0x3ffcee80
A10 : 0x00000000 A11 : 0x0000040e A12 : 0x40083340 A13 : 0x00000000
A14 : 0x3ffceee0 A15 : 0x00000000 SAR : 0x0000001d EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000008 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000


Backtrace:0x40147253:0x3ffceeb00x400d6fe5:0x3ffceee0 0x400d6e59:0x3ffcef10




ELF file SHA256: dc92aa87847c477c
定位 Backtrace 定位到 串口初始化函数中了。

Code: Select all

0x40147253: uart_isr_register at /home/mpy/esp-idf-v4.4/components/driver/uart.c:594
0x400d6fe5: uart_init at /home/mpy/mpy-v1.18/ports/esp32/build-GENERIC/../uart.c:41
0x400d6e59: mp_task at /home/mpy/mpy-v1.18/ports/esp32/build-GENERIC/../main.c:96

Who is online

Users browsing this forum: No registered users and 87 guests