arduino-esp32版本更新问题

vjk_0909
Posts: 8
Joined: Mon May 15, 2023 3:04 am

arduino-esp32版本更新问题

Postby vjk_0909 » Wed Jul 10, 2024 8:27 am

我在用自己的板子测试tft_eSPI库中的示例程序,发现一个版本迭代问题


程序在esp32 2.0.9版本可以实现,但是在之后的版本中均无法重现
#include <Arduino.h>
#include <TFT_eSPI.h>
TFT_eSPI tft = TFT_eSPI();
void setup() {
    Serial.begin(115200)
    // lcd init
    tft.init();
    tft.fillScreen(TFT_GREEN);
    Serial.println("screen init success.");
}
void loop() {
}

新版esp 3.0.2 /3.0.1/2.0.13会出现如下错误

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40379716
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x508
load:0x403c9700,len:0x4
load:0x403c9704,len:0xad0
load:0x403cc700,len:0x29e4
entry 0x403c9880
Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.

Core 1 register dump:
PC : 0x42002b3e PS : 0x00060230 A0 : 0x82002bc8 A1 : 0x3fcebc20
A2 : 0x08000000 A3 : 0x00000001 A4 : 0x60004000 A5 : 0x00000021
A6 : 0x000000ff A7 : 0x00000000 A8 : 0x00000010 A9 : 0x3fcebbf0
A10 : 0x3fc95d9c A11 : 0x00000001 A12 : 0x019bfcc0 A13 : 0xffffffff
A14 : 0x00000031 A15 : 0x00000000 SAR : 0x0000001d EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000010 LBEG : 0x420064f4 LEND : 0x4200653b LCOUNT : 0x00000000

Backtrace: 0x42002b3b:0x3fcebc20 0x42002bc5:0x3fcebc50 0x42001d0b:0x3fcebc70 0x420074d2:0x3fcebca0 0x4037e232:0x3fcebcc0

ELF file SHA256: 95c34efdd78bd137

实际问题情况
Snipaste_2024-07-10_16-25-28.png
Snipaste_2024-07-10_16-25-28.png (120.44 KiB) Viewed 425 times
arduino选项和开发板配置
`W]OV)(33N]{[]%@8MQ6F[M.jpg
`W]OV)(33N]{[]%@8MQ6F[M.jpg (34.07 KiB) Viewed 425 times
U@`Y0R5}8$}DBONCL7RHKOW.jpg
U@`Y0R5}8$}DBONCL7RHKOW.jpg (52.4 KiB) Viewed 425 times

Who is online

Users browsing this forum: willer and 16 guests