Skip to content

Conversation

@nordic-segl
Copy link
Contributor

Add test that checks if platform can be debugged with

  • west attach
  • west debug.

Add test variant with debug optimizations and thread info enabled.

@nordic-segl nordic-segl requested review from a team as code owners December 5, 2025 11:10
@NordicBuilder NordicBuilder added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Dec 5, 2025
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Dec 5, 2025

CI Information

To view the history of this post, click the 'edited' button above
Build number: 22

Inputs:

Sources:

more details

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (0)

Outputs:

Toolchain

Version:
Build docker image:

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ❌ Toolchain
  • ❌ Build twister
  • ❌ Integration tests

Note: This message is automatically posted and updated by the CI

- nrf54l15dk/nrf54l15/cpuapp/ns
- nrf54l15dk/nrf54l15/cpuflpr
- nrf54l15dk/nrf54l15/cpuflpr/xip
- nrf54lm20dk/nrf54lm20a/cpuapp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is related to zephyrproject-rtos/zephyr#100386 or not but FYI a user reported issues with doing west flash with the JLink runner on flpr, I assume because in segger's eyes the flpr has no NVM and for that it would need to be programmed through the app core then debugged through the flpr core?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this PR is a result of west debug and west attach not working on some platforms.
Here is fix for one of such failures.

I wasn't aware that it is possible to switch west flash from nrfutil device to JLink.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

west flash -r jlink, I didn't try with the M33 but with the RISCV on nrf54l15dk it flat out fails (though debugging without loading works fine on RISCV)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-r jlink is a good candidate for another test

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nordic-segl nordic-segl force-pushed the NRFX-8719_Add-test-for-west-debug branch from b821e25 to 59558c7 Compare December 5, 2025 11:16
@NordicBuilder NordicBuilder removed the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Dec 5, 2025
@nordic-segl nordic-segl marked this pull request as draft December 5, 2025 11:17
@nordic-segl nordic-segl force-pushed the NRFX-8719_Add-test-for-west-debug branch 10 times, most recently from 1d3bfe9 to 3f4aebf Compare December 5, 2025 15:03
- nrf5340dk/nrf5340/cpuapp/ns
- nrf5340dk/nrf5340/cpunet
- nrf54h20dk/nrf54h20/cpuapp
- nrf54h20dk/nrf54h20/cpuflpr
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flpr/xip?

@nordic-segl nordic-segl force-pushed the NRFX-8719_Add-test-for-west-debug branch 6 times, most recently from 4627d47 to cdc7c9e Compare December 9, 2025 12:02
@nordic-segl nordic-segl force-pushed the NRFX-8719_Add-test-for-west-debug branch 2 times, most recently from cd0928a to edf7c26 Compare December 9, 2025 12:37
Include
boards: nordic: nrf54h20dk: Add workaround for RISC-V debugging
nrfconnect/sdk-zephyr#3621
Upstream PR #: 100744

Signed-off-by: Sebastian Głąb <[email protected]>
Add test that checks if platform can be debugged with
- west attach
- west debug.

Add test variant with debug optimizations and thread info enabled.

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-8719_Add-test-for-west-debug branch from edf7c26 to b97e5ad Compare December 9, 2025 14:02
@NordicBuilder
Copy link
Contributor

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
zephyr nrfconnect/sdk-zephyr@c09c6ab nrfconnect/sdk-zephyr#3621 nrfconnect/sdk-zephyr#3621/files

DNM label due to: 1 project with PR revision

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

You can find the documentation preview for this PR here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants