summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2010-01-06 19:01:42 +0000
committerDimitri Sokolyuk <demon@dim13.org>2010-01-06 19:01:42 +0000
commit14636ade73c5ff02735975a51259019806b4db7c (patch)
treef008a09a2fa6d2c2e7493d62abf81cedc09b3e17
parent22738f24b883e2576be934a0daf520250b5198ae (diff)
update device definitions
-rw-r--r--_sp12dev141
-rwxr-xr-xsp12bin54800 -> 68772 bytes
2 files changed, 141 insertions, 0 deletions
diff --git a/_sp12dev b/_sp12dev
index e4f0ed7..40fedfa 100644
--- a/_sp12dev
+++ b/_sp12dev
@@ -428,6 +428,41 @@ EXTD_FUSES_MESSAGE = 0 - SELFPRGEN - Self-Programming Enable (1)
READ_CALIBRATION = llhh hlll xxxx xxxx llll llll oooo oooo
CALIB_MESSAGE = single Calibration Byte (p27 p153)
+begin 0792
+-i792
+-iT44
+DEVICENAME = ATtiny44
+FLASHSIZE = 2048
+EEPROMSIZE = 256
+PAGEMODE = 1
+PAGESIZE = 32
+POLL_RDY_BSY = hhhh llll llll llll llll llll xxxx xxxo
+READ_LOCK = lhlh hlll llll llll llll llll xxxx xxoo
+WRITE_LOCK = hlhl hhll hhhx llll llll llll hhhh hhii
+LOCK_MESSAGE = 11 - no lock
+LOCK_MESSAGE = 10 - write protected
+LOCK_MESSAGE = 00 - read/write protected
+WRITE_FUSES = hlhl hhll hlhl llll llll llll iiii iiii
+READ_FUSES = lhlh llll llll llll llll llll oooo oooo
+FUSES_MESSAGE = 0xxxxxxx - CKDIV8 - Divide clock by 8 (0)
+FUSES_MESSAGE = x0xxxxxx - CKOUT - Clock Output Enable (1)
+FUSES_MESSAGE = xxSUxxxx - start-up time (page 30) (10)
+FUSES_MESSAGE = xxxxCKSE - CKSEL (datasheet p30) (0010)
+FUSES_MESSAGE = xxxx0010 - CKSEL (default 0010 - 8MHz sys clock internal)
+WRITE_HIGH_FUSES = hlhl hhll hlhl hlll llll llll hhli iiii
+READ_HIGH_FUSES = lhlh hlll llll hlll llll llll oooo oooo
+HIGH_FUSES_MESSAGE = 0xxxxxxx - RSTDISBL - External Reset disable !!(1)
+HIGH_FUSES_MESSAGE = x0xxxxxx - DWEN - DebugWire enable !!(1)
+HIGH_FUSES_MESSAGE = xx0xxxxx - SPIEN - Enable Serial Programming !!(0)
+HIGH_FUSES_MESSAGE = xxx0xxxx - WDTON - Watchdogtimer always on (1)
+HIGH_FUSES_MESSAGE = xxxx0xxx - EESAVE - EEPROM preserved in chip erase (1)
+HIGH_FUSES_MESSAGE = xxxxxBOD - BODLEVEL - BrownOutDetector trigger level(111)
+WRITE_EXTD_FUSES = hlhl hhll hlhl lhll llll llll xxxx xxxi
+READ_EXTD_FUSES = lhlh llll llll hlll llll llll xxxx xxxo
+EXTD_FUSES_MESSAGE = 0 - SELFPRGEN - Self-Programming Enable (1)
+READ_CALIBRATION = llhh hlll llll llll llll llll oooo oooo
+CALIB_MESSAGE = single Calibration Byte (datasheet p167)
+
begin 0692
-i692
-iT45
@@ -496,6 +531,39 @@ EXTD_FUSES_MESSAGE = 0 - SELFPRGEN - Self-Programming Enable (1)
READ_CALIBRATION = llhh hlll xxxx xxxx llll llll oooo oooo
CALIB_MESSAGE = single Calibration Byte (p27 p153)
+begin 0D93
+-iD93
+-iT861
+DEVICENAME = ATtiny861
+FLASHSIZE = 8192
+EEPROMSIZE = 512
+PAGEMODE = 1
+PAGESIZE = 32
+READ_LOCK = lhlh hlll llll llll xxxx xxxx xxxx xxoo
+WRITE_LOCK = hlhl hhll hhhx xxxx xxxx xxxx hhhh hhii
+LOCK_MESSAGE = 11 - no lock
+LOCK_MESSAGE = 10 - write protected
+LOCK_MESSAGE = 00 - read/write protected
+WRITE_FUSES = hlhl hhll hlhl llll xxxx xxxx iiii iiii
+READ_FUSES = lhlh llll llll llll xxxx xxxx oooo oooo
+FUSES_MESSAGE = 0xxxxxxx - CKDIV8 - divide clock by 8 (page 31)
+FUSES_MESSAGE = x0xxxxxx - CKOUT output clock on pin B5
+FUSES_MESSAGE = xxSUxxxx - start-up time (page 28)
+FUSES_MESSAGE = xxxxCKSE - CKSEL (datasheet p28)
+WRITE_HIGH_FUSES = hlhl hhll hlhl hlll xxxx xxxx hhli iiii
+READ_HIGH_FUSES = lhlh hlll llll hlll xxxx xxxx oooo oooo
+HIGH_FUSES_MESSAGE = 0xxxxxxx - reset-pin enabled (page 61)
+HIGH_FUSES_MESSAGE = x0xxxxxx - debugWire enabled
+HIGH_FUSES_MESSAGE = xx0xxxxx - serial programming enabled
+HIGH_FUSES_MESSAGE = xxx0xxxx - WDT always on (page 44)
+HIGH_FUSES_MESSAGE = xxxx0xxx - EEPROM preserved in chip erase
+HIGH_FUSES_MESSAGE = xxxxxBOD - BODLEVEL (page 189)
+WRITE_EXTD_FUSES = hlhl hhll hlhl lhll xxxx xxxx xxxx xxxi
+READ_EXTD_FUSES = lhlh llll llll hlll xxxx xxxx oooo oooo
+EXTD_FUSES_MESSAGE = 0 - self programming enabled
+READ_CALIBRATION = llhh hlll xxxx xxxx llll llll oooo oooo
+CALIB_MESSAGE = single calibration byte (page 32)
+
begin 0A91
-iA91
-iT2313
@@ -1029,6 +1097,42 @@ EXTD_FUSES_MESSAGE = xxxxxxx0 - WDT always on
READ_CALIBRATION = llhh hlll xxxx xxxx llll llll oooo oooo
CALIB_MESSAGE = four calibration bytes (datasheet p39 p288)
+begin 0F95
+-i0F95
+-iM328P
+DEVICENAME = ATmega328P
+FLASHSIZE = 16384
+EEPROMSIZE = 1024
+PAGEMODE = 1
+PAGESIZE = 64
+POLL_RDY_BSY = hhhh llll llll llll llll llll xxxx xxxo
+READ_LOCK = lhlh hlll llll llll llll llll xxoo oooo
+WRITE_LOCK = hlhl hhll hhhl llll llll llll hhii iiii
+LOCK_MESSAGE = xxxx11 - no lock
+LOCK_MESSAGE = xxxx10 - write protected
+LOCK_MESSAGE = xxxx00 - read/write protected
+LOCK_MESSAGE = BTLKxx - Boot lock (datasheet page 280, 294)
+READ_FUSES = lhlh llll llll llll llll llll oooo oooo
+WRITE_FUSES = hlhl hhll hlhl llll llll llll iiii iiii
+FUSES_MESSAGE = 0xxxxxxx - CKDIV8 - divide clock by 8 (page 35)
+FUSES_MESSAGE = x0xxxxxx - CKOUT output clock on pin B0
+FUSES_MESSAGE = xxSUxxxx - start-up time (datasheet page 33)
+FUSES_MESSAGE = xxxxCKSE - CKSEL (page 33)
+WRITE_HIGH_FUSES = hlhl hhll hlhl hlll llll llll hhli iiii
+READ_HIGH_FUSES = lhlh hlll llll hlll llll llll oooo oooo
+HIGH_FUSES_MESSAGE = 0xxxxxxx - reset-pin disabled (page 85)
+HIGH_FUSES_MESSAGE = x0xxxxxx - debugWire enabled
+HIGH_FUSES_MESSAGE = xx0xxxxx - serial programming enabled
+HIGH_FUSES_MESSAGE = xxx0xxxx - WDT always on (page 54)
+HIGH_FUSES_MESSAGE = xxxx0xxx - EEPROM preserved in chip erase
+HIGH_FUSES_MESSAGE = xxxxxBZx - boot size (page 291)
+HIGH_FUSES_MESSAGE = xxxxxxx0 - reset at boot loader (page 66)
+WRITE_EXTD_FUSES = hlhl hhll hlhl lhll llll llll xxxx xiii
+READ_EXTD_FUSES = lhlh llll llll hlll llll llll oooo oooo
+EXTD_FUSES_MESSAGE = xxxxxBOD - BODLEVEL (datasheet page 43, 273)
+READ_CALIBRATION = llhh hlll llll llll llll llll oooo oooo
+CALIB_MESSAGE = single calibration byte (datasheet page 298)
+
begin 0298
-i298
-iM2561
@@ -1065,3 +1169,40 @@ EXTD_FUSES_MESSAGE = xxxxxx0x - BODLEVEL1 Brown-out Detector trigger level
EXTD_FUSES_MESSAGE = xxxxxxx0 - BODLEVEL0 Brown-out Detector trigger level
READ_CALIBRATION = llhh hlll xxxx xxxx llll llll oooo oooo
CALIB_MESSAGE = four calibration bytes
+
+begin 8193
+-i8193
+-iPWM3
+DEVICENAME = AT90PWM3
+FLASHSIZE = 4096
+EEPROMSIZE = 512
+PAGEMODE = 1
+PAGESIZE = 32
+POLL_RDY_BSY = hhhh llll llll llll xxxx xxxx xxxx xxxo
+READ_LOCK = lhlh hlll llll llll xxxx xxxx xxoo oooo
+WRITE_LOCK = hlhl hhll hhhx xxxx xxxx xxxx llii iiii
+LOCK_MESSAGE = xxxx11 - no lock
+LOCK_MESSAGE = xxxx10 - write protected
+LOCK_MESSAGE = xxxx00 - read/write protected
+LOCK_MESSAGE = BTLKxx - Boot lock, datasheet p276
+READ_FUSES = lhlh llll llll llll xxxx xxxx oooo oooo
+WRITE_FUSES = hlhl hhll hlhl llll xxxx xxxx iiii iiii
+FUSES_MESSAGE = 0xxxxxxx - CKDIV8 - Divide clock by 8 (datasheet p38)
+FUSES_MESSAGE = x0xxxxxx - CKOUT - Clock Output Enable (page 38)
+FUSES_MESSAGE = xxSUxxxx - start-up time (page 33 - 37)
+FUSES_MESSAGE = xxxxCKSE - CKSEL (datasheet p31 - 37)
+WRITE_HIGH_FUSES = hlhl hhll hlhl hlll xxxx xxxx hhli iiii
+READ_HIGH_FUSES = lhlh hlll llll hlll xxxx xxxx oooo oooo
+HIGH_FUSES_MESSAGE = 0xxxxxxx - RSTDISBL - External Reset disable
+HIGH_FUSES_MESSAGE = x0xxxxxx - DWEN - DebugWire enable
+HIGH_FUSES_MESSAGE = xx0xxxxx - SPIEN - Enable Serial Programming
+HIGH_FUSES_MESSAGE = xxx0xxxx - WDTON - Watchdogtimer always on (page 54)
+HIGH_FUSES_MESSAGE = xxxx0xxx - EESAVE - EEPROM preserved in chip erase
+HIGH_FUSES_MESSAGE = xxxxxBOD - BODLEVEL - BrownOut trigger level (page 48)
+WRITE_EXTD_FUSES = hlhl hhll hlhl lhll xxxx xxxx iiii hiii
+READ_EXTD_FUSES = lhlh llll llll hlll xxxx xxxx oooo oooo
+EXTD_FUSES_MESSAGE = PSCNxxxx - PSC output during reset (page 278)
+EXTD_FUSES_MESSAGE = xxxxhxxx - none
+EXTD_FUSES_MESSAGE = xxxxxBSZ - Boot size and reset (page 281)
+READ_CALIBRATION = llhh hlll lllx xxxx llll llll oooo oooo
+CALIB_MESSAGE = calibration byte (datasheet page 280)
diff --git a/sp12 b/sp12
index 113c2e6..b39a1bb 100755
--- a/sp12
+++ b/sp12
Binary files differ