User Guide - nxpdevscan#

This user’s guide describes how to use nxpdevscan application which detects NXP devices connected to the host PC over USB and UART connections.

The “help” guide of nxpdevscan lists all of the options supported by the nxpdevscan utility with a simple description of how to use them.

nxpdevscan - UART#

nxpdevscan lists all devices connected using UART to the host PC in section Connected NXP UART Devices

UART device identification in SPSDK

nxpdevscan - USB#

nxpdevscan lists all devices connected using USB to host PC in section Connected NXP USB Devices.

USB device identification in SPSDK

Command line interface#

nxpdevscan#

Utility listing all connected NXP USB and UART devices.

NOTE: This utility lists all NXPs USB and UART devices connected to the host. By default it scans UART devices by pinging them (sending the mboot or SDP command). This however causes that the device ISP mode is locked to UART. Use the -n/–no-scan option to disable this behavior. If you want to only scan for NXP UART devices, use the –nxp option.

nxpdevscan [OPTIONS]

Options

-e, --extend-vids <extend_vids>#

VID in hex to extend search.

-o, --output <output>#
-n, --no-scan#

Do not scan UART devices by pinging them.

--nxp#

Scan only NXP UART devices.

--uboot#

Scan for U-Boot console.

-r, --real-devices#

Check if the serial device is a real device using ioctl TIOCGSERIAL.

-t, --timeout <ms>#

Sets timeout when waiting on data over a serial line. The default is 50 milliseconds.

-a, --all#

Search for all NXP devices (default)

-u, --usb#

Search only for USB devices

-sd, --sdio#

Search only for SDIO devices

-p, --port#

Search only for UART devices

-l, --lpcusbsio#

Search only for USBSIO devices

--uuu#

Search only for UUU devices

-v, --verbose#

Print more detailed information

-vv, --debug#

Display more debugging information.

--version#

Show the version and exit.

--help#

Show this message and exit.

nxpdevscan
../_images/nxpdevscan_detect_2.png

nxpdevscan lists NXP devices connected to host PC#