Closed brightproject closed 2 months ago
framework-arduinoespressif32 @ 3.20009.0 (2.0.9)
First you should update your platformio version. Arduino core 2.0.9 is an ancient version.
Also try erase flash please and report back.
board = esp32-s3-devkitc-1-n16r8v
Ermm... that's not the file I provide in this repo!
framework-arduinoespressif32 @ 3.20009.0 (2.0.9)
First you should update your platformio version. Arduino core 2.0.9 is an ancient version.
This is the latest version, I think)
https://registry.platformio.org/tools/platformio/framework-arduinoespressif32
> CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitc1-n16r8.html
> PLATFORM: Espressif 32 (6.3.2) > Espressif ESP32-S3-DevKitC-1-N16R8V (16 MB Flash Quad, 8 MB PSRAM Octal)
> HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
> DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
> PACKAGES:
> - framework-arduinoespressif32 @ 3.20017.0 (2.0.17)
> - tool-esptoolpy @ 1.40501.0 (4.5.1)
> - toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
> - toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
> LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
> LDF Modes: Finder ~ chain, Compatibility ~ soft
> Found 34 compatible libraries
The latest version is not very old, but I updated it on your advice. Actually, you are right, I had two different files Added a file with the name to the settings After flashing, I got a cyclic reboot with multiple information output to the port monitor, regarding the new espressif kernel. Returned it to how it was
platform = espressif32 ; platform_packages = platformio/framework-arduinoespressif32@^3.20017.0
The version has become
framework-arduinoespressif32 @ 3.20009.0 (2.0.9)
With your file it complains about the core ...
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:0xbe4
load:0x403cc700,len:0x2a38
entry 0x403c98d4
E (104) esp_core_dump_flash: Core dump data check failed:
Calculated checksum='6a7cd56d'
Image checksum='ffffffff'
Please show your platformio.ini
.
Otherwise the only thing I can do for you is guessing :/
Please show your
platformio.ini
. Otherwise the only thing I can do for you is guessing :/
[env:esp32-s3-devkitc1-n16r8]
platform = espressif32
; platform_packages = platformio/framework-arduinoespressif32@^3.20017.0
board = esp32-s3-devkitc1-n16r8
framework = arduino
monitor_speed = 115200
monitor_port = COM6
upload_speed = 921600
upload_port = COM22
monitor_filters = esp32_exception_decoder
lib_deps = bodmer/TFT_eSPI@^2.5.43
Try a simple clean project first:
platformio.ini
[env:esp32-s3-devkitc1-n16r8]
platform = espressif32 @ 6.8.1
board = esp32-s3-devkitc1-n16r8
framework = arduino
monitor_speed = 115200
main.cpp
#include <Arduino.h>
void setup() {
Serial.begin(115200);
Serial.println("Hello World");
}
void loop() {}
Why is your upload port different to the monitor port???
Try a simple clean project first:
platformio.ini
[env:esp32-s3-devkitc1-n16r8] platform = espressif32 @ 6.8.1 board = esp32-s3-devkitc1-n16r8 framework = arduino monitor_speed = 115200
main.cpp
#include <Arduino.h> void setup() { Serial.begin(115200); Serial.println("Hello World"); } void loop() {}
My project is quite complex, it is drawing graphics on the display using the library
TFT_eSPI
. Simple things likeBLINK
work. I output such projects
or
The code simulator is slow, that's why the graphics are so slow🙂 There is no graphics output with the latest version of expressif. That's why I stay on
framework-arduinoespressif32 @ 3.20009.0 (2.0.9)
To get rid of the error in the port monitor
E (104) esp_core_dump_flash: Core dump data check failed:
Calculated checksum='6a7cd56d'
Image checksum='ffffffff'
Removed two lines related to the core.
"extra_flags": [
"-DARDUINO_ESP32S3_DEV",
"-DARDUINO_RUNNING_CORE=1",
"-DARDUINO_EVENT_RUNNING_CORE=1",
"-DBOARD_HAS_PSRAM"
],
Why is your upload port different to the monitor port???
I flash via USB
, and output the port monitor to a USB-TTL
adapter on a RX/TX
ESP32.
Wait... you're using a simulated ESP32-S3 on wokwi, not a physical ESP32-S3? But you set serial port settings in platformio.ini and remove things from the board.json file???
Then there is still the thing with the display.... I asked you to use a very basic project (see above).
In order to be able to help you, we have to build on the smallest common ground. This is an ESP32-S3-Devkit-C1 N16R8 - no more and no less!
@brightproject Are you still there?
Wait... you're using a simulated ESP32-S3 on wokwi, not a physical ESP32-S3? But you set serial port settings in platformio.ini and remove things from the board.json file???
Then there is still the thing with the display.... I asked you to use a very basic project (see above).
In order to be able to help you, we have to build on the smallest common ground. This is an ESP32-S3-Devkit-C1 N16R8 - no more and no less!
I have a physical board.
I've tried a few experiments now.
[env:esp32-s3-devkitc1-n16r8] ; platform = espressif32 @ 5.3.0 platform = espressif32 @ 6.6.0 board = esp32-s3-devkitc1-n16r8 framework = arduino monitor_speed = 115200 monitor_port = COM6 upload_speed = 921600 upload_port = COM22 monitor_filters = esp32_exception_decoder
lib_deps = bodmer/TFT_e SPI@^2.5.43
If version 5.3.0
Processing esp32-s3-devkitc1-n16r8 (platform: espressif32 @ 5.3.0; board: esp32-s3-devkitc1-n16r8; framework: arduino)
then the output example with a display connected via SPI
is 1363 msec
.
And if you update to version 6.6.0
Processing esp32-s3-devkitc1-n16r8 (platform: espressif32 @ 6.6.0; board: esp32-s3-devkitc1-n16r8; framework: arduino)
then the output will be 842 msec
.
Sorry, I don't understand how I can help you.
Firstly it was about an esp_core_dump_flash
error - which seems to be fixed now.
Now it is about the speed and version conflicts of the TFT_eSPI library.
This is no longer related to the files offered here. For TFT_eSPI related questions, please open an issue at bodmer/TFT_eSPI
Sorry, I don't understand how I can help you.
Firstly it was about an
esp_core_dump_flash
error - which seems to be fixed now.Now it is about the speed and version conflicts of the TFT_eSPI library.
This is no longer related to the files offered here. For TFT_eSPI related questions, please open an issue at bodmer/TFT_eSPI
Don't be offended, the information here is more for other developers, if someone has problems.
Yes, you helped me resolve the issues regarding esp32-s3-n16-r8
.
Thank you and have a good evening.
@brightproject I don't understand your intentions. Even the various cross-links you generate make no sense.
@brightproject Maybe you should use the official esp32-s3-devkitc-1.json
and just modify what's needed to make the N16R8 work.
See the settings for the N16R8
in my other repo ESP32-S3-PlatformIO-Flash-and-PSRAM-configurations
@brightproject Maybe you should use the official
esp32-s3-devkitc-1.json
and just modify what's needed to make the N16R8 work.See the settings for the
N16R8
in my other repo ESP32-S3-PlatformIO-Flash-and-PSRAM-configurations
Thanks for the links.
Platformio.ini
settingscompilation and loading, this is the output
I use this file
When rebooting I get this output in the serial monitor
Maybe you @sivar2311 can tell me what this is? I would be grateful.