Other Parts Discussed in Thread: SYSBIOS
Trying to compile the example running into the following issues. Please resolve this ASAP
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.
Trying to compile the example running into the following issues. Please resolve this ASAP
Dinesh,
From your screenshot, it seems to be you are trying to build the nimu example.
Please follow the steps given in this FAQ to build and run the NIMU example.
--
Are you using the Processor SDK 6.3 package?
--
For Quick start guide and other PDK and SDK build, please refer to this FAQ:
Regards
Shankari G
What is SDK 6.3 package???????
PROCESSOR-SDK-RTOS-C667x 06_03_00_106
https://software-dl.ti.com/processor-sdk-rtos/esd/C667x/latest/index_FDS.html
Once, you install this, it will install its components too.
--
To generate the PDK examples, follow this FAQ:
For a beginner, it better to follow all the steps one by one, given in this link - Quick start guide
Regards
Shankari G
I am not able to build this project I am running into issues. Please look at the error log and see if I am missing loading a package ... This is program should have compiled. I have not made any changes. Can you please ask for technical help to resolve this issue
The issue from the above image is
Building file: "C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cpsw_example.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_23_04_60/xs" --xdcpath="C:/ti/edma3_lld_02_11_05_02/packages;C:/ti/ipc_1_24_03_32/packages;C:/ti/bios_6_33_06_50/packages;C:/ti/pdk_C6678_1_1_2_6/packages;C:/ti/ccs1220/ccs/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6678 -r debug -c "C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c6000_8.3.12" "C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cpsw_example.cfg"
making package.mak (because of package.bld) ...
configuring cpsw_example.xe66 from package/cfg/cpsw_example_pe66.cfg ...
subdir_rules.mk:40: recipe for target 'build-958405745-inproc' failed
js: "C:/ti/pdk_C6678_1_1_2_6/packages/ti/transport/ndk/package.xs", line 44: Error: Library not found: C:/ti/pdk_C6678_1_1_2_6/packages/ti/transport/ndk/nimu/lib/debug/ti.transport.ndk.nimu.ae66
gmake.exe: *** [package/cfg/cpsw_example_pe66.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/cpsw_example_pe66.xdl'
gmake.exe: *** [package/cfg/cpsw_example_pe66.xdl] Deleting file `package/cfg/cpsw_example_pe66.h'
gmake.exe: *** [package/cfg/cpsw_example_pe66.xdl] Deleting file `package/cfg/cpsw_example_pe66.c'
js: "C:/ti/xdctools_3_23_04_60/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-958405745-inproc] Error 1
gmake: *** [build-958405745] Error 2
subdir_rules.mk:37: recipe for target 'build-958405745' failed
gmake: Target 'all' not remade because of errors.
Can you please look into this issue. I am able to compile and rum many other examples. I am looking for resolution of the above example
Dinesh,
I am able to compile and build the Emac example of C6678 successfully.
I use the CCS version 9.3. I recommend you to use the same version of CCS.
Please refer the video below on how to import and build it.
--
My output console messages during compilation and build.
=============================================
**** Build of configuration Debug for project EMAC_evmc6657_C66Loopback_testProject ****
"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
Building file: "C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac/test/EmacLoopbackTest/evmc6657.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_55_02_22_core/xs" --xdcpath="C:/ti/bios_6_76_03_01/packages;C:/ti/pdk_c665x_2_0_16/packages;C:/ti/edma3_lld_2_12_05_30E/packages;C:/ti/ipc_3_50_04_08/packages;C:/ti/ndk_3_61_01_01/packages;C:/ti/uia_2_30_01_02/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6657 -r debug -c "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5" "C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac/test/EmacLoopbackTest/evmc6657.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring evmc6657.xe66 from package/cfg/evmc6657_pe66.cfg ...
generating custom ti.sysbios library makefile ...
Linking with library ti.drv.emac:./lib/c6657/c66/release/ti.drv.emac.ae66
Linking with library ti.osal:./lib/tirtos/c6657/c66/release/ti.osal.ae66
Linking with library ti.csl:./lib/c6657/c66/release/ti.csl.ae66
Starting build of library sources ...
making C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac/test/EmacLoopbackTest/src/sysbios/sysbios.ae66 ...
cle66 C:/ti/bios_6_76_03_01/packages/ti/sysbios/BIOS.c ...
asme66 C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/c64p/Exception_asm.s64P ...
asme66 C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/c64p/Hwi_asm.s62 ...
asme66 C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 ...
asme66 C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...
asme66 C:/ti/bios_6_76_03_01/packages/ti/sysbios/rts/ti/tls_get_tp.asm ...
asme66 C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 ...
asme66 C:/ti/bios_6_76_03_01/packages/ti/sysbios/timers/timer64/Timer_asm.s64P ...
are66 BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj ti_tls_get_tp.obj c62_TaskSupport_asm.obj timer64_Timer_asm.obj ...
Build of libraries done.
cle66 package/cfg/evmc6657_pe66.c ...
Finished building: "C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac/test/EmacLoopbackTest/evmc6657.cfg"
Building file: "C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac/test/EmacLoopbackTest/test_osal.c"
Invoking: C6000 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5/bin/cl6x" -mv6600 --include_path="C:/ti/pdk_c665x_2_0_16/packages/MyExampleProjects/EMAC_evmc6657_C66Loopback_testProject" --include_path="C:/ti/pdk_c665x_2_0_16/packages/ti/drv/rm" --include_path="C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5/include" --define=USE_BIOS --define=C6657 --define=SOC_C6657 -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="test_osal.d_raw" --cmd_file="configPkg/compiler.opt" "C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac/test/EmacLoopbackTest/test_osal.c"
"C:\ti\pdk_c665x_2_0_16\packages\ti\drv\emac\test\EmacLoopbackTest\test_loc.h", line 59: warning #48-D: incompatible redefinition of macro "MAX_NUM_EMAC_PORTS" (declared at line 67 of "C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac/emac_hwcfg.h")
Finished building: "C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac/test/EmacLoopbackTest/test_osal.c"
Building file: "C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac/test/EmacLoopbackTest/test_main.c"
Invoking: C6000 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5/bin/cl6x" -mv6600 --include_path="C:/ti/pdk_c665x_2_0_16/packages/MyExampleProjects/EMAC_evmc6657_C66Loopback_testProject" --include_path="C:/ti/pdk_c665x_2_0_16/packages/ti/drv/rm" --include_path="C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5/include" --define=USE_BIOS --define=C6657 --define=SOC_C6657 -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="test_main.d_raw" --cmd_file="configPkg/compiler.opt" "C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac/test/EmacLoopbackTest/test_main.c"
"C:\ti\pdk_c665x_2_0_16\packages\ti\drv\emac\test\EmacLoopbackTest\test_loc.h", line 59: warning #48-D: incompatible redefinition of macro "MAX_NUM_EMAC_PORTS" (declared at line 67 of "C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac/emac_hwcfg.h")
"C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac/test/EmacLoopbackTest/test_main.c", line 663: warning #179-D: variable "LinkStr" was declared but never referenced
Finished building: "C:/ti/pdk_c665x_2_0_16/packages/ti/drv/emac/test/EmacLoopbackTest/test_main.c"
Building target: "EMAC_evmc6657_C66Loopback_testProject.out"
Invoking: C6000 Linker
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5/bin/cl6x" -mv6600 --define=USE_BIOS --define=C6657 --define=SOC_C6657 -g --diag_warning=225 --diag_wrap=off --display_error_number -z -m"EMAC_evmc6657_C66Loopback_testProject.map" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5/lib" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="EMAC_evmc6657_C66Loopback_testProject_linkInfo.xml" --rom_model -o "EMAC_evmc6657_C66Loopback_testProject.out" "./test_main.obj" "./test_osal.obj" -l"configPkg/linker.cmd" -llibc.a
<Linking>
Finished building target: "EMAC_evmc6657_C66Loopback_testProject.out"
C:/ti/pdk_c665x_2_0_16/packages/pdkAppImageCreate.bat C:/ti/pdk_c665x_2_0_16/packages C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5 C:/ti/pdk_c665x_2_0_16/packages/MyExampleProjects/EMAC_evmc6657_C66Loopback_testProject/Debug EMAC_evmc6657_C66Loopback_testProject C6657 dsp
**** Build Finished ****
Video
Regards
Shankari G
Dinesh,
Have you tried, the steps I posted as video?
Would you please share the results and your observation?
Regards
Shankari G
I am trying to establish the tool chain and the development environment for the DSP tool chain. I need to get to the latest tool chain. if this does not work then we need to talk what DSPs you can support with the new tool chains.
We need to start with the latest tools and if these do not support the DSP we are looking for then we can go and downloar the tool chains you are recommending.
Can you please make the tool chain and the packages you are recommending so we can download these on a new machine if this is how we need to start our development. I am not sure how these will work with the future tools which come out and fix some of the issues. Do you think we we use the old tool chains we can still get all the fixes and updates for the DSP tools
I am again attaching the snippet of the tool chains recommended at the website. I would prefer you use the latest or if we cannot get this working then use whatever you have on your machine.
I will appreciate if you can please use the latest code base and see if you can help me..
Dinesh,
For C6678, the latest code base is Processor SDK 6.3.
This processor SDK 6.3 is tested with CCS version 9.3. The tool chains and the XDC tools have to be used which comes-along/compatible with the processor SDK 6.3.
"These toolchains and the XDC tools are the latest."
--
If customer is willing to use the latest version of CCS say 11, they can very well adapt and fix the errors.
TI could guarantee to work only with the tested version of CCS and XDC tools.
Regards
Shankari G