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: 代码报错

Part Number: AWR1642BOOST


您好,我使用的是D:\zj\AutomotiveToolbox\mmwave_industrial_toolbox_4_1_0\labs\traffic_monitoring\16xx_traffic_monitoring

我在代码中加入了些变量的声明,如下所示

#pragma DATA_SECTION(atest,".l2data")
int atest;

并且在代码中使用这个变量,我自己编写了一个数组赋值函数,调用它:numsee(atest);

#pragma DATA_SECTION(datavally,".l2data")
int datavally[20];
#pragma DATA_SECTION(count11,".l2data")
int count11=0;
 void numsee(int a1)
 {
      datavally[count11]=a1;
    // datavally[count]=a1[count];
     count11++;
             if(count11==19)
             count11=0;
 }

调试日志如下

[C674X_0] Debug: Logging UART Instance @008171d0 has been opened successfully
Debug: DSS Mailbox Handle @0080d548
Debug: MMWDemoDSS create event handle succeeded
Debug: MMWDemoDSS mmWave Control Initialization succeeded
Debug: MMWDemoDSS ADCBUF Instance(0) @008171b8 has been opened successfully
Debug: MMWDemoDSS Data Path init succeeded
Debug: MMWDemoDSS initTask exit
[Cortex_R4_0] **********************************************
Debug: Launching the Millimeter Wave Demo
**********************************************
Debug: MMWDemoMSS Launched the Initialization Task
Debug: System Heap (TCM): Size: 98304, Used = 4880, Free = 93424 bytes
Debug: MMWDemoMSS mmWave Control Initialization was successful
Debug: CLI is operational
Error: MMWDemoMSS mmWave Stop failed [Error code -203227134]
Debug: Heap before creating a tracker
Debug: System Heap (TCM): Size: 98304, Used = 29880, Free = 68424 bytes
Debug: (GtrackModuleInstance *)0x800a188
Debug: System Heap (TCM): Size: 98304, Used = 56416, Free = 41888 bytes
Debug: MMWDemoMSS Received CLI sensorStart Event
Debug: System Heap (TCM): Size: 98304, Used = 56416, Free = 41888 bytes
Debug: MMWDemoMSS mmWave  config succeeded
[C674X_0] processCreate: (radarProcessInstance_t *)0x8019d8
processCreate: (RADARDEMO_rangeProc_handle *)0x801aa0
processCreate: (RADARDEMO_dopplerProc_handle *)0x801ef8
processCreate: (RADARDEMO_detectionCFAR_handle *)0x802440
processCreate: (RADARDEMO_aoAEstBF_handle *)0x803824
processCreate: (RADARDEMO_clusteringDBscanInstance *)0x0
processCreate: (RADARDEMO_clusterTracker_handle *)0x0
processCreate: (radarProcessBenchmarkObj *)0x807448
processCreate: heatmap (float *)0x20076000
DDR Heap : size 655360 (0xa0000), used 628624 (0x99790)
LL2 Heap : size 45056 (0xb000), used 23908 (0x5d64)
LL2 Scratch : size 9472 (0x2500), used 5120 (0x1400)
LL1 Scratch : size 16384 (0x4000), used 16384 (0x4000)
HSRAM Heap : size 8192 (0x2000), used 0 (0x0)
A0=0x0 A1=0x0
A2=0x2 A3=0xc2f1e9e6
A4=0x43f4216b A5=0x42a7b6cc
A6=0xc2dfbe0a A7=0xc1c90e2e
A8=0xc21e9d00 A9=0xc3a7769a
A10=0x442f2b2e A11=0x430cf8da
A12=0x80000000 A13=0xc33d72c6
A14=0x0 A15=0xc290d256
A16=0x4292563b A17=0x433ce455
A18=0x3f800000 A19=0x0
A20=0xc2422f20 A21=0xc440a6d7
A22=0x421df0cc A23=0x434545a4
A24=0x3f800000 A25=0x0
A26=0x6 A27=0x8023e8
A28=0x4 A29=0x2
A30=0x810bf0 A31=0x810c90
B0=0x3f3504f3 B1=0x3f3504f3
B2=0x2 B3=0x4
B4=0x43d456a2 B5=0xbf1dae00
B6=0xc246b329 B7=0x4443c226
B8=0x4246b329 B9=0xc4643a62
B10=0x33d06a29 B11=0xc41a65ba
B12=0x30 B13=0x1f8
B14=0x817960 B15=0x80f880
B16=0x810bf8 B17=0xc462d290
B18=0x4420418b B19=0x2
B20=0xc421edfa B21=0xc43dde7c
B22=0xc350bf0b B23=0xc3bb19c4
B24=0xbf3504f3 B25=0x3f3504f3
B26=0x434c6e44 B27=0xc361725e
B28=0xaf618380 B29=0x3f800000
B30=0x431470f8 B31=0x431a079d
NTSR=0x1420f
ITSR=0x420f
IRP=0xe02900
SSR=0x0
AMR=0x0
RILC=0x10
ILC=0x6
Exception at 0x7e9460
EFR=0x2 NRP=0x7e9460
Internal exception: IERR=0x180
Loop buffer exception
Missed stall exception
{module#20}: line 256: error {id:0xb0000, args:[0x7e9460, 0x80f880]}
xdc.runtime.Error.raise: terminating execution
[Cortex_R4_0] xdc.runtime.Main: "../mss_main.c", line 579: assertion failure
xdc.runtime.Error.raise: terminating execution

请问能否帮我分析一下是那一方面的问题?