I'm on Mavericks. The following procedure resolved "Target Firmware Version Query Failed" for me:
- Make sure green "USB" LED is on.
- If it is turned off, unplug your USB cable and plug it back in again
- If you hit the reset button, the green light will turn off...it won't work unless that light is green
- Every time you close and reopen the Ardunio IDE, you must make sure that the "usbmodemXXXX.cu" serial port has been selected
- If you exit Arduino IDE, you may have to re-select this port (Tools -> Serial Port)
- Make sure that Galileo board is selected in Arduino IDE
- Tools -> Board -> Galileo
- Try uploading the "Blink" example from: https://learn.sparkfun.com/tutorials/galileo-getting-started-guide/uploading-blink
- Copy+Paste the code + Hit "Upload" and read the resulting terminal output.
- If you see warnings about "Transfer incomplete" try restarting the board / unplugging and plugging the USB back in
- Again, make sure USB light is green
Other notes:
- Didn't have the SD card in the board when I did this