[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] ATtiny2313.h attached
From: |
Bob Paddock |
Subject: |
[avr-libc-dev] ATtiny2313.h attached |
Date: |
Sat, 10 Apr 2004 13:37:05 -0400 |
User-agent: |
KMail/1.6.1 |
The changes between the AT90S2313 and the ATtiny2313 are extensive.
Atmel has renamed several registers, and bits. See Atmel application note
AVR091, as well as the errata at the end of the current ATtiny2313 data
sheet. Some of the names have changed more than once during the sampling
period of the ATtiny2313. I used the March/2004 data sheet for the names.
Where there is no conflict the new and old names are both supported.
In the case of a new feature in a register, only the new name is used. This
intentionally breaks old code, so that there are no silent bugs. The source
code must be updated to the new name in this case.
The hardware interrupt vector table has changed from that of the AT90S2313.
ATtiny2313 programs in page mode rather than the byte mode of the AT90S2313.
Beware of programming the ATtiny2313 as a AT90S2313 device, when programming
the Flash.
ATtiny2313 has Signature Bytes: 0x1E 0x91 0x0A.
Changes and/or additions over the AT90S2313 are noted by "ATtiny" in the
comments.
---
http://www.softwaresafety.net/
http://www.unusualresearch.com/ http://www.bpaddock.com/
iotn2313.h
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-dev] ATtiny2313.h attached,
Bob Paddock <=