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.

AWR1642BOOST: 补零fft

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: MATHLIB

您好,我使用的是:D:\zj\AutomotiveToolbox\AutomotiveToolbox4.11\new\mmwave_industrial_toolbox_4_11_0\labs\Level_Sensing\src\16xx

我在该工程中的: 这个位置加入了一段我自己写的补0之后然后做DFT的代码,编译没有问题,但是在发送完命令sensorStart的时候,有以下提示.请问是不是内存的问题。

[Cortex_R4_0] **********************************************
Debug: Launching the Millimeter Wave Demo
**********************************************
Debug: MMWDemoMSS Launched the Initialization Task
Debug: MMWDemoMSS mmWave Control Initialization was successful
Debug: CLI is operational
[C674X_0] Debug: Logging UART Instance @0080ee38 has been opened successfully
Debug: DSS Mailbox Handle @00805d28
Debug: MMWDemoDSS create event handle succeeded
Debug: MMWDemoDSS mmWave Control Initialization succeeded
Debug: MMWDemoDSS ADCBUF Instance(0) @0080ee20 has been opened successfully
Debug: MMWDemoDSS Data Path init succeeded
Debug: MMWDemoDSS initTask exit
[Cortex_R4_0] numRangeBinZoomIn=2,left=0,right=0
enableRangeLimit=1,skipMin=1.000000,skipMax=3.000000
Debug: MMWDemoMSS Received CLI sensorStart Event
Debug: System Heap (TCM): Size: 65536, Used = 33280, Free = 32256 bytes
Debug: MMWDemoMSS mmWave config succeeded
[C674X_0] DSS:enableRangeLimit=1,skipMin=1.00,skipMax=3.00,rangeResolution=0.0435,skipLeft=23,skipRight=443
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)
A0=0x0 A1=0x0
A2=0x0 A3=0x0
A4=0x7fffffff A5=0x400f11e9
A6=0xb7 A7=0x41e00000
A8=0x0 A9=0x80e294
A10=0x18000a0 A11=0x1800040
A12=0x1800040 A13=0x7ee470
A14=0x0 A15=0x80de10
A16=0x6dc9c883 A17=0x3fd45f30
A18=0xd A19=0x200
A20=0x0 A21=0x0
A22=0x97263649 A23=0x9a1ac03c
A24=0x60 A25=0xef08
A26=0xc5fa15a A27=0x79a88294
A28=0xffffffff A29=0xfffffc00
A30=0x18cdba A31=0x0
B0=0x7fffffff B1=0x0
B2=0x7fffffff B3=0x7fa894
B4=0x805204 B5=0x80df08
B6=0x7f0050 B7=0x4000000
B8=0x0 B9=0x805204
B10=0x18000a0 B11=0x1800040
B12=0x1 B13=0x7f0050
B14=0x1 B15=0x7f0050
B16=0x80de10 B17=0x80caa6
B18=0x80e238 B19=0x7f3a90
B20=0xfffffff7 B21=0x1
B22=0x1 B23=0x80f238
B24=0x80f1c8 B25=0x2
B26=0x1800040 B27=0x7ee470
B28=0x80cb05 B29=0x7ff03a
B30=0x0 B31=0x0
NTSR=0x80f1d0
ITSR=0x0
IRP=0xffffffff
SSR=0x0
AMR=0xfffffffe
RILC=0x65666666
ILC=0x36363536
Exception at 0x7ffffffc
EFR=0x2 NRP=0x7ffffffc
Internal exception: IERR=0x1
Instruction fetch exception
{module#20}: line 256: error {id:0xb0000, args:[0xffffffff, 0x7ffffffc]}
xdc.runtime.Error.raise: terminating execution
[Cortex_R4_0] xdc.runtime.Main: "../mss_main.c", line 973: assertion failure
xdc.runtime.Error.raise: terminating execution

  • 这个位置加入了一段我自己写的补0之后然后做DFT的代码,编译没有问题

    请问你添加代码后是否有修改cmd文件的内存分配?

    截屏里的信息和你帖子贴的log信息有不同,请问以那个为准?

  • 您好,我后来明白要先开辟一个变量,因为我需要把点数补到4500个点左右,所以我选择把变量开辟到L3中,您看一下我的操作是否正确

    第一步,在high_accuracy_16xx_dss/RADARDEMO_highAccuRangeProc_priv.c开头增加以下代码:

    #pragma DATA_SECTION(addzeros11,".l3data");
    float addzeros11[4*512];
    #pragma DATA_SECTION(addzerosoutput12,".l3data");
    float addzerosoutput12[4*512];

    但是其提示我说:

    我给出其consolo提示


    **** Build of configuration Debug for project high_accuracy_16xx_dss ****

    "C:\\ti\\ccs1120\\ccs\\utils\\bin\\gmake" -k -j 16 all -O

    rm -f C:/Users/try3701/workspace_v11/high_accuracy_16xx_dss/xwr16xx_high_accuracy_dss.bin
    makefile:191: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f C:/Users/try3701/workspace_v11/high_accuracy_16xx_dss/xwr16xx_high_accuracy_dss.bin, ...) failed.
    make (e=2): 系统找不到指定的文件。

    gmake[1]: [pre-build] Error 2 (ignored)

    Building file: "../RADARDEMO_highAccuRangeProc_priv.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/try3701/workspace_v11/high_accuracy_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_01_00_04/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c674x_3_4_0_0/packages/" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="RADARDEMO_highAccuRangeProc_priv.d_raw" --cmd_file="configPkg/compiler.opt" "../RADARDEMO_highAccuRangeProc_priv.c"

    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'RADARDEMO_highAccuRangeProc_priv.oe674' failed
    "../RADARDEMO_highAccuRangeProc_priv.c", line 206: warning #225-D: function "dft" declared implicitly
    "../RADARDEMO_highAccuRangeProc_priv.c", line 206: error #135: expected a field name
    "../RADARDEMO_highAccuRangeProc_priv.c", line 188: warning #552-D: variable "rad1D" was set but never used
    "../RADARDEMO_highAccuRangeProc_priv.c", line 189: warning #179-D: variable "brev" was declared but never referenced
    "../RADARDEMO_highAccuRangeProc_priv.c", line 571: warning #225-D: function "dft" declared implicitly
    "../RADARDEMO_highAccuRangeProc_priv.c", line 538: warning #552-D: variable "rad1D" was set but never used
    "../RADARDEMO_highAccuRangeProc_priv.c", line 539: warning #179-D: variable "brev" was declared but never referenced
    "../RADARDEMO_highAccuRangeProc_priv.c", line 51: warning #837-D: pragma can only be applied to a file level symbol, not 'addzeros'
    "../RADARDEMO_highAccuRangeProc_priv.c", line 53: warning #837-D: pragma can only be applied to a file level symbol, not 'addzerosoutput'
    1 error detected in the compilation of "../RADARDEMO_highAccuRangeProc_priv.c".
    gmake[1]: *** [RADARDEMO_highAccuRangeProc_priv.oe674] Error 1
    gmake[1]: Target 'main-build' not remade because of errors.
    gmake: *** [all] Error 2
    makefile:157: recipe for target 'all' failed

    **** Build Finished ****

  • 您好,我又有了新的进展,但是遇到了一些奇怪的问题,可以帮我看一下吗?

    AWR1642BOOST: 必须是512个点 - 传感器论坛 - 传感器 - E2ETm 设计支持 (ti.com)

  • 你好,

    已经回复,这个帖子我就关闭了。