Skip to content

add a generic JLinkProgrammer and use it for SAM4L#489

Open
jan2642 wants to merge 5418 commits into
newaetech:developfrom
jan2642:sam4l_jlink_programmer
Open

add a generic JLinkProgrammer and use it for SAM4L#489
jan2642 wants to merge 5418 commits into
newaetech:developfrom
jan2642:sam4l_jlink_programmer

Conversation

@jan2642

@jan2642 jan2642 commented May 31, 2024

Copy link
Copy Markdown

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 and others added 30 commits April 21, 2023 18:32
- add access to min and max VCC values
- add optional XADC logging to test_husky.py to help diagnose
temperature and supply issues
- allow for pattern size > 128 bytes
- obtain latency property from an FPGA register instead of hard-coding
it here (backwards compatible, so older bitfiles will still function
correctly)
Also fixed some inadvertent copy/paste errors for clock setup for the
SAD tests.
nikitalita and others added 28 commits March 29, 2024 20:34
WIP as current usefulness is low.
Renamed from test_s6_glitch.py, because it now does more than glitch
testing: it also checks the CW generated clock.
Includes fixes around building CW-Pro bitfile.
update fpga-updates from develop
Well tested by tests/test_s6.py; confident that double glitches are no
longer a thing.
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.

10 participants