From 6326b19cfecbcc9aac8623075ed4693380b1dcc6 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Mon, 15 Feb 2016 20:15:07 +0000 Subject: [PATCH] patch #8735: ATtiny28 support in avrdude.conf git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1371 81a1dc3b-b13d-400b-aceb-764788c761c2 --- ChangeLog | 7 +++++- NEWS | 2 ++ avrdude.conf.in | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index db35880f..7693a31d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,14 @@ +2016-02-15 Joerg Wunsch + + patch #8735: ATtiny28 support in avrdude.conf + * avrdude.conf.in (ATtiny28): New device. + 2016-02-15 Joerg Wunsch * avrdude.conf.in (ATmega48PB, ATmega88PB, ATmega168PB): New devices. -016-02-15 Joerg Wunsch +2016-02-15 Joerg Wunsch patch #8435: Implementing mEDBG CMSIS-DAP protocol * usb_libusb.c: Add endpoint IDs for Xplained Mini, correctly diff --git a/NEWS b/NEWS index 0e4da1b3..3a57437e 100644 --- a/NEWS +++ b/NEWS @@ -17,6 +17,7 @@ Current: * New devices supported: - ATmega48PB, ATmega88PB, ATmega168PB + - ATtiny28 (HVPP-only device) * New programmers supported: @@ -25,6 +26,7 @@ Current: * Bugfixes - patch #8435: Implementing mEDBG CMSIS-DAP protocol + - patch #8735: ATtiny28 support in avrdude.conf * Internals: diff --git a/avrdude.conf.in b/avrdude.conf.in index 169418e7..bebf599e 100644 --- a/avrdude.conf.in +++ b/avrdude.conf.in @@ -7601,6 +7601,66 @@ part ; +#------------------------------------------------------------ +# ATtiny28 +#------------------------------------------------------------ + +# This is an HVPP-only device. + +part + id = "t28"; + desc = "ATtiny28"; + stk500_devcode = 0x22; + avr910_devcode = 0x5c; + signature = 0x1e 0x91 0x07; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 0; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + resetdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + memory "flash" + size = 2048; + page_size = 2; + readsize = 256; + delay = 5; + ; + + memory "signature" + size = 3; + ; + + memory "lock" + size = 1; + ; + + memory "calibration" + size = 1; + ; + + memory "fuse" + size = 1; + ; +; + + + #------------------------------------------------------------ # ATmega48 #------------------------------------------------------------