I have 25 CC1310 boards that are running TI-RTOS and the latest SimpleLink CC13x0 SDK (4.20.02.07). The boards are programmed to perform a WOR every second using RF_runCmd to check if someone is trying to talk to it among other things. I have a problem where the boards are hard faulting randomly while in the WOR thread. I usually get 1-2 boards that hard fault each day, each with this same problem. I haven't found a way to replicate the problem repeatedly, so I have to wait until one hard faults to then debug it.
Here is the ROV Hwi exception:
After changing the PC, SP, and LR register values to the ones in the exception, I can see what looks to be a null pointer in List_put's elem variable:
Going back in the stack trace where List_put is called in RF_postCmd, I see that there are checks in place to make sure pCmd isn't null, so I'm not sure why this is happening:
How can I debug this further? All of this points to the SDK code, so I don't know if there's something I'm doing wrong or if it's a bug in the SDK...