You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
J-Link: avoid opening probe to read strings in constructor.
- Removed ctor code that temporarily opened the probe to access the
product name and OEM strings, replaced with the acProductName attr
from the probe info object returned by pylink. This is a slightly
differently string, but is still better than the generic "J-Link"
USB product name. The OEM string is not supported anymore.
- Added class method to format serial number as a string, so there is
only one place where this logic is located.
- Corrected passing the integer serial number to the pylink open()
method (instead of the string).
- Raising a ProbeError instead of assertion if neither SWD nor JTAG
are supported.
- Added _get_probe_info() class method.
0 commit comments