1 Reply Latest reply on Oct 23, 2013 5:13 AM by ado

    Cannot run sketches

    emoretto

      Hi,

       

      I have a Galileo board with Green PCB (Rev C Typical).

      And I cannot run any sketches. After compile and upload I got this error in serial:

       

       

      root@clanton:/sketch#
      root@clanton:/sketch# clloader: remote command execution requested
      clloader: mv -f /sketch/sketch.elf /sketch/sketch.elf.old
      signal- child ignore  signal rxed
      Zmodem wait finished .. restart to look for sketch
      /sketch/sketch.elf file does not exist or invalid permissions
      Receiving: Blink.cpp.elf
      Bytes received:   10240/  49184   BPS:393847 ETA 00:00[  890.081460] ttyGS0: RX not scheduled?
      [  890.085339] ttyGS0: RX not scheduled?
      Bytes received:   47104/  49184   BPS:596253 ETA 00:00
      Clloader: fclose: 0x95bb060
      Bytes received:   49184/  49184   BPS:578635
      Zmodem wait finished .. restart to look for sketch
      /sketch/sketch.elf file does not exist or invalid permissions
      clloader waiting to receive.clloader: remote command execution requested
      clloader: mv Blink.cpp.elf /sketch/sketch.elf; chmod +x /sketch/sketch.elf
      signal- child ignore  signal rxed
      Zmodem wait finished .. restart to look for sketch
      Sketch child process started, pid=01606
      Starting /sketch/sketch.elf /dev/pts/0 /dev/ttyS0
      sigchld signal rxed.. child pid:1606 terminated, go back to wait for command ...
      HUP or CHLDTERM Received, Change state to wait for command from host
      
      

       

      Messages in Arduino IDE (looks fine):

       

      #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
      
      Transfer complete
      
      

       

       

      Thank you

        • 1. Re: Cannot run sketches
          ado

          Hi,

           

          Arduino IDE is not supported on FabC green boards.

          You can use these boards as Quark X1000 development boards (Linux Level development) but the Arduino IDE support is not there hence you see errors.

          Please wait for a Galileo board if you want to use the Arduino IDE.

           

          -a