set_device
Set the target device name for J-Link debugging, required before any debug commands work. Use search_devices to find the exact name.
Instructions
Set the target device name at runtime. Required before any debugging commands will work. The name must match J-Link's exactly — use search_devices to find it rather than guessing a part number. Examples: 'nRF52840_XXAA', 'nRF5340_xxAA_APP', 'STM32F407VG', 'STM32L476RG'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Target device name (e.g., 'nRF52840_XXAA', 'STM32F407VG') |