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.

AWR1843: Error while debugging

Part Number: AWR1843

Hi everyone

So I am working on the Out Of Box lab and I tried to implement the DBscan algorithm from Lab7, it compiles fine but when I enter debug mode and run the project it shows me this error in the console

[C674X_0] xdc.runtime.Main: "../objectdetection.c", line 428: assertion failure xdc.runtime.Error.raise: terminating execution 

I added the tasks that are responsible for the dbscan into the oob code

  • Hi,

    It seems that the processing of the frame has not completed.

    The function "DPC_ObjectDetection_frameStart()" will check if the previous frame has completed by checking the ProcToken.

    So, probably the modifications that were made increased the processing time and the frame processing did not complete in time

    The first thing to try during development is to increase the frame duration in the cfg file.

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\xwr18xx\mmw\profiles

    For example update frame duration from 100ms to 1000ms

    Modify

    frameCfg 0 2 32 0 100 1 0

    to

    frameCfg 0 2 32 0 1000 1 0

    Thank you

    Cesar

  • Thank you Cesar for your reply

    Yes as you mentioned the issue is probably that the frame processing did not complete in time, I tried what you suggested and I increased the frame periodicity but the error did not vanish, this is the cfg file I am using ( it has some modifications so it can adapt also to the beam steering process) 

    profile.cfg (6).txt
    %This file was updated by script C:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\xwr18xx\mmw\profiles\mmwDemo_xwr18xx_update_config.pl version:1.1
    %This file is compatible with Visualizer Version:3.5.0
    % Carrier frequency     GHz                           77
    % Ramp Slope    MHz/us                                100
    % Num ADC Samples                                     256
    % ADC Sampling Rate Msps                              7.2
    % ADC Collection Time   us                            35.56
    % Extra ramp time required (start time) us            7
    % Chirp time (end time - start time)    us            36
    % Chirp duration (end time) us                        39
    % Sweep BW (useful) MHz                               3555.56
    % Total BW  MHz                                       3900
    % Max beat freq (80% of ADC sampling rate)  MHz       5.76
    % Max distance (80%)    m                             8.64
    % Range resolution  m                                 0.042
    % Range resolution (meter per 1D-FFT bin)   m/bin     0.042
    %                                                     
    % Inter-chirp duration  us                            7
    % Number of chirp intervals in frame    -             64
    % Number of TX (TDM MIMO)                             2
    % Number of Tx elevation antennas                     1
    % Number of RX channels -                             4
    % Max umambiguous relative velocity kmph              38.11
    %   mileph                                            23.82
    % Max extended relative velocity    kmph              76.23
    %   mileph                                            47.64
    % Frame time (total)    ms                            2.944
    % Frame time (active)   ms                            2.496
    % Range FFT size    -                                 256
    % Doppler FFT size  -                                 32
    % Radar data memory required    KB                    272
    % Velocity resolution   m/s                           0.66
    % Velocity resolution (m/s per 2D-FFT bin)  m/s/bin   0.66
    % Velocity Maximum  m/s                               10.59
    % Extended Maximum Velocity m/s                       21.17
    % Maximum sweep accorss range bins  range bin         0.74
    %
    sensorStop
    flushCfg
    dfeDataOutputMode 1
    channelCfg 15 7 0
    adcCfg 2 1
    adcbufCfg -1 0 1 1 1
    lowPower 0 0
    profileCfg 0 77 400 3 39 0 0 100 1 256 7200 0 0 30
    chirpCfg 0 0 0 0 0 0 0 7
    frameCfg 0 0 32 0 1000 1 0
    guiMonitor -1 1 1 1 0 0 1
    cfarCfg -1 0 2 8 4 3 0 7.0 0
    cfarCfg -1 1 0 4 2 3 1 7.0 0
    multiObjBeamForming -1 0 0.5
    calibDcRangeSig -1 0 -5 8 256
    clutterRemoval -1 0
    compRangeBiasAndRxChanPhase 0.0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
    measureRangeBiasAndRxChanPhase 0 1. 0.2
    aoaFovCfg -1 -90 90 -90 90
    cfarFovCfg -1 0 0.25 8.64
    cfarFovCfg -1 1 -10.59 10.59
    extendedMaxVelocity -1 0
    CQRxSatMonitor 0 3 11 121 0
    CQSigImgMonitor 0 127 8
    analogMonitor 0 0
    lvdsStreamCfg -1 0 0 0
    calibData 0 0 0
    sensorStart
    

  • Hi Cesar, I implemented the DBscan algorithm into the DSS code instead of the MSS ( where I originally put it) and it works fine now. 

  • Great!

    Thank you

    Cesar