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
72
73
74
75
76
77
78
79
80
81
Page 81
82
Page 82
83
Page 83
84
Page 84
85
Page 85
86
Page 86
87
Page 87
88
Page 88
89
Page 89
90
Page 90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
Page 83/112:

Programming the Flash Waveforms (Continued)

Download datasheet (3Mb)Embed
PrevNext
Reading the Flash
Programming the EEPROM
Reading the EEPROM
Programming the Fuse Bits
0841G–09/01
Figure 62. Programming the Flash Waveforms (Continued)
DATA
DATA HIGH
XA1
XA0
BS
XTAL1
WR
RDY/BSY
RESET
+12V
OE
The algorithm for reading the Flash memory is as follows (refer to “Programming the
Flash” for details on command and address loading):
1. A: Load Command “0000 0010”.
2. B: Load Address High Byte ($00 - $0F).
3. C: Load Address Low Byte ($00 - $FF).
4. Set OE to “0”, and BS to “0”. The Flash word low byte can now be read at DATA.
5. Set BS to “1”. The Flash word high byte can now be read from DATA.
6. Set OE to “1”.
The programming algorithm for the EEPROM data memory is as follows (refer to “Pro-
gramming the Flash” for details on command, address and data loading):
1. A: Load Command “0001 0001”.
2. (AT90S8515 only) B: Load Address High Byte ($00 - $01).
3. C: Load Address Low Byte ($00 - $FF).
4. D: Load Data Low Byte ($00 - $FF).
5. E: Write Data Low Byte.
The algorithm for reading the EEPROM memory is as follows (refer to “Programming the
Flash” for details on command and address loading):
1. A: Load Command “0000 0011”.
2. (AT90S8515 only) B: Load Address High Byte ($00 - $01).
3. C: Load Address Low Byte ($00 - $FF).
4. Set OE to “0”, and BS to “0”. The EEPROM data byte can now be read at DATA.
5. Set OE to “1”.
The algorithm for programming the Fuse bits is as follows (refer to “Programming the
Flash” for details on command and data loading):
1. A: Load Command “0100 0000”.
2. D: Load Data Low Byte. Bit n = “0” programs and bit n = “1” erases the Fuse bit.
AT90S8515
83