Page 1 of 1

USB Host CDC 驱动 4G Cat.1 示例不断自动重启问题

Posted: Wed Aug 04, 2021 6:31 am
by orangerj24
您好,USB Host CDC 驱动 4G Cat.1 示例代码终于能烧录成功,可是在运行过程中,不断自动重启,打印信息如下:

[0;31mE (1179) esp-modem-dte: esp_modem_dte_send_cmd(192): process command timeout[0m
[0;33mW (1179) esp_modem_dce: esp_modem_dce_generic_command(31): Command:AT
response timeout[0m
[0;32mI (1184) modem_board: Current timeouts: 1 and errors: 0[0m
[0;31mE (6190) esp-modem-dte: esp_modem_dte_send_cmd(192): process command timeout[0m
[0;33mW (6190) esp_modem_dce: esp_modem_dce_generic_command(31): Command:+++ response timeout[0m
[0;31mE (6695) esp-modem-dte: esp_modem_dte_send_cmd(192): process command timeout[0m
[0;33mW (6695) esp_modem_dce: esp_modem_dce_generic_command(31): Command:AT
response timeout[0m
[0;31mE (7200) esp-modem-dte: esp_modem_dte_send_cmd(192): process command timeout[0m
[0;33mW (7200) esp_modem_dce: esp_modem_dce_generic_command(31): Command:AT
response timeout[0m
[0;32mI (7205) modem_board: Current timeouts: 2 and errors: 0[0m
[0;32mI (7211) modem_board: Restart to connect modem........[0m
[0;32mI (7217) modem_board: modem_board_reset![0m

有两个问题想请教:
1. 请问是什么原因导致超时?
2. GPIO12和13这两个端口应如何连接?

Modem Power Control 12 4G 模组自动开机模式
Modem Reset Control 13 必要

Re: USB Host CDC 驱动 4G Cat.1 示例不断自动重启问题

Posted: Mon Aug 09, 2021 10:13 am
by ESP_Bob
1. 请问是什么原因导致超时?
因为当前 4G Module 没有处在 AT 模式,通过指令切换失败,可以通过 RESET 引脚硬件上复位 4G Module

2. GPIO12和13这两个端口应如何连接?
Modem Power Control 12 连接到 4G Module POWER 控制引脚
Modem Reset Control 13 必要 连接到 4G Module POWER RESET 引脚 (用于超时后硬件复位)