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.

CCS/EVMK2GX: Can't debug EVMK2G

Part Number: EVMK2GX


Tool/software: Code Composer Studio

I'm trying to get started with the EVMK2G for a project, and I'm simply stuck even getting a simple template or example to actually run.

I can create a new project, targeting the K2GEVM. Connection is XDS2xx USB Onboard. Cortex A, basic Hello World example. I can verify the connection, and that runs just fine. Project builds, no issue. Target Config is created, targeting the K2GEVM. Everything seems correct.

I click the bug, and the GEL file seems to run corectly. Gets all the way to the K2G GP EVM Initialization Complete. EVM is the 1GHz version, and that is detected correctly.

Program loading window appears and seems to download.

All I get is this:

I've created new projects, tried example projects, they all end the same way. I never get to main. If I pause the ARM core, I seem to be stuck in startup_armca15.s.

What am I missing? Any insight would be greatly appreciated.

  • Brett,

    Given the GEL files and basic setup is working correctly, I am assuming that you have setup the EVM as described here:

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/How_to_Guides_Hardware_Setup_with_CCS.html#ak2gx-gp-evm-hardware-setup

    Can you confirm that the boot switches were set to No boot. Does the ARM go to run state when you load the code or at some stage after hitting main?What example template project are you trying to run. The startup_arma15.s is a file in CCS that allows GCC application developers to setup A15 when using bare-metal applications. Are you using a bare-metal hello world application for your test?  If this is a TI RTOS template or a PDK example then this file should not be used. 

    Can you provide details on the template that you are using. Also, you haven`t indicated what version of CCS are you using to test with your setup.

    Regards,

    Rahul

  • Rahul,

    Thank you so much for your reply. I knew it would be something simple. At this stage, I"m just focusing on learning the tool, and I did not have the boot mode switches set correctly. I had set them previously, but while figuring out a different issue, I had moved them back to the SD card.