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.

real-time debug support ?? in AM437x



Hi 

I Got a AM437x IDK Board.. so I use xds100v2 for debug and download f/w

and ... I need 'real-time debug' to monitor variables while Application is running

But when I entered in Debug mode .. 'real-time debug' mode button is not activated..

is there any solution?? or Is there  no 'real-time debug' function for  Cortex-A series ??

thanks.. 

  • Hi,

    The ARM core of AM437x devices do not have the Real-time debug capabilities enabled by the button you mentioned.

    However, you can have non-obtrusive memory access by using the DAP. Please check the short clip below with directions on how to use it:
    https://youtu.be/-yGmq_VKvTQ

    Hope this helps,
    Rafael
  • Hi! Rafael

    thanks for your reply

    youtube video helps me a lot.. but still I Can't watch memory's value is updating..

    I just want to see Global value is updating..

    so I did it below sequence..

    1) I connected 'Texas Instruments XDS100v2 USB Debug Probe_0/CS_DAP_DebugSS'
    2) I connected 'Texas Instruments XDS100v2 USB Debug Probe_0/CortexA9'
    3) and S/W reset for CortexA9
    4) run Gel file (AM43xx_IDK_EVM_Initialization)
    5) Load application (EtherCAT)
    6) Run target..
    7) selecet 'Texas Instruments XDS100v2 USB Debug Probe_0/CS_DAP_DebugSS'
    8) Enter specific address(for watch Gloable varialbe) in Memory Browser


    But.. I Can't see memory's value is updating..
    just display '00000000'
    of course the other address shows normal value..

    did I miss someting?? plz let me know..
    thanks.
  • Hi,

    Please apologize for the delay. Are you still having an issue with this?

    The only detail I would to in step 8 is to add the address to the Expressions view instead of the Memory Browser. The reason is that the amount of data necessary to update the Expressions view is a lot smaller than to update many values in the Memory Browser.

    Also, you can enable the Continuous Refresh mode to get this value constantly updated.

    Hope this helps,

    Rafael

  • Moonsuny Park said:
    But.. I Can't see memory's value is updating..
    just display '00000000'
    of course the other address shows normal value..

    Is the cache enabled on the Cortex-A9?

    The reason is that the the DAP memory view isn't cache-coherent, and so if the Cortex-A9 is updating a memory address in cache the DAP may not see the updates.

    See https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/466987#1680678

  • Hi,
    Do you solve "00000000" issue?
    I have the same issue and can not solve it now.
    Abby