identify - Identify DUT

Identify DUT MCU and/or RF peripherals.

The MCU identifier is stored in the mcu_id key, and the BLE MAC address (if available) is stored in the ble_mac key.

Usage:

- command: identify <target> [<uartPort>]
  [id: <usbDeviceID>]
  [path: <usbDevicePath>]
  [interface: <usbDeviceInterface>]
  [retry: <retryCount>]

Argument

Description

target

Target to identify. A clock frequency may be appended as <target>@<freq> (for example STM32L4@200kHz) to override the default SWD/JTAG adapter speed; not all targets support this option.

uartPort

UART port name. Only required for UART programming targets.

usbDeviceID

Optional: Programming adapter USB device identifiers: VID:PID.

usbDevicePath

Optional: Programming adapter USB device path: port. ... .port.

usbDeviceInterface

Optional: Programming adapter USB device interface: interface_number.

retryCount

Optional: Number of times to retry the test step.

Note

identify is only implemented for the targets listed below (a specific subset of program/erase targets, since MCU identification requires vendor- and family-specific register reads). CMSIS, SDCard, and USB-DFU targets do not support identification. AVR targets are only supported when programmed via ISP or Xplained mini (_XPm); the FTDI and PICkit4 AVR variants, and all PIC18 targets, do not support identification.

On the PLT-300A, the programming adapter can be specified using usbDeviceID, usbDevicePath, and usbDeviceInterface. Specifying the programming adapter location allows multiple adapters of the same type to be used in a single test plan, or for an external adapter to be used in place of the built-in programming adapter. See USB Interaction for details on specifying USB devices.

Supported target values:

target

Description

AVRATmega168P_ISP

Microchip (Atmel) AVR ATmega168P(A) (JTAG:ISP)

AVRATmega168P_XPm

Microchip (Atmel) AVR ATmega168P(A) (USB, XPmini)

AVRATmega168PB_ISP

Microchip (Atmel) AVR ATmega168PB (JTAG:ISP)

AVRATmega168PB_XPm

Microchip (Atmel) AVR ATmega168PB (USB, XPmini)

CC1352_DAP

TI CC1352P1, CC1352R1 RFSoC (USB, CMSIS-DAP)

CC1352P7_DAP

TI CC1352P7 RFSoC (USB, CMSIS-DAP)

ESP32_UART

Espressif ESP32 RFSoC (UART)

MAX32690

Analog Devices (Maxim) MAX32690 (SWD)

MAX32690_JLink

Analog Devices (Maxim) MAX32690 (USB, JLink)

nRF52

Nordic nRF52 RFSoC (SWD)

nRF52_DAP

Nordic nRF52 RFSoC (USB, CMSIS-DAP)

nRF52_JLink

Nordic nRF52 RFSoC (USB, JLink)

nRF91

Nordic nRF9160 RFSoC:Cortex-M33 (SWD)

nRF91_JLink

Nordic nRF9160 RFSoC:Cortex-M33 (USB, JLink)

STM32F0

ST STM32F0xx MCU (SWD)

STM32F0_STLink

ST STM32F0xx MCU (USB, ST-Link)

STM32F1

ST STM32F1xx MCU (SWD)

STM32F1_STLink

ST STM32F1xx MCU (USB, ST-Link)

STM32F2

ST STM32F2xx MCU (SWD)

STM32F2_STLink

ST STM32F2xx MCU (USB, ST-Link)

STM32F3

ST STM32F3xx MCU (SWD)

STM32F3_STLink

ST STM32F3xx MCU (USB, ST-Link)

STM32F4

ST STM32F4xx MCU (SWD)

STM32F4_STLink

ST STM32F4xx MCU (USB, ST-Link)

STM32G0

ST STM32G0xx MCU (SWD)

STM32G0_STLink

ST STM32G0xx MCU (USB, ST-Link)

STM32G4

ST STM32G4xx MCU (SWD)

STM32G4_STLink

ST STM32G4xx MCU (USB, ST-Link)

STM32L0

ST STM32L0xx MCU (SWD)

STM32L0_STLink

ST STM32L0xx MCU (USB, ST-Link)

STM32L1_Cat12

ST STM32L1xx Category 1 or 2 MCU (SWD)

STM32L1_Cat3

ST STM32L1xx Category 3 MCU (SWD)

STM32L1_Cat456

ST STM32L1xx Category 4, 5, or 6 MCU (SWD)

STM32L4

ST STM32L4xx MCU (SWD)

STM32L4_STLink

ST STM32L4xx MCU (USB, ST-Link)

STM32L5

ST STM32L5xx MCU (SWD)

STM32L5_STLink

ST STM32L5xx MCU (USB, ST-Link)

STM32H7

ST STM32H7xx MCU (SWD)

STM32H7_DualBank

ST STM32H7xx MCU, dual-bank flash (SWD)

STM32H7_STLink

ST STM32H7xx MCU (USB, ST-Link)