Other Parts Discussed in Thread: MATHLIB
Hi,
I am trying to use "lab0003_occupancy_detection"(SDK 2.4.2)code in IWR1642 out of box demo of sdk 2.0.0.4.
For this purpose I have replaced function MmwDemo_interFrameProcessing() and merged subsequent functions in oob demo code.
I have fixed the compilation issues but during linking I am getting following error
line 30: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".l3data" size 0xc3190 . Available memory ranges:
L3SRAM size: 0xc0000 unused: 0xc0000 max hole: 0xc0000
Please help.
I am attaching build logs for your reference.
Best Regards
Vikas
**** Build of configuration Debug for project mmw_dss_16xx ****
/home/prashant/ti/ccsv8/utils/bin/gmake -k -j 6 all -O
rm -f /home/prashant/workspace_v8/mmw_dss_16xx/xwr16xx_mmw_dss.bin
Building target: "xwr16xx_mmw_dss.xe674"
Invoking: C6000 Linker
"/home/prashant/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=MMWAVE_L3RAM_SIZE=0xC0000 --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 -z -m"xwr16xx_mmw_dss.map" --heap_size=0x800 --stack_size=0x800 -i"/home/prashant/ti/ti-cgt-c6000_8.1.3/lib" -i"/home/prashant/ti/mmwave_sdk_02_00_00_04/packages/ti/control/mmwave/lib" -i"/home/prashant/ti/mmwave_sdk_02_00_00_04/packages/ti/control/mmwavelink/lib" -i"/home/prashant/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/crc/lib" -i"/home/prashant/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/mailbox/lib" -i"/home/prashant/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/osal/lib" -i"/home/prashant/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/soc/lib" -i"/home/prashant/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/uart/lib" -i"/home/prashant/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/edma/lib" -i"/home/prashant/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/adcbuf/lib" -i"/home/prashant/ti/mmwave_sdk_02_00_00_04/packages/ti/alg/mmwavelib/lib" -i"/home/prashant/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/lib" -i"/home/prashant/ti/mathlib_c674x_3_1_2_1/packages/ti/mathlib/lib" -i"/home/prashant/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/cbuff/lib" -i"/home/prashant/ti/mmwave_sdk_02_00_00_04/packages/ti/utils/hsiheader/lib" -i"/home/prashant/ti/ti-cgt-c6000_8.1.3/include" --reread_libs --disable_auto_rts --define=MMWAVE_L3RAM_SIZE=0xC0000 --warn_sections --diag_warning=225 --display_error_number --diag_wrap=off --xml_link_info="xwr16xx_mmw_dss_linkInfo.xml" --ram_model --unused_section_elimination=on -o "xwr16xx_mmw_dss.xe674" "./dss_config_edma_util.oe674" "./dss_data_path.oe674" "./dss_lvds_stream.oe674" "./dss_main.oe674" "./gen_twiddle_fft16x16.oe674" "./gen_twiddle_fft32x32.oe674" "./mmwDemo_monitor.oe674" "./oddemo_decision.oe674" "./oddemo_feature.oe674" "./rx_ch_bias_measure.oe674" "../c674x_linker.cmd" "../dss_mmw_linker.cmd" -l"configPkg/linker.cmd" -llibosal_xwr16xx.ae674 -llibsoc_xwr16xx.ae674 -llibcrc_xwr16xx.ae674 -llibuart_xwr16xx.ae674 -llibmailbox_xwr16xx.ae674 -llibmmwavelink_xwr16xx.ae674 -llibmmwave_xwr16xx.ae674 -lmathlib.ae674 -ldsplib.ae64P -llibedma_xwr16xx.ae674 -llibadcbuf_xwr16xx.ae674 -llibmmwavealg_xwr16xx.ae674 -llibcbuff_xwr16xx.ae674 -llibhsiheader_xwr16xx.ae674 -lrts6740_elf.lib -llibc.a
<Linking>
"../dss_mmw_linker.cmd", line 48: warning #10068-D: no matching section
"../dss_mmw_linker.cmd", line 49: warning #10068-D: no matching section
"../dss_mmw_linker.cmd", line 30: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".l3data" size 0xc3190 . Available memory ranges:
L3SRAM size: 0xc0000 unused: 0xc0000 max hole: 0xc0000
"../dss_mmw_linker.cmd", line 33: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".l1data" size 0x46c0 . Available memory ranges:
L1DSRAM size: 0x4000 unused: 0x4000 max hole: 0x4000
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 0xe00720, 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 0xe00814, 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 0x20000ba4, 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 0x20000aa0, 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.
undefined first referenced
symbol in file
--------- ----------------
ODDemo_Heatmap_aoaEstCaponBF ./dss_data_path.oe674
Re16bitIm16bit_swap ./dss_data_path.oe674
oddemo_dataPathObj ./dss_data_path.oe674
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "xwr16xx_mmw_dss.xe674" not built
>> Compilation failure
makefile:169: recipe for target 'xwr16xx_mmw_dss.xe674' failed
gmake[2]: *** [xwr16xx_mmw_dss.xe674] Error 1
gmake[1]: *** [main-build] Error 2
gmake: *** [all] Error 2
makefile:165: recipe for target 'main-build' failed
makefile:160: recipe for target 'all' failed
**** Build Finished ****