Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18599

Arduino/Gen2 com. issues

$
0
0

This is ridiculous, I am trying the third Gen2 board and the board/Arduino still not communicating properly.

First two got bricked when trying to update fwr, I followed the start-up guideline to the letter including the latest Arduino rev, it got stuck in Step4.2-Go to Help -> Firmware Update- nothing happens, after >1hr waiting tried to kill the Arduino app. on the PC which bricked both of them (USB driver was worthless after that).

 

On the 3rd unit, I decided to try loading the Blink file command before going to step4, so now its stuck in "Uploading"

Here are the messages:

 

Binary sketch size: 83,463 bytes (of a 10,000,000 byte maximum) - 0% used
cygwin warning:
  MS-DOS style path detected: C:\Galileo\arduino-1.5.3-Intel.1.0.4/hardware/arduino/x86/tools/izmir/clupload_win.sh
  Preferred POSIX equivalent is: /cygdrive/c/Galileo/arduino-1.5.3-Intel.1.0.4/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
#!/bin/sh

echo "starting download script"
starting download script
echo "Args to shell:" $*
Args to shell: C:\Galileo\arduino-1.5.3-Intel.1.0.4/hardware/tools/x86/bin C:\Users\QX\AppData\Local\Temp\build4927286230808784195.tmp/Blink.cpp.elf COM4

COM PORT 4
# ARG 1: Path to lsz executable.
Converted COM Port COM4 to tty port /dev/ttyS3
# ARG 2: Elf File to download
Sending Command String to move to download if not already in download mode
# 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
Deleting existing sketch on target

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

echo "Sending Command String to move to download if not already in download mode"
echo "~sketch download" > $tty_port_id

#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

 

Any suggestions ?I'm running out of ideas


Viewing all articles
Browse latest Browse all 18599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>