read_core_regs
Read Cortex-M core registers (R0-R12, SP, LR, PC, XPSR) to inspect CPU state during Zephyr debugging and diagnose faults or unexpected halts.
Instructions
Read the Cortex-M core registers (R0-R12, SP, LR, PC, XPSR...).
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": "read_core_regs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hypothesis | No | Optional: what hypothesis this observation is meant to test. Only a filled-in hypothesis feeds stuck detection -- when the same one keeps coming back you get told to change direction (measure the physical layer, for instance). |