Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| attiny [2019/12/14 17:43] – [CORE] yair | attiny [2020/01/01 22:54] (current) – yair | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| attinyX5 Family in all their gory details | attinyX5 Family in all their gory details | ||
| + | {{ : | ||
| ====pinouts==== | ====pinouts==== | ||
| ===ATtinyx5=== | ===ATtinyx5=== | ||
| Line 173: | Line 173: | ||
| </ | </ | ||
| {{: | {{: | ||
| + | |||
| + | <hidden conf for atiny45/ | ||
| + | < | ||
| + | # | ||
| + | # ATtiny45 | ||
| + | # | ||
| + | |||
| + | part | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | 0xBC, 0x02, 0xB4, 0x02, 0xBA, 0x0D, 0xBB, 0xBC, | ||
| + | 0x99, 0xE1, 0xBB, 0xAC; | ||
| + | | ||
| + | ## avr910_devcode | ||
| + | ## Try the AT90S2313 devcode: | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | | ||
| + | "x x x x x x x x x x x x x x x x"; | ||
| + | |||
| + | | ||
| + | "x x x x x x x x x x x x x x x x"; | ||
| + | |||
| + | timeout = 200; | ||
| + | stabdelay = 100; | ||
| + | cmdexedelay = 25; | ||
| + | synchloops = 32; | ||
| + | bytedelay = 0; | ||
| + | pollindex = 3; | ||
| + | pollvalue = 0x53; | ||
| + | predelay = 1; | ||
| + | postdelay = 1; | ||
| + | pollmethod = 1; | ||
| + | |||
| + | hvsp_controlstack | ||
| + | 0x4C, 0x0C, 0x1C, 0x2C, 0x3C, 0x64, 0x74, 0x66, | ||
| + | 0x68, 0x78, 0x68, 0x68, 0x7A, 0x6A, 0x68, 0x78, | ||
| + | 0x78, 0x7D, 0x6D, 0x0C, 0x80, 0x40, 0x20, 0x10, | ||
| + | 0x11, 0x08, 0x04, 0x02, 0x03, 0x08, 0x04, 0x00; | ||
| + | hventerstabdelay | ||
| + | progmodedelay | ||
| + | hvspcmdexedelay | ||
| + | synchcycles | ||
| + | latchcycles | ||
| + | togglevtg | ||
| + | poweroffdelay | ||
| + | resetdelayms | ||
| + | resetdelayus | ||
| + | hvleavestabdelay | ||
| + | resetdelay | ||
| + | chiperasepolltimeout = 40; | ||
| + | chiperasetime | ||
| + | programfusepolltimeout = 25; | ||
| + | programlockpolltimeout = 25; | ||
| + | |||
| + | ocdrev | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | |||
| + | loadpage_lo = " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | writepage = " | ||
| + | " | ||
| + | " a7 a6 a5 a4 | ||
| + | " | ||
| + | |||
| + | mode = 0x41; | ||
| + | delay = 6; | ||
| + | blocksize = 4; | ||
| + | readsize = 256; | ||
| + | ; | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | mode = 0x41; | ||
| + | delay = 6; | ||
| + | blocksize = 32; | ||
| + | readsize = 256; | ||
| + | ; | ||
| + | # | ||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | ; | ||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | min_write_delay = 9000; | ||
| + | max_write_delay = 9000; | ||
| + | ; | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | min_write_delay = 9000; | ||
| + | max_write_delay = 9000; | ||
| + | ; | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | min_write_delay = 9000; | ||
| + | max_write_delay = 9000; | ||
| + | ; | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | min_write_delay = 9000; | ||
| + | max_write_delay = 9000; | ||
| + | ; | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | ; | ||
| + | ; | ||
| + | |||
| + | # | ||
| + | # ATtiny85 | ||
| + | # | ||
| + | |||
| + | part | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | 0xBC, 0x02, 0xB4, 0x02, 0xBA, 0x0D, 0xBB, 0xBC, | ||
| + | 0x99, 0xE1, 0xBB, 0xAC; | ||
| + | ## no STK500 devcode in XML file, use the ATtiny45 one | ||
| + | | ||
| + | ## avr910_devcode | ||
| + | ## Try the AT90S2313 devcode: | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | | ||
| + | "x x x x x x x x x x x x x x x x"; | ||
| + | |||
| + | | ||
| + | "x x x x x x x x x x x x x x x x"; | ||
| + | |||
| + | timeout = 200; | ||
| + | stabdelay = 100; | ||
| + | cmdexedelay = 25; | ||
| + | synchloops = 32; | ||
| + | bytedelay = 0; | ||
| + | pollindex = 3; | ||
| + | pollvalue = 0x53; | ||
| + | predelay = 1; | ||
| + | postdelay = 1; | ||
| + | pollmethod = 1; | ||
| + | |||
| + | hvsp_controlstack | ||
| + | 0x4C, 0x0C, 0x1C, 0x2C, 0x3C, 0x64, 0x74, 0x66, | ||
| + | 0x68, 0x78, 0x68, 0x68, 0x7A, 0x6A, 0x68, 0x78, | ||
| + | 0x78, 0x7D, 0x6D, 0x0C, 0x80, 0x40, 0x20, 0x10, | ||
| + | 0x11, 0x08, 0x04, 0x02, 0x03, 0x08, 0x04, 0x00; | ||
| + | hventerstabdelay | ||
| + | hvspcmdexedelay | ||
| + | synchcycles | ||
| + | latchcycles | ||
| + | togglevtg | ||
| + | poweroffdelay | ||
| + | resetdelayms | ||
| + | resetdelayus | ||
| + | hvleavestabdelay | ||
| + | resetdelay | ||
| + | chiperasepolltimeout = 40; | ||
| + | chiperasetime | ||
| + | programfusepolltimeout = 25; | ||
| + | programlockpolltimeout = 25; | ||
| + | |||
| + | ocdrev | ||
| + | |||
| + | | ||
| + | | ||
| + | paged = no; | ||
| + | page_size | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | |||
| + | loadpage_lo = " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | writepage = " | ||
| + | " | ||
| + | " a7 a6 a5 a4 | ||
| + | " | ||
| + | |||
| + | mode = 0x41; | ||
| + | delay = 12; | ||
| + | blocksize = 4; | ||
| + | readsize = 256; | ||
| + | ; | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | mode = 0x41; | ||
| + | delay = 6; | ||
| + | blocksize = 32; | ||
| + | readsize = 256; | ||
| + | ; | ||
| + | # | ||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | ; | ||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | min_write_delay = 9000; | ||
| + | max_write_delay = 9000; | ||
| + | ; | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | min_write_delay = 9000; | ||
| + | max_write_delay = 9000; | ||
| + | ; | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | min_write_delay = 9000; | ||
| + | max_write_delay = 9000; | ||
| + | ; | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | |||
| + | | ||
| + | " | ||
| + | min_write_delay = 9000; | ||
| + | max_write_delay = 9000; | ||
| + | ; | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | " | ||
| + | ; | ||
| + | ; | ||
| + | |||
| + | </ | ||
| + | </ | ||