Using ESP32-S3-DEVKIT-C1
Get “esp_core_dump_flash: No core dump partition found!:” message when running program. What am I missing to prevent this message? (coming up empty handed googling on this one)
Full output:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbec
load:0x403cc700,len:0x2920
entry 0x403c98d8
E (82) esp_core_dump_flash: No core dump partition found!
E (82) esp_core[ 89][I][main.cpp:15] setup(): [setup] PSRAM is correctly initialized
[ 89][I][main.cpp:17] setup(): [setup] PSRAM Size available (bytes): 8385903
Minimal code:
#include <Arduino.h>
void setup()
{
static const char *TAG = "setup";
Serial.begin(115200);
while (!Serial)
{
}
if (psramInit())
{
ESP_LOGI(TAG, "PSRAM is correctly initialized");
int available_PSRAM_size_after = ESP.getFreePsram();
ESP_LOGI(TAG, "PSRAM Size available (bytes): %d", available_PSRAM_size_after); // Free memory space has decreased
}
else
{
ESP_LOGE(TAG, "PSRAM not available. HALTING");
while (1)
;
}
void loop() {}
Platformio:
[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
board_build.arduino.memory_type = dio_opi
framework = arduino
;upload_protocol = esp-prog
;debug_tool = esp-prog
;debug_speed = 5000
;debug_init_break = tbreak setup
board_build.partitions = default_partitions.csv
lib_ldf_mode = deep
lib_extra_dirs = ~/Documents/Arduino/libraries
build_flags =
-fmax-errors=5
-I./src/
-DCORE_DEBUG_LEVEL=5
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
;lib_deps =
monitor_speed = 115200
default_partitions.csv
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x140000,
app1, app, ota_1, 0x150000,0x140000,
spiffs, data, spiffs, 0x290000,0x170000,