RP2350: Improve config examples for secure/non-secure debug#131
Open
PetteriAimonen wants to merge 1 commit intoraspberrypi:sdk-2.0.0from
Open
RP2350: Improve config examples for secure/non-secure debug#131PetteriAimonen wants to merge 1 commit intoraspberrypi:sdk-2.0.0from
PetteriAimonen wants to merge 1 commit intoraspberrypi:sdk-2.0.0from
Conversation
Author
|
(On second thought, it might even be possible to combine this all in rp2350.cfg. It could automatically send the debug key if a variable is defined. It could also detect if secure debug is available and choose the mode based on it.) |
Contributor
|
I probably should have read this PR before banging my head against tcl in P33M@a2e24ea. This is a workable implementation - but please fold into the base rp2350.cfg. In effect the user should invoke openocd with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 replaces the previous examples
rp2350-dbgkey-nonsecure.cfgandrp2350-dbgkey-secure.cfgthat had a hardcoded sequence of bits being sent. The new filerp2350-dbgkey.cfgcan take the key from a variable. It also adds a print of the lock status after the key has been sent.Example usage:
Another file
rp2350-nonsecure.cfgcan be used to connect to targets which only allow non-secure debugging.(This pull request is related to issue #129)