Hello,
Newbie question.
To check that the controller works, I'd like to run a Hello World on that device.
Do you confirm the current stable release of the Arduino IDE doesn't support it , and I must use the RC instead?
Would somone have a Hello World for it?
Thank you.
Thanks.
After adding the URL for that board through Arduino's File > Preferences, selecting the COM port, and installing Bodmer's TFT_eSPI, I compiled and uploaded Bodmer's Smooth_Graphics_Demo.ino .
Once done, Arduino says "Hard resetting via the RTS pin…", but nothing happens.
Hitting the RST button: Nothing.
Unplugging, replugging the USB cable: Nothing.
The screen remains dark.
Maybe Arduino doesn't really support that controller? Or could it have something to do with Brodmer's TFT_eSPI?
Edit: The following code works, so at least the board works…
void setup()
{
Serial.begin(9600);
Serial.println("In setup");
}
void loop()
{
Serial.println("In loop");
delay(500);
}
… but the screen is still dark when trying \examples from the eTFT_SPI library and rebooting:
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x524
load:0x4004c000,len:0xa70
load:0x40050000,len:0x292c
SHA-256 comparison failed:
Calculated: 8dce998efc3eb6dc43f3799a489dbcfbd5ada9828beadf71017c05c4a8d32bc3
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
entry 0x4004c18c
}
Edit: It looks like I'm not the only one:
opened 09:47PM - 19 Jul 22 UTC
closed 09:14PM - 02 Aug 22 UTC
Status: Awaiting triage
Area: Peripherals API
### Board
Custom Designed board with ESP32S3Wroom-1U
### Device Descripti… on
ESP32S3Wroom with 16 MB of flash and 8 MB of PSRAM
### Hardware Configuration
It is our custom design board and we have added a few functionalities to it.
### Version
v2.0.4
### IDE Name
Arduino IDE
### Operating System
Windows 10
### Flash frequency
DIO 80 MHz and QIO 80 MHz
### PSRAM enabled
yes
### Upload speed
921600
### Description
An important note is as I have S3 Wroom 1U with 16 MB Flash, I choose ESP32 S3 Dev Module in Board selection in Arduino IDE and also I select OPI PSRAM to program our custom-designed board.
1. After each upload, I always get SHA-256 comparison failed, how can I solve it?
2. Sometimes I get heap poisoning issues as shown in Debug message. Is it because the ESP32 S3 Arduino code is still in development mode(not stable)?
### Sketch
```cpp
For most standard sketches, I get the following in S3 chip;
SHA-256 comparison failed:
Calculated: 9477899d59fa5164e630d8218cb3994031873358e9105b31f53911d2dfd36c72
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
```
### Debug Message
```plain
CORRUPT HEAP: Bad head at 0x3fce5a6c. Expected 0xabba1234 got 0x3fce0014
assert failed: multi_heap_free multi_heap_poisoning.c:253 (head != NULL)
Backtrace:0x403777a6:0x3fce2d000x4037a8f1:0x3fce2d20 0x4038031d:0x3fce2d40 0x4037ff8f:0x3fce2e70 0x40377a75:0x3fce2e90 0x4038034d:0x3fce2eb0 0x42007c1b:0x3fce2ed0 0x42008cb8:0x3fce2f00 0x42001fac:0x3fce2f20 0x42002111:0x3fce2f40 0x42001f22:0x3fce2f60 0x42001daf:0x3fce2f80 0x4200e7bd:0x3fce3030
ELF file SHA256: 0000000000000000
Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x2a (SPI_FAST_FLASH_BOOT)
Saved PC:0x4202cbfe
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x39c
load:0x403c9700,len:0x9bc
load:0x403cc700,len:0x28dc
SHA-256 comparison failed:
Calculated: 9477899d59fa5164e630d8218cb3994031873358e9105b31f53911d2dfd36c72
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
entry 0x403c98c0
[ 124][D][esp32-hal-cpu.c:214] setCpuFrequencyMhz(): PLL: 480 / 6 = 80 Mhz, APB: 80000000 Hz
[ 124][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
```
### Other Steps to Reproduce
Thank you!
### I have checked existing issues, online documentation and the Troubleshooting Guide
- [X] I confirm I have checked existing issues, online documentation and Troubleshooting guide.
system
Closed
March 13, 2023, 4:06pm
4
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.