Hi Team,
I need to send some data to server over HTTP after every 30 mins. To do this, tried using hardware timers (took the help from the given example "timer_group.c").
There are several task running in my code.Getting error after adding timer code with ISR. Backtraced the error as below.
Remote debugging using COM3
0x4008b082 in vTaskSwitchContext ()
at D:/Ritu/ESP32/ESP32-WROMM-32/esp-idf/components/freertos/tasks.c:2869
2869 listGET_OWNER_OF_NEXT_ENTRY( pxTCB, &( pxReadyTasksLists[ uxDynamicTopReady ] ) );
(gdb) bt
#0 0x4008b082 in vTaskSwitchContext ()
at D:/Ritu/ESP32/ESP32-WROMM-32/esp-idf/components/freertos/tasks.c:2869
#1 0x4008cfef in _frxt_dispatch ()
at D:/Ritu/ESP32/ESP32-WROMM-32/esp-idf/components/freertos\portasm.S:406
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Could you please help me understand what is this error saying??? How to solve this??
Thanks
R.
Error using Timers with ISR
-
- Posts: 9727
- Joined: Thu Nov 26, 2015 4:08 am
Re: Error using Timers with ISR
Pretty hard to say... smells like memory corruption, but that's about all I can make out.
Who is online
Users browsing this forum: Bing [Bot] and 96 guests