Tool/software:
I am trying to track down an issue with my CC1311P3 firmware that causes a hang (and eventual watchdog reset). I've disabled the watchdog to try to find the faulting code, but when the fault occurs, the debugger gets disconnected. I noticed this happens on certain RF core faults (for example, put too many commands in the queue and then try to issue another command anyway: it will halt and disconnect the debugger). This issue is intermittent and very difficult to trace since the debugger disconnects.
Is there a reason why the debugger disconnects? Is there a list of faults that can cause this behavior? One problem is the issue occurs very rarely on my hardware, but occurs more consistently on hardware in another office.
I know the issue seems to happen after a transmission finishes. After transmit, the firmware tries to put the RF in receive mode, then soon after a channel change and back to receive mode. The crash seems to happen after transmit completes, but before the channel change. I'm not able to confirm yet if it actually got to Rx mode after transmit or not, but I suspect that's where the fault occurred.
I also added an error callback (added pointer to rfParams.pErrCb), but the code is not entering this function.