版主: wanchong , wangyu , eepwwp , firedom

分享到:
共10条 1/1 1   

Arduino-1.5.3 IDE安装问题

    [您是本帖的第1222位阅读者]
czh306
我是MM
普通会员

最后登陆时间:2015-09-29 16:23:18

直达楼层
1# 发表于 2015-04-15 22:44:32
Blink  试运行出现以下问题,请有经验高手回答,是何情况?  使用7-zip解压//拷贝b. 在windows浏览器下,usbser.sys 拷贝到: C:\Windows\System32\drivers

如何卸载之前装的 Arduino-1.5.3 IDE?

Binary sketch size: 57,999 bytes (of a 10,000,000 byte maximum) - 0% used
cygwin warning:
starting download script
  MS-DOS style path detected: C:\directiory1\arduino-1.5.3-Intel.1.0.3/hardware/arduino/x86/tools/izmir/clupload_win.sh
  Preferred POSIX equivalent is: /cygdrive/c/directiory1/arduino-1.5.3-Intel.1.0.3/hardware/arduino/x86/tools/izmir/clupload_win.sh
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Args to shell: C:\directiory1\arduino-1.5.3-Intel.1.0.3/hardware/tools/x86/bin C:\Users\Maples\AppData\Local\Temp\build2724967922612009271.tmp/Blink.cpp.elf COM4
#!/bin/sh
COM PORT

echo "starting download script"
echo "Args to shell:" $*

# ARG 1: Path to lsz executable.
# ARG 2: Elf File to download
# ARG 3: COM port to use.

#path contains \ need to change all to /
path_to_exe=$1
fixed_path=${path_to_exe//\\/\/}

#COM ports are not always setup to be addressed via COM for redirect.
#/dev/ttySx are present. Howwever, COMy -> /dev/ttySx where x = y - 1

Converted COM Port to tty port /dev/ttyS-1
Sending Command String to move to download if not already in download mode
com_port_arg=$3
com_port_id=${com_port_arg/COM/}
echo "COM PORT" $com_port_id
tty_port_id=/dev/ttyS$((com_port_id-1))
echo "Converted COM Port" $com_port_arg "to tty port" $tty_port_id
Deleting existing sketch on target

echo "Sending Command String to move to download if not already in download mode"
echo "~sketch download" > $tty_port_id
C:\directiory1\arduino-1.5.3-Intel.1.0.3/hardware/arduino/x86/tools/izmir/clupload_win.sh: line 24: /dev/ttyS-1: Read-only file system

#Move the existing sketch on target.
echo "Deleting existing sketch on target"
$fixed_path/lsz.exe --escape -c "mv -f /sketch/sketch.elf /sketch/sketch.elf.old" <> $tty_port_id 1>&0
C:\directiory1\arduino-1.5.3-Intel.1.0.3/hardware/arduino/x86/tools/izmir/clupload_win.sh: line 28: /dev/ttyS-1: Read-only file system

# Execute the target download command

#Download the file.
host_file_name=$2
$fixed_path/lsz.exe --escape --binary --overwrite $host_file_name <> $tty_port_id 1>&0
C:\directiory1\arduino-1.5.3-Intel.1.0.3/hardware/arduino/x86/tools/izmir/clupload_win.sh: line 34: /dev/ttyS-1: Read-only file system

#mv the downloaded file to /sketch/sketch.elf 
target_download_name="${host_file_name##*/}" 
echo "Moving downloaded file to /sketch/sketch.elf on target"
Moving downloaded file to /sketch/sketch.elf on target
#$fixed_path/lsz.exe --escape -c "cp sketch /sketch/sketch.elf" <> $tty_port_id 1>&0
$fixed_path/lsz.exe --escape -c "mv $target_download_name /sketch/sketch.elf; chmod +x /sketch/sketch.elf" <> $tty_port_id 1>&0
C:\directiory1\arduino-1.5.3-Intel.1.0.3/hardware/arduino/x86/tools/izmir/clupload_win.sh: line 40: /dev/ttyS-1: Read-only file system

RE:by zpeng

yunxia
我是MM
普通会员

最后登陆时间:2015-01-14 10:47:10

2# 发表于 2015-04-16 22:07:37
牛!

RE:by zpeng

anana
我是MM
普通会员

最后登陆时间:2015-01-14 10:56:50

3# 发表于 2015-04-17 12:17:02
楼主我也买了这个,一起学习啊!

RE:by zpeng

belton
我是MM
普通会员

最后登陆时间:2015-01-14 11:04:14

4# 发表于 2015-04-17 13:01:27
赞一个,楼主好样的

RE:by zpeng

zendor
我是MM
普通会员

最后登陆时间:2015-01-14 10:46:53

5# 发表于 2015-04-18 08:18:59
顶大神

RE:by zpeng

pandailong
我是MM
普通会员

最后登陆时间:2015-01-14 11:11:13

6# 发表于 2015-04-20 13:14:40
楼主加油啊!

RE:by zpeng

tianbing2009
我是MM
普通会员

最后登陆时间:2015-01-14 10:48:51

7# 发表于 2015-04-22 17:59:11
新手上路,求带!

RE:by zpeng

adamaa
我是MM
普通会员

最后登陆时间:2015-01-14 10:40:44

8# 发表于 2015-04-28 13:17:06

RE:by zpeng

cyliew
我是MM
普通会员

最后登陆时间:2015-01-14 10:40:18

9# 发表于 2015-04-30 12:10:51
大神啊!

RE:by zpeng

LUOWEN
我是MM
普通会员

最后登陆时间:2015-01-14 11:09:00

10# 发表于 2015-05-13 20:11:31
谢谢楼主的经验分享
共10条 1/1 1   
快速回复主题
  • 匿名不能发帖!请先 [ 登陆 注册 ]