Hi, I have a camera application on a custom-designed ESP32S3, now using your book “send photo with email new” code, I get the
“Guru Meditation : Core 0 panic’ed (LoadStoreError). Exception was unhandled.” error.
Detail:
ESP-ROM:esp32s3-20210327
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
[ 261][D][esp32-hal-cpu.c:214] setCpuFrequencyMhz(): PLL: 480 / 6 = 80 Mhz, APB: 80000000 Hz
[ 261][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
[ 333][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 0 – WIFI_READY
[ 389][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 2 – STA_START
Connecting to WiFi…[ 549][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 4 – STA_CONNECTED
.[ 1168][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 7 – STA_GOT_IP
[ 1169][D][WiFiGeneric.cpp:991] _eventCallback(): STA IP: 192.168.0.100, MASK: 255.255.255.0, GW: 192.168.0.1
.
SPIFFS mounted successfully
IP Address: http://192.168.0.100
Taking a photo…
Picture file name: /photo.jpg
The picture has been saved in /photo.jpg – Size: 77824 bytes
Connecting to SMTP server…
> C: ESP Mail Client v2.4.8
> C: Wait for NTP server time synching
Guru Meditation Error: Core 0 panic’ed (LoadStoreError). Exception was unhandled.
I think it is a buffer issue; https://docs.espressif.com/projects/esp-idf/en/v4.2/esp32/api-guides/fatal-errors.html#loadprohibited-storeprohibited
My board is ESP32S3 with 16MB flash and for PSRAM I use OPIRAM and ESP32S3 Dev module in Arduino IDE.
Should I provide a specific address for the buffer instead of a NULL pointer? Is it a new issue in ESP32-Arduino 2 core?
Thank you for your great content on random nerd website, Btw, If you migrate your espcam book codes to Arduino 2.0 that will be more useful.
Best,
Iman
Great!
I’m glad you solved the issue.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara
Ok, I had some progress;
Ok, I had some progress, I modified this line;
camera_fb_t * fb = NULL; // pointer
to
camera_fb_t * fb = esp_camera_fb_get();
And Guru does not panic!
Ok, I had some progress;
Ok, I had some progress, I modified this line;
camera_fb_t * fb = NULL; // pointer
to
camera_fb_t * fb = esp_camera_fb_get();
And Guru does not panic!
We have this tutorial about Arduino 2.0: https://randomnerdtutorials.com/installing-esp32-arduino-ide-2-0/
At the moment the SPIFFS/LittleFS uploader plugin is not yet supported.
Regards,
Sara