Closed avrs-admin closed 2 years ago
joerg_wunsch 2011-08-30 09:26:57
Unlike AVRDUDE (which has to know the device type beforehand in order to know which protocol/protocol variant to talk), you can normally get away in AVaRICE without specifying any device ID. As AVaRICE can only talk either JTAG or debugWIRE (which is distinguished by the -w option), it is then safe to query the JTAG ID over this connection.
AVaRICE will then use the queried ID to select the device from the device table. The only useful purpose of the -P option is when you're using a device that is not officially supported, but can be talked to by selecting a compatible device (the -P option always works as an override over the queried device ID).
markus_b 2011-08-30 18:23:17
I see, so unified device names are not that important. But I propose a change of wording in the man page and the built-in help.
Existing:
-P, --part
joerg_wunsch 2011-08-30 19:03:07
Thanks for the suggestion, I did it that way, and documented that -P acts as an override to the automatic device detection.
joerg_wunsch 2011-08-30 19:03:07
markus_b
2011-04-18 19:59:32
Avarice has requires a long device description, like 'attiny85', avrdude uses a short string 't85' for the same device. Both programs should accept the same designations.
This issue was migrated from https://sourceforge.net/p/avarice/feature-requests/5/