Search found 2 matches

by shrimantpatel
Sun May 31, 2020 1:25 am
Forum: ESP32 Arduino
Topic: ESP32 core 1 panic'ed when EEPROM and timer interrupt used together
Replies: 5
Views: 8073

Re: ESP32 core 1 panic'ed when EEPROM and timer interrupt used together

So here is what finally that worked for me:

1. Find the amount of time it takes to finish all the activities on the onTimer() routine using millis().
2.Just before EPROM.commit()
stop the timer(hw_timer_disarm(void))
Optional: detach interrupt
Depending on what you found in step 1 above put a ...
by shrimantpatel
Sat May 30, 2020 7:56 pm
Forum: ESP32 Arduino
Topic: ESP32 core 1 panic'ed when EEPROM and timer interrupt used together
Replies: 5
Views: 8073

Re: ESP32 core 1 panic'ed when EEPROM and timer interrupt used together

On the same boat....but have a temp workaround:



detachInterrupt(interruptPin);

EPROM.put.....
EPROM.commit();

delay(2500);
attachInterrupt(interruptPin, ISRroutine, RISING);

Go to advanced search