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

[v0.30]AttributeError: 'NoneType' object has no attribute 'name' #1114

Closed Hoohaha closed 3 years ago

Hoohaha commented 3 years ago

Getting error while trying to connect

 File "c:\program files\python38-32\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 208, in connect
    TRACE.debug("trace: connect(%s)", protocol.name)
AttributeError: 'NoneType' object has no attribute 'name'
flit commented 3 years ago

Thanks! Will fix shortly.