1 2 Previous Next 27 Replies Latest reply on Feb 17, 2016 6:30 PM by FGT

    Intel Galileo - Can't upload sketch while boot from Big Linux Image

    MyNameIsNathan

      HI there,

       

      I'm new to Ardiuno in general and I'm a bit confused as to how this is all supposed to work.

       

      I've got a Galileo - it came with Windows. I've gone to the Software Downloads page and downloaded SD-Card Linux Image, extracted to top level of the FAT32-formatted SD Card. I have three cables: an Ethernet, a USB to Micro-USB, and a weird USB-Ethernet thing that I got with the Galileo from Windows IoT.

       

      I can talk to the Linux on the board via serial with the USB Client port and the sketch that sets this up 'Custom Arduino Sketch' here: sparkfun.

      From here I can also simply do this on the command line to talk to the Linux over Ethernet, and then open a new Putty connection on that IP.


      So that's two telnets onto the Linux on the Galileo. In fact I did this link above in a BlinkWithoutDelay sketch and spoke to the Board-Installed Linux over Ethernet while it was blinking.

       

      However, I don't seem to be able to upload a sketch while the Bigger Linux on the SD card is in the Galileo? Surely this is possible?

       

      When I'm uploading the same BlinkWithoutDelay sketch that does telnet on Ethernet, with the SD-Card-Linux in the Galileo, I get something like this in the Arduino IDE:

       

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

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

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

      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

      ^XB00000000123273^XB0600000012fff6^XB00000000000000^XB0600000000cd85^XB00000000000000^XB0600000000cd85^XB00000000000000^XB0600000000cd85^XB0600000000cd85^XB0600000000cd85^XB0600000000cd85

      Transfer incomplete

       

       

       

      Please help!

        1 2 Previous Next