wow, it worked well.
Thank you for your help.
Search found 3 matches
- Thu Mar 26, 2020 8:46 am
- Forum: ESP32 Arduino
- Topic: RTOS task to save value in EEPROM on core 1 always resets ESP32
- Replies: 4
- Views: 5108
- Tue Mar 24, 2020 8:38 am
- Forum: ESP32 Arduino
- Topic: RTOS task to save value in EEPROM on core 1 always resets ESP32
- Replies: 4
- Views: 5108
Re: RTOS task to save value in EEPROM on core 1 always resets ESP32
Very good, it worked well when i increased the stack size of the task from 1000 to 10000, and value is correctly saved. Thank you, ESP_Sprite :) But how to know the required stack size for the task ?? like for this example: void save_dose_counts() { EEPROM.begin(512); EEPROM.put(dose_addr, dose_coun...
- Mon Mar 23, 2020 11:31 am
- Forum: ESP32 Arduino
- Topic: RTOS task to save value in EEPROM on core 1 always resets ESP32
- Replies: 4
- Views: 5108
RTOS task to save value in EEPROM on core 1 always resets ESP32
Hi, I'm working on a project which uses 3 RTOS tasks, it works fine but when I add a new task that saves a uint32 variable to the EEPROM every 5 seconds, ESP32 always reset, even when I init only this task and delete the other 3 tasks. And when I delete this task and add its code in another task, i...