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.

RTOS/AM5728: How can I use the vps_lookback for dsp

Part Number: AM5728

Tool/software: TI-RTOS

I have created the vps_lookback projcet for the dsp, but there are many problems when build. The log is like follows:

>> Compilation failure
makefile:147: recipe for target 'vps_loopbackExample_idkAM572x_C66ExampleProject.out' failed
"configPkg/linker.cmd", line 205: warning #10097: memory range not found: APP_CACHED_DATA_BLK1_MEM on page 0
"configPkg/linker.cmd", line 205: error #10265: no valid memory range(null) available for placement of ".bss:frameBuffer"
"configPkg/linker.cmd", line 205: error #10099-D: program will not fit into available memory.  run placement with alignment fails for section ".bss:frameBuffer" size 0xf200000
"configPkg/linker.cmd", line 204: warning #10097: memory range not found: APP_UNCACHED_DATA_BLK3_MEM on page 0
"configPkg/linker.cmd", line 204: error #10265: no valid memory range(null) available for placement of ".bss:extMemNonCache:vpdma"
"configPkg/linker.cmd", line 204: error #10099-D: program will not fit into available memory.  run placement with alignment fails for section ".bss:extMemNonCache:vpdma" size 0x1d4c0
"configPkg/linker.cmd", line 206: warning #10097: memory range not found: APP_CODE_MEM on page 0
"configPkg/linker.cmd", line 206: error #10099-D: program will not fit into available memory.  run placement with alignment fails for section ".plt" size 0x0
error #10010: errors encountered during linking; "vps_loopbackExample_idkAM572x_C66ExampleProject.out" not built
gmake[1]: *** [vps_loopbackExample_idkAM572x_C66ExampleProject.out] Error 1
gmake: *** [all] Error 2
makefile:143: recipe for target 'all' failed
**** Build Finished ****
>> Compilation failure
makefile:147: recipe for target 'vps_loopbackExample_idkAM572x_C66ExampleProject.out' failed
"configPkg/linker.cmd", line 205: warning #10097: memory range not found: APP_CACHED_DATA_BLK1_MEM on page 0
"configPkg/linker.cmd", line 205: error #10265: no valid memory range(null) available for placement of ".bss:frameBuffer"
"configPkg/linker.cmd", line 205: error #10099-D: program will not fit into available memory.  run placement with alignment fails for section ".bss:frameBuffer" size 0xf200000 
"configPkg/linker.cmd", line 204: warning #10097: memory range not found: APP_UNCACHED_DATA_BLK3_MEM on page 0
"configPkg/linker.cmd", line 204: error #10265: no valid memory range(null) available for placement of ".bss:extMemNonCache:vpdma"
"configPkg/linker.cmd", line 204: error #10099-D: program will not fit into available memory.  run placement with alignment fails for section ".bss:extMemNonCache:vpdma" size 0x1d4c0 
"configPkg/linker.cmd", line 206: warning #10097: memory range not found: APP_CODE_MEM on page 0
"configPkg/linker.cmd", line 206: error #10099-D: program will not fit into available memory.  run placement with alignment fails for section ".plt" size 0x0 
error #10010: errors encountered during linking; "vps_loopbackExample_idkAM572x_C66ExampleProject.out" not built
gmake[1]: *** [vps_loopbackExample_idkAM572x_C66ExampleProject.out] Error 1
gmake: *** [all] Error 2
makefile:143: recipe for target 'all' failed

**** Build Finished ****

And the problem is following:

CCS:8.2

PDK:pdk_am57xx_1_0_13

BIOS:bios_6_73_01_01

So, what should i do to solve this?

  • Can someone help me ?
  • HI

    The expert assigned to this thread is out of office and will be back in a couple of days. We regret the delay in responses 

  • Hi,

    There should not be such error. I just tested:

    1) use  c:\ti\pdk_am57xx_1_0_13\packages>pdkProjectCreate.bat AM572x idkAM572x little vps all dsp to generate the CCS project

    2) Import the CCS project into CCS 8.2 and build (attached is my build log)

    **** Build of configuration Debug for project vps_loopbackExample_idkAM572x_C66ExampleProject ****
    
    "C:\\ti\\ccs_8_2_0\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building file: "C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/ccsprojects/common/bios/utils/bspCommonBIOS_c66.cfg"
    Invoking: XDCtools
    "C:/ti/ccs_8_2_0/xdctools_3_50_08_24_core/xs" --xdcpath="C:/ti/bios_6_73_01_01/packages;C:/ti/pdk_am57xx_1_0_13/packages;C:/ti/edma3_lld_2_12_05_30C/packages;C:/ti/ipc_3_50_03_04/packages;C:/ti/ndk_3_40_01_01/packages;C:/ti/uia_2_30_01_02/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.idkAM572X -r debug -b "C:/ti/pdk_am57xx_1_0_13/packages/ti/build/am572x/config_am572x_c66.bld" -c "C:/ti/ti-cgt-c6000_8.2.2" "C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/ccsprojects/common/bios/utils/bspCommonBIOS_c66.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring bspCommonBIOS_c66.xe66 from package/cfg/bspCommonBIOS_c66_pe66.cfg ...
    # !!! Current build XDCPLATFORM isnull!!!
    # !!! Current build BOARD is idkAM572x !!!
    generating custom ti.sysbios library makefile ... 
    	Linking with library C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/./lib/am572x/c66/release/vps_examples_utility.ae66
    	Linking with library C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/./lib/am572x/c66/release/fvid2.ae66
    	Linking with library C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/./lib/am572x/c66/release/vps_boards.ae66
    	Linking with library C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/./lib/am572x/c66/release/vps_osal_tirtos.ae66
    	Linking with library C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/./lib/am572x/c66/release/vps_platforms.ae66
    	Linking with library C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/./lib/am572x/c66/release/vpsdrv.ae66
    	Linking with library C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/./lib/am572x/c66/release/vpslib.ae66
    	Linking with library C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/./lib/am572x/c66/release/vps_devices.ae66
    	Linking with library C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/./lib/am572x/c66/release/vps_common.ae66
    Inside EDMA3 Drv Sample getLibs
        will link with ti.sdo.edma3.drv.sample:lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66
    	Linking with library ti.board:./lib/idkAM572x/c66/release/ti.board.ae66
    	Linking with library C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/pm/./lib/am572x/c66/release/pm_hal.ae66
    	Linking with library C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/pm/./lib/am572x/c66/release/pm_lib.ae66
    	Linking with library C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/pm/./lib/am572x/c66/release/pm_rtos.ae66
    	Linking with library ti.drv.i2c:./lib/am572x/c66/release/ti.drv.i2c.ae66
    	Linking with library ti.drv.uart:./lib/am572x/c66/release/ti.drv.uart.ae66
    	Linking with library ti.csl:./lib/am572x/c66/release/ti.csl.ae66
    	Linking with library ti.drv.mmcsd:./lib/am572x/c66/release/ti.drv.mmcsd.ae66
    	Linking with library ti.osal:./lib/tirtos/am572x/c66/release/ti.osal.ae66
    Inside EDMA3 Drv getLibs
        will link with ti.sdo.edma3.drv:lib/66/debug/edma3_lld_drv.ae66
    Inside EDMA3 RM getLibs
        will link with ti.sdo.edma3.rm:lib/tda2xx-evm/66/debug/edma3_lld_rm.ae66
    Starting build of library sources ...
        cd C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/ccsprojects/common/bios/utils/src
        C:/ti/ccs_8_2_0/xdctools_3_50_08_24_core/gmake.exe -f C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/ccsprojects/common/bios/utils/src/makefile.libs GEN_SRC_DIR=C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/ccsprojects/common/bios/utils/src
    making C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/ccsprojects/common/bios/utils/src/sysbios/sysbios.ae66 ...
    gmake[1]: Entering directory `C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/ccsprojects/common/bios/utils/src/sysbios'
    cle66 C:/ti/bios_6_73_01_01/packages/ti/sysbios/BIOS.c ...
    asme66 C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/c64p/Exception_asm.s64P ...
    asme66 C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/c64p/Hwi_asm.s62 ...
    asme66 C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 ...
    asme66 C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...
    asme66 C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 ...
    asme66 C:/ti/bios_6_73_01_01/packages/ti/sysbios/rts/ti/tls_get_tp.asm ...
    asme66 C:/ti/bios_6_73_01_01/packages/ti/sysbios/timers/dmtimer/Timer_asm.s64P ...
    are66 BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj c62_TaskSupport_asm.obj ti_tls_get_tp.obj dmtimer_Timer_asm.obj ...
    gmake[1]: Leaving directory `C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/ccsprojects/common/bios/utils/src/sysbios'
    Build of libraries done.
    cle66 package/cfg/bspCommonBIOS_c66_pe66.c ...
    Finished building: "C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/ccsprojects/common/bios/utils/bspCommonBIOS_c66.cfg"
     
    Building files: "C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/loopback/src/Loopback_main.c" "C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/loopback/src/Loopback_test.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.2.2/bin/cl6x" -mv6600 --abi=eabi --include_path="C:/ti/pdk_am57xx_1_0_13/packages/MyExampleProjects/vps_loopbackExample_idkAM572x_C66ExampleProject" --include_path="." --include_path="src" --include_path="C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps" --include_path="C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/loopback/src" --include_path="C:/ti/ti-cgt-c6000_8.2.2/include" --define=USE_BIOS --define=MAKEFILE_BUILD --define=TRACE_ENABLE --define=ASSERT_ENABLE --define=VPS_VIP_BUILD --define=VPS_VPE_BUILD --define=VPS_DSS_BUILD --define=VPS_VIP1_BUILD --define=VPS_VIP2_BUILD --define=VPS_VIP3_BUILD --define=VPS_CAPT_BUILD --define=VPS_DISP_BUILD --define=SOC_AM572x --undefine=VPS_ISS_BUILD --undefine=VPS_SIMCOP_BUILD --undefine=VPS_ISS_ISP_DEF -g --diag_suppress=238 --diag_suppress=880 --diag_suppress=1110 --diag_warning=225 --diag_wrap=off --display_error_number --emit_warnings_as_errors --quiet --gen_func_subsections=on --interrupt_threshold=10 --program_level_compile --asm_extension=.se66 --obj_extension=.oe66 --cmd_file="configPkg/compiler.opt" "C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/loopback/src/Loopback_main.c" "C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/loopback/src/Loopback_test.c"  
    Finished building: "C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/loopback/src/Loopback_main.c" "C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/vps/examples/loopback/src/Loopback_test.c"
     
    Building target: "vps_loopbackExample_idkAM572x_C66ExampleProject.out"
    Invoking: C6000 Linker
    "C:/ti/ti-cgt-c6000_8.2.2/bin/cl6x" -mv6600 --abi=eabi --define=USE_BIOS --define=MAKEFILE_BUILD --define=TRACE_ENABLE --define=ASSERT_ENABLE --define=VPS_VIP_BUILD --define=VPS_VPE_BUILD --define=VPS_DSS_BUILD --define=VPS_VIP1_BUILD --define=VPS_VIP2_BUILD --define=VPS_VIP3_BUILD --define=VPS_CAPT_BUILD --define=VPS_DISP_BUILD --define=SOC_AM572x --undefine=VPS_ISS_BUILD --undefine=VPS_SIMCOP_BUILD --undefine=VPS_ISS_ISP_DEF -g --diag_suppress=238 --diag_suppress=880 --diag_suppress=1110 --diag_warning=225 --diag_wrap=off --display_error_number --emit_warnings_as_errors --quiet --gen_func_subsections=on --interrupt_threshold=10 --program_level_compile --asm_extension=.se66 --obj_extension=.oe66 -z -m"vps_loopbackExample_idkAM572x_C66ExampleProject.map" -i"C:/ti/ti-cgt-c6000_8.2.2/lib" -i"C:/ti/ti-cgt-c6000_8.2.2/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="vps_loopbackExample_idkAM572x_C66ExampleProject_linkInfo.xml" --rom_model --strict_compatibility=on -o "vps_loopbackExample_idkAM572x_C66ExampleProject.out" "Loopback_main.oe66"  -l"configPkg/linker.cmd" -llibc.a 
    Finished building target: "vps_loopbackExample_idkAM572x_C66ExampleProject.out"
     
    C:/ti/pdk_am57xx_1_0_13/packages/pdkAppImageCreate.bat C:/ti/pdk_am57xx_1_0_13/packages C:/ti/ti-cgt-c6000_8.2.2 C:/ti/pdk_am57xx_1_0_13/packages/MyExampleProjects/vps_loopbackExample_idkAM572x_C66ExampleProject/Debug vps_loopbackExample_idkAM572x_C66ExampleProject AM572x dsp
    Parsing the input object file, C:/ti/pdk_am57xx_1_0_13/packages/MyExampleProjects/vps_loopbackExample_idkAM572x_C66ExampleProject/Debug/vps_loopbackExample_idkAM572x_C66ExampleProject.out.
    File conversion complete!
    Number of Input Files 1
     
     
    
    **** Build Finished ****
    

    In the CCS project, it has:

    -rtsc.setConfiguroOptions "-b ${PDK_INSTALL_PATH}/ti/build/am572x/config_am572x_c66.bld". This file defines those  APP_CACHED_DATA_BLK1_MEM etc.

    Please check if you missed this.

    Regards, Eric