synthetos / tgFX

A GUI controller for the TinyG motion controller.
https://www.synthetos.com/webstore/index.php/assembled-electronics/tiny-g.html
51 stars 37 forks source link

Invalid or Corrupt firmware causes tgFX to hang #36

Open ril3y opened 10 years ago

ril3y commented 10 years ago

If there is an invalid firmware loaded into TinyG (or NO firmware) clicking connect just causes TinyG to hang. We need to set a timeout on connection and issue an error message if this occurs.

This is repeatable by erasing TinyG and attempting to connect to TInyG in tgFX. To Erase TinyG issue a: ./avrdude -p x192a3 -C ../etc/avrdude.conf -c avr109 -b 115200 -P /dev/cu.usbserial-AE01DVZI -e

Of course you need to select your correct serial port.

pfarrell51 commented 10 years ago

This might be a fix, but it requires a bit of additional software first.

~/sandbox/tgFX$ avrdude

-bash: avrdude: command not found

ril3y commented 10 years ago

To obtain the needed software follow the updating firmware guide to acquire avrdude.

https://github.com/synthetos/TinyG/wiki/TinyG-Updating-Firmware