Skip to content

Accept zero-padded USB serial numbers when selecting J-Link probes - #2093

Open
Solarboaters wants to merge 1 commit into
pyocd:developfrom
Solarboaters:fix/jlink-padded-serial
Open

Solarboaters wants to merge 1 commit into
pyocd:developfrom
Solarboaters:fix/jlink-padded-serial

Conversation

@Solarboaters

Copy link
Copy Markdown

Addresses the serial-number selection failure in #917: accept zero-padded USB serial strings when matching J-Link probes, while preserving the numeric IDs displayed by the SDK and existing substring selection.

Production discovery tests using the two reported serial numbers: original 3 failures/7 passes → fixed 10 passes; full unit suite 1,117 passed, 41 skipped. Only the J-Link SDK transport is mocked; no physical J-Link or the separate Linux SDK-open error from later comments was tested. AI-assisted implementation and tests, reviewed against before/after results.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant