Conversation
If called before open, DLL opens connection to _some_ probe it picks which then causes issues when `open` is called afterwards. resolves square#254
I hope the one line change counts too.
hkpeprah
left a comment
There was a problem hiding this comment.
I'm not sure this is universally true. I believe it depends on the command being used. For example, I have no debugger attached and am able to do this:
import pylink
>>> jl = pylink.JLink()
>>> jl.disable_dialog_boxes()
|
If I revert back, detached J-Link and do... import pylink
import time
jl = pylink.JLink()
jl.disable_dialog_boxes()
time.sleep(1)...and nothing else. I get "probe selection" popup window. J-Link SW 9.20. in the stdout. Then I tried each
Cause error (need probe opened, auto calls
|
|
Could you provide some details about your setup? Is this on Windows, Linux or OSX? It could be possible that behaviour is changed in later versions of the SDK and/or that behaviour depends on some combination of command + platform + SDK version. |
|
My setup is mostly described on #254. I would suspect the change of behavior in some recent dll. |
If
exec_commandis called beforeopen, DLL opens connection to some probe it picks, which then causes issues whenopenis called afterwards.resolves #254