
96
AT90S/LS4433
1042G–AVR–09/02
Note: 1. The signature bytes are not readable in lock mode 3, i.e., both Lock bits programmed.
a = address high bits
b = address low bits
H =0– Low Byte, 1 – High Byte
o = data out
i =datain
x = don’tcare
1
= Lock bit 1
2
= Lock bit 2
3 = CKSEL0 Fuse
4 = CKSEL1 Fuse
5 = CKSEL2 Fuse
6 =BODENFuse
7 = BODLEVEL Fuse
8 = SPIEN Fuse
Table 35. Serial Programming Instruction Set
Instruction
Instruction Format
OperationByte 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 (highorlow)datao 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
21
1 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
21
x Read Lock bits. “0” = programmed,
“1” = unprogrammed.
Read Sigature Bytes 0011 0000 xxxx xxxx xxxx xxbb oooo oooo Read signature byte o at address b.
(1)
WriteFuseBits
1010 1100 10176543 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.
Comentarios a estos manuales