Supreme 发表于 2014-7-15 20:28:10

求大神 Arduino程序上传不成功 显示系统找不到指定文件

就是直接打开软件里有的也显示错误
错误信息显示是
avrdude: ser_open(): can't open device "\\.\COM1": 系统找不到指定的文件。
程序
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.

Most Arduinos have an on-board LED you can control. On the Uno and
Leonardo, it is attached to digital pin 13. If you're unsure what
pin the on-board LED is connected to on your Arduino model, check
the documentation at http://arduino.cc

This example code is in the public domain.

modified 8 May 2014
by Scott Fitzgerald
*/


// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin 13 as an output.
pinMode(13, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
digitalWrite(13, HIGH);   // turn the LED on (HIGH is the voltage level)
delay(1000);            // wait for a second
digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW
delay(1000);            // wait for a second
}
错误信息显示是
avrdude: ser_open(): can't open device "\\.\COM1": 系统找不到指定的文件。

Ansifa 发表于 2014-7-16 23:45:35

本帖最后由 Ansifa 于 2014-7-17 00:15 编辑

是还没选对串口。在菜单栏的工具-端口,选别的COM口

sutian_zhou1989 发表于 2015-9-8 15:17:07

应该是串口被占用了,
可能是其他外部软件,例如Repetier-Host等等;
也可能是内部程序或者其他扩展板,例如蓝牙等等。

flashwang_abc 发表于 2015-12-1 23:41:39

你用的应该是win7以上的系统,右击arduino图标,选择“用管理员身份运行”,就可以了。

Super169 发表于 2015-12-1 23:49:30

USB 接口, 正常應該不會是 COM1 的, 樓主是否沒有選 port?
arduino IDE 應該自動隱藏了 COM1 吧, 樓主怎麼會是 COM1 的?
页: [1]
查看完整版本: 求大神 Arduino程序上传不成功 显示系统找不到指定文件