ESP32S3(FN8和FR8)分区表超过4MB upload后不断重启

User avatar
harold
Posts: 2
Joined: Wed Apr 27, 2022 12:03 pm

ESP32S3(FN8和FR8)分区表超过4MB upload后不断重启

Postby harold » Wed Apr 27, 2022 12:25 pm

开发环境vscode Platformio

  • 使用芯片(ESP32 S3 FN8 和 ESP32 S3 FR8)
  • platformio.ini 相关配置

Code: Select all

[env:esp32s3]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
upload_port = COM3
monitor_speed = 115200
board_build.partitions = default_8MB.csv[/Codebox]
  • 已更改sdkconfig.h无任何作用

Code: Select all

#define CONFIG_ESPTOOLPY_FLASHSIZE_8MB 1
#define CONFIG_ESPTOOLPY_FLASHSIZE "8MB"
#define CONFIG_ESPTOOLPY_FLASHSIZE_DETECT 1
  • 下面分区表会不断重启(default_8MB.csv)

Code: Select all

# Name,   Type, SubType, Offset,  Size, Flags
nvs,      data, nvs,     0x9000,  0x5000,
otadata,  data, ota,     0xe000,  0x2000,
app0,     app,  ota_0,   0x10000, 0x330000,
app1,     app,  ota_1,   0x340000,0x330000,
spiffs,   data, spiffs,  0x670000,0x190000,
  • 下面分区表运行正常(default.csv)

Code: Select all

# Name,   Type, SubType, Offset,  Size, Flags
nvs,      data, nvs,     0x9000,  0x5000,
otadata,  data, ota,     0xe000,  0x2000,
app0,     app,  ota_0,   0x10000, 0x330000,
spiffs,   data, spiffs,  0x340000,0xc0000,
  • 串口输出错误

Code: Select all

rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403bb022
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x78
load:0x403b6000,len:0x95c
load:0x403ba000,len:0x26f8
entry 0x403b61a8
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403bb022
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x78
load:0x403b6000,len:0x95c
load:0x403ba000,len:0x26f8
entry 0x403b61a8
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
直到看到平凡,才知道唯一的答案

Who is online

Users browsing this forum: No registered users and 54 guests