Hi I'm getting the "Target Firmware Version Query Failed" Error as well.
OS X 10.7.5
System info - USB shows Gadget Serial v2.4
Arduino IDE renamed to "Galileo" and placed in the Applications folder.
/dev/cu.usbmodemmfd211 is selected under tools.
USB light is green
No SD card is in the board
Note that upon opening System Preferences - Network there is a Gadget Serial v2.4 here but it is not configured.
Blink will compile but when trying to upload it, it will throw errors.
Any thoughts?
This is the complete error from the compiler window:
Binary sketch size: 50,658 bytes (of a 262,144 byte maximum) - 19% used
starting download script
Args to shell: /Applications/Arduino/Galileo.app/Contents/Resources/Java/hardware/tools/x86/bin /var/folders/0s/682hjcws5w39r6mqyg98wr5w0000gn/T/build1007156708558349956.tmp/Blink.cpp.elf /dev/cu.usbmodemfd211
Serial Port PORT (note: should be /dev/cu.xxxxxx for OSX)
#!/bin/sh
Using tty Port /dev/cu.usbmodemfd211
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 /
path_to_exe=$1
fixed_path=${path_to_exe//\\/\/}
#
tty_port_id=$3
echo "Serial Port PORT" $com_port_id "(note: should be /dev/cu.xxxxxx for OSX)"
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
#Give the host time to stop the process and wait for download
sleep 1
#
Deleting existing sketch on target
#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
/Applications/Arduino/Galileo.app/Contents/Resources/Java/hardware/arduino/x86/tools/izmir/clupload_osx.sh: line 25: 15116 Segmentation fault: 11 "$fixed_path/lsz" --escape -c "mv -f /sketch/sketch.elf /sketch/sketch.elf.old" < $tty_port_id > $tty_port_id
#"$fixed_path/lsz.exe" --escape -c "mv -f /sketch/sketch.elf /sketch/sketch.elf.old" < $tty_port_id > $tty_port 1>&0
#
# Execute the target download command
#
#Download the file.
host_file_name=$2
"$fixed_path/lsz" --escape --binary --overwrite $host_file_name < $tty_port_id > $tty_port_id
/Applications/Arduino/Galileo.app/Contents/Resources/Java/hardware/arduino/x86/tools/izmir/clupload_osx.sh: line 32: 15117 Segmentation fault: 11 "$fixed_path/lsz" --escape --binary --overwrite $host_file_name < $tty_port_id > $tty_port_id
#
Moving downloaded file to /sketch/sketch.elf on target
#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" --escape -c "mv $target_download_name /sketch/sketch.elf; chmod +x /sketch/sketch.elf" < $tty_port_id > $tty_port_id
/Applications/Arduino/Galileo.app/Contents/Resources/Java/hardware/arduino/x86/tools/izmir/clupload_osx.sh: line 37: 15118 Segmentation fault: 11 "$fixed_path/lsz" --escape -c "mv $target_download_name /sketch/sketch.elf; chmod +x /sketch/sketch.elf" < $tty_port_id > $tty_port_id
#
#