[v0.30]AttributeError: 'NoneType' object has no attribute 'name'
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'
```
diff --git a/pyocd/probe/cmsis_dap_probe.py b/pyocd/probe/cmsis_dap_probe.py
index 6f1c4a4b..1547e21d 100644
--- a/pyocd/probe/cmsis_dap_probe.py
+++ b/pyocd/probe/cmsis_dap_probe.py
@@ -205,7 +205,7 @@ class CMSISDAPProbe(DebugProbe):
     #          Target control functions
     # ------------------------------------------- #
     def connect(self, protocol=None):
-        TRACE.debug("trace: connect(%s)", protocol.name)
+        TRACE.debug("trace: connect(%s)", protocol.name if (protocol is not None) else "None")
         
         # Convert protocol to port enum.
         if protocol is not None:
['pyocd/probe/cmsis_dap_probe.py']