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.

66AK2E EVM ARM Core Loading Program

Hi ;

I have a problem about loading the program to K2E EVM ARM Core .  I explained the situations step by step as below ;

First of all , i am using Tera Term for u-boot debug screen. And EVM switch mode : 0 0 1 0 ( SPI BOOT SELECTED )

1- Power on the K2E EVM .

2- I can see BMC boot complete and u-boot operation complete

3- Launch Selected Configuration

4- I can see 1 DSP CORE  and 4 ARM Core . 

5- Connect the ARM CORE 0 . When connection the CORE 0 Program counter (PC)  is 0xC001CB88

6- Connect the ARM CORE 1 . When connection the CORE 0 Program counter (PC)  is 0xC001CB88

7- Connect the ARM CORE 2 . When connection the CORE 0 Program counter (PC)  is 0xC001CB88

8- Connect the ARM CORE 3 . When connection the CORE 0 Program counter (PC)  is 0xC001CB88

9- Main() function PC value  = 0x90000B7C 

10- Now I want to load .out file to ARM CORE 0. When I select .out file and try to load it , I can not see breakpoint at the begining of the main() function . I mean Program is not running. After this bad situation , restart the CPU . After restart CPU operation , I can see PC value = 0x00000000 . Then again I load the program , at this time I can see the breakpoint at the begining of the main() function . System is running successfully . 

After then I tried the system reset operation. After this operation I followed the U-boot loading screen. Everything is ok. Then connect the ARM CORE 0  again. Program counter (PC)  is 0xC001CB88 . And try to load again , but i can not see the breakpoints and program didn't run. 

System has need the CPU reset . I explained the situations like a story .

Now I need some informations about this problem . After booting operations , when load the program I want to see a breakpoint at the begining of the main() function without CPU RESET .

thanks ,

Best Regards,

Cagdas ELCAN

  • 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 share below information to help you.

    1. CCS Version

    2. Could you please share the project properties ? Family? Compiler version?

    Note: Make sure to use GNU compiler for building the ARM based application.

    Thank you.

  • Hi Cagdas,

    First of all,  I would like to know which program you tried to load to the ARM core of 66AK2E??? Because, in the MCSDK package, you will not find any bare metal sample programs for ARM core. On ARM side, you may have to boot linux and then the application.

    In the steps you provided it seems to me, you are loading the application directly to the ARM core without running LINUX. Please confirm.

    The reason for asking is, the program that you loaded on ARM should be built for ARM core....

    I mean, In CCS, go to the properties window of the ARM program and check the "device family option" is given as ARM!!!

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------