Hi,
I try to use framework_components_3_23_03_17 for Jacinto 5 DSP, and compile the example of ex01_universal_dma_copy_dsp, but it output the link error following:
------------------------------------------
# Making bin/debug/universal_dma_example_dsp.xe674 ...
D:/programs/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/lnk6x -o bin/debug/universal_dma_example_dsp.xe674 -q --compress_dwarf -w -q -u _c_int00 -c -ID:/programs/ti/xdctools_3_24_05_48/packages -ID:/programs/ti/framework_components_3_23_03_17/packages -ID:/programs/ti/bios_6_34_04_22/packages -ID:/programs/ti/xdais_7_23_00_06/packages -ID:/programs/ti/osal_1_23_00_04/packages -ID:/programs/ti/edma3_lld_02_11_05_02/packages -ID:/programs/ti/framework_components_3_23_03_17/examples bin/debug/main_BIOS.oe674 bin/debug/app.oe674 local/linker.cmd local_debug_e674.cmd -l D:/programs/ti/ccsv5/tools/compiler/c6000_7.4.1/lib/rts6740_elf.lib -l"../codec/lib/debug/universal_dma_ti_ecpy.ae674" -l"../codec/local_debug_e674.cmd" -m bin/debug/universal_dma_example_dsp.xe674.map
error: file
"../codec/lib/debug/universal_dma_ti_ecpy.ae674<universal_dma_ti.oe674>"
aligns arrays to 4 bytes, but previous files expect arrays to be aligned to
8 bytes
error: file
"../codec/lib/debug/universal_dma_ti_ecpy.ae674<universal_dma_ti_ires.oe674>
" aligns arrays to 4 bytes, but previous files expect arrays to be aligned
to 8 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpy_init.oe674>" expects 8-byte alignment of arrays, but
previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpy_impl.oe674>" expects 8-byte alignment of arrays, but
previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpy_configure.oe674>" expects 8-byte alignment of arrays,
but previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpy_configure16.oe674>" expects 8-byte alignment of
arrays, but previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpy_configure32.oe674>" expects 8-byte alignment of
arrays, but previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpy_setfinal.oe674>" expects 8-byte alignment of arrays,
but previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpy_directsetfinal.oe674>" expects 8-byte alignment of
arrays, but previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpy_directconfigure.oe674>" expects 8-byte alignment of
arrays, but previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpy_directconfigure16.oe674>" expects 8-byte alignment of
arrays, but previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpy_directconfigure32.oe674>" expects 8-byte alignment of
arrays, but previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpy_directstartedma.oe674>" expects 8-byte alignment of
arrays, but previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpy_start.oe674>" expects 8-byte alignment of arrays, but
previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpycfg.oe674>" expects 8-byte alignment of arrays, but
previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpy_wait.oe674>" expects 8-byte alignment of arrays, but
previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/ecpy/lib/
debug/ecpy.ae674<ecpy_directwait.oe674>" expects 8-byte alignment of arrays,
but previous files align arrays to 4 bytes
error: file
"D:/programs/ti/framework_components_3_23_03_17/packages/ti/sdo/fc/memutils/
lib/debug/memutils.ae674<memutils_bios.oe674>" expects 8-byte alignment of
arrays, but previous files align arrays to 4 bytes
error: errors encountered during linking;
"bin/debug/universal_dma_example_dsp.xe674" not built
gmake[2]: *** [bin/debug/universal_dma_example_dsp.xe674] Error 1
gmake[2]: Leaving directory `D:/work/dsp/dspWS/framework_components_3_23_03_17/examples/ex01_universal_dma_copy_dsp/app'
gmake[1]: *** [all] Error 2
------------------------------------------
Any suggestion solution for the error?
I just download the framework_components_3_23_03_17 from ti website and unpack to the $(DEPOT) directory.
And my other components is:
----------------------------------
CCSv5.3.0
framework_components_3_23_03_17
OSAL_INSTALL_DIR = $(DEPOT)/osal_1_23_00_04
XDAIS_INSTALL_DIR = $(DEPOT)/xdais_7_23_00_06
EDMA3_LLD_INSTALL_DIR = $(DEPOT)/edma3_lld_02_11_05_02
XDC_INSTALL_DIR = $(DEPOT)/xdctools_3_24_05_48
BIOS_INSTALL_DIR = $(DEPOT)/bios_6_34_04_22
ti.targets.elf.C674 ?= $(DEPOT)/ccsv5/tools/compiler/c6000_7.4.1
ti.targets.arm.elf.M3 ?= $(DEPOT)/ccsv5/tools/compiler/arm_5.0.1
BRs,
xmatt