AT90S/LS2333 and AT90S/LS4433
81
Note:
a = address high bits
b = address low bits
H = 0 - Low byte, 1 - High Byte
o = data out
i = data in
x = don’t care
1 = Lock bit 1
2 = Lock bit 2
3 = CKSEL0 Fuse
4 = CKSEL1 Fuse
5 = CKSEL2 Fuse
6 = BODEN Fuse
7 = BODLEVEL Fuse
8 = SPIEN Fuse
Note:
1. The signature bytes are not readable in Lock mode 3, i.e. both Lock bits programmed.
Table 35. Serial Programming Instruction Set
Instruction
Instruction Format
Operation
Byte 1
Byte 2
Byte 3
Byte4
Programming Enable
1010 1100
0101 0011
xxxx xxxx
xxxx xxxx
Enable Serial Programming while
RESET is low.
Chip Erase
1010 1100
100x xxxx
xxxx xxxx
xxxx xxxx
Chip Erase Flash and EEPROM
memory arrays.
Read Program Memory
0010 H000
xxxx xaaa
bbbb bbbb
oooo oooo
Read H (high or low) data o from
Program memory at word address
a:b.
Write Program Memory
0100 H000
xxxx xaaa
bbbb bbbb
iiii iiii
Write H (high or low) data i to
Program memory at word address
a:b.
Read EEPROM
Memory
1010 0000
xxxx xxxx
bbbb bbbb
oooo oooo
Read data o from EEPROM memory
at address a:b.
Write EEPROM
Memory
1100 0000
xxxx xxxx
bbbb bbbb
iiii iiii
Write data i to EEPROM memory at
address a:b.
Write Lock Bits
1010 1100
1111 1
211
xxxx xxxx
xxxx xxxx
Write Lock bits. Set bits
1,2=’0’ to
program Lock bits.
Read Lock Bits
0101 1000
xxxx xxxx
xxxx xxxx
xxxx x
21x
Rad Lock bits. ’0’ = programmed, ‘1’ =
unprogrammed.
Read Sigature Bytes
0011 0000
xxxx xxxx
xxxx xxbb
oooo oooo
Read Signature Byte o at address
b.
Write Fuse Bits
1010 1100
1017
6543
xxxx xxxx
xxxx xxxx
Set bits 7 - 3 = ’0’ to program, ‘1’ to
unprogram.
Read Fuse Bits
0101 0000
xxxx xxxx
xxxx xxxx
xx87 6543
Read fuse bits. ’0’ = programmed, ‘1’
= unprogrammed.