Follow-up Comment #3, patch #6530 (project avrdude):
One idea for an automatic method comes to mind that is free
of risk breaking backwards compatibility:
The suggested stk500_read_sig_bytes() function can duplicate
the functionatily of signature reading from avr_read() (it
has to contain the loop over three bytes anyway). If the
spi_multi command fails in a way that indicates an Arduino
bootloader, it then goes ahead, and implements an Arduino-
specific method of reading the signature. That way, anyone
else won't see any change in the behaviour but Arduino could
still be served.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6530>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev