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/EVMK2H: Request ARM A15 STM Configuration Guide

Part Number: EVMK2H
Other Parts Discussed in Thread: 66AK2H12

Tool/software: Code Composer Studio

Hi :)

We are going to collect system trace data from ARM A15 core.

We have modified DSP STM EXAMPLE in order to run STM example on  ARM A15. - Example5.9.(https://gforge.ti.com/gf/project/ctoolslib/frs/?action=FrsReleaseBrowse&frs_package_id=137)

Additionally, we have set STM_DISABLE register to zero.

 

However, It does not work.

 

We have some question.

1. is there any configuration or code that we need to run stm on arm?

2. Do we need to modify target configuration something like the Coresight component address and device id?

   we could not found Coresight Component information from EVMK2H data sheet.


   please explain in detail.

  • Hi,

    I've notified the design team. their feedback will be posted here.

    Best Regards,
    Yordan
  • Here is my suggestion

    Look at the example at Examples_5.9\Examples\DRA7xx - The architecture of DRA7XX has ARM A15 as well as DSP C66.

    There is an example of STM for the ARM - STM_Ex_A15

    You may have to change the base addresses or some locations but look at this example and try to start from there

    I hope it works for you. Please report back


    Ran
  • Hello, Ran Thanks for your advice.

    We tried to run DRA7xx STM example.

    According to your suggestion, we modify STM base address which is fitting EVMK2H(66AK2H12) board. 

    However, it was not working.

    So, We need your conformation about base address information : 

    #define STM_XPORT_BASE_ADDR 0x20000000
    #define STM_CHAN_RESOLUTION 0x1000
    #define STM_CONFIG_BASE_ADDR 0x03018000

    These codes is definition of STM base address for 66AK2H12 Device. 

    If these information is incorrect, please let me know right value or document. 

    Also, This example did not set STM Disable Register(0x01E80014) to zero. 

    We think it must be set when we use STM.

    If it is not, what do we need additional setting for using STM? and Where can we find these information? 

  • Dear Kim

    To verify the addresses I looked at the memory map of the K2H device from the ARM view - Table 6-1 of SPRS866

    It looks like the addresses are correct

    I suggest that you read the debug and trace user guide  SPRUHM4 (chapter 3 deals with the ARM, chapters 4,5 are generic for the device) and see if it helps

    Report to the forum your results

    Best regards

    Ran