Skip to content

Add TransferProtocolError exception and do SWD reset when raised#1784

Merged
RobertRostohar merged 2 commits into
pyocd:developfrom
RobertRostohar:pr_dap
Jun 17, 2025
Merged

Add TransferProtocolError exception and do SWD reset when raised#1784
RobertRostohar merged 2 commits into
pyocd:developfrom
RobertRostohar:pr_dap

Conversation

@TeoMahnic

Copy link
Copy Markdown
Collaborator

Changes in this pull request:

  • Add TransferProtocolError exception definition.
  • Add _swd_reset() to recover communication when TransferProtocolError is raised.

@RobertRostohar RobertRostohar marked this pull request as ready for review June 10, 2025 11:31
@RobertRostohar

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Comment thread pyocd/core/exceptions.py Outdated
@TeoMahnic

Copy link
Copy Markdown
Collaborator Author

Rebased on current develop branch.

@RobertRostohar

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@RobertRostohar RobertRostohar merged commit 46e3e02 into pyocd:develop Jun 17, 2025
24 checks passed
@RobertRostohar RobertRostohar deleted the pr_dap branch June 17, 2025 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants