Skip to main content
lijitajoseph1091
Associate
June 8, 2016
Question

Debugging the stm32f20x in debug monitor mode with JTAG

  • June 8, 2016
  • 3 replies
  • 911 views
Posted on June 08, 2016 at 21:07

Hello,

Can anybody please tell me how i can read the addresses from the memory in debug monitor mode without halting the processor?

Or is it any other way to read the memory registers like selecting some other access port.?

i would be very grateful if somebody could help

Thank you
    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    June 8, 2016
    Posted on June 08, 2016 at 21:51

    Likely depends on the debugger and tools being used.

    http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-performance-and-debuggers/stm-studio-stm32.html?sc=stm-studio

    If you connect a serial port you can have your own code periodically output internal state information. The is also the SWV (Serial Wire Viewer), you can use that to output putchar()/printf() information.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    lijitajoseph1091
    Associate
    June 8, 2016
    Posted on June 08, 2016 at 22:21

    Thank you for your reply. I am working on a project to generate JTAG signals to read the memory registers.

    So i am not using any external debugger.

    I need to write a code for non intrusive debugging. so can you please help me that 

    Tesla DeLorean
    Guru
    June 8, 2016
    Posted on June 08, 2016 at 23:21

    I was using debugger and JTAG Pod somewhat interchangeably. You're building a pod, and driving the scan-chain.

    I believe such interactions are affected by the processor, and it's buses. As such I don't think they are entirely transparent.

    I'm afraid I can't commit resources to your project.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..