6 Replies Latest reply on Mar 11, 2015 12:42 AM by tomcandy

    Unable to blink LED




      I have Intel galileo board, I downloaded Intel_Galileo_Arduino_SW_1.5.3_on_Linux32bit_v1.0.0.tgz on RHEL6 (x86) system .

      Connected the galileo board with default cables that came with the board . Started arduino ide (1.5.3) and when starting

      the example blink program , I don't see LED 13 blinking.  The program gets uploaded successfully but led 13 doesn't blink at all.


      I see below error on the console:




      Binary sketch size: 50,626 bytes (of a 262,144 byte maximum) - 19% used

      starting download script

      Args to shell: /home/ashok/arduino-1.5.3/hardware/tools /tmp/build4725549829179236781.tmp/Blink.cpp.elf /dev/ttyACM0

      Serial Port PORT

      Using tty Port /dev/ttyACM0

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



      echo "starting download script"

      echo "Args to shell:" $*


      # ARG 1: Path to lsz executable.

      # ARG 2: Elf File to download

      # ARG 3: TTY port to use.


      #path may contain \ need to change all to /





      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

      /home/ashok/arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_linux.sh: line 19: /dev/ttyACM0: Input/output error

      #Give the host time to stop the process and wait for download

      sleep 1


      #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

      Deleting existing sketch on target

      /home/ashok/arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_linux.sh: line 25: /dev/ttyACM0: Input/output error


      # Execute the target download command


      #Download the file.


      "$fixed_path/lsz" --escape --binary --overwrite $host_file_name < $tty_port_id  > $tty_port_id

      /home/ashok/arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_linux.sh: line 31: /dev/ttyACM0: Input/output error

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


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


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

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

      /home/ashok/arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_linux.sh: line 36: /dev/ttyACM0: Input/output error