Other Parts Discussed in Thread: AWR1642
Tool/software: Code Composer Studio
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.
Tool/software: Code Composer Studio
Hello Thuan,
We would recommend you going over mmw demo document (mmw\docs\doxygen\html\index.html) for data path timing or DSP processing flow.
Here is the snapshot from the same doxygen document which shows data processing flow and sending object list out of system.
So at each frame start interrupt (MmwDemo_dssFrameStartIntHandler) DSS application makes sure that it has done the processing of the last frame and calculated object list has been sent out properly then only proceed further to process next frame, else raise an exception (DebugP_assert).
In your case after you added new CLI command in configuration file, looks like that is causing somewhere extra delay which further hinders the processing (2-D/3-D FFT) and object shipment task. Thus it's hitting an exception.
Kindly check the code flow of new CLI command in the DSS.
Regards,
Jitendra
Hello Thuan,
Apologies for the delayed response.
To debug mmw demo application you need to do the following changes
1. modify ti\common\mmwave_sdk.mak: remove 'DebugP_ASSERT_ENABLED' definition for 'C674_CFLAGS' and 'R4F_CFLAGS' flags.
2. build all the libraries which are being used by mmw (MSS and DSS) application (cmd: gmake clean, gmake all), this will remove 'DebugP_assert' call from all the libraries.
3. comment '#define DebugP_ASSERT_ENABLED 1' in ti\demo\xwr16xx\mmw\dss\dss_dataPath.c
4. goto mmw path and do the clean and build (make clean, gmake all).
These changes will skip the ASSERT part when you halt MSS or DSS core for debugging over JTAG so it won't go into any 'assertion failure'.
Note- If you do step in during JTAG, DSS functionality/processing flow may break.
Hopefully, it should help you to proceed with JTAG debugging.
Regards,
Jitendra