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.

hello world project for A15 EVMK2H in CCS

Hi. I am using CCS 6.1 in a linux host. I have mcsdk and emulation packages downloaded. I was able to get the hello world example running on the dsp cores in SPI mode. Now I want to build an example project to run and debug on the ARM15 through the onboard emulator. I wonder is there any instructions on how to do that? From the research I have done so far, I know that I need to add a linker command file. 

this link here ,

talks about building an Bare Metal ARM 15 project. 

I wonder if the linker command file mentioned in the thread works for linux host in SPI mode? 

  • Hi,

    Hi. I am using CCS 6.1 in a linux host. I have mcsdk and emulation packages downloaded. I was able to get the hello world example running on the dsp cores in SPI mode. Now I want to build an example project to run and debug on the ARM15 through the onboard emulator. I wonder is there any instructions on how to do that? From the research I have done so far, I know that I need to add a linker command file.  

    You can follow the above referred thread if you want to debug and run on ARM15 using CCS.  If you would like to do ARM SPI Boot then, I would recommend you to go through the SPI boot loader available for keystone II devices. Please find the boot loader download and download links below.

    Keystone II bootloader examples are now available for download.

    Source code published to external git:

    Documentation:

    Software Features:

    • Boot Utilities to create and format boot images
    • Examples that demonstrate booting K2H and K2E devices from SPI, I2C, UART, Ethernet and NAND. Examples also demonstrate the following features of the BootROM.
    • Single and Multi-Stage booting.
    • Using Boot Parameter tables to speed up booting from a boot media.
    • Using Boot Configuration tables to initialize DDR.
    • Examples to demonstrate formatting uboot for above mentioned boot modes.

    Thank you.

  • I wonder if the linker command file mentioned in the thread works for linux host in SPI mode?


    From my understanding, it should work however i have not tried that. I have used keystone II SPI boot loader shared above.

    Thank you.
  • Hi, Raj. I already have the image built and was able to boot the image in SPI. I am booting it through sftp and nfs. 

    Uboot is loaded and everything is correctly set up.  I am able to communicate to uboot with a serial port terminal. 

    Now, when I tried and built a arm project the same way in the link i mentioned. This error message popped up 

    I tried to also build the project using Linaro. It also failed, the error message is 

    any suggestion?

    Also, I might just start developing and debug my codes in no boot mode instead of SPI. I wonder whether there is any difference between developing the board in SPI or no-boot mode? 

  • Now, when I tried and built a arm project the same way in the link i mentioned. This error message popped up


    Which link are you referring? We have used linaro to build u-boot & Linux only not the CCS projects.

    Thank you.
  • Sorry, Rajasekaran, I got your name wrong. Anway, this is the link.
    e2e.ti.com/.../1538734.
    I tried both Linaro and TI compiler for building an ARM project in CCS so I could debug it through the emulator using CCS. Again, I am running in SPI mode.
  • I wonder whether there is any difference between developing the board in SPI or no-boot mode?


    In no-boot mode, the .gel file is used to initialize the PLL, DDR etc and in case of SPI boot mode boot loader will do all the required initilaization.

    You can use multistage bootloader to run your develop your application, the first stage bootloader will do required initialization and second stage can be your target application.

    For CCS projects, we recommend you to use the TI ARM Compiler.

    Thank you.