add a generic JLinkProgrammer and use it for SAM4L #489
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.
A generic
JLinkProgrammer
class has been added. Its constructor takes a core as an argument. This makes it easy to add a Programmer for any processor supported by JLink.Next to this a
SAM4LProgrammer
class has been added which usesJlinkProgrammer("ATSAM4LC2AA")
and specifically targets the CW308_SAM4L board.With the following small addition to https://github.com/newaetech/chipwhisperer-jupyter/blob/3f2796fc38450777b4f16c1a3f04b0e9fd1b7433/Setup_Scripts/Setup_Generic.ipynb it becomes possible to run most of the courses on the CW308_SAM4L board by attaching a JLink and only changing
PLATFORM = 'CW308_SAM4L'
: