Connecting to a DUT

lager connect

Connect your gateway to your Device Under Test (DUT).

lager connect [OPTIONS]

Options

--gateway <gateway>

ID of gateway to which DUT is connected

--snr <snr>

Serial number of device to connect. Required if multiple DUTs connected to gateway

--device <device>

Required Target device type

Options

MIMXRT1064xxx5A, MIMXRT1064xxx6A, at91samdexx, at91samdgxx, at91samdxx, atsame70, cc3220s, cc3220sf, cc3235sf, efm32, imxrt1050, imxrt1064, nrf52, stm32f0x, stm32f1x, stm32f2x, stm32f3x, stm32f4x, stm32f7x, stm32g0x, stm32g4x, stm32h7x, stm32h7x_dual_bank, stm32l0, stm32l0_dual_bank, stm32l1, stm32l1x_dual_bank, stm32l4x, stm32mp15x, stm32w108xx, stm32wbx, stm32wlx, stm32xl

--interface <interface>

Target interface

Default

ftdi

Options

cmsis-dap, ftdi, jlink, stlink, stlink-dap, xds110

--transport <transport>

Target transport

Default

swd

Options

dapdirect_swd, hla_swd, jtag, swd

--speed <speed>

Target interface speed in kHz

Default

adaptive

--workareasize <workareasize>

Set work area size. Useful for STM32 chips.

--set <set_>

Set debugger environment variable FOO to BAR

--force

Disconnect debugger before reconnecting. If not set, connect will fail if debugger is already connected. Cannot be used with --ignore-if-connected

Default

False

--ignore-if-connected

If debugger is already connected, skip connection attempt and exit with success. Cannot be used with --force

Default

False