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.

Linux/AM5728: ccs8 can't build the project creating by "pdkprojectcreat.bat"

Part Number: AM5728
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Linux

1.my board is am5728.CCS is CCS8 with processor_sdk_rtos_am57xx_5_01_00_11

2.I create the project by "pdkprojectcreat.bat"  like "UART_BasicExample_evmAM572x_c66xExampleProject"

3.when iI build the project,I get error

4.I try to change the XDCtool 3.32 (I have 3.50 and 3.32),but I still get the same error.

5.what should i do?

  • Hi,

    You mentioned that you are using processor_sdk_rtos_am57xx_5_01_00_11. It looks to me you messed up 5.01.00.11 and 5.01.00.12 under the same directory. The RTSC you showed SYSBIOS 6.73.0.12 is for 5.1.00.12 and your build log also showed UART library is not found for 5.1.0.12.

    Please use the same PDK (either 5.1.0.11 or 5.1.0.12) to create the project and build.

    Regards, Eric
  • Hi,

    It looks that you are using the latest Processor SDK RTOS 5.1 release for AM57x, with processor_sdk_rtos_am57xx_5_01_00_11 and pdk_am57xx_1_0_12. I mis-understood that, sorry.

    I tested by using:

    c:\ti\pdk_am57xx_1_0_12\packages>pdkProjectCreate.bat AM572x evmAM572x little uart all dsp

    Then import the  UART_BasicExample_evmAM572x_c66xExampleProject into CCS 8.1 and build, I didn't see any error:

    **** Build of configuration Debug for project UART_BasicExample_evmAM572x_c66xExampleProject ****

    "C:\\ti\\ccs_8_1_0\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O

    Building file: "C:/ti/pdk_am57xx_1_0_12/packages/ti/drv/uart/example/sample/am572x/c66/bios/uart_test_evmAM572x.cfg"

    Invoking: XDCtools

    "C:/ti/ccs_8_1_0/xdctools_3_50_07_20_core/xs" --xdcpath="C:/ti/bios_6_73_00_12/packages;C:/ti/pdk_am57xx_1_0_12/packages;C:/ti/edma3_lld_2_12_05_30C/packages;C:/ti/ipc_3_50_02_02/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.evmAM572X -r debug -c "C:/ti/ti-cgt-c6000_8.2.2" "C:/ti/pdk_am57xx_1_0_12/packages/ti/drv/uart/example/sample/am572x/c66/bios/uart_test_evmAM572x.cfg"

    making package.mak (because of package.bld) ...

    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

    configuring uart_test_evmAM572x.xe66 from package/cfg/uart_test_evmAM572x_pe66.cfg ...

    generating custom ti.sysbios library makefile ...

    Linking with library ti.board:./lib/evmAM572x/c66/release/ti.board.ae66

    Linking with library ti.drv.spi:./lib/c66/release/ti.drv.spi.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.osal:./lib/tirtos/c66/release/ti.osal.ae66

    Starting build of library sources ...

    making C:/ti/pdk_am57xx_1_0_12/packages/ti/drv/uart/example/sample/am572x/c66/bios/src/sysbios/sysbios.ae66 ...

    gmake[1]: Entering directory `C:/ti/pdk_am57xx_1_0_12/packages/ti/drv/uart/example/sample/am572x/c66/bios/src/sysbios'

    cle66 C:/ti/bios_6_73_00_12/packages/ti/sysbios/BIOS.c ...

    asme66 C:/ti/bios_6_73_00_12/packages/ti/sysbios/family/c64p/Exception_asm.s64P ...

    asme66 C:/ti/bios_6_73_00_12/packages/ti/sysbios/family/c64p/Hwi_asm.s62 ...

    asme66 C:/ti/bios_6_73_00_12/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 ...

    asme66 C:/ti/bios_6_73_00_12/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...

    asme66 C:/ti/bios_6_73_00_12/packages/ti/sysbios/rts/ti/tls_get_tp.asm ...

    asme66 C:/ti/bios_6_73_00_12/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 ...

    asme66 C:/ti/bios_6_73_00_12/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 ti_tls_get_tp.obj c62_TaskSupport_asm.obj dmtimer_Timer_asm.obj ...

    gmake[1]: Leaving directory `C:/ti/pdk_am57xx_1_0_12/packages/ti/drv/uart/example/sample/am572x/c66/bios/src/sysbios'

    Build of libraries done.

    cle66 package/cfg/uart_test_evmAM572x_pe66.c ...

    Finished building: "C:/ti/pdk_am57xx_1_0_12/packages/ti/drv/uart/example/sample/am572x/c66/bios/uart_test_evmAM572x.cfg"

    Building file: "C:/ti/pdk_am57xx_1_0_12/packages/ti/drv/uart/example/sample/src/main_uart_example.c"

    Invoking: C6000 Compiler

    "C:/ti/ti-cgt-c6000_8.2.2/bin/cl6x" -mv6600 --include_path="C:/Users/a0271557/workspace_v8_1/UART_BasicExample_evmAM572x_c66xExampleProject" --include_path="C:/ti/pdk_am57xx_1_0_12/packages/ti/drv/uart" --include_path="C:/ti/ti-cgt-c6000_8.2.2/include" --define=USE_BIOS --define=SOC_AM572x --define=evmAM572x --define=C66X -g --diag_suppress=1111 --diag_suppress=827 --diag_suppress=824 --diag_suppress=837 --diag_suppress=1037 --diag_suppress=195 --diag_suppress=77 --diag_suppress=232 --diag_warning=225 --diag_warning=994 --diag_warning=262 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main_uart_example.d_raw" --cmd_file="configPkg/compiler.opt" "C:/ti/pdk_am57xx_1_0_12/packages/ti/drv/uart/example/sample/src/main_uart_example.c"

    Finished building: "C:/ti/pdk_am57xx_1_0_12/packages/ti/drv/uart/example/sample/src/main_uart_example.c"

    Building target: "UART_BasicExample_evmAM572x_c66xExampleProject.out"

    Invoking: C6000 Linker

    "C:/ti/ti-cgt-c6000_8.2.2/bin/cl6x" -mv6600 --define=USE_BIOS --define=SOC_AM572x --define=evmAM572x --define=C66X -g --diag_suppress=1111 --diag_suppress=827 --diag_suppress=824 --diag_suppress=837 --diag_suppress=1037 --diag_suppress=195 --diag_suppress=77 --diag_suppress=232 --diag_warning=225 --diag_warning=994 --diag_warning=262 --diag_wrap=off --display_error_number -z -m"UART_BasicExample_evmAM572x_c66xExampleProject.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="UART_BasicExample_evmAM572x_c66xExampleProject_linkInfo.xml" --rom_model -o "UART_BasicExample_evmAM572x_c66xExampleProject.out" "./main_uart_example.obj" -l"configPkg/linker.cmd" -llibc.a

    <Linking>

    Finished building target: "UART_BasicExample_evmAM572x_c66xExampleProject.out"

    You log showed that the lib is not there: please double check the file is indeed in that folder (not accidentally deleted), and PDK 1.0.12 is properly detected and registered under CCS:

    Regards, Eric

  • sorry for my late reply.

    1.I follew the new to install CCS8.1 and SDK0501  in Default Path(C:\ti )

    2.c:\ti\pdk_am57xx_1_0_12\packages>pdkProjectCreate.bat AM572x evmAM572x little uart all dsp

    I get the example of UART_BasicExample_evmAM572x_c66xExampleProject

    But ,there is some errors 

    the example have not the right link,so I add PDK_INSTALL_PATH

    Now the example is no error

    3.But when I bulit the project ,I get the same errors as I said before.

    4.when you first get your project ,are there some changes about the project?

    5.can you give me your UART project?I want to try it in my CCS

  • Hi,

    My pdk_am57xx_1_0_12 is installed under c:\ti and the CCS 8.1 is installed in C:\ti\ccs_8_1_0. The first thing is you need to launch CCS 8.1 to detect and register PDK 1.0.12.

    Then in pdkprojectcreat.bat I changed below to match my CCS location:

    if not defined CCS_INSTALL_PATH (

       set CCS_INSTALL_PATH=C:/ti/ccs_8_1_0/ccsv8

    )

    I didn't see any problem to create/import/build the project. I didn't explicitly setup PDK_INSTALL_PATH.

    My environment like:

    The source code is resolved like:

    Attached is my CCS project.

    UART_BasicExample_evmAM572x_c66xExampleProject.zip

    Regards, Eric

  • I buiid the project that you upload .I get the same error

    2.this is my project,can you try it in your CCS8.1?  

    UART_BasicExample_evmAM572x_c66xExampleProject.rar

    Maybe my way of upload is not right?can you show me the way ?

  • Hi,

    I was able to import and build you UART project without any issue. One thing please double check, do you have this file in your computer: C:\ti\pdk_am57xx_1_0_12\packages\ti\board\lib\evmAM572x\c66\release\ti.board.ae66

    Is it possible that you accidentally deleted it?

    Do you have any experience building any other UART examples from any previous Processor SDK RTOS AM57x release, was that successful at that time?

    Regards, Eric
  • 1.I reinstall the CCS8.1 and SDK5001 and I can bulid the project well
    2.Thanks for your help.