Other Parts Discussed in Thread: AWR1642
Hello,
I have been trying to compile Object detection example code and vital sign detection code by merging it manually with the TI SDK 2.0 (mmwave_sdk_02_01_00_04) . WHile compiling the DSS code the error is coming like : Program will not fit into the available memory.
"dss/dss_mmw_linker.cmd", line 11: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".l2data" size 0x19c0e . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0x800 max hole: 0x800
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
"/home/shammi/ti/mmwave_sdk_02_01_00_04_final_both/packages/ti/platform/xwr16xx/c674x_linker.cmd", line 84: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".const" size 0x2eb0 . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0x0 max hole: 0x0
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
"dss/dss_mmw_linker.cmd", line 10: error #10099-D: program will not fit into available memory. run placement with alignment fails for section "systemHeap" size 0x5007 . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0x0 max hole: 0x0
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
"/home/shammi/ti/mmwave_sdk_02_01_00_04_final_both/packages/ti/platform/xwr16xx/c674x_linker.cmd", line 94: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".far" size 0x3458 . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0x0 max hole: 0x0
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
"/home/shammi/ti/mmwave_sdk_02_01_00_04_final_both/packages/ti/platform/xwr16xx/c674x_linker.cmd", line 83: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".fardata" size 0x134c . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0x0 max hole: 0x0
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
"/home/shammi/ti/mmwave_sdk_02_01_00_04_final_both/packages/ti/platform/xwr16xx/c674x_linker.cmd", line 92: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".stack" size 0x700 . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0x0 max hole: 0x0
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
"/home/shammi/ti/mmwave_sdk_02_01_00_04_final_both/packages/ti/platform/xwr16xx/c674x_linker.cmd", line 85: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".switch" size 0x1f7 . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0x0 max hole: 0x0
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
"/home/shammi/ti/mmwave_sdk_02_01_00_04_final_both/packages/ti/platform/xwr16xx/c674x_linker.cmd", line 86: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".cio" size 0x127 . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0x0 max hole: 0x0
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
"/home/shammi/ti/mmwave_sdk_02_01_00_04_final_both/packages/ti/platform/xwr16xx/c674x_linker.cmd", line 91: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".neardata" size 0x38 . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0x0 max hole: 0x0
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
"/home/shammi/ti/mmwave_sdk_02_01_00_04_final_both/packages/ti/platform/xwr16xx/c674x_linker.cmd", line 90: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".bss" size 0x8 . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0x0 max hole: 0x0
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
warning #10370-D: Possible codesize or performance degradation. Section ".text:MmwDemo_interFrameProcessing:dss_data_path.oe674" has calls to rts routines, but rts is placed out of range from call site at 0xe02274, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop.
warning #10370-D: Possible codesize or performance degradation. Section ".text:MmwDemo_interFrameProcessing:dss_data_path.oe674" has calls to rts routines, but rts is placed out of range from call site at 0xe00c00, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop.
warning #10370-D: Possible codesize or performance degradation. Section ".text:SOC_init:libsoc_xwr16xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x200029d0, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop.
warning #10370-D: Possible codesize or performance degradation. Section ".text:SOC_init:libsoc_xwr16xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x200028c0, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop.
"dss/dss_mmw_linker.cmd", line 54: 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: 0x0 max hole: 0x0
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
error #10010: errors encountered during linking; "xwr16xx_mmw_demo_dss.xe674" not built
1. To solve this i have changes as mentioned in link : https://e2e.ti.com/support/sensors/f/1023/t/618244?tisearch=e2e-sitesearch&keymatch=10099-D
2. And, also as mentioned in the link https://e2e.ti.com/support/sensors/f/1023/t/826759 . But the compi;lation still fails due to the "Program will not fit into available memory".
3. Also I have changed the c674x.linker.cmd, By changing the
L2SRAM_UMAP1: o = 0x007E0000, l = 0x00020000
L2SRAM_UMAP0: o = 0x00800000, l = 0x00020000
L3SRAM: o = 0x20000000, l = MMWAVE_L3RAM_SIZE
HSRAM: o = 0x21080000, l = 0x8000
to
L2SRAM_UMAP1: o = 0x007E0000, l = 0x00030000
L2SRAM_UMAP0: o = 0x00810000, l = 0x00020000
L3SRAM: o = 0x20000000, l = MMWAVE_L3RAM_SIZE
HSRAM: o = 0x21080000, l = 0x8000
It is building the code successfully. But it is not loading and running in the AWR1642 board.
Please guide how to solve this problem. I want to run the object detection and vital signs demo code together.
By
Shammi