当前位置:首页 > 技术心得 > 正文内容

PlatformIO串口无输出

xjtudll2年前 (2025-02-04)技术心得14780

问题:

同样的串口打印代码,在Arduino IDE里可以正常输出,但是在PlatformIO里看不到任何输出

硬件:ESP32-S3 Camera

解决方法:

This is because DTR and RTS both are connected to the RESET pin and GPIO 0 of the esp 8266 chip, and by default in the terminal serial port in visual studio code DTR and RST pin of the the serial to usb adapter are active and prevent the chip to act as normal.
Solution:
In terminal serial port press CTRL + T and then CTRL + D to inactive DTR and then CTRL + T and then CTRL + R to inactive RST pin

界面里操作如下(去掉DTR和RTS前面的√,即不勾选):

sshot-1

参考资料:

https://community.platformio.org/t/cant-get-output-from-serial-monitor/15533/18

扫描二维码推送至手机访问。

版权声明:本文由鸟的天空发布,如需转载请注明出处。

本文链接:http://www.xjtudll.cn/Exp/702/

标签: PlatformIO
分享给朋友:

“PlatformIO串口无输出” 的相关文章

解决android studio弹出

解决android studio弹出"waiting for debugger"

方式一: 这种方法可能需要配置环境变量 win+R -> cmd -> adb kill-server,adb start-server 方式二: 当点击debug app时(卡在"waiting for debug"),则如图点击,然后点击确定即可! 本文为转载...

Keil C51编译错误:address space overflow

Keil C51编译错误:address space overflow

近日在使用Keil的时候,遇到了一个问题:address space overflow。程序最初编译的时候没这问题,当我增加一段代码后,出现了这个问题。经网上搜索,发现根本原因是:data只能是RAM中的前128个,变量超过128个时会出现ADDRESS SPACE OVERFLOW。 &nb...

Xcode Warning: Multiple build commands for output file /xxx 解决

Xcode Warning: Multiple build commands for output file /xxx 解决

 现象: 编译后有如下警告: [WARN]Warning: Multiple build commands for output file /xxx 解决步骤如下: 1、选择你的工程 2、选择target 3、点击 Build Phases 4、展开...

把存储过程结果集插入临时表

--使用sp_helpserver 显示可用的服务器。  exec sp_helpserver  --打开服务器的"data access"属性  exec sp_serveroption '服务器名',...

运放芯片不用的输入端的处理

本文转载自21IC论坛。 对于数字器件,尤其是CMOS器件,不用的输入端不能悬空,这个道理好像已经尽人皆知了。至少在21IC,时不时就会有人发帖让大家“温习”这个问题。但对于模拟器件,好像认识还有些模糊。 就以运放为例。多运放芯片中不用的运放怎么处理,好像是新手们的一个共同疑问。(有这个疑问是好...

NSWindow——设定窗口位置

NSWindow——设定窗口位置

 1、记忆窗口的位置 何为记忆窗口位置 ,即下次打开窗口的位置跟上次退出时一样。 如果是用代码,请参考: 记忆窗口位置    http://cocoa.venj.me/blog/remember-window-position/ 在xib文件中设定,见图...

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。