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.

Creating ARM project in CCS for K2E EVM

Hi,

I am planing to create ARM based project for K2E EVM in CCS, but in new project window, I could not see cortexA-15 target to create project. Could anyone from TI team guide me? Currently I am using CCS 5.5, so do I need to update CCS?


Thanks & Regards,

Rakesh Modi

  • Hi Rakesh,

    Yes. Please upgrade to CCSv6.

    Select ARM as family, Cortex A as Varient and select the target CPU for creating new project.

    Please ensure to use the GNC4.7 for building the application.

    Thank you. 

  • Thanks Rajasekaran for providing this information. I am able to create ARM project in CCS v6, but not able to compile it. I am getting below error log. So could you please help me to resolve this issue?

    **** Build of configuration Debug__GNU for project test ****

    "c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: ../hello.c'
    'Invoking: GNU Compiler'
    "c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/bin/arm-none-eabi-gcc.exe" -c -I"c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/arm-none-eabi/include" -g -gstrict-dwarf -Wall -MMD -MP -MF"hello.d" -MT"hello.d" -o"hello.o"  "../hello.c"
    'Finished building: ../hello.c'
    ' '
    'Building target: test.out'
    'Invoking: GNU Linker'
    "c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/bin/arm-none-eabi-gcc.exe" -g -gstrict-dwarf -Wall -Wl,-Map,"test.map" -o"test.out" "./hello.o"  -Wl,--start-group -l"c" -Wl,--end-group
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): In function `exit':
    exit.c:(.text.exit+0x2c): undefined reference to `_exit'
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/lib\libc.a(lib_a-sbrkr.o): In function `_sbrk_r':
    sbrkr.c:(.text._sbrk_r+0x18): undefined reference to `_sbrk'
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/lib\libc.a(lib_a-writer.o): In function `_write_r':
    writer.c:(.text._write_r+0x20): undefined reference to `_write'
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/lib\libc.a(lib_a-closer.o): In function `_close_r':
    closer.c:(.text._close_r+0x18): undefined reference to `_close'
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/lib\libc.a(lib_a-fstatr.o): In function `_fstat_r':
    fstatr.c:(.text._fstat_r+0x1c): undefined reference to `_fstat'
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/lib\libc.a(lib_a-isattyr.o): In function `_isatty_r':
    isattyr.c:(.text._isatty_r+0x18): undefined reference to `_isatty'
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/lib\libc.a(lib_a-lseekr.o): In function `_lseek_r':
    lseekr.c:(.text._lseek_r+0x20): undefined reference to `_lseek'
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/lib\libc.a(lib_a-readr.o): In function `_read_r':
    readr.c:(.text._read_r+0x20): undefined reference to `_read'
    collect2.exe: error: ld returned 1 exit status
    gmake: *** [test.out] Error 1
    gmake: Target `all' not remade because of errors.

    Also I need information that to run binary file from L2 memory what other changes I need to do? I have not added any linker script file here.

    Thanks & Regards,

    Rakesh Modi