Closed timnicolas closed 1 year ago
Hi @tnicolas42, have you tried the same code in Arduino IDE?
Yes I tried and I don't have any error
Do you have an other S3 board without OPI flash/PSRAM? Or if you have not, can you try without PSRAM?
Mhh, this "maximum_size": 8388608,
is wrong in your boards json.
Can end in endless reboot. The correct entry for 16MB flash is "maximum_size": 16777216,
and the entry "-mfix-esp32-psram-cache-issue",
is only for some esp32 boards with PSRAM. It is not needed for ANY S3 MCU.
EDIT: Module N32R8V should have 32MB flash. So your boards json with specifying 16MB is not correct at all. But maybe needed since esptool.py can't write to flash of the S3 > 16MB.
https://github.com/espressif/esptool/issues/883
I made a mistake actually, the error doesn't occur when I upload code from the Arduino IDE... And I tested without PSRAM, still the same bug. And thank you, @Jason2866, I made the changes!
SOLVED In platformio.ini, I update the package framework-arduinoespressif32
platform_packages =
framework-arduinoespressif32 @ 3.20011.230801
tool-esptoolpy @ 1.40501.0
tool-mkfatfs @ 2.0.1
I have an issue with deepsleep start.
Since one month, on some random esp32 I can’t start deepsleep mode. I have 20 boards, the bug appears on 12 of them.
When I run this code, the esp32 auto restart imediatly when calling
esp_deep_sleep_start()
with reason 5 (ESP_RST_INT_WDT: Reset (software or hardware) due to interrupt watchdog
)The bug first appear when I did some updates but I don’t remember witch one.
Specifications
My code :
platformio.ini
custom board used
logs