Merge branch 'docs/update_cn_trans_usb-serial-jtag-console' into 'master'

docs: Update cn trans for use-serial-jtag-console

Closes DOC-6815

See merge request espressif/esp-idf!28004
pull/12863/head
Mo Fei Fei 2023-12-20 16:42:09 +08:00
commit 3140fcadf2
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -91,7 +91,7 @@ For data transmitted from the PC Terminal to {IDF_TARGET_NAME} (e.g., console co
.. note::
In rare cases it's possible that data sent from the {IDF_TARGET_NAME} to the host gets 'stuck' in host memory. Sending more data will get it 'unstuck', but if the application does not send more data, depending on the driver, this data needs to be flushed to the host manually. The non-blocking (default) driver and the VFS implementation will flush automatically after a newline. The blocking (interrupt-based) driver will automatically flush when its transmit buffer becomes empty.
In rare cases, it is possible that data sent from {IDF_TARGET_NAME} to the host gets 'stuck' in host memory. Sending more data will get it 'unstuck', but if the application does not send more data, depending on the driver, this data needs to be flushed to the host manually. The non-blocking (default) driver and the VFS implementation will flush automatically after a newline. The blocking (interrupt-based) driver will automatically flush when its transmit buffer becomes empty.
Sleep Mode Considerations
-------------------------

Wyświetl plik

@ -89,6 +89,10 @@ USB 串行/JTAG 控制台功能存在一些限制,这些限制的影响程度
对于从 PC 终端发送到 {IDF_TARGET_NAME} 的数据(如控制台命令),许多 PC 终端会等待 {IDF_TARGET_NAME} 接收字节后,再允许发送更多数据。这与使用 USB 转串口 (URAT) 桥接芯片不同URAT 桥接芯片始终接收字节,并将其发送到(可能未在监听)的 {IDF_TARGET_NAME}。
.. note::
在极少数情况下,从 {IDF_TARGET_NAME} 发送到主机的数据可能会“阻塞”在主机内存中。继续发送数据即可“取消阻塞”,但如果应用程序未继续发送数据,则需要手动将这些数据刷新到主机。能否继续发送数据取决于驱动程序,默认配置的非阻塞驱动程序和 VFS 实现会在换行后自动刷新,而基于中断的阻塞驱动程序会在发送缓冲区变空时自动刷新。
睡眠模式考虑因素
-------------------------