nsx view¶
Opens the SEGGER SWO viewer for a generated NSX app.
By default, nsx view chooses the board-appropriate reset policy. Most boards
start the viewer first and then run the app's normal SEGGER reset target once.
Apollo4 secure boards attach without resetting because SEGGER's Apollo4 reset
flow halts in the secure boot handoff and can make the SWO viewer exit.
Syntax¶
nsx view [--app-dir APP_DIR] [--board BOARD] [--build-dir BUILD_DIR]
[--toolchain TOOLCHAIN] [--probe-serial PROBE_SERIAL] [--frozen]
[--reset-on-open | --no-reset-on-open]
[--reset-delay-ms RESET_DELAY_MS] [--duration SECONDS]
[--capture FILE] [--timeout SECONDS] [app]
Main Arguments¶
--app-dir: app directory containingnsx.yml; when omitted, NSX searches upward from the current directoryapp: optional app name or directory; overrides--app-dirand is resolved under the current directory andexamples/--board: select a board from the app's supported targets instead oftargets.default--build-dir: build directory override--toolchain: toolchain override (gcc,armclang,atfe). Defaults tonsx.yml→arm-none-eabi-gcc--probe-serial: select a specific J-Link probe--frozen: when configure is needed, reject manifest, lock, or vendored-module drift; explicit probe selection still forces configure--reset-on-open: force a reset after opening the viewer--no-reset-on-open: open the viewer without issuing the normal reset target after attach--reset-delay-ms: wait time before issuing the reset target after the viewer opens--duration: stop the viewer after the given number of seconds--capture: stream SWO output to a file as well as standard output--timeout: wall-clock budget per subprocess; a timeout terminates the process group
Example¶
Notes¶
- requires SEGGER SWO tooling in
PATH - depends on the target being configured for SWO output
- Apollo4 secure boards are validated with
nsx flashfollowed by attach-onlynsx view - Apollo510 keeps the normal viewer-first
Resetflow; it does not require a stronger reset mode - run
nsx commands --jsonfor the authoritative machine-readable argument schema