connect
Establish a J-Link session with the target RA MCU and extract the RTT control block address from the ELF to enable debugging and log streaming.
Instructions
Connect to the J-Link and the target RA MCU, and take the RTT control block address from the ELF.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device": "<device>",
"elf_path": "<elf_path>"
},
"name": "connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | The J-Link device name for the target part, e.g. the full part number as J-Link lists it. | |
| elf_path | Yes | build/zephyr/zephyr.elf | |
| svd_path | No | Optional; required for named SFR access | |
| interface | No | ||
| catch_faults | No | Arm vector catch so the CPU stops at the fault itself. With it off, decode_fault only ever reads a CFSR the handler already cleared. | |
| probe_serial | No |