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.

AM5746: How can I access the A15 CORE registers via Memory Browser in CCS

Part Number: AM5746

Dear TI Expert

We would like to check the register value of A15 CORE.

By attaching A15 with XDS 100v2, we confirmed that the REGISTER window in CCS enable us to watch PC and other CORE registers like CPSR.

However we would like to check those registers via Memory Brower with attaching DAP_PC.

If we find the addresses which the values of those registers stored in, we think we can do above things.

Could you tell us the above addresses?

Regard

  • Hello Y,

    The standard & right way to access the A15 CORE register is via the "Registers" view of CCS. 

    We are not aware of the way to access the A15 registers from the memory browser. Suggest looking into CCS documentation if you find any.

    Thanks.

  • Dear Praveen Rao

    Thanks for your reply.

    I understand that we cannot access the A15 registers from the memory browser.

    And I have another question.

    Is the way to access the A15 registers by calling some APIs in the source code?

    For example, we find PMCCNTR in PMU can be accessed by Timestamp_get32().

    Regard.

  • Hello Y.I,

    We do not support any APIs like this. 

    Please see this processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/csl/arch/a15 directory for some guidance. 

    You could come up with your own functions or APIs using Assembly.

    From TI side, this functionality was never a requirement so it is not supported.

    Best, 

    Josue

  • Dear Praveen Rao

    Thanks for your reply.

    I will check the above code.

    regard.