AT90S8515

Manufacturer Part NumberAT90S8515
Description8-bit microcontroller with 8K bytes in-system programmable flash, 2.7-6.0V
ManufacturerATMEL Corporation
AT90S8515 datasheet
 
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Page 71
72
Page 72
73
Page 73
74
Page 74
75
Page 75
76
Page 76
77
Page 77
78
Page 78
79
Page 79
80
Page 80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
Page 78/112:

Memory Programming

Download datasheet (3Mb)Embed
PrevNext
Memory
Programming
Program and Data
Memory Lock Bits
Fuse Bits
Signature Bytes
Programming the Flash
and EEPROM
AT90S8515
78
The AT90S8515 MCU provides two Lock bits that can be left unprogrammed (“1”) or can
be programmed (“0”) to obtain the additional features listed in Table 25. The Lock bits
can only be erased with the Chip Erase command.
Table 25. Lock Bit Protection Modes
Memory Lock Bits
Mode
LB1
LB2
Protection Type
1
1
1
No memory lock features enabled.
2
0
1
Further programming of the Flash and EEPROM is disabled.
3
0
0
Same as mode 2, and verify is also disabled.
Note:
1. In Parallel Mode, further programming of the Fuse bits is also disabled. Program the
Fuse bits before programming the Lock bits.
The AT90S8515 has two Fuse bits, SPIEN and FSTRT.
When the SPIEN Fuse is programmed (“0”), Serial Program and Data Downloading
is enabled. Default value is programmed (“0”).
When the FSTRT Fuse is programmed (“0”), the short start-up time is selected.
Default value is unprogrammed (“1”). Parts with this bit pre-programmed (“0”) can
be delivered on demand.
The Fuse bits are not accessible in Serial Programming Mode. The status of the Fuse
bits is not affected by Chip Erase.
All Atmel microcontrollers have a three-byte signature code that identifies the device.
This code can be read in both Serial and Parallel mode. The three bytes reside in a sep-
arate address space.
(1)
For the AT90S8515
they are:
1. $000: $1E (indicates manufactured by Atmel)
2. $001: $93 (indicates 8 KB Flash memory)
3. $002: $01 (indicates AT90S8515 device when signature byte $001 is $93)
Note:
1. When both Lock bits are programmed (lock mode 3), the signature bytes cannot be
read in Serial Mode. Reading the signature bytes will return: $00, $01 and $02.
Atmel’s AT90S8515 offers 8K bytes of In-System Reprogrammable Flash program
memory and 512 bytes of EEPROM data memory.
The AT90S8515 is shipped with the On-chip Flash program and EEPROM data memory
arrays in the erased state (i.e., contents = $FF) and ready to be programmed. This
device supports a high-voltage (12V) Parallel Programming Mode and a low-voltage
Serial Programming Mode. The +12V is used for programming enable only, and no cur-
rent of significance is drawn by this pin. The Serial Programming Mode provides a
convenient way to download program and data into the AT90S8515 inside the user’s
system.
The program and data memory arrays on the AT90S8515 are programmed byte-by-byte
in either programming mode. For the EEPROM, an auto-erase cycle is provided within
(1)
0841G–09/01