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: DSS logging doesn't work

Expert 2050 points
Part Number: AWR1843

In automotive demo mrr. I want to check the value of rangeSNRdB by using System_printf or printf. 

mrr_18xx_dss/dss_data_path.c

Option 1:

if ( (objRaw[i].rangeSNRdB > SNRThresh[j].threshold) && (objRaw[i].peakVal > peakValThresh[k].threshold) )

{
      //System_printf("%d, %d, %d, %d \n", objRaw[i].rangeSNRdB, SNRThresh[j].threshold, objRaw[i].peakVal, peakValThresh[k].threshold);

      ...

Option 2:

if ( (objRaw[i].rangeSNRdB > SNRThresh[j].threshold) && (objRaw[i].peakVal > peakValThresh[k].threshold) )
{
      printf("%d, %d, %d, %d \n", objRaw[i].rangeSNRdB, SNRThresh[j].threshold, objRaw[i].peakVal, peakValThresh[k].threshold);

      ...

But both logging method do not work. Option 1 doesn't show the log I want to see. Option 2 causes a compile error as below:

"../dss_mrr_linker.cmd", line 99: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".ovly" size 0x10 . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0xf max hole: 0x7
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
error #10010: errors encountered during linking; "mrr_18xx_dss.xe674" not built

Is it possible to check the value of rangeSNRdB of each object?

Thanks

  • Hi Lei,

    You can try writing this particular data out using CLI if it isn't already done. You can also try to store the value of rangeSNRdB of each object in a global memory space. (Depending on how much space is left in your application).

    Regards,

    Kaushik