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.

Example A15 bare metal project for EVMK2H

Hi,

I'm using CCSv6 and unsuccessfully trying to get a bare metal 'Hello World' example up and running on an A15 core of my EVMK2H.

Does anyone have a complete example project they can share or a guide they can point me at?

Thanks.

- John

  • Hi John,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com). Please read all the links below my signature.

    We will get back to you on the above query shortly. Thank you for your patience.

  • Hi,

    Please do the following steps to run the ARM bare code on K2H.

    1) Create a sample hello world application with "Generic cortexA15 device" in CCSv6

    2) Add the attached linker command file (*.cmd)

    3) Please ensure that you have selected appropriate TI ARM compiler for building (Attached for reference)

    4) Build the project and you would get *.out file.

    5) Set boot mode to "DSP no boot"

    6) Select "DSP core 0 and provide the K2H gel file.

    7) Connect target with DSP core0 and DDR/PLL/PSC modules get initialized.

    8) Now select ARM core 0 and connect it.

    9) Finally load and run the ARM app on ARM core0.

    LINKER command file:

    -heap  0x800
    -stack 0x1000
    
    MEMORY
    {
    L2SRAM: o = 0x00800000  l = 0x00900000
    MSMCSRAM: o = 0x0c000000 l = 0x0C600000

    /* External DDR3, upto 2GB per core */
    DDR3: o = 0x80000000  l = 0x01000000 } SECTIONS { .text > DDR3 .cinit > DDR3 .const > DDR3 .switch > DDR3 .data > DDR3 .stack > DDR3 GROUP { .neardata .rodata .bss } > DDR3 .far > DDR3 .fardata > DDR3 .cio > DDR3 .sysmem > DDR3 }


  • Hi Titusrathinaraj Stalin,

    I am new to EVMK2H Evaluation module, i got one dvd along with this kit, how to start with this board.

    i mean to utilise the DVD and resourse material for startup with this board.

    Regards,

    Mohammed Asif.

  • Hi Mohammed,

    We always recommend to start a new thread for discussion. Old threads get less attention than new. Thank you.