pyocd / pyOCD

Open source Python library for programming and debugging Arm Cortex-M microcontrollers
https://pyocd.io
Apache License 2.0
1.13k stars 484 forks source link

Too many exceptions from pyocd command #910

Open Hoohaha opened 4 years ago

Hoohaha commented 4 years ago

version: 0.27

There are many exceptions(255) displayed in terminal when pyocd cannot read aps. It's very unfirendly. Can we change the level to debug or disable the traceback or another way to fix that?

0006193:ERROR:discovery:Exception reading AP#0 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006207:ERROR:discovery:Exception reading AP#1 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006223:ERROR:discovery:Exception reading AP#2 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006223:ERROR:discovery:Exception reading AP#3 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006240:ERROR:discovery:Exception reading AP#4 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006240:ERROR:discovery:Exception reading AP#5 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006254:ERROR:discovery:Exception reading AP#6 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006254:ERROR:discovery:Exception reading AP#7 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006270:ERROR:discovery:Exception reading AP#8 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006270:ERROR:discovery:Exception reading AP#9 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006286:ERROR:discovery:Exception reading AP#10 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006286:ERROR:discovery:Exception reading AP#11 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006286:ERROR:discovery:Exception reading AP#12 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006302:ERROR:discovery:Exception reading AP#13 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006318:ERROR:discovery:Exception reading AP#14 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006318:ERROR:discovery:Exception reading AP#15 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006318:ERROR:discovery:Exception reading AP#16 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006332:ERROR:discovery:Exception reading AP#17 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006332:ERROR:discovery:Exception reading AP#18 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006348:ERROR:discovery:Exception reading AP#19 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006348:ERROR:discovery:Exception reading AP#20 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006363:ERROR:discovery:Exception reading AP#21 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006363:ERROR:discovery:Exception reading AP#22 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006379:ERROR:discovery:Exception reading AP#23 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006379:ERROR:discovery:Exception reading AP#24 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006395:ERROR:discovery:Exception reading AP#25 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006395:ERROR:discovery:Exception reading AP#26 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006395:ERROR:discovery:Exception reading AP#27 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006411:ERROR:discovery:Exception reading AP#28 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006411:ERROR:discovery:Exception reading AP#29 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006427:ERROR:discovery:Exception reading AP#30 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006427:ERROR:discovery:Exception reading AP#31 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006441:ERROR:discovery:Exception reading AP#32 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006441:ERROR:discovery:Exception reading AP#33 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006457:ERROR:discovery:Exception reading AP#34 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006457:ERROR:discovery:Exception reading AP#35 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006473:ERROR:discovery:Exception reading AP#36 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006473:ERROR:discovery:Exception reading AP#37 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006488:ERROR:discovery:Exception reading AP#38 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006488:ERROR:discovery:Exception reading AP#39 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006504:ERROR:discovery:Exception reading AP#40 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006504:ERROR:discovery:Exception reading AP#41 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006519:ERROR:discovery:Exception reading AP#42 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006519:ERROR:discovery:Exception reading AP#43 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006536:ERROR:discovery:Exception reading AP#44 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006536:ERROR:discovery:Exception reading AP#45 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006536:ERROR:discovery:Exception reading AP#46 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006552:ERROR:discovery:Exception reading AP#47 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006552:ERROR:discovery:Exception reading AP#48 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006566:ERROR:discovery:Exception reading AP#49 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006566:ERROR:discovery:Exception reading AP#50 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006582:ERROR:discovery:Exception reading AP#51 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006582:ERROR:discovery:Exception reading AP#52 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006598:ERROR:discovery:Exception reading AP#53 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006598:ERROR:discovery:Exception reading AP#54 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006598:ERROR:discovery:Exception reading AP#55 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006613:ERROR:discovery:Exception reading AP#56 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006613:ERROR:discovery:Exception reading AP#57 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006629:ERROR:discovery:Exception reading AP#58 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006629:ERROR:discovery:Exception reading AP#59 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006644:ERROR:discovery:Exception reading AP#60 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006644:ERROR:discovery:Exception reading AP#61 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006661:ERROR:discovery:Exception reading AP#62 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006661:ERROR:discovery:Exception reading AP#63 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006675:ERROR:discovery:Exception reading AP#64 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006675:ERROR:discovery:Exception reading AP#65 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006675:ERROR:discovery:Exception reading AP#66 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006691:ERROR:discovery:Exception reading AP#67 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006691:ERROR:discovery:Exception reading AP#68 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006707:ERROR:discovery:Exception reading AP#69 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006707:ERROR:discovery:Exception reading AP#70 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006723:ERROR:discovery:Exception reading AP#71 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006723:ERROR:discovery:Exception reading AP#72 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006738:ERROR:discovery:Exception reading AP#73 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006738:ERROR:discovery:Exception reading AP#74 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006753:ERROR:discovery:Exception reading AP#75 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006753:ERROR:discovery:Exception reading AP#76 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006769:ERROR:discovery:Exception reading AP#77 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006769:ERROR:discovery:Exception reading AP#78 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006786:ERROR:discovery:Exception reading AP#79 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006786:ERROR:discovery:Exception reading AP#80 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006800:ERROR:discovery:Exception reading AP#81 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006816:ERROR:discovery:Exception reading AP#82 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006816:ERROR:discovery:Exception reading AP#83 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006832:ERROR:discovery:Exception reading AP#84 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006832:ERROR:discovery:Exception reading AP#85 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
0006848:ERROR:discovery:Exception reading AP#86 IDR: SWD/JTAG Transfer Fault
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap
    ap = AccessPort.create(self.dp, ap_address)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create
    ap.init()
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init
    self._init_hprot()
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot
    csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)
  File "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking
    return func(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg
    return self.dp.read_ap(self.address.address + addr, now)
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap
    return read_ap_cb()
  File "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "c:\python27\lib\site-packages\six.py", line 737, in raise_from
    raise value
TransferFaultError: SWD/JTAG Transfer Fault
flit commented 4 years ago

Looks like a strange combination of issues. The logic is supposed to terminate scanning APs after it gets 2 invalid AP ID register reads in a row (ID == 0). So reading the AP's ID must have returned a non-zero value? That's very odd. In fact, the ID seems to have indicated the APs are all MEM-APs, otherwise you wouldn't see the _init_hprot() call in the backtraces.

I'm not sure what the right thing to do here is. If pyocd sees a non-zero AP ID, it should examine the AP.

Can you tell me more about the system? We can talk via email.

Hoohaha commented 4 years ago

@flit os: windows 7 + kinetis frdmk66f. This is low priority. I will continue to monitor this issue on new version of pyocd.

flit commented 4 years ago

I did not expect K66F! That's surprising. Are there any special conditions that might have triggered this, such as low power states?