3 Replies Latest reply on Mar 20, 2015 3:12 PM by ForumMigrationAdmin

    Unable to upload arduino sketch witk iotdevkit image

    ForumMigrationAdmin

      Hi All,

      I am facing issue while uploading the sketch in iotdevkit image.

      It is working fine with "LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5 " but not with iotdevkit image.

      Here is the logs:

      Deleting existing sketch on target
      C:\arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_win.sh: line 28: /dev/ttyS9: No such file or directory

      # 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:\arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_win.sh: line 34: /dev/ttyS9: No such file or directory

      #mv the downloaded file to /sketch/sketch.elf
      target_download_name="${host_file_name##*/}"
      echo "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
      Moving downloaded file to /sketch/sketch.elf on target
      C:\arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_win.sh: line 40: /dev/ttyS9: No such file or directory

       

      I have tried multiple things  to resolve this issue but did't get expected result.

      can any one please help me into this case!!

      Thanks in advance!

      Regards,

      Sunil