12 Replies Latest reply on Jul 20, 2015 10:52 PM by kona

    Upload Fail: Intel Edison Arduino Breakout Board


      Situation: When I am trying to upload to my Edison on an Arduino breakout board, this is the error I am getting.


      Attempts: I have tried re-flashing, using another Arduino Breakout Board & using another USB cable from different USB ports. Selected right COM port, placed the switch towards micro-USB port instead of USB port.


      Sketch uses 76,207 bytes (0%) of program storage space. Maximum is 10,000,000 bytes.


      starting download script



      Args to shell: C:\Intel\arduino-1.6.0+Intel\hardware\tools\x86\bin C:\Users\MOUHYE~1\AppData\Local\Temp\build5903910267688727999.tmp/Blink.cpp.elf COM67

      # clupload script to invoke lsz

      COM PORT 67

      # Copyright (C) 2014 Intel Corporation

      Converted COM Port COM67 to tty port /dev/ttyS66


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

      # This library is free software; you can redistribute it and/or

      # modify it under the terms of the GNU Lesser General Public

      # License as published by the Free Software Foundation; either

      # version 2.1 of the License, or (at your option) any later version.


      # This library is distributed in the hope that it will be useful,

      # but WITHOUT ANY WARRANTY; without even the implied warranty of


      # Lesser General Public License for more details.


      # You should have received a copy of the GNU Lesser General Public

      # License along with this library; if not, write to the Free Software

      # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA




      echo "starting download script"

      Deleting existing sketch on target

      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 /





      #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





      echo "COM PORT" $com_port_id


      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 downloadEdison" > $tty_port_id

      C:\Intel\arduino-1.6.0+Intel/hardware/intel/i686/tools/izmir/clupload_win.sh: line 42: /dev/ttyS66: 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:\Intel\arduino-1.6.0+Intel/hardware/intel/i686/tools/izmir/clupload_win.sh: line 46: /dev/ttyS66: Read-only file system

      # Execute the target download command



      #Download the file.


      "$fixed_path/lsz.exe" --escape --binary --overwrite $host_file_name <> $tty_port_id 1>&0

      C:\Intel\arduino-1.6.0+Intel/hardware/intel/i686/tools/izmir/clupload_win.sh: line 51: /dev/ttyS66: Read-only file system



      #mv the downloaded file to /sketch/sketch.elf


      Moving downloaded file to /sketch/sketch.elf on target

      echo "Moving downloaded file to /sketch/sketch.elf on target"

      "$fixed_path/lsz.exe" --escape -c "mv $target_download_name /sketch/sketch.elf; chmod +x /sketch/sketch.elf" <> $tty_port_id 1>&0

      C:\Intel\arduino-1.6.0+Intel/hardware/intel/i686/tools/izmir/clupload_win.sh: line 56: /dev/ttyS66: Read-only file system


      What's with the "Read-only file system" ?

      I have gone over multiple discussions in this forum but haven't come across anyone facing this problem.

      I learned that I need to terminate bash.exe & lsz.exe from a discussion. Should I do this on my Edison's command line interface?