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.

EVMK2H: ARM program with SYS/BIOS

Part Number: EVMK2H
Other Parts Discussed in Thread: SYSBIOS

Hi all,

I have 2 questions on the ARM program as below:

1. From the Processor SDK RTOS page, I see that The Bare Metal project need to use 66AK2Gxx.lds and startup_ARMCA15.S, for SYS/BIOS project, it does not use, so may I know if I still can use these 2 files in SYS/BIOS program?

2. What is the best wat to define code memory sections and data sections and put my program and data into those section in SYS/BIOS program?

Please advise. Thanks a lot.

  • Hi,

    1. 66AK2Gxx.lds and startup_ARMCA15.S are linker command file and startup file in bare-metal, they are not needed in SYSBIOS environment.

    2. In the SYSBIOS, you have a platform defined with the name of memory and address range.  You can use the syntax like below to put sections into different memories:

    Program.sectMap[".far"] = "SDRAM";
    Program.sectMap[".cinit"] = "SDRAM";
    Program.sectMap[".bss"] = "SDRAM";
    Program.sectMap[".const"] = "SDRAM";
    Program.sectMap[".text"] = "SDRAM";
    Program.sectMap[".code"] = "SDRAM";
    Program.sectMap[".data"] = "SDRAM";

    ....

    Regards, Eric

  • Hi Eric,

    Thanks for your info.

    Any guideline how to configure the Platfrom for the ARM core? For DSP I can create/edit Platform using RTSC Tool as below:

    But I do not know how to configure the Platfrom for ARM core.

    Another question is, the address on the above Window is the memory viewd by ARM or DSP (32bit), not the physical memory (40bit), am I correct?

    Thanks.

  • Hi,

    For A15, the same way as you configure DSP by selecting "GPP" instead.

      

    The address on the above Window is the memory viewed by ARM or DSP (32bit), not the physical memory (40bit) ======>correct. It is 32-bit CPU address.

    Regards, Eric

  • Hi Eric,

    Noted. Thanks a lot.