错误&quort“ avrdude:stk500_recv():程序员没有响应” (Macos Monterey)
最近,我使用Arduino Uno启动了一个项目。我正在MacOS上使用Arduino IDE(蒙特雷)。 IDE正在编译并上传到Arduino罚款;但是,最近它仍在编译,但是在上传时,它一直向我发送“程序员没有响应错误”。
以下是我的代码和到目前为止进行调试的步骤。
void setup() {
Serial.begin(1000);
delay(50);
}
void loop() {
Serial.print("Hello, World!");
delay(500);
}
- 首先,我尝试拔下插电,重新插入和重置板子。
- 我还确保在IDE中选择了正确的端口和板。
- 此外,我完全删除了IDE并重新安装了它。
- 最后,我将板子和电线换成其他板子,但错误仍然存在。
当我在Windows笔记本电脑上测试了同一程序和板时,这些似乎都不是问题,并且可以很好地上传。此外,RX灯每隔几秒钟闪烁,L灯不断亮起,显示出适当的连接性。这使我相信MacOS和Arduino IDE有问题。
Recently, I started a project using an Arduino Uno. I am using the Arduino IDE on macOS v12.2 (Monterey). The IDE was compiling and uploading to the Arduino fine; however, recently it still compiles, but keeps sending me the "programmer is not responding error" when uploading.
Below is my code and the steps I have taken to debug so far.
void setup() {
Serial.begin(1000);
delay(50);
}
void loop() {
Serial.print("Hello, World!");
delay(500);
}
- First, I tried unplugging, replugging, and resetting my board.
- I also made sure that the correct port and board were selected in the IDE.
- Furthermore, I deleted the IDE completely and reinstalled it.
- Lastly, I switched out the board and wire for other ones and the error still remained.
None of these seem to be the issue as I tested the same program and board on a Windows laptop and it uploaded fine. Additionally, the RX light flashes every couple of seconds and the L light is constantly on, showing proper connectivity. This leads me to believe that there is something wrong with the macOS and Arduino IDE specifically.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论