Other Parts Discussed in Thread: SYSBIOS, MATHLIB, IWR6843, MMWAVEICBOOST, IWR6843ISK, IWR1642
Tool/software: Code Composer Studio
Hi,
I follow the link to add CLI_write() in DSS application and try to print the log to UART port. It fails to compile due to the memory is not available. Can you please help to check this error?
https://e2e.ti.com/support/sensors/f/1023/t/653197
==========================================================================================================
**** Clean-only build of configuration Debug for project ods_pplcount_dss_68xx ****
"I:\\ti\\ccs830\\ccsv8\\utils\\bin\\gmake" -k -j 4 clean -O
DEL /F "ods_pplcount_dss_68xx.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "ods_pplcount_dss_68xx.xe674"
DEL /F "dss_config_edma_util.oe674" "dss_data_path.oe674" "dss_main.oe674" "gen_twiddle_fft16x16.oe674" "gen_twiddle_fft32x32.oe674" "rx_ch_bias_measure.oe674"
DEL /F "dss_config_edma_util.d" "dss_data_path.d" "dss_main.d" "gen_twiddle_fft16x16.d" "gen_twiddle_fft32x32.d" "rx_ch_bias_measure.d"
RMDIR /S/Q "configPkg\"
找不到 I:\ti\workspace_v8\ods_pplcount_dss_68xx\Debug\ods_pplcount_dss_68xx.hex
找不到 I:\ti\workspace_v8\ods_pplcount_dss_68xx\Debug\ods_pplcount_dss_68xx.xe674
Finished clean
**** Build Finished ****
**** Build of configuration Debug for project ods_pplcount_dss_68xx ****
"I:\\ti\\ccs830\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O
rm -f I:/ti/workspace_v8/ods_pplcount_dss_68xx/ods_pplcount_dss_68xx.bin
makefile:190: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, rm -f I:/ti/workspace_v8/ods_pplcount_dss_68xx/ods_pplcount_dss_68xx.bin, ...) failed.
make (e=2): 系統找不到指定的檔案。
gmake[1]: [pre-build] Error 2 (ignored)
Building file: "../dss_mmw.cfg"
Invoking: XDCtools
"I:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="I:/ti/bios_6_53_02_00/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.c6x:IWR16XX:false:600 -r release -c "I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5" "../dss_mmw.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring dss_mmw.xe674 from package/cfg/dss_mmw_pe674.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making I:/ti/workspace_v8/ods_pplcount_dss_68xx/src/sysbios/sysbios.ae674 ...
gmake[1]: Entering directory `I:/ti/workspace_v8/ods_pplcount_dss_68xx/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `I:/ti/workspace_v8/ods_pplcount_dss_68xx/src/sysbios'
Build of libraries done.
cle674 package/cfg/dss_mmw_pe674.c ...
Finished building: "../dss_mmw.cfg"
Building file: "../gen_twiddle_fft16x16.c"
Invoking: C6000 Compiler
"I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="I:/ti/workspace_v8/ods_pplcount_dss_68xx" --include_path="I:/ti/mmwave_industrial_toolbox_3_3_0/labs/lab0020_pplcount_Overhead/src/common" --include_path="I:/ti/mmwave_industrial_toolbox_3_3_0/labs/lab0020_pplcount_Overhead/src/common/gtrack" --include_path="I:/ti/mmwave_sdk_03_01_01_02/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/include" --define=SOC_XWR68XX --define=SUBSYS_DSS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DOWNLOAD_FROM_CCS --define=_LITTLE_ENDIAN --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="gen_twiddle_fft16x16.d_raw" --cmd_file="configPkg/compiler.opt" "../gen_twiddle_fft16x16.c"
Finished building: "../gen_twiddle_fft16x16.c"
Building file: "../gen_twiddle_fft32x32.c"
Invoking: C6000 Compiler
"I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="I:/ti/workspace_v8/ods_pplcount_dss_68xx" --include_path="I:/ti/mmwave_industrial_toolbox_3_3_0/labs/lab0020_pplcount_Overhead/src/common" --include_path="I:/ti/mmwave_industrial_toolbox_3_3_0/labs/lab0020_pplcount_Overhead/src/common/gtrack" --include_path="I:/ti/mmwave_sdk_03_01_01_02/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/include" --define=SOC_XWR68XX --define=SUBSYS_DSS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DOWNLOAD_FROM_CCS --define=_LITTLE_ENDIAN --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="gen_twiddle_fft32x32.d_raw" --cmd_file="configPkg/compiler.opt" "../gen_twiddle_fft32x32.c"
Finished building: "../gen_twiddle_fft32x32.c"
Building file: "../dss_config_edma_util.c"
Invoking: C6000 Compiler
"I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="I:/ti/workspace_v8/ods_pplcount_dss_68xx" --include_path="I:/ti/mmwave_industrial_toolbox_3_3_0/labs/lab0020_pplcount_Overhead/src/common" --include_path="I:/ti/mmwave_industrial_toolbox_3_3_0/labs/lab0020_pplcount_Overhead/src/common/gtrack" --include_path="I:/ti/mmwave_sdk_03_01_01_02/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/include" --define=SOC_XWR68XX --define=SUBSYS_DSS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DOWNLOAD_FROM_CCS --define=_LITTLE_ENDIAN --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_config_edma_util.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_config_edma_util.c"
Finished building: "../dss_config_edma_util.c"
Building file: "../rx_ch_bias_measure.c"
Invoking: C6000 Compiler
"I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="I:/ti/workspace_v8/ods_pplcount_dss_68xx" --include_path="I:/ti/mmwave_industrial_toolbox_3_3_0/labs/lab0020_pplcount_Overhead/src/common" --include_path="I:/ti/mmwave_industrial_toolbox_3_3_0/labs/lab0020_pplcount_Overhead/src/common/gtrack" --include_path="I:/ti/mmwave_sdk_03_01_01_02/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/include" --define=SOC_XWR68XX --define=SUBSYS_DSS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DOWNLOAD_FROM_CCS --define=_LITTLE_ENDIAN --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="rx_ch_bias_measure.d_raw" --cmd_file="configPkg/compiler.opt" "../rx_ch_bias_measure.c"
Finished building: "../rx_ch_bias_measure.c"
Building file: "../dss_main.c"
Invoking: C6000 Compiler
"I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="I:/ti/workspace_v8/ods_pplcount_dss_68xx" --include_path="I:/ti/mmwave_industrial_toolbox_3_3_0/labs/lab0020_pplcount_Overhead/src/common" --include_path="I:/ti/mmwave_industrial_toolbox_3_3_0/labs/lab0020_pplcount_Overhead/src/common/gtrack" --include_path="I:/ti/mmwave_sdk_03_01_01_02/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/include" --define=SOC_XWR68XX --define=SUBSYS_DSS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DOWNLOAD_FROM_CCS --define=_LITTLE_ENDIAN --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_main.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_main.c"
Finished building: "../dss_main.c"
Building file: "../dss_data_path.c"
Invoking: C6000 Compiler
"I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="I:/ti/workspace_v8/ods_pplcount_dss_68xx" --include_path="I:/ti/mmwave_industrial_toolbox_3_3_0/labs/lab0020_pplcount_Overhead/src/common" --include_path="I:/ti/mmwave_industrial_toolbox_3_3_0/labs/lab0020_pplcount_Overhead/src/common/gtrack" --include_path="I:/ti/mmwave_sdk_03_01_01_02/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/include" --define=SOC_XWR68XX --define=SUBSYS_DSS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DOWNLOAD_FROM_CCS --define=_LITTLE_ENDIAN --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_data_path.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_data_path.c"
"../dss_data_path.c", line 2726: warning #179-D: variable "txOrder" was declared but never referenced
"../dss_data_path.c", line 4236: warning #552-D: variable "firstMaxVal" was set but never used
"../dss_data_path.c", line 2649: warning #179-D: function "MmwDemo_rxChanPhaseBiasCompensationAzimElev" was declared but never referenced
Finished building: "../dss_data_path.c"
Building target: "ods_pplcount_dss_68xx.xe674"
Invoking: C6000 Linker
"I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --define=SOC_XWR68XX --define=SUBSYS_DSS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DOWNLOAD_FROM_CCS --define=_LITTLE_ENDIAN --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 -z -m"ods_pplcount_dss_68xx.map" --heap_size=0x800 --stack_size=0x800 -i"I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/lib" -i"I:/ti/workspace_v8/ods_pplcount_dss_68xx" -i"I:/ti/mmwave_sdk_03_01_01_02/packages/ti/control/mmwave/lib" -i"I:/ti/mmwave_sdk_03_01_01_02/packages/ti/control/mmwavelink/lib" -i"I:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/crc/lib" -i"I:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/mailbox/lib" -i"I:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/osal/lib" -i"I:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/soc/lib" -i"I:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/uart/lib" -i"I:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/edma/lib" -i"I:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/adcbuf/lib" -i"I:/ti/mmwave_sdk_03_01_01_02/packages/ti/alg/mmwavelib/lib" -i"C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/lib" -i"C:/ti/mathlib_c674x_3_1_2_1/packages/ti/mathlib/lib" -i"I:/ti/ccs830/ccsv8/tools/compiler/ti-cgt-c6000_8.2.5/include" --reread_libs --disable_auto_rts --diag_warning=225 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="xwr16xx_mmw_dss_linkInfo.xml" --ram_model --unused_section_elimination=on -o "ods_pplcount_dss_68xx.xe674" "./dss_config_edma_util.oe674" "./dss_data_path.oe674" "./dss_main.oe674" "./gen_twiddle_fft16x16.oe674" "./gen_twiddle_fft32x32.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 -lrts6740_elf.lib -llibc.a
<Linking>
"../dss_mmw_linker.cmd", line 48: warning #10068-D: no matching section
"../c674x_linker.cmd", line 87: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".switch" size 0x1e4 . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0x20 max hole: 0x7
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
"../c674x_linker.cmd", line 93: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".neardata" size 0x14 . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0x20 max hole: 0x7
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
"../c674x_linker.cmd", line 88: 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: 0x20 max hole: 0x7
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 0xe01440, 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 0xe026b8, 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 0x20002fb0, 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 0x20002ea0, 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_mmw_linker.cmd", line 58: 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: 0xf max hole: 0x7
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
error #10010: errors encountered during linking; "ods_pplcount_dss_68xx.xe674" not built
>> Compilation failure
makefile:165: recipe for target 'ods_pplcount_dss_68xx.xe674' failed
gmake[2]: *** [ods_pplcount_dss_68xx.xe674] Error 1
makefile:161: recipe for target 'main-build' failed
gmake[1]: *** [main-build] Error 2
makefile:156: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****