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

remove custom jlink reset scheme for nrf54h20/nrf9280 #2382

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

Conversation

jonathannilsen
Copy link
Contributor

@jonathannilsen jonathannilsen commented Dec 13, 2024

Update the JLink scripts for nrf54h20dk/nrf9280pdk to work with the latest secure domain firmware v9.0.0

Upstream PR #: 82976

@jonathannilsen jonathannilsen force-pushed the sdfw-9-debug-flash-down branch from 8189f39 to 101f538 Compare December 17, 2024 15:12
@jonathannilsen jonathannilsen marked this pull request as ready for review December 17, 2024 15:12
@jonathannilsen jonathannilsen changed the title update nrf54h20/nrf9280 west flash/debug behavior for SDFW v9.0.0 remove custom jlink reset scheme for nrf54h20/nrf9280 Dec 17, 2024
Upstream PR #: 82976

Secure domain firmware v9.0.0 and onward no longer supports the
non-essential domain reset procedure which was used in the custom
JLink reset scheme for
nrf54h20dk/nrf54h20/cpuapp, nrf54h20dk/nrf54h20/cpurad,
nrf9280pdk/nrf9280/cpuapp and nrf9280pdk/nrf9280/cpurad.
All resets done through the ADAC interface now do a global reset
instead, which as of now "kills" the JLink session.

Remove the custom reset behavior as it will not work anymore moving
forward. This means that "monitor reset" in GDB can no longer be used
to debug the application from the start of execution. Using current
tooling, it is possible to debug from the start of execution by first
resetting the cores into a halted state, starting cores other than the
one you are debugging and then attaching GDB. For example:

> nrfutil device reset --reset-kind RESET_VIA_SECDOM
> nrfutil device go --core Network
> west attach

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
@jonathannilsen jonathannilsen force-pushed the sdfw-9-debug-flash-down branch from 101f538 to 588e65d Compare December 18, 2024 12:56
@jonathannilsen jonathannilsen added this to the ncs-2.9.0-nRF54H20 milestone Dec 18, 2024
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.

3 participants