版主: wanchong , wangyu , eepwwp , firedom |
lilianhu
最后登陆时间:2015-10-30 14:46:45 |
Linux系统:使用arduino工具 选择led的用例下载,板子选择Edison (tool->board)串口选择ttyUSB0 (使用minicom 验证可以和板子通信),下载报错如下:
Binary sketch size: 76,087 bytes (of a 10,000,000 byte maximum) - 0% used #!/bin/sh starting download script echo "starting download script" Args to shell: /home/zengmin/mywork/arduino-1.5.3-Intel.1.0.4/hardware/tools /tmp/build8099810468352076337.tmp/Blink.cpp.elf /dev/ttyUSB0 echo "Args to shell:" $* Serial Port PORT # Using tty Port /dev/ttyUSB0 # ARG 1: Path to lsz executable. Sending Command String to move to download if not already in download mode # ARG 2: Elf File to download # ARG 3: TTY port to use. # #path may contain \ need to change all to / path_to_exe=$1 fixed_path=${path_to_exe//\\/\/} # tty_port_id=$3 echo "Serial Port PORT" $com_port_id echo "Using tty Port" $tty_port_id # echo "Sending Command String to move to download if not already in download mode" echo "~sketch download" > $tty_port_id #Give the host time to stop the process and wait for download sleep 1 # Deleting existing sketch on target #Move the existing sketch on target. echo "Deleting existing sketch on target" "$fixed_path/lsz" --escape -c "mv -f /sketch/sketch.elf /sketch/sketch.elf.old" < $tty_port_id > $tty_port_id Retry 0: Got TIMEOUT 请大神帮忙,感谢! |
|
|
tax697
最后登陆时间:2015-01-14 10:56:49 |
好帖 , 楼主辛苦了, 大二了 荒废的时间太多了,决定过几天就买个开发版回家自学
|
wsz0419
最后登陆时间:2015-01-14 10:49:26 |
马一个,等楼主更
|
dahanli
最后登陆时间:2015-01-14 11:09:56 |
楼主什么专业滴?
|
lc122329287
最后登陆时间:2015-01-14 11:09:38 |
感谢分享
|
共10条 1/1 1 |