Skip to content

Commit 76de70a

Browse files
committed
cmsis_dap: Use the correct bits from DAP_TRANSFER_BLOCK commands for the DAP index
1 parent 674adbb commit 76de70a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

orbtrace/debug/cmsis_dap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ def RESP_TransferBlock_Setup(self, m):
772772

773773
m.d.sync += [
774774
# DAP Index is 1 byte in, transfer count is dealt with at the end
775-
self.dbgif.dev.eq(self.rxBlock.bit_select(13,3)),
775+
self.dbgif.dev.eq(self.rxBlock.bit_select(8,3)),
776776
self.tfrram.adr.eq(0),
777777

778778
# We will not read back the first word immediately if we're in JTAG read

0 commit comments

Comments
 (0)