Search found 4 matches

by JosephWheel
Sun Apr 07, 2024 7:16 pm
Forum: General Discussion
Topic: A fatal error occurred: MD5 of file does not match data in flash!
Replies: 0
Views: 2117

A fatal error occurred: MD5 of file does not match data in flash!

I'm working with a ESP32-CAM. I upload the sketches with a development board (see image below). a.jpeg When I try to upload the following program in PlatformIO: #include<Arduino.h> void setup() { Serial.begin(115200); } void loop() { Serial.println("hola."); delay(500); } I get the following error: ...
by JosephWheel
Sat Feb 03, 2024 4:30 pm
Forum: General Discussion
Topic: One of the tasks attached to a core doesn't run
Replies: 5
Views: 1204

Re: One of the tasks attached to a core doesn't run

Note that xTaskCreate tells you whether or not it was able to actually create the task via its return value: If the task was created successfully then pdPASS is returned. Otherwise errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY is returned. https://www.freertos.org/a00125.html Thank you! I changed the setup...
by JosephWheel
Sat Feb 03, 2024 4:10 pm
Forum: General Discussion
Topic: One of the tasks attached to a core doesn't run
Replies: 5
Views: 1204

Re: One of the tasks attached to a core doesn't run

ESP_Sprite wrote:
Sat Feb 03, 2024 8:30 am
You request a total of 400K of stack space for the tasks. Likely you don't have that much internal memory available.
It seems to be true, I allocated 100000 bytes each and it worked. :)
by JosephWheel
Sat Feb 03, 2024 12:20 am
Forum: General Discussion
Topic: One of the tasks attached to a core doesn't run
Replies: 5
Views: 1204

One of the tasks attached to a core doesn't run

Hey everyone! I have an ESP32-S3 (attached to a Sunton display) and I want it to perform two tasks: displaying video that an ESP32-CAM transmits and blinking an LED (below is the main code): #include <Arduino.h> #include "tasks.hpp" TaskHandle_t video; TaskHandle_t led; void setup() { Serial.begin(1...