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.

IWR1843: issue about L3 memory allocate CaponBF

Genius 13655 points
Part Number: IWR1843

Hello Champion,

lab D:\ticode\mmwave_industrial_toolbox_4_6_0\labs\people_counting\68xx_Sense_and_Direct_HVAC_Control\src

Customer modified the 68xx_Sense_and_Direct_HVAC_Control\src to implement 512*32 BF for IWR1843.

Attached is the projectTR300 (1).zip

Problem:
       1. If configuring to 256*32 by modifying gCLIConfigTable “"profileCfg 0 77 2 10.0 370.06 0 0 1.062 1 512 3000.0 0 0 52"," 512 from 256,  the code can run successfully.  
       2. If configuring to 512*32, the L3 allocation is good but it will prompt error after radarProcessCreate function. However if setting a breakpoint at the end of radarProcessCreate(), the code can run successfully.

BTW, the L3 Radar_Cube_Size is 512K which isn't beyond 1MB.

The error message is below:

Debug: MMWDemoMSS Received CLI sensorStart Event
Debug: Sending rlRfSetLdoBypassConfig with 0 0 0
Debug: System Heap (TCM): Size: 98304, Used = 54664, Free = 43640 bytes
classifierkNN_process_create: (classifierkNN_process_handle *)0x801ede0
DDR Heap : Not used!
DDR scratch : Not used!
LL2 Heap : size 24576 (0x6000), used 19931 (0x4ddb)
LL2 scratch : size 4096 (0x1000), used 2000 (0x7d0)
L1 Heap : Not used!
L1 scratch : Not used!
HSRAM Heap : Not used!
HSRAM scratch : Not used!
Debug: MMWDemoMSS mmWave config succeeded
[C674X_0] processCreate: (radarProcessInstance_t *)0x800a20
processCreate: (RADARDEMO_rangeProc_handle *)0x800ab8
processCreate: (RADARDEMO_detectionCFAR_handle *)0x801cf0
processCreate: (RADARDEMO_aoaEstCaponBF_handle *)0x8026e0
processCreate: (radarProcessBenchmarkObj *)0x80850c
processCreate: heatmap (float *)0x2004a000
A0=0x0 A1=0x1
A2=0x80e3f8 A3=0x2b
A4=0x80e4e8 A5=0x0
A6=0x39e73908 A7=0x7f9a2c
A8=0x7fdda0 A9=0x7fb5e4
A10=0x7fd7b4 A11=0x811220
A12=0x0 A13=0x21000000
A14=0x80c4d1 A15=0x1
A16=0x814bf0 A17=0x0
A18=0x4000 A19=0xf0
A20=0x0 A21=0x7fe2c0
A22=0x7ed148 A23=0xffee1787
A24=0x3 A25=0x80000000
A26=0x7fc468 A27=0xe
A28=0x200 A29=0x2d97c7f2
A30=0x7f200000 A31=0x0
B0=0x0 B1=0x0
B2=0x0 B3=0x330c3236
B4=0x14010103 B5=0x814666
B6=0x10 B7=0x815da8
B8=0x637ca5ac B9=0xbfdb6a8d
B10=0x36713596 B11=0x382a374c
B12=0x39e73908 B13=0x3d6b3c89
B14=0x815ec8 B15=0x80e518
B16=0x813b2f B17=0x0
B18=0x30 B19=0x6
B20=0xfffffff8 B21=0x4c
B22=0x69 B23=0x2a
B24=0x2e B25=0xfb56b029
B26=0x0 B27=0xffffffff



Thanks.
Rgds
Shine