Skip to content
neuralSPOT-X
API reference
HELIA HUB

nsx reset

Explicitly reset a target with SEGGER J-Link

nsx reset [-h] [--app-dir APP_DIR] [--board BOARD]
[--build-dir BUILD_DIR] [--device DEVICE] [--discover-probe |
--probe-serial PROBE_SERIAL] [--kind {debug,swpoi}]
[--interface INTERFACE] [--speed-khz SPEED_KHZ]
[--verify-reconnect] [--timeout SECONDS]
[app]
Positional arguments
OptionValueDefaultDescription
appvalueoptionalApp name or directory (overrides --app-dir; resolved under ./ and ./examples)
Options for nsx reset
OptionValueDefaultDescription
--app-dir APP_DIRvalue.Configured app directory containing nsx.yml
--board BOARDvalueoptionalOverride board from nsx.yml
--build-dir BUILD_DIRvalueoptionalConfigured build directory override
--device DEVICEvalueoptionalExplicit SEGGER device; bypass app lookup
--discover-probeflagoptionalIgnore configured preference and require exactly one local USB probe. Cannot be combined with --probe-serial.
--probe-serial PROBE_SERIALvalueoptionalOptional SEGGER J-Link USB serial number to use. Cannot be combined with --discover-probe.
--kind KINDdebug | swpoidebugReset primitive
--interface INTERFACEvalueSWDDebug interface (default: SWD)
--speed-khz SPEED_KHZvalueoptionalOverride board speed in kHz (standalone default: 4000)
--verify-reconnectflagoptionalReconnect after reset and fail if the target is unavailable
--timeout SECONDSvalueoptionalWall-clock budget per subprocess (seconds). Kills the whole process group on timeout.

Reset is a separate mechanism and is never added implicitly to an existing flash flow.

--kind debug issues the standard reset/go sequence. --kind swpoi writes 0x1B to the Ambiq RSTGEN address 0x40000004, which resets the target immediately and may interrupt J-Link’s write. NSX accepts only the expected interrupted-write signature; unrelated nonzero exits remain failures.

Use --verify-reconnect to require a separate successful J-Link connection after the reset. Choosing reset policy, controlling power rails and managing measurement synchronization remain responsibilities of the calling tool.

J-Link Commander uses the same discovery order as flashing and nsx doctor: the explicit JLINK_PATH executable, PATH, then standard SEGGER install locations on Linux, macOS and Windows.

--version, -v/--verbose, -q/--quiet are parsed by nsx itself, so they go before the command name, as nsx -v reset.