Skip to content
Merged
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
5 changes: 3 additions & 2 deletions pyocd/probe/pydapaccess/cmsis_dap_core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pyOCD debugger
# Copyright (c) 2006-2013,2018-2021,2025 Arm Limited
# Copyright (c) 2006-2013,2018-2021,2025,2026 Arm Limited
# Copyright (c) 2021 Chris Reed
# Copyright (c) 2022 Toshiba Electronic Devices & Storage Corporation
# Copyright (c) 2025 Norbert Hipfl
Expand Down Expand Up @@ -486,7 +486,8 @@ def jtag_sequence(self, cycles, tms, read_tdo, tdi):
raise DAPAccessIntf.CommandError("DAP_JTAG_SEQUENCE failed")

if len(resp) > 2:
return resp[2:]
return int.from_bytes(bytes(resp[2:]), byteorder="little")
return None

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