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 84/112:

Programming the Lock Bits

Download datasheet (3Mb)Embed
PrevNext

Programming the Lock Bits

Reading the Fuse and Lock
Bits
Reading the Signature Bytes
AT90S8515
84
Bit 5 = SPIEN Fuse bit
Bit 0 = FSTRT Fuse bit
Bit 7 - 6, 4 - 1 = “1”. These bits are reserved and should be left unprogrammed (“1”).
3. Give WR a t
-wide negative pulse to execute the programming,
WLWH_PFB
t
is found in Table 30. Programming the Fuse bits does not generate
WLWH_PFB
any activity on the RDY/BSY pin.
The algorithm for programming the Lock bits is as follows (refer to “Programming the
Flash” on page 81 for details on command and data loading):
1. A: Load Command “0010 0000”.
2. D: Load Data Low Byte. Bit n = “0” programs the Lock bit.
Bit 2 = Lock Bit2
Bit 1 = Lock Bit1
Bit 7 - 3, 0 = “1”. These bits are reserved and should be left unprogrammed (“1”).
3. E: Write Data Low Byte.
The Lock bits can only be cleared by executing Chip Erase.
The algorithm for reading the Fuse and Lock bits is as follows (refer to “Programming
the Flash” on page 81 for details on Command loading):
1. A: Load Command “0000 0100”.
2. Set OE to “0”, and BS to “1”. The status of the Fuse and Lock bits can now be
read at DATA (“0” means programmed).
Bit 7 = Lock Bit1
Bit 6 = Lock Bit2
Bit 5 = SPIEN Fuse bit
Bit 0 = FSTRT Fuse bit
3. Set OE to “1”.
Observe that BS needs to be set to “1”.
The algorithm for reading the signature bytes is as follows (refer to “Programming the
Flash” on page 81 for details on command and address loading):
1. A: Load Command “0000 1000”.
2. C: Load Address Low Byte ($00 - $02).
Set OE to “0”, and BS to “0”. The selected signature byte can now be read at DATA.
3. Set OE to “1”.
0841G–09/01