This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWR6843AOP: MSS crashes when step debugging the DSS in CCS

Part Number: IWR6843AOP
Other Parts Discussed in Thread: MMWAVEICBOOST,

I'm trying to debug the 3D people tracking algorithm and step through the code running on the DSP, however every time the DSP stops at a breakpoint the R4 crashes. If I stop the R4 then the frames don't get triggered so we never drop into the CFAR section of the code. I've tried putting a breakpoint at the start of DPC_ObjectDetection_frameStart() on the R4 (which is where the assert is failing) this kind of worked but then the DSP fails in DPC_ObjectDetection_frameStart() as soon as I try to step.

I've tried enabling global interrupts to stop both cores together but CCS doesn't appear to allow both cores to be set with global interrupts (as soon as I enable it on the second core then it toggles off on the other one). I also tried removing the DebugP_ASSERT_ENABLED flag for both cores, but that just seemed to cause it to fail elsewhere.

Is there a way to step through the DSS project without crashing the MSS? Or is there a section of code where I could place a breakpoint in the MSS to prevent the RF front end from initiating a new frame (basically a way to manually trigger a single frame at a time).

I'm using the IWR6843AOP EVM along MMWAVEICBOOST and the TI debug image in CCS. I've included an image of the error that occurs when I hit my breakpoint, which is placed at the end of DPU_radarProcess_process() in the DSS project.


xdc_runtime_Assert_raise from DPC_ObjectDetection_frameStart