mcu_fault_decode
Decodes ARM Cortex-M HardFault, BusFault, MemManage, and UsageFault registers with PSP/MSP stacked frames and optional ELF line symbols to pinpoint the faulting instruction.
Instructions
Decode ARM Cortex-M HardFault/BusFault/MemManage/UsageFault registers, PSP/MSP stacked frame, and optional ELF line symbols.
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": "mcu_fault_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elf | No | ||
| device | No | ||
| backend | No | jlink | |
| mock_json | No | ||
| usb_serial | No |