Skip to content

[Feature Request]: Refine connect failure error to indicate missing or undetected target #668

@TeoMahnic

Description

@TeoMahnic

Description

Improve error message when a debug probe is connected but the target is not detected. Currently the pyOCD does not distinguish between a communication error during a debug session and a communication error on connect.

Current message on connect failure:

C SWD/JTAG communication failure (No ACK); check USB cable, reduce debugger clock [__main__]

Proposed message for error on connect failure:

Target not detected. Check connection to target.

Is this request a Security Requirement?

  • Yes

Priority

Low

Related Issues (Optional)

No response

Additional Notes (Optional)

No response

Metadata

Metadata

Assignees

Labels

pyOCDChange is required in shipped pyOCD variant

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions