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.

CCS/66AK2H12: Help with compile errors after CCS and Product upgrades

Part Number: 66AK2H12
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

I've got a 66AK2H project that was previously built with:  SYS/BIOS 6.465.55, XDCtools 3.32.2.25 and GNU v4.9.3 (Linaro). Also, EDMA3 2.12.4, CTools 2.2.0, IPC 3.46.2.04 and Sys Analyzer 2.0.6.52? CCS 7.4.

I'm attempting to update everything to the newest tools and Packages. I got all the components downloaded from here: https://software-dl.ti.com/processor-sdk-linux/esd/K2HK/latest/index_FDS.html

install seemed to go find.

I loaded my old project and let it convert. I selected the new products and compiler and tried to build. I get the following error:

**** Build of configuration EVM_Debug for project panel_arm0 ****

"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -j 8 all -O 
 
making ../src/sysbios/sysbios.aa15fg ...
making ../src/ipc.aa15fg ...
../src/makefile.libs:60: recipe for target '../src/sysbios/sysbios.aa15fg' failed
gmake[1]: *** No rule to make target 'family/arm/IntrinsicsSupport_asm_gnu.asm', needed by 'arm_IntrinsicsSupport_asm_gnu.o'.  Stop.
gmake: *** [../src/sysbios/sysbios.aa15fg] Error 2
gmake: *** Waiting for unfinished jobs....
../src/makefile.libs:68: recipe for target '../src/ipc.aa15fg' failed
gmake[1]: *** No rule to make target 'ti/sdo/utils/NameServer.c', needed by 'ti_sdo_utils_NameServer.o'.  Stop.
gmake: *** [../src/ipc.aa15fg] Error 2

**** Build Finished ****

I don't know what this is telling me. And suggestions?

I tried to follow instructions in the linked documentation to load and build a  TI-RTOS example project to test my environment but while the documentation seems out of date or there is something wrong in my installation.

https://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_03_00_106/rtos/index_examples_demos.html#arm-cortex-a15

In Resource Explorer I do not have any 66AK2H devices listed.

  • Hi,

    If you want to build a SYSBIOS "hello world" on A15, I can create one for you. But it will not help for your SYSBIOS and IPC built failure. The link seems out of date, the resource explorer doesn't have K2H any longer.

    I thought you can try with the pdkprojectcreate for nimu examples, then build to see if error still exists or not.

    Regards, Eric

  • Eric,

    Yes please create so I can test my environment.

    I went to the PDK direction and after setting up my environment with pdksetupenv, created the nimu project with:

    pdkProjectCreate K2H all little nimu all arm

    which gave me: 

    Creating project 'NIMU_emacExample_EVMK2H_armBiosExampleProject'...
    
    Done!

    I made a new workspace and opened this project. I had to define the PDK_INSTALL_PATH. The project now builds.

    Is this a legacy or BSD exmaple? How do I tell? I still get the following error which I do not know how to interprete:

    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -j 8 all -O 
     
    making ../src/sysbios/sysbios.aa15fg ...
    making ../src/ipc.aa15fg ...
    ../src/makefile.libs:60: recipe for target '../src/sysbios/sysbios.aa15fg' failed
    gmake[1]: *** No rule to make target 'family/arm/IntrinsicsSupport_asm_gnu.asm', needed by 'arm_IntrinsicsSupport_asm_gnu.o'.  Stop.
    gmake: *** [../src/sysbios/sysbios.aa15fg] Error 2
    gmake: *** Waiting for unfinished jobs....
    gmake[1]: *** No rule to make target 'ti/sdo/utils/NameServer.c', needed by 'ti_sdo_utils_NameServer.o'.  Stop.
    gmake: *** [../src/ipc.aa15fg] Error 2
    ../src/makefile.libs:68: recipe for target '../src/ipc.aa15fg' failed

    So now what does it tell me about why my actual project will not build? 

    Mike

  • Hi,

    I attached a simple SYSBIOS printf() example, ran on K2H A15. CCS console output:

    [arm_A15_0] **************************************************

    a is 100
    b is 0.1199
    b is 0.120000
    End of print

    Build log:

    **** Build of configuration Debug for project Dhrystone_A15 ****

    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "C:/Project/Dhrystone_A15/app.cfg"
    Invoking: XDCtools
    "C:/ti/ccs930/xdctools_3_60_02_34_core/xs" --xdcpath="C:/ti/bios_6_76_03_01/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A15F -p ti.platforms.evmTCI6636K2H -r debug -c "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32" "C:/Project/Dhrystone_A15/app.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring app.xa15fg from package/cfg/app_pa15fg.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/Project/Dhrystone_A15/src/sysbios/sysbios.aa15fg ...
    asma15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm_gnu.asm ...
    asma15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/TaskSupport_asm_gnu.asm ...
    asma15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/a15/Cache_asm_gnu.asm ...
    asma15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/a15/Mmu_asm_gnu.asm ...
    asma15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/a15/TimestampProvider_asm_gnu.asm ...
    asma15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/gic/Hwi_asm_gnu.asm ...
    asma15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/exc/Exception_asm_gnu.asm ...
    asma15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/systimer/Timer_asm_gnu.asm ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/BIOS.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/IntrinsicsSupport.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/TaskSupport.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/knl/Clock.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/knl/Idle.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/knl/Intrinsics.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/knl/Event.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/knl/Mailbox.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/knl/Queue.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/knl/Semaphore.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/knl/Swi.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/knl/Task.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/heaps/HeapMem.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/hal/Cache.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/hal/Core.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/hal/Hwi.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/hal/Hwi_stack.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/hal/Hwi_startup.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/rts/gnu/ReentSupport.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/rts/gnu/SemiHostSupport.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/a15/Core.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/a15/Cache.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/a15/Mmu.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/a15/TimestampProvider.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/gic/Hwi.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/exc/Exception.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/gates/GateHwi.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/gates/GateMutex.c ...
    cla15fg C:/ti/bios_6_76_03_01/packages/ti/sysbios/family/arm/systimer/Timer.c ...
    ara15fg arm_IntrinsicsSupport_asm_gnu.o arm_TaskSupport_asm_gnu.o a15_Cache_asm_gnu.o a15_Mmu_asm_gnu.o a15_TimestampProvider_asm_gnu.o gic_Hwi_asm_gnu.o exc_Exception_asm_gnu.o systimer_Timer_asm_gnu.o _BIOS.o arm_IntrinsicsSupport.o arm_TaskSupport.o knl_Clock.o knl_Idle.o knl_Intrinsics.o knl_Event.o knl_Mailbox.o knl_Queue.o knl_Semaphore.o knl_Swi.o knl_Task.o heaps_HeapMem.o hal_Cache.o hal_Core.o hal_Hwi.o hal_Hwi_stack.o hal_Hwi_startup.o gnu_ReentSupport.o gnu_SemiHostSupport.o a15_Core.o a15_Cache.o a15_Mmu.o a15_TimestampProvider.o gic_Hwi.o exc_Exception.o gates_GateHwi.o gates_GateMutex.o systimer_Timer.o ...
    Build of libraries done.
    cla15fg package/cfg/app_pa15fg.c ...
    Finished building: "C:/Project/Dhrystone_A15/app.cfg"

    Building file: "../main.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -mfpu=vfpv4 -I"C:/Project/Dhrystone_A15" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -O0 -gdwarf-3 -Wall -c -MMD -MP -MMD -MP -MF"main.d" -MT"main.o" @"configPkg/compiler.opt" -o"main.o" "../main.c"
    Finished building: "../main.c"

    Building file: "../test.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -mfpu=vfpv4 -I"C:/Project/Dhrystone_A15" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -O0 -gdwarf-3 -Wall -c -MMD -MP -MMD -MP -MF"test.d" -MT"test.o" @"configPkg/compiler.opt" -o"test.o" "../test.c"
    ../test.c: In function 'testMain':
    ../test.c:23:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    exit(0);
    ^~~~
    ../test.c:23:3: warning: incompatible implicit declaration of built-in function 'exit'
    ../test.c:23:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
    Finished building: "../test.c"

    Building target: "Dhrystone_A15.out"
    Invoking: GNU Linker
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -mtune=cortex-a15 -marm -O0 -gdwarf-3 -Wall -MMD -MP -mfloat-abi=hard -Wl,-Map,"Dhrystone_A15.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/bios_6_76_03_01/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/hard" -L"/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" --specs=nano.specs -u _printf_float -o"Dhrystone_A15.out" "./main.o" "./test.o" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lrdimon -lgcc -lm -lc -Wl,--end-group
    Finished building target: "Dhrystone_A15.out"

    **** Build Finished ****

    Dhrystone_A15.zip

    Regards, Eric