vTaskSuspendAll() and vTaskEndScheduler()
Posted: Mon Mar 30, 2020 11:08 am
Hi
I have tried to use vTaskSuspendAll() and I get this :
-------------------------------------------------------------
I (11943) ctMain_Routine(): (((((((((((((((( LEDs GREEN ))))))))))))))))
C:/esp/esp-idf/components/freertos/queue.c:1452 (xQueueGenericReceive)- assert failed!
abort() was called at PC 0x400925c3 on core 0
ELF file SHA256: 2e68ae5fd3a5aed4595dc6ad5739557e2fc7c56b3c7ae1f704dad2fa68cc5c9f
Backtrace: 0x4008f279:0x3ffbb4b0 0x4008f5f1:0x3ffbb4d0 0x400925c3:0x3ffbb4f0 0x400822b9:0x3ffbb530 0x400d595c:0x3ffbb580 0x400d2994:0x3ffbb5b0 0x40091b19:0x3ffbb5d0
Rebooting...
I (321) cpu_start: Pro cpu up.
I (322) cpu_start: Application information:
I have tried to use vTaskEndScheduler() and I get this
(although this FreeRTOS function may only be available for the x86 Real Mode PC port) :
-------------------------------------------------------------
abort() was called at PC 0x40082caa on core 0
ELF file SHA256: 87ca977fac4ad4a259cf0f9e421ce27c8660546b18d425828a88105ff737546e
Backtrace: 0x4008f279:0x3ffbb160 0x4008f5f1:0x3ffbb180 0x40082caa:0x3ffbb1a0 0x40082dcd:0x3ffbb1d0 0x4014d60e:0x3ffbb1f0 0x4015063d:0x3ffbb500 0x400823c9:0x3ffbb530 0x400d595c:0x3ffbb580 0x400d2994:0x3ffbb5b0 0x40091b19:0x3ffbb5d0
Rebooting...
I (321) cpu_start: Pro cpu up.
I (322) cpu_start: Application information:
Would there be any explication for this behaviour, specially regarding vTaskSuspendAll() ?
I have tried to use vTaskSuspendAll() and I get this :
-------------------------------------------------------------
I (11943) ctMain_Routine(): (((((((((((((((( LEDs GREEN ))))))))))))))))
C:/esp/esp-idf/components/freertos/queue.c:1452 (xQueueGenericReceive)- assert failed!
abort() was called at PC 0x400925c3 on core 0
ELF file SHA256: 2e68ae5fd3a5aed4595dc6ad5739557e2fc7c56b3c7ae1f704dad2fa68cc5c9f
Backtrace: 0x4008f279:0x3ffbb4b0 0x4008f5f1:0x3ffbb4d0 0x400925c3:0x3ffbb4f0 0x400822b9:0x3ffbb530 0x400d595c:0x3ffbb580 0x400d2994:0x3ffbb5b0 0x40091b19:0x3ffbb5d0
Rebooting...
I (321) cpu_start: Pro cpu up.
I (322) cpu_start: Application information:
I have tried to use vTaskEndScheduler() and I get this
(although this FreeRTOS function may only be available for the x86 Real Mode PC port) :
-------------------------------------------------------------
abort() was called at PC 0x40082caa on core 0
ELF file SHA256: 87ca977fac4ad4a259cf0f9e421ce27c8660546b18d425828a88105ff737546e
Backtrace: 0x4008f279:0x3ffbb160 0x4008f5f1:0x3ffbb180 0x40082caa:0x3ffbb1a0 0x40082dcd:0x3ffbb1d0 0x4014d60e:0x3ffbb1f0 0x4015063d:0x3ffbb500 0x400823c9:0x3ffbb530 0x400d595c:0x3ffbb580 0x400d2994:0x3ffbb5b0 0x40091b19:0x3ffbb5d0
Rebooting...
I (321) cpu_start: Pro cpu up.
I (322) cpu_start: Application information:
Would there be any explication for this behaviour, specially regarding vTaskSuspendAll() ?