3 Respuestas Última respuesta el Sep 18, 2014 5:47 AM por ELOSCARZE

    Problema al tratar de programar la tarjeta Galileo...

      Hola, soy nuevo en esto. He estado leyendo algunos ejemplos de programas, pero al tratar de descargarlos a la tarjeta parece ser que no pasa nada, solamente me aparece lo siguiente en la consola:

       

      Binary sketch size: 53,731 bytes (of a 262,144 byte maximum) - 20% used

      #!/bin/sh

      starting download script

       

      echo "starting download script"

      Args to shell: D:\arduino-1.5.3/hardware/tools/x86/bin C:\Users\CONTRO~1\AppData\Local\Temp\build8561405677828369159.tmp/Joystick_withProcessing.cpp.elf COM1

      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 /

      path_to_exe=$1

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

      COM PORT 1

       

      Converted COM Port COM1 to tty port /dev/ttyS0

      #COM ports are not always setup to be addressed via COM for redirect.

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

      #/dev/ttySx are present. Howwever, COMy -> /dev/ttySx where x = y - 1

       

       

      com_port_arg=$3

      com_port_id=${com_port_arg/COM/}

      Deleting existing sketch on target

      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

      D:\arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_win.sh: line 24: /dev/ttyS0: Permission denied

       

      #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

      D:\arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_win.sh: line 28: /dev/ttyS0: Permission denied

       

      # 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

      D:\arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_win.sh: line 34: /dev/ttyS0: Permission denied

       

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

      target_download_name="${host_file_name##*/}"

      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 "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

      D:\arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_win.sh: line 40: /dev/ttyS0: Permission denied