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.

AM2634-Q1: CCS based MCAL project issues

Part Number: AM2634-Q1

Hi team,

Recently, we met some problems with CCS based MCAL project, which are listed as below.

1. Now I am using QSPI_SBL, and my APP code's cmd file is Ink_r5_am263_CLANG.cmd, My application cannot start normally after the system finishes running SBL. The project and linker files lnk_r5_am263_CLANG.cmd0574.linker.cmdare attached in the link below tidrive.ext.ti.com/.../35cc8a4c-79dd-42b3-aced-4d8e360f0da5

2. All of MCAL-based CCS project will run immediately after load program without resume. But bin build by makefile will not.

  • Hi Bruce,

    1. Delete the linker.cmd in your project.
    2. Replace the content of lnk_r5_am263_CLANG.cmd with the below linker content
    3. Rename the lnk_r5_am263_CLANG.cmd as linker.cmd
    4. Clean & build your project and see if it works. I was able to halt at the main with this linker changes.

    linker_changed.cmd

    I was able to halt at the main after making this change. Seems like the entry point was the major change.

    Thanks,
    G Kowshik

  • Hi Kowshik,

    Thanks, Kowshik! It works. In terms of problem1, supplementary information is as follows:

    Firstly, I used the linker file belowlnk_r5_am263_CLANG(1).cmd, the application cannot start normally after the system finishes running SBL. When I modified the linker file shown as belowlinker(1).cmdlnk_r5_am263_CLANG(2).cmdthe project can work now. I want to check if I only use Ink_r5_am263_CLANG.cmd but not linker.cmd for CCS project, Is there anything that needs to be modified when the qspi starts? Thanks