Skip to content

Replace OpenOCD with probe-rs#768

Closed
rslawson wants to merge 3 commits into
stagingfrom
rs/probe-rs
Closed

Replace OpenOCD with probe-rs#768
rslawson wants to merge 3 commits into
stagingfrom
rs/probe-rs

Conversation

@rslawson
Copy link
Copy Markdown
Collaborator

Writing OpenOCD Tcl scripts for increasingly complex systems is becoming increasingly unmaintainable. In this PR I attempt to provide an alternative based on the whoAmIC component introduced in a previous PR.

rslawson added 2 commits May 7, 2025 12:05
4806c8b6 Merge pull request #66 from clash-lang/bump-ghcs
afd70d02 Simplify `cabal.project` by merging subdirs
a96cda05 Add support for GHC 9.8 and 9.10, drop support for 9.0 and 9.4
638080b9 Merge pull request #56 from clash-lang/in-reset-behavior-tests
67835969 Rename `Args` to `TestContext`
e5ece962 Add `--jtag-debug` on CI
f33b1325 Add reset assertion test
f27a1d78 Prettier JTAG debug output
4ae7e294 Add option to print CPU cycles
83d18eca Add option to assert reset in middle of execution
303fab59 Change flag names to be more descriptive
7428e9ca Prefix names in RunOpts to prevent future clashes
45ee942d Check whether we can recover from reset deassertion
b75a3cc6 Make number of reset cycles configurable
fc0f27a7 Test CPU chain access with one CPU in reset
04c2931a Fix stack traces for local expect functions
fb4dbc1e Fix comments in GDB scripts
246f25e8 Make debug output of expect function more readable/useful
da3b01a2 Set cache path to Cabal store set in `shell.nix` (#65)
3f9758a1 Check whether Nix shell works on CI (#61)
9363f8d4 Merge pull request #63 from clash-lang/improve-expect-functions
79c5e34a Add timeout to expect functions
ed39928d Add call stack to `waitForLine`
f1d76ead Use `tail` instead of `streaming` to follow files (#64)
e86580bf Remove enable from `cpu` (#58)
c69899c2 Drop register on wishbone bus (#59)
1715fc73 Print `JTAG bridge ready` and wait for it to prevent race conditions (#57)
1ca5a69d Merge pull request #53 from clash-lang/add-fourmolu
5e11a6f6 Add `.git-blame-ignore-revs`
2bd141e6 Add fourmolu formatting
96ad7244 Use `HasCallStack` instead of manual source line tracking (#52)
3900cb07 Bump OpenOCD (#54)
3a26b8bd Correcetly simulate passed time before first clock edge in verilator (#50)
51239127 Add post fetch step that removes `.git` (#48)
ca418fcb Merge pull request #47 from clash-lang/lucas/move-stoptime-ndmreset
27c82690 Move `ndmreset` and `stoptime` from `JtagOut` to `CpuOut`
68886c88 Merge pull request #46 from clash-lang/run-clang-format
a32dbc98 Add `clang-format-check` to ci
68ca4d0e Format with `clang-format`
9a676aa6 Add `clang` to nix shell
0d4be0e0 Merge pull request #45 from clash-lang/lucas/bump-jtag-interface
61c7719d Bump GHC versions on Docker images and rebuild
5f9a53c9 Add `.scala-build` to `.gitignore`
2c1ec3a3 Remove `openocd-vexriscv` from `nix` and `docker`
deabc085 Switch to `openocd-vexriscv` and use `remote-bitbang`
d987e396 Replace `DebugPlugin` with `EmbeddedRiscvJtag`
59298429 Add `nix` derivation for `openocv-riscv`
2dfda13f Add `.metals` to `.gitignore`
554f4af1 Bump scala and spinal version
720e5d44 Add execute permissions to `update-vexriscv.pu`
ad6edb75 Merge pull request #44 from clash-lang/lucas/add-docker-readme
636ac968 Extend readme with CI info
ac10433d Bump GHA actions (#43)
59215117 Merge pull request #42 from clash-lang/add-all-check
e697bfdd Fix typo: ouput -> output
e7e8e29c Add all check to CI

git-subtree-dir: clash-vexriscv
git-subtree-split: 4806c8b6b0c2fbe478f93d0e2d71eae38d7a261c
@rslawson rslawson force-pushed the rs/probe-rs branch 9 times, most recently from f3f8bd4 to e32f40d Compare May 13, 2025 11:30
@rslawson
Copy link
Copy Markdown
Collaborator Author

This is currently waiting on probe-rs #3402 and postcard-rpc #120.

@rslawson rslawson linked an issue Jul 1, 2025 that may be closed by this pull request
@martijnbastiaan martijnbastiaan deleted the branch staging July 11, 2025 07:57
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.

2 participants