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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stm32_connect_info"
}
}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 |