read_rtt
Retrieve RTT log data from a target MCU via J-Link. Returns structured JSON with timestamps, channels, and content.
Instructions
读取 RTT 日志数据
从目标 MCU 读取 RTT (Real-Time Transfer) 日志数据。 默认读取所有通道 (0-15),返回结构化的日志数据。
Args: channels: 要读取的通道列表,None 表示所有通道 (默认) max_size: 最大读取字节数,默认 4096
Returns: RTT 数据的 JSON 字符串,包含时间戳、通道、内容和元数据
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channels | No | ||
| max_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |