6 Replies Latest reply on Mar 5, 2014 2:37 PM by bamacken

    Sketch transfer incomplete need assistance

    bamacken

      Hello all,

       

      So I've successfully updated the firmware (0.7.5) and booting from an SD with the Linux image (LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z).  The issue is that now I am not able to upload any sketches. The IDE just hangs giving me various error messages. I have power cycled the board, tried the reboot button but still cant' transfer sketchs. This only happens when I boot from the SD card. Any guidance is much appreciated. The most common being the following:

       

      **********************************************************************************************************************************

      Binary sketch size: 45,121 bytes (of a 262,144 byte maximum) - 17% used

      cygwin warning:

        MS-DOS style path detected: C:\arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_win.sh

        Preferred POSIX equivalent is: /cygdrive/c/arduino-1.5.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

      #!/bin/sh

       

      echo "starting download script"

      echo "Args to shell:" $*

      starting download script

       

      Args to shell: C:\arduino-1.5.3/hardware/tools/x86/bin C:\Users\Bryan\AppData\Local\Temp\build839767801414099283.tmp/sketch_feb26a.cpp.elf COM2

      # 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

      COM PORT 2

      fixed_path=${path_to_exe//\\/\/}

      Converted COM Port COM2 to tty port /dev/ttyS1

       

      Sending Command String to move to download if not already in download mode

      #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

       

      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

       

      Deleting existing sketch on target

      #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

      Retry 0: Got ERROR

      assword: 0^XB0600000000cd85^XB00000000000000Retry 0: Got TIMEOUT

      ^XB00000000000000Retry 0: Got TIMEOUT

       

      Transfer incomplete

      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

       

       

      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

      Retry 0: Got ZNAK

      Retry 0: Got ZNAK

      Retry 0: Got ERROR

      assword: 0Retry 0: Got TIMEOUT

      Login incorrectclanton login: Retry 0: Got TIMEOUT

       

       

      Transfer incomplete

      **********************************************************************************************************************************