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.

CCS/IWR6843: Modified People Counting Demo crashing frequently

Part Number: IWR6843

Tool/software: Code Composer Studio

Hi, 

We have modified the people counting demo to send data over wifi (using the SPI bus to send the data to a wifi module). The demo runs perfectly fine for roughly an hour or so before crashing with the following error: 

[C674X_0] {module#8}: "../dss_main.c", line 295: error {id:0x10000, args:[0x815e54, 0x815e54]}
xdc.runtime.Error.raise: terminating execution
[Cortex_R4_0] xdc.runtime.Main: "platform/mmwave_dualcore.c", line 1350: assertion failure
xdc.runtime.Error.raise: terminating execution

Line 295 of dss_main.c refers to  DebugP_assert(gMmwDssMCB.dataPathObj.interFrameProcToken == 0); 

I assumed that perhaps the two cores were getting out of sync, or something along those lines, so i thought that lowering the frame rate would help but it still crashes. I've also tried to run it through the .bin file and through CCS and both behave the same - crashing after around 1 hour (the time duration varies - sometimes it crashes in 10 mins, sometimes it crashes after an hour) 

Perhaps you could point me in the right direction to solve this bug. 

thanks a lot

Peter

  • Hi Peter,

    This checks to make sure that the frame has finished processing, before the processing for the next frame starts. This is generally triggered when the DSS has been modifed to spend more time processing that it previously had. Have you made any modifications that effect the DSS runtime?

    The frame proc token is reset at line 1368 of dss_main.c  Have you made any modifications that could effect this getting reset?  When you lower the framerate, does the demo crash after the same number of frames?

    Regards,

    Justin

  • Hi Justin, 

    Thanks for the reply. We haven't made any modifications to the DSS. It looks like we might have another issue in the software of the other chip which is on the board, which is causing the mmwave chip to crash. I need to spend some time debugging that issue before I can say if there is an issue in the mmwave chip. 

    Thanks for your help, 

    Peter