Skip to main content

[Arm] I get a "debug port fail" error after resuming the program execution - Knowledgebase / FAQs by core architecture / Arm - Lauterbach Support

[Arm] I get a "debug port fail" error after resuming the program execution

Authors list

Connection to the target is possible (SYStem.Up / SYStem.Mode Attach + Break). After resuming the execution (Go), a “debug port fail” error or similar is returned at a later point.

Possible reasons:

  • The debug module or JTAG has been disabled by the target software

  • The core went in power saving mode

  • The core went into a secure/non-secure state or a security configuration may disable debug access.

  • The target application has crashed

  • Illegal access by the debugger e.g., software breakpoint on illegal address

  • For Armv8/Armv9 systems, check whether the execution enters EL3/secure firmware and changes the debug permissions

Possible Solutions:

  • Verify if the problem is related to a debugger access, by removing breakpoints and closing all windows that can access the memory on run-time

    • Check SYStem.LOG.List for addresses related to this error

    • Check if MAP.DenyAccess can help to prevent the debugger from doing an illegal access

    • Debug the target application until the point where the connection is lost in order to find the reason of the error

    • Check CDBGPWRUPACK / CSYSPWRUPACK and the corresponding DAPDBGPWRUPREQ / DAPSYSPWRUPREQ



Helpful Unhelpful

12 of 27 people found this page helpful

Comment (1)

Nenavath Hari
i am facing issue as debug port fail while flashing are any commands sending how to resolve this issue

Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image