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/AM5718: DSP example build issue

Part Number: AM5718


Tool/software: Code Composer Studio

Hi,

I'm using AM5718, trying to rebuild bare metal example code for DSP core from your source code (with out using any library files),An error was orginated at final stage,I could not able locate that file in your SDK.Please anybody help me to locate that file..

These are the errors

  • unresolved symbol __c_int00, first referenced in /_csl_intcIsrDispatch.obj  
  • unresolved symbol _CSL_intcCpuIntrTable, first referenced in ./_csl_intcIsrDispatch.obj

Where it is defined??

  • Hi,

    __c_int00 is defined in the C66x RTS library (rts6600_elf.lib : boot.c.obj (.text:_c_int00)).

    _CSL_intcCpuIntrTable is defined in <PDK>/packages/ti/csl/lib/am571x/c66/release/ti.csl.ae66.

    Regards,
    Frank

  • Hi ,

    Shan muhammad said:
    bare metal example code for DSP core from your source code (with out using any library files)

    I am trying to rebuild bare metal code without any library files.that i was mentioned in my previous post.I am trying to replace all library files with their corresponding assembly file or source file.Please share assembly file or c file instead of its library file.

    Regards 

    Shan MUhammad

  • Hi Shan,

    The PRSDK includes all the source code, so I used "grep" to look for the symbols you've mentioned on Linux, but it should also be possible on Windows using Git bash.

    Executed from AM57xx PRSDK 6.1.0.8 root installation folder:

    grep -rI -n -i --regexp="CSL_intcCpuIntrTable" --include "*.c"
    pdk_am57xx_1_0_16/packages/ti/csl/src/intc/_csl_intcResource.c:57:CSL_IntcVect CSL_intcCpuIntrTable;

    grep -rI -n -i --regexp="CSL_intcCpuIntrTable" --include "*.c"
    ti-cgt-c6000_8.3.2/lib/src/boot.c:67:/* Rename c_int00 so that the linkage name remains _c_int00 in ELF */
    ti-cgt-c6000_8.3.2/lib/src/boot.c:70:#define c_int00 _c_int00
    ti-cgt-c6000_8.3.2/lib/src/boot.c:74:/* C_INT00() - C ENVIRONMENT ENTRY POINT */
    ti-cgt-c6000_8.3.2/lib/src/boot.c:76:extern void __interrupt c_int00()

    Regards,
    Frank