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.

Failed to load a simple helloworld into ARM on evmk2h

Other Parts Discussed in Thread: SYSBIOS

I am currently using CCS 6.1 linux. I created a simple hello world ARM project with GNU v4.84(Linaro) compiler. I am trying to debug a simple helloworld project using the onboard emulator on EVMK2H.  Here are the screen shots for the error message:

  • Hi,

    Unfortunately there is no support for GCC baremetal projects for Keystone II devices. The most recommended path is to start with one of the example projects provided by the MCSDK (available here) or SYSBIOS.

    Another alternative is to add the attached generic initialization files to your project and see if it works. You will have to modify the MEMORY section of the .lds file to match your device/board and also have to add some of the compiler and linker options to your project options:

    • Compiler: -mcpu=cortex-a15 -mtune=cortex-a15 -marm
    • Linker: --defsym,STACKSIZE=0x10000 --defsym,HEAPSIZE=0x400

    These files are provided as-is without any warranty or support.

    Hope this helps,

    Rafael

    GCC_A15_generic.zip

  • I might be incorrect here, but I think all of the examples comes with MCSDK are for the dsps. I will look into the second option.