Hi,
I am trying to run the example code available in edma3_lld_02_12_00_20 packages(SDK).
I tried to remove maximum liking error but I am unable to solve the below linking errors .
I am using CCSv5.4 in windows (64 bit) .
edma3 version :edma3_lld_02_12_00_20
CCS:v5.4
OS:Windows
Error:PFA
DSP:C66X
**** Build of configuration Debug for project edma3_drv_bios6_c6678_st_sample ****
C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: C:/ti_new/edma3_lld_02_12_00_20/examples/edma3_driver/src/common.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="/include" --include_path="C:/ti/edma3_lld_02_12_00_20/packages" --include_path="C:/ti/bios_6_33_04_39/packages" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/xdctools_3_23_03_53/packages/" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="common.pp" "C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/common.c"
'Finished building: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/common.c'
' '
'Building file: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_chain_test.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="/include" --include_path="C:/ti/edma3_lld_02_12_00_20/packages" --include_path="C:/ti/bios_6_33_04_39/packages" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/xdctools_3_23_03_53/packages/" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="dma_chain_test.pp" "C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_chain_test.c"
'Finished building: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_chain_test.c'
' '
'Building file: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_link_test.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="/include" --include_path="C:/ti/edma3_lld_02_12_00_20/packages" --include_path="C:/ti/bios_6_33_04_39/packages" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/xdctools_3_23_03_53/packages/" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="dma_link_test.pp" "C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_link_test.c"
'Finished building: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_link_test.c'
' '
'Building file: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_misc_test.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="/include" --include_path="C:/ti/edma3_lld_02_12_00_20/packages" --include_path="C:/ti/bios_6_33_04_39/packages" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/xdctools_3_23_03_53/packages/" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="dma_misc_test.pp" "C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_misc_test.c"
'Finished building: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_misc_test.c'
' '
'Building file: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_ping_pong_test.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="/include" --include_path="C:/ti/edma3_lld_02_12_00_20/packages" --include_path="C:/ti/bios_6_33_04_39/packages" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/xdctools_3_23_03_53/packages/" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="dma_ping_pong_test.pp" "C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_ping_pong_test.c"
'Finished building: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_ping_pong_test.c'
' '
'Building file: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_poll_test.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="/include" --include_path="C:/ti/edma3_lld_02_12_00_20/packages" --include_path="C:/ti/bios_6_33_04_39/packages" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/xdctools_3_23_03_53/packages/" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="dma_poll_test.pp" "C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_poll_test.c"
'Finished building: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_poll_test.c'
' '
'Building file: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_test.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="/include" --include_path="C:/ti/edma3_lld_02_12_00_20/packages" --include_path="C:/ti/bios_6_33_04_39/packages" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/xdctools_3_23_03_53/packages/" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="dma_test.pp" "C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_test.c"
'Finished building: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/dma_test.c'
' '
'Building file: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/main.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="/include" --include_path="C:/ti/edma3_lld_02_12_00_20/packages" --include_path="C:/ti/bios_6_33_04_39/packages" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/xdctools_3_23_03_53/packages/" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="main.pp" "C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/main.c"
'Finished building: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/main.c'
' '
'Building file: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/qdma_link_test.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="/include" --include_path="C:/ti/edma3_lld_02_12_00_20/packages" --include_path="C:/ti/bios_6_33_04_39/packages" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/xdctools_3_23_03_53/packages/" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="qdma_link_test.pp" "C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/qdma_link_test.c"
'Finished building: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/qdma_link_test.c'
' '
'Building file: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/qdma_test.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="/include" --include_path="C:/ti/edma3_lld_02_12_00_20/packages" --include_path="C:/ti/bios_6_33_04_39/packages" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/ti/xdctools_3_23_03_53/packages/" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="qdma_test.pp" "C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/qdma_test.c"
'Finished building: C:/ti/edma3_lld_02_12_00_20/examples/edma3_driver/src/qdma_test.c'
' '
'Building target: edma3_drv_bios6_c6678_st_sample.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --diag_warning=225 --abi=eabi -z -m"edma3_drv_bios6_c6678_st_sample.map" --warn_sections -i"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/lib" -i"C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/rm/lib/c6657-evm/66/debug" -i"C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug" -i"C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66debug" -i"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" -i"/packages/ti/sdo/edma3/drv/lib/66/debug" -i"/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug" -i"/packages/ti/sdo/edma3/rm/lib/c6678-evm/66/debug" -i"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/lib" -i"C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/lib/66/debug" -i"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --reread_libs --xml_link_info="edma3_drv_bios6_c6678_st_sample_linkInfo.xml" --rom_model -o "edma3_drv_bios6_c6678_st_sample.out" "./qdma_test.obj" "./qdma_link_test.obj" "./main.obj" "./dma_test.obj" "./dma_poll_test.obj" "./dma_ping_pong_test.obj" "./dma_misc_test.obj" "./dma_link_test.obj" "./dma_chain_test.obj" "./common.obj" -ledma3_lld_drv_sample.ae66 -ledma3_lld_rm.ae66 -ledma3_lld_drv.ae66 -l"libc.a" "../linker.cmd"
<Linking>
error: symbols in the reserved far sections cannot be accessed as near; symbol
"numEdma3Instances" in the far section
"C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-
evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>(.const)" is
accessed as near in the section "./main.obj(.text)"
error: symbols in the reserved far sections cannot be accessed as near; symbol
"numEdma3Instances" in the far section
"C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-
evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>(.const)" is
accessed as near in the section "./main.obj(.text)"
error: symbols in the reserved far sections cannot be accessed as near; symbol
"numEdma3Instances" in the far section
"C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-
evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>(.const)" is
accessed as near in the section "./main.obj(.text)"
error: symbols in the reserved far sections cannot be accessed as near; symbol
"numEdma3Instances" in the far section
"C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-
evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>(.const)" is
accessed as near in the section "./main.obj(.text)"
error: symbols in the reserved far sections cannot be accessed as near; symbol
"numEdma3Instances" in the far section
"C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-
evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>(.const)" is
accessed as near in the section "./main.obj(.text)"
error: symbols in the reserved far sections cannot be accessed as near; symbol
"numEdma3Instances" in the far section
"C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-
evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>(.const)" is
accessed as near in the section "./main.obj(.text)"
error: symbols in the reserved far sections cannot be accessed as near; symbol
"numEdma3Instances" in the far section
"C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-
evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>(.const)" is
accessed as near in the section "./main.obj(.text)"
error: symbols in the reserved far sections cannot be accessed as near; symbol
"numEdma3Instances" in the far section
"C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-
evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>(.const)" is
accessed as near in the section "./main.obj(.text)"
warning: creating output section ".bss" without a SECTIONS specification
warning: creating output section ".cio" without a SECTIONS specification
warning: creating output section ".const" without a SECTIONS specification
warning: creating output section ".far" without a SECTIONS specification
warning: creating output section ".fardata" without a SECTIONS specification
warning: creating output section ".neardata" without a SECTIONS specification
warning: creating output section ".stack" without a SECTIONS specification
warning: creating output section ".switch" without a SECTIONS specification
warning: creating output section ".sysmem" without a SECTIONS specification
warning: creating output section ".text" without a SECTIONS specification
warning: creating output section ".cinit" without a SECTIONS specification
warning: creating ".stack" section with default size of 0x400; use the -stack
option to change the default size
warning: creating ".sysmem" section with default size of 0x400; use the -heap
option to change the default size
"../linker.cmd", line 5: warning: memory range not found: L2SRAM on page 0
"../linker.cmd", line 5: error: no valid memory range(NULL) available for
placement of ".my_sect_ddr"
"../linker.cmd", line 5: error: run placement fails for object ".my_sect_ddr",
size 0x1cc0 (page 0)
"../linker.cmd", line 4: warning: memory range not found: L2SRAM on page 0
"../linker.cmd", line 4: error: no valid memory range(NULL) available for
placement of ".my_sect_iram"
"../linker.cmd", line 4: error: run placement fails for object ".my_sect_iram",
size 0x4c0 (page 0)
undefined first referenced
symbol in file
--------- ----------------
ti_sysbios_BIOS_start__E ./main.obj
ti_sysbios_family_c64p_EventCombiner_disableEvent__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_family_c64p_EventCombiner_dispatchPlug__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_int_reg.oe66>
ti_sysbios_family_c64p_EventCombiner_enableEvent__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_family_c64p_Hwi_enableInterrupt__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_int_reg.oe66>
ti_sysbios_family_c66_tci66xx_CpIntc_disableHostInt__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_int_reg.oe66>
ti_sysbios_family_c66_tci66xx_CpIntc_dispatchPlug__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_int_reg.oe66>
ti_sysbios_family_c66_tci66xx_CpIntc_dispatch__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_int_reg.oe66>
ti_sysbios_family_c66_tci66xx_CpIntc_enableAllHostInts__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_int_reg.oe66>
ti_sysbios_family_c66_tci66xx_CpIntc_enableHostInt__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_int_reg.oe66>
ti_sysbios_family_c66_tci66xx_CpIntc_getEventId__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_int_reg.oe66>
ti_sysbios_family_c66_tci66xx_CpIntc_mapSysIntToHostInt__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_int_reg.oe66>
ti_sysbios_hal_Cache_inv__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_hal_Cache_wb__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_knl_Semaphore_Params__init__S ./main.obj
ti_sysbios_knl_Semaphore_create C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_knl_Semaphore_delete C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_knl_Semaphore_pend__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_knl_Semaphore_post__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_knl_Task_Object__create__S ./main.obj
ti_sysbios_knl_Task_disable__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_knl_Task_enable__E C:/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
error: unresolved symbols remain
error: errors encountered during linking; "edma3_drv_bios6_c6678_st_sample.out"
not built
>> Compilation failure
gmake: *** [edma3_drv_bios6_c6678_st_sample.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****