IWR1642代码报错求助

您好,我在调试过程中,更改参数出现如图这样的报错,可以问一下这种一般是什么情况造成的嘛?有没有相关的解决方案可以参考。

  • 你好,

    这些DSS打印输出是你添加的么?打印输出里没有看到什么错误信息,很难判断你的问题。
  • 您好,是我更改了配置之后报错,然后自动打印的,这种打印的话是那种函数被触发打印出来的?我没找到相应的打印函数
  • 你好,

    请说明你使用的软件,包括版本。使用的硬件,包括芯片版本。还有你是如何修改配置的。
  • 使用软件为CCS,SDK版本为2.0,TOOLBOX版本为2.4.0,选取demo为PPL,我对内部源码进行了更改,对于其中的1DFFT,想将1DFFT由定点型改为浮点型,我看到源码是有相应的接口判断的,我修改的内未FFT.TYPE,具体更改如下图所示,文件为radarProcess.c.

  • [Cortex_R4_0] **********************************************
    Debug: Launching the Millimeter Wave Demo
    **********************************************
    Debug: MMWDemoMSS Launched the Initialization Task
    Debug: System Heap (TCM): Size: 65536, Used = 2832, Free = 62704 bytes
    [C674X_0] Debug: Logging UART Instance @00815b30 has been opened successfully
    [Cortex_R4_0] Debug: MMWDemoMSS mmWave Control Initialization was successful
    [C674X_0] Debug: DSS Mailbox Handle @0080c5a8
    Debug: MMWDemoDSS create event handle succeeded
    Debug: MMWDemoDSS mmWave Control Initialization succeeded
    Debug: MMWDemoDSS ADCBUF Instance(0) @00815b18 has been opened successfully
    Debug: MMWDemoDSS Data Path init succeeded
    Debug: MMWDemoDSS initTask exit
    [Cortex_R4_0] Debug: CLI is operational
    Debug: Heap before creating a tracker
    Debug: System Heap (TCM): Size: 65536, Used = 27864, Free = 37672 bytes
    Debug: (GtrackModuleInstance *)0x8008a00
    Debug: System Heap (TCM): Size: 65536, Used = 50344, Free = 15192 bytes
    Debug: MMWDemoMSS Received CLI sensorStart Event
    [C674X_0] bandWidth=3070129408.000000
    rangeRes=0.048858
    processCreate: (radarProcessInstance_t *)0x800a80
    processCreate: (RADARDEMO_rangeProc_handle *)0x800aec
    processCreate: (RADARDEMO_detectionCFAR_handle *)0x800f40
    processCreate: (RADARDEMO_aoaEstCaponBF_handle *)0x801b50
    processCreate: (radarProcessBenchmarkObj *)0x8031a8
    processCreate: heatmap (float *)0x20089000
    DDR Heap : size 655360 (0xa0000), used 599948 (0x9278c)
    LL2 Heap : size 45056 (0xb000), used 10276 (0x2824)
    LL2 Scratch : size 8192 (0x2000), used 2048 (0x800)
    [Cortex_R4_0] Debug: System Heap (TCM): Size: 65536, Used = 50344, Free = 15192 bytes
    [C674X_0] LL1 Scratch : size 16384 (0x4000), used 16384 (0x4000)
    [Cortex_R4_0] Debug: MMWDemoMSS mmWave  config succeeded 
    [C674X_0] HSRAM Heap : size 8192 (0x2000), used 0 (0x0)
    A0=0x0 A1=0x1
    A2=0x0 A3=0x1
    A4=0x80 A5=0x81c
    A6=0x10 A7=0x30
    A8=0xf00000 A9=0x814efc
    A10=0x80fa80 A11=0xf00000
    A12=0xf00400 A13=0x0
    A14=0x80fa80 A15=0xffffffff
    A16=0x44a4321 A17=0x0
    A18=0x80bff8 A19=0x0
    A20=0x0 A21=0x0
    A22=0xece9a697 A23=0x479d1f45
    A24=0x7e04 A25=0xf4ddf1b9
    A26=0x8ce29f4b A27=0xb2d156f4
    A28=0x2c50ac8b A29=0xb2db0f39
    A30=0xffffffff A31=0x80bf74
    B0=0x800b18 B1=0x1
    B2=0x80 B3=0xe005a4
    B4=0x80 B5=0x28
    B6=0x800b18 B7=0x14010103
    B8=0x0 B9=0x0
    B10=0x0 B11=0x800aec
    B12=0x0 B13=0x811e60
    B14=0x816288 B15=0x80e4e0
    B16=0x220fba2 B17=0x77b10004
    B18=0x30 B19=0x10
    B20=0xfffffff7 B21=0x4c
    B22=0xf B23=0x0
    B24=0x2e B25=0x75dd137a
    [Cortex_R4_0] xdc.runtime.Main: "../mss_main.c", line 581: assertion failure
    [C674X_0] B26=0xfc049f7a B27=0xf42b979a
    [Cortex_R4_0] xdc.runtime.Error.raise: terminating execution
    [C674X_0] B28=0x9400548 B29=0x8000000
    B30=0x0 B31=0x200054a0
    NTSR=0x1020f
    ITSR=0xf
    IRP=0x7fc8c2
    SSR=0x0
    AMR=0x0
    RILC=0x0
    ILC=0x0
    Exception at 0x200054a4
    EFR=0x2 NRP=0x200054a4
    Internal exception: IERR=0x10
    Resource conflict exception
    {module#20}: line 256: error {id:0xb0000, args:[0x200054a4, 0x80e4e0]}
    xdc.runtime.Error.raise: terminating execution
  • 你好,

    不建议修改fft的类型。
    Because the deadline requirement for chirp processing is generally tight, a 16-bit, fixed-point FFT is used for the balanced dynamic range and
    SNR performance, memory consumption, and cycle consumption.