We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 647fead commit c88672cCopy full SHA for c88672c
pyocd/coresight/dap.py
@@ -498,7 +498,7 @@ def _check_version(self) -> None:
498
baseptr0 = self.read_reg(DP_BASEPTR0)
499
valid = (baseptr0 & BASEPTR0_VALID_MASK) != 0
500
if valid:
501
- base = (baseptr0 & BASEPTR0_PTR_MASK) >> BASEPTR0_PTR_SHIFT
+ base = baseptr0 & BASEPTR0_PTR_MASK
502
if self._addr_size > 32:
503
baseptr1 = self.read_reg(DP_BASEPTR1)
504
base |= baseptr1 << 32
0 commit comments