stm32_connect_info
Connect to a target STM32 MCU and retrieve Chip ID, Flash size, Revision ID, and CPU Core details for hardware identification.
Instructions
Connect to target STM32 MCU and retrieve Chip ID, Flash size, Revision ID, and CPU Core details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sn | No | ST-LINK probe Serial Number (optional if single probe connected) | |
| freq | No | SWD/JTAG frequency in kHz (e.g. 4000) | |
| mode | No | Reset mode: UR (Under Reset), NORMAL, or HOTPLUG | HOTPLUG |
| port | No | Connection interface port: SWD, JTAG, COMx, USB1, CAN1, etc. | SWD |
| reset | No | Reset method prior to connection |