Part Number: AMIC110
Tool/software: Code Composer Studio
We are trying to build DCAN example.
We install ti-processor-sdk-rtos-am335x-evm-04.02.00.09-Windows-x86-Install.exe.
In c:\ti\pdk_am335x_1_0_9\packages\ti\starterware\examples\dcan\readme.txt described howtoimport project into CCS.
First 2 stages (creating project and recompile RTOS libraries) has passed good. Libraries has placed in c:\ti\pdk_am335x_1_0_9\packages\ti\starterware\binary.
If after it open project you'll get PDK_INSTALL_PATH error, we fixed it by adding value "c:\ti\pdk_am335x_1_0_9\packages" into this variable.
But later we still on compilation we receive some errors.
Here are building log:
**** Clean-only build of configuration Debug for project DCAN_LoopbackExample_evmAM335x_armTestProject ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 clean -O DEL /F "DCAN_LoopbackExample_evmAM335x_armTestProject.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "DCAN_LoopbackExample_evmAM335x_armTestProject.out" RMDIR /S/Q "configPkg\" DEL /F "dcan_app.o" "loopback_app_main.o" DEL /F "dcan_app.d" "loopback_app_main.d" ЌҐ г¤ Ґвбп ©вЁ C:\ti\pdk_am335x_1_0_9\packages\MyExampleProjects\DCAN_LoopbackExample_evmAM335x_armTestProject\Debug\DCAN_LoopbackExample_evmAM335x_armTestProject.hex ЌҐ г¤ Ґвбп ©вЁ C:\ti\pdk_am335x_1_0_9\packages\MyExampleProjects\DCAN_LoopbackExample_evmAM335x_armTestProject\Debug\DCAN_LoopbackExample_evmAM335x_armTestProject.out ЌҐ г¤ Ґвбп ©вЁ C:\ti\pdk_am335x_1_0_9\packages\MyExampleProjects\DCAN_LoopbackExample_evmAM335x_armTestProject\Debug\dcan_app.o ЌҐ г¤ Ґвбп ©вЁ C:\ti\pdk_am335x_1_0_9\packages\MyExampleProjects\DCAN_LoopbackExample_evmAM335x_armTestProject\Debug\dcan_app.d 'Finished clean' **** Build Finished **** **** Build of configuration Debug for project DCAN_LoopbackExample_evmAM335x_armTestProject **** "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O 'Building file: "C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/examples/dcan/loopback/rtos/am335x_app_dcan_evmam335x.cfg"' 'Invoking: XDCtools' "C:/ti/xdctools_3_50_03_33_core/xs" --xdcpath="C:/ti/bios_6_52_00_12/packages;C:/ti/pdk_am335x_1_0_9/packages;C:/ti/edma3_lld_2_12_05_29/packages;C:/ti/ndk_2_26_00_08/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A8F -p ti.platforms.evmAM3359 -r debug -c "C:/ti/gcc-arm-none-eabi-6-2017-q1-update" "C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/examples/dcan/loopback/rtos/am335x_app_dcan_evmam335x.cfg" making package.mak (because of package.bld) ... generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ... configuring am335x_app_dcan_evmam335x.xa8fg from package/cfg/am335x_app_dcan_evmam335x_pa8fg.cfg ... subdir_rules.mk:12: recipe for target 'build-639864305-inproc' failed js: "C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/examples/dcan/loopback/rtos/am335x_app_dcan_evmam335x.cfg", line 159: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: C:\ti\pdk_am335x_1_0_9\packages\ti\starterware\dal\package.xdc found along the package path, but no schema file was found. Ensure that the package 'ti.starterware.dal' is completely built. "./package/cfg/am335x_app_dcan_evmam335x_pa8fg.cfg", line 181 gmake.exe: *** [package/cfg/am335x_app_dcan_evmam335x_pa8fg.xdl] Error 1 js: "C:/ti/xdctools_3_50_03_33_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted. gmake[1]: *** [build-639864305-inproc] Error 1 gmake: *** [build-639864305] Error 2 subdir_rules.mk:9: recipe for target 'build-639864305' failed gmake: Target 'all' not remade because of errors. **** Build Finished ****
What going wrong and how to fix it?