Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a single feature from the 'raw jtag' API allowing TMS/TDI/TDO control. This is useful to implement boundary scan mode (which I'm working on in another library called pyjtagbs). Other raw commands could be added, but are harder to use in practice as they require more information about the scan chain sent to the J-Link, most software seems to use this API only.
You should be able to use the code like this:
If a single item - will just see 4 bytes. You can print the
hex_id
to see the standard format - testing on a Spartan 6 LX9 shows me0x3622093
which matches the expected device id.Note there is no .connect() - you can't connect to the chain as that will start trying to discover devices on it (which may be unsupported devices).