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.

RE: CCS/66AK2E05: undefined symbol `HEAPSIZE' referenced in expression

Firstly, I have read the document  you provided,  it did solve my problem with the help of some specific content. But I have encoutered the new trouble,  you can see the problem as below, it is shown as follows: 

**** Build of configuration Debug for project hello_world_arm ****

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

Building target: "hello_world_arm.out"
Invoking: GNU Linker
"C:/ti/ccs920/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 -Og -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mfloat-abi=hard -Wl,-Map,"hello_world_arm.map" -o"hello_world_arm.out" "./main.o" -Wl,-T"../66AK2Gxx.lds" -Wl,--start-group -lc -Wl,--end-group
makefile:143: recipe for target 'hello_world_arm.out' failed
../66AK2Gxx.lds:158: undefined symbol `HEAPSIZE' referenced in expression
collect2.exe: error: ld returned 1 exit status
gmake[1]: *** [hello_world_arm.out] Error 1
gmake: *** [all] Error 2
makefile:139: recipe for target 'all' failed

**** Build Finished ****

And I have the question , what kind of file can run on the ARM kernel. The file I tried to load was .c file. It that possible to run on the ARM kernel? 

Hope for your reply. Thanks a lot.

suafie

  • Hello,

    I split this last question to a new thread since it is unrelated to the original post.

    As for:

    suafie said:
    ../66AK2Gxx.lds:158: undefined symbol `HEAPSIZE' referenced in expression

    Please see:

    https://e2e.ti.com/support/processors/f/791/t/584626?Compiler-EVMK2H-HEAPSIZE-not-defined

    Thanks

    ki

  • Hello, Ki,

    I have read the reference given by you, and when I built the  new project, I couldn't find the " hello world  " example, it is shown as follows:

    Is it the version problem, the ccs version I use is ccs v9.

    Hope for your reply

    Thanks

    suafie

  • Hello,Ki.

    What about this one? I don't konw what exactly the reason leading to this problem. Am I  forgetting to install any other dependency? 

    arm_A15_0: GEL: Encountered a problem loading file: C:\Users\suafi\workspace_v9_2\hello_world\Debug\hello_world.out Could not open file
    CS_DAP_DebugSS: Error: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 8.3.0.00003)
    arm_A15_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.3.0.00003)

    Thanks for your reply.

  • suafie said:
    Is it the version problem, the ccs version I use is ccs v9.

    Yes, I believe recent version of CCS have the template removed.

  • suafie said:
    arm_A15_0: GEL: Encountered a problem loading file: C:\Users\suafi\workspace_v9_2\hello_world\Debug\hello_world.out Could not open file
    CS_DAP_DebugSS: Error: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 8.3.0.00003)
    arm_A15_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.3.0.00003)

    Please see:

    https://software-dl.ti.com/ccs/esd/documents/ccs_debugging_jtag_connectivity_issues.html#a-router-subpath-cannot-be-accessed

    double-check that your board configuration is correct. Make sure the correct gel initialization files are being used.