From 0cbd2e1a7f12b0ba5059c7f2082d55cc80570ddf Mon Sep 17 00:00:00 2001 From: Patrik Bachan Date: Sat, 21 Feb 2026 22:21:44 +0100 Subject: [PATCH 1/2] require `exec_command(..)` to be called _after_ `open(...)` If called before open, DLL opens connection to _some_ probe it picks which then causes issues when `open` is called afterwards. resolves #254 --- pylink/jlink.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pylink/jlink.py b/pylink/jlink.py index 472f88c..c98ce07 100644 --- a/pylink/jlink.py +++ b/pylink/jlink.py @@ -943,6 +943,7 @@ def sync_firmware(self): return None + @open_required def exec_command(self, cmd): """Executes the given command. From a7947aad5edc93db83022779374efcad71225135 Mon Sep 17 00:00:00 2001 From: Patrik Bachan Date: Sat, 21 Feb 2026 22:22:34 +0100 Subject: [PATCH 2/2] add myself among contributors I hope the one line change counts too. --- CONTRIBUTORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 032cc3f..47298ea 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -30,3 +30,4 @@ In the order of appearance in the commit history: | - | @mtnpke | | Omri Sarig | @omrisarig13 | | Issam E. Maghni | @concatime | +| Patrik Bachan | @diggit |