Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a generic JLinkProgrammer and use it for SAM4L #489

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jan2642
Copy link

@jan2642 jan2642 commented May 31, 2024

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 uses JlinkProgrammer("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':

elif PLATFORM == "CW308_SAM4L":
    prog = cw.programmers.SAM4LProgrammer

@alex-dewar alex-dewar self-requested a review June 24, 2024 18:34
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