RNode on ESP32C3, freeze during modem init #529
Unanswered
nathmo
asked this question in
Help & Questions
Replies: 1 comment 5 replies
-
Greetings, could you share more info about the board? Is it a custom board or something off the shelf? Or would you rather not say? What modem is installed that is trying to be run for the preInit? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm looking for help, tips, pointer on how to debug the following issue :
I'm trying to port the RNode firmware on the ESP32-C3.
here is my issue with my current progress : liberatedsystems/RNode_Firmware_CE#18
the TLDR is that the node freeze after the following happen :
when the software try to initialise the radio modem, the SPI beginTransaction function make the ESP32-C3 freeze.
using print statement, I traced the issue back to theses lines :
@jacobeva seems to believe it might be due to a stack issues. I tried to set a bigger stack as his fix suggested, but there is no behavior change.
I also tried to disable the SPI init (nathmo/RNode_Firmware_CE@2217fe0) which allowed the board to boot and respond to command but without much surprise, the radio don't work.
I believe it's a semaphore issue, but I don't know how to debug these kinds of issue. Especially since I don't see anything in the code that was run before that would have touched the SPI.
(assert failed: xQueueSemaphoreTake queue.c:1549 (pxQueue->uxItemSize == 0))
If someone with more experience than me could spend some time to look at it, I would be incredibly grateful :)
this is my version : https://github.com/nathmo/RNode_Firmware_CE
This is the crashdump I got :
Beta Was this translation helpful? Give feedback.
All reactions