/etc/avrprog/devices.conf is in avrprog 0.2.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | AVR chip identification config file
Valid lines should have '+' as the first character
Program stops reading when finds a line that matchs the pattern
example: +AT90S1200;1e;90;01;xx;1024;64;comments
chip code = AT90S1200
signature byte 0 = 0x1E
signature byte 1 = 0x90
signature byte 2 = 0x01
signature byte 3 = xx = don't care
program memory size = 1024 bytes (decimal)
eeprom memory size = 64 bytes (decimal)
comments = some comments you would like do write
signature bytes can be a hex number or 'xx' when don't care
+ATtiny12;1e;90;05;xx;1024;64;
+AT90S1200;1e;90;01;xx;1024;64;
+AT90S2313;1e;91;01;xx;2048;128;
+AT90S4434;1e;92;03;xx;4096;256;
+AT90S8515;1e;93;01;xx;8192;512;
+AT90S8535;1e;93;03;xx;8192;512;
+ATmega103;1e;97;01;xx;131072;4096;
if you want to put error identification signatures, set program and
eeprom memory to -1 and put error message in chip code field
ex: +your error message;00;11;22;33;-1;-1;comments
note: if you want to display available chips after an error,use -2
instead of -1
+Unknown chip. Maybe locked.;00;01;02;03;-1;-1;
+Unknown chip. Check cables.;ff;ff;ff;ff;-1;-1;
+Unknown chip. Check cables.;00;00;00;00;-1;-1;
next line is suposed to be the last one.
+Unknown chip.;xx;xx;xx;xx;-2;-2;shows available chips if failed to identify
|