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.

AWR1642: High Accuracy Demo: Runtime error while debugging

Part Number: AWR1642

Hello,

I'm trying to debug the high accuracy demo to understand the zoom FFT algorithm. I inserted a hardware breakpoint at the line 191 of the RADARDEMO_highAccuRangeProc_priv.c (at the beginning of the RADARDEMO_highAccuRangeProc_rangeEst() function), then I got this error message when I resumed the program after I hit the breakpoint:

[Cortex_R4_0] **********************************************
[C674X_0] Debug: Logging UART Instance @0080f268 has been opened successfully
Debug: DSS Mailbox Handle @00806208
[Cortex_R4_0] Debug: Launching the Millimeter Wave Demo
[C674X_0] Debug: MMWDemoDSS create event handle succeeded
[Cortex_R4_0] **********************************************
[C674X_0] Debug: MMWDemoDSS mmWave Control Initialization succeeded
[Cortex_R4_0] Debug: MMWDemoMSS Launched the Initialization Task
Debug: MMWDemoMSS mmWave Control Initialization was successful
[C674X_0] Debug: MMWDemoDSS ADCBUF Instance(0) @0080f250 has been opened successfully
Debug: MMWDemoDSS Data Path init succeeded
[Cortex_R4_0] Debug: CLI is operational
[C674X_0] Debug: MMWDemoDSS initTask exit
[Cortex_R4_0] numRangeBinZoomIn=2,left=0,right=0
enableRangeLimit=0,skipMin=0.010000,skipMax=50.000000
Debug: MMWDemoMSS Received CLI sensorStart Event
[C674X_0] DSS:enableRangeLimit=0
DDR Heap : size 65536 (0x10000), used 8240 (0x2030)
LL2 Heap : size 20480 (0x5000), used 16564 (0x40b4)
LL2 Scratch : size 8192 (0x2000), used 8192 (0x2000)
LL1 Scratch : size 16384 (0x4000), used 4096 (0x1000)
HSRAM Heap : size 8192 (0x2000), used 0 (0x0)
[Cortex_R4_0] Debug: System Heap (TCM): Size: 65536, Used = 37464, Free = 28072 bytes
Debug: MMWDemoMSS mmWave config succeeded
[C674X_0] {module#8}: "../dss_main.c", line 200: error {id:0x10000, args:[0x80df9c, 0x80df9c]}
xdc.runtime.Error.raise: terminating execution

What causes this error? How can I fix it? Do you have any workaround suggestions?

Thank you.

***************************************************************

Additional Info:

High Accuracy Demo ver: Industrial Toolbox 3.0.0

mmWave SDK ver: 2.0.0.4

OS: Ubuntu 18.04 LTS

CCS ver: 9.2.0.00013 

Configuration:

dfeDataOutputMode 1
channelCfg 1 1 0
adcCfg 2 1
adcbufCfg 0 1 1 1
profileCfg 0 77 11 7 89.97 0 0 30 1 512 6250 0 0 30
chirpCfg 0 0 0 0 0 0 0 1
frameCfg 0 0 10 0 500 1 0
lowPower 0 1
guiMonitor 1 1 0 0 0 1
cfarCfg 0 2 8 4 3 0 1280
RangeLimitCfg 2 0 0.01 50.0
sensorStart

  • Hello,

    If you are trying to debug DSS code while device is framing then it may hit the assert, as while DSS is halted via CSS, next device moves to next frame and effectively DSP missed few chirps data to process. So in the DSS code it has ASSERT on the check if it misses any chirp/frame data.

    For your purpose you can configure the device for single frame using frameCfg CLI command and do the debug (breakpoint) in the DSS code.

     

    Regards,

    Jitendra