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/AM6548: Bare-mental application for CA53

Part Number: AM6548

Tool/software: Code Composer Studio

Hello,

Hardware: AM6548 IDK

Software: ccsv8 + rtos sdk 06.01.00.08

I am following this article and building a bare-mental application for ca53. The build process reported a linking error as below. Is there anything I missed? 

I can resolve the linking error after removing "--entry Entry" which seems to cause my application misbehave though.

"D:/ti/ccsv8/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a53 -fno-exceptions -Dam6548 -Dcore0 -DAARCH64 -DSOC_AM6X -Og -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mcpu=cortex-a53 -Wl,-Map,"a53_helloworld.map" --entry Entry -L"D:/ti/ti-processor-sdk-rtos-am65xx-evm-06_01_00_08/pdk_am65xx_1_0_6/packages/ti/csl/lib/am65xx/a53/release" -Wl,--defsym,CORE0=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"a53_helloworld.out" "./main.o" -Wl,-T"../linker_a53.lds" -Wl,--start-group -l:ti.csl.init.aa53fg -l:ti.csl.aa53fg -lrdimon -lstdc++ -lgcc -lc -lm -Wl,--end-group 
makefile:149: recipe for target 'a53_helloworld.out' failed
D:/ti/ti-processor-sdk-rtos-am65xx-evm-06_01_00_08/pdk_am65xx_1_0_6/packages/ti/csl/lib/am65xx/a53/release/ti.csl.init.aa53fg: error adding symbols: File format not recognized
collect2.exe: error: ld returned 1 exit status
gmake[1]: *** [a53_helloworld.out] Error 1
makefile:145: recipe for target 'all' failed
gmake: *** [all] Error 2

  • Hello Hungwei,

    you're using the wrong compiler.

    hungwei yang said:
    gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe

    This is a 32-bit compiler, you need the aarch64 GCC that comes with the processor SDK.

    Regards,

    Dominic