Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pyocd/probe/cmsis_dap_probe.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# pyOCD debugger
# Copyright (c) 2018-2020,2025 Arm Limited
# Copyright (c) 2021-2023 Chris Reed
# Copyright (c) 2025 Norbert Hipfl
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -371,7 +372,7 @@ def jtag_sequence(self, cycles: int, tms: int, read_tdo: bool, tdi: int) -> Opti
TRACE.debug("trace: jtag_sequence(cycles=%i, tms=%x, read_tdo=%s, tdi=%x)", cycles, tms, read_tdo, tdi)

try:
self._link.jtag_sequence(cycles, tms, read_tdo, tdi)
return self._link.jtag_sequence(cycles, tms, read_tdo, tdi)
except DAPAccess.Error as exc:
raise self._convert_exception(exc) from exc

Expand Down
3 changes: 2 additions & 1 deletion pyocd/probe/pydapaccess/cmsis_dap_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Copyright (c) 2006-2013,2018-2021,2025 Arm Limited
# Copyright (c) 2021 Chris Reed
# Copyright (c) 2022 Toshiba Electronic Devices & Storage Corporation
# Copyright (c) 2025 Norbert Hipfl
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -485,7 +486,7 @@ def jtag_sequence(self, cycles, tms, read_tdo, tdi):
raise DAPAccessIntf.CommandError("DAP_JTAG_SEQUENCE failed")

if len(resp) > 2:
return resp[2]
return resp[2:]

def jtag_configure(self, devices_irlen=None):
# Default to a single device with an IRLEN of 4.
Expand Down
Loading