# USB 串口波特率

社区固件让你能够运行 **主 USB 串口控制台** 当主机支持时，其速度比默认值更快。更高的速率在传输大型 gcode 程序时可提高传输速度。

## 默认值

启动时，USB 串口速度默认是 **115200** bps。

## 运行时： `波特率` 控制台命令

你可以通过 **立即** 更改当前活动速度 [**`波特率`**](/docs/stable/zh/gu-jian/supported-commands/console-commands/baud.md) 控制台命令：

```
baud 1500000
```

主机必须立即在其端切换到 **相同** 波特率，否则字节将无法读取。

### 临时更改和空闲超时

通过 **`baud <rate>`** 设置的速度会被记录为 **临时** ，在串口驱动中。如果 **大约 15 秒内没有串口接收活动**，固件 **恢复** UART 为 115200。

## 限制

控制台命令接受的速率范围为 **1** 到 **4000000** bps（参见固件验证）。并非每个数值都适用于每个主机操作系统或电缆；如果链路失败，它会回退到 **115200**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://carvera-community.gitbook.io/docs/stable/zh/gu-jian/features/usb-serial-baud-rate.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
