nsx view¶
Opens the SEGGER SWO viewer for a generated NSX app.
By default, nsx view starts the viewer first and then runs the app's normal
SEGGER reset target once. This avoids a common race where SWO stays empty if
the target is already running before the viewer is listening.
Syntax¶
nsx view [--app-dir APP_DIR] [--board BOARD] [--build-dir BUILD_DIR]
[--toolchain TOOLCHAIN] [--no-reset-on-open] [--reset-delay-ms RESET_DELAY_MS]
Main Arguments¶
--app-dir: app directory containingnsx.yml--board: override board fromnsx.yml--build-dir: build directory override--toolchain: toolchain override (gcc,armclang). Defaults tonsx.yml→arm-none-eabi-gcc--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
Example¶
Notes¶
- requires SEGGER SWO tooling in
PATH - depends on the target being configured for SWO output
- uses the board's normal SEGGER
Resetflow by default; it does not require a stronger reset mode for Apollo510