stm32_get_target_info
Fetch hardware information from a connected STM32 microcontroller: device ID, core architecture, flash size, and connection status.
Instructions
Connects to the physical STM32 microcontroller and retrieves hardware device info:
Device ID (e.g. 0x423 for STM32F401, 0x410 for STM32F103)
Device name and core architecture
Flash memory size
Connection status
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_get_target_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | SWD | |
| freq_khz | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |