• How to access the memory mapped debug registers?

    Juha Aaltonen
    Juha Aaltonen

    Now that the funny PABT-behaviour is found to be (probably) caused ny debug state, I'd like to exit debug state before return from PABT exception. The ARM v7-A/R ARM says that I should write RRQ to DBGDRCR, but it seems that in Cortex-A7 it's not accessible…

    • Answered
    • over 4 years ago
    • System
    • Embedded forum
  • What's wrong when watchpoint doesn't watch?

    Juha Aaltonen
    Juha Aaltonen

    I've been trying to get a watchpoint to trigger, but no luck.

    There should be 4 watchpoints accordíng to DBGDIDR, DBGDSCR=0x0204000e, so there shouldn't be any problems there?

    I use (just in case) the cp14 interface - write DBGWVR0 and DBGWCR0…

    • Answered
    • over 4 years ago
    • System
    • Embedded forum
  • How can I tell which breakpoint/watchpoint triggered (Cortex-A7)

    Juha Aaltonen
    Juha Aaltonen

    In a Cortex-A7 is there a register that shows which breakpoint or watchpoint has triggered a debug event?

    Or what's the usual way to find out?

    I understand that DFSR FS tells if the DABT took place due to debug event (IFSR for PABT) and MOE in DBGDSCR…

    • Answered
    • over 4 years ago
    • System
    • Embedded forum
  • View related content from anywhere
  • More
  • Cancel