版主: wanchong , wangyu , eepwwp , firedom |
czh306
最后登陆时间:2015-09-29 16:23:18 |
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 |
|
|
anana
最后登陆时间:2015-01-14 10:56:50 |
楼主我也买了这个,一起学习啊!
|
belton
最后登陆时间:2015-01-14 11:04:14 |
赞一个,楼主好样的
|
pandailong
最后登陆时间:2015-01-14 11:11:13 |
楼主加油啊!
|
tianbing2009
最后登陆时间:2015-01-14 10:48:51 |
新手上路,求带!
|
LUOWEN
最后登陆时间:2015-01-14 11:09:00 |
谢谢楼主的经验分享
|
共10条 1/1 1 |