ESP32-S3-DevKitC-1-N32R8V board correct PlatformIO.ini configuration please

Rob Post
Posts: 5
Joined: Mon Jun 05, 2023 3:44 am

ESP32-S3-DevKitC-1-N32R8V board correct PlatformIO.ini configuration please

Postby Rob Post » Mon Jun 05, 2023 11:55 am

I do not seem to be able to overcome the hurdle of flashing the most basic firmware (Blinky or Hello World) without - after succesfull upload - the board continuously rebooting when using PlatformIO. Have tried many options found on the web. Funny thing is that all works perfectly alright with the Arduino IDE when choosing ESP32S3 Dev Module but I cannot convince VSCode/PlatformIO to do the same.

After trying almost all what I could find on the web my current (probably messy) PlatformIO.ini looks like this (but does not resolve this issue)

If anyone has used the same board, please let me know how to get this working, probably with the correct platformio.ini PLEASE

Thanks,

Rob

platformio.ini
____________

;[env:esp32-s3-devkitc-1] (tried)
[env:esp32s3devkitc]
platform = platformio/espressif32@^6.3.1
board = esp32-s3-devkitc-1
framework = arduino

board_upload.flash_size = 8MB ; added 4 lines for ESP32-S3-DevKitC-1-N32R8V
board_build.partitions = default_16MB.csv
build_flags =
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
board_build.arduino.memory_type = opi_opi
debug_tool = cmsis-dap
upload_protocol = esptool
debug_speed = 500
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32#master
lib_deps =
knolleary/PubSubClient@^2.8
bblanchon/ArduinoJson@^6.19.4
adafruit/Adafruit BusIO@^1.14.1

========================================================================================
Serial monitor after upload;
_________________________
ELF file SHA256: 489db946c5edc766

E (130) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403772d0
SPIWP:0xee
Octal Flash Mode Enabled
For OPI Flash, Use Default Flash Boot Mode
mode:SLOW_RD, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbec
load:0x403cc700,len:0x2920
entry 0x403c98d8

assert failed: do_core_init startup.c:326 (flash_ret == ESP_OK)


Backtrace: 0x403776c2:0x3fceb180 0x4037a665:0x3fceb1a0 0x4037ff45:0x3fceb1c0 0x4200aeea:0x3fceb2f0 0x40377031:0x3fceb320 0x403cd6db:0x3fceb350 0x403cd99a:0x3fceb380 0x403c992d:0x3fceb4b0 0x40045c01:0x3fceb570 |<-CORRUPTED

=================================================================================================

kzc1209
Posts: 1
Joined: Wed Jun 07, 2023 1:02 pm

Re: ESP32-S3-DevKitC-1-N32R8V board correct PlatformIO.ini configuration please

Postby kzc1209 » Wed Jun 07, 2023 1:05 pm

I have encountered the same problem. Have you resolved it?
I am using translation software, so please forgive me for not being able to use the correct language

Who is online

Users browsing this forum: No registered users and 143 guests