Download Print this page

Atmel AVR AT90S2323 Manual page 40

8-bit microcontroller with 2k bytes of in-system programmable flash

Advertisement

Table 16. High-voltage Serial Programming Instruction Set
Instruction
PB0
0_1000_0000_00
Chip Erase
PB1
0_0100_1100_00
PB2
PB0
0_0001_0000_00
Write Flash
High and Low
PB1
0_0100_1100_00
Address
PB2
PB0
0_ i i i i_i i i i _00
Write Flash
PB1
0_0010_1100_00
Low Byte
PB2
PB0
0_ i i i i_i i i i _00
Write Flash
PB1
0_0010_1100_00
High Byte
PB2
PB0
0_0000_0010_00
Read Flash
High and Low
PB1
0_0100_1100_00
Address
PB2
PB0
0_0000_0000_00
Read Flash
PB1
0_0110_1000_00
Low Byte
PB2
0_0000_0000_00
PB0
Read Flash
0_0111_1000_00
PB1P
High Byte
B2
PB0
0_0001_0001_00
Write
EEPROM
PB1
0_0100_1100_00
Low Address
PB2
PB0
0_ i i i i_i i i i _00
Write
EEPROM
PB1
0_0010_1100_00
Byte
PB2
PB0
0_0000_0011_00
Read
EEPROM
PB1
0_0100_1100_00
Low Address
PB2
PB0
0_0000_0000_00
Read
EEPROM
PB1
0_0110_1000_00
Byte
PB2
PB0
0_0100_0000_00
Write Fuse
Bits (AT90S/
PB1
0_0100_1100_00
LS2323)
PB2
PB0
0_0100_0000_00
Write Fuse
Bits (AT90S/
PB1
0_0100_1100_00
LS2343)
PB2
PB0
0_0010_0000_00
Write Lock
PB1
0_0100_1100_00
Bits
PB2
AT90S/LS2323/2343
40
Instruction Format
Instr.1
Instr.2
0_0000_0000_00
0_0110_0100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
0_0000_00aa_00
0_0001_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
0_0000_0000_00
0_0110_0100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
0_0000_0000_00
0_0111_0100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
0_0000_00aa_00
0_0001_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
0_0000_0000_00
0_0110_1100_00
x_xxxx_xxxx_xx
o_oooo_ooox_xx
0_0000_0000_00
0_0111_1100_00
x_xxxx_xxxx_xx
o_oooo_ooox_xx
0_0bbb_bbbb_00
0_0000_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
0_0000_0000_00
0_0110_0100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
0_0bbb_bbbb_00
0_0000_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
0_0000_0000_00
0_0110_1100_00
x_xxxx_xxxx_xx
o_oooo_ooox_xx
0_11S1_111F_00
0_0010_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
0_11S1_111R_00
0_0010_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
0_1111_1211_00
0_0010_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
Instr.3
Instr.4
0_0000_0000_00
0_0000_0000_00
0_0110_1100_00
0_0100_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
0_bbbb_bbbb_00
0_0000_1100_00
x_xxxx_xxxx_xx
0_0000_0000_00
0_0110_1100_00
0_0000_0000_00
0_0000_0000_00
0_0111_1100_00
0_0000_0000_00
0_bbbb_bbbb_00
0_0000_1100_00
x_xxxx_xxxx_xx
0_0000_0000_00
0_0110_1100_00
0_0000_0000_00
0_0000_0000_00
0_0000_0000_00
0_0110_0100_00
0_0110_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
0_0000_0000_00
0_0000_0000_00
0_0110_0100_00
0_0110_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
0_0000_0000_00
0_0000_0000_00
0_0110_0100_00
0_0110_1100_00
x_xxxx_xxxx_xx
0_0000_0000_00
Operation Remarks
Wait t
after Instr.3 for
WLWH_CE
the Chip Erase cycle to finish.
Repeat Instr.2 for a new
256-byte page. Repeat Instr.3
for each new address.
Wait after Instr.3 until PB2
goes high. Repeat Instr.1,
Instr. 2 and Instr.3 for each
new address.
Wait after Instr.3 until PB2
goes high. Repeat Instr.1,
Instr. 2 and Instr.3 for each
new address.
Repeat Instr.2 and Instr.3 for
each new address.
Repeat Instr.1 and Instr.2 for
each new address.
Repeat Instr.1 and Instr.2 for
each new address.
Repeat Instr.2 for each new
address.
Wait after Instr.3 until PB2
goes high
Repeat Instr.2 for each new
address.
Repeat Instr.2 for each new
address
Wait t
after Instr.3 for
WLWH_PFB
the Write Fuse bits cycle to
finish. Set S,F = "0" to
program, "1" to unprogram.
Wait t
after Instr.3 for
WLWH_PFB
the Write Fuse bits cycle to
finish. Set S,R = "0" to
program, "1" to unprogram.
Wait after Instr.4 until PB2
goes high. Write 2, 1 = "0" to
program the Lock bit.
1004D–09/01

Advertisement

loading

This manual is also suitable for:

Avr at90ls2323Avr at90ls2343Avr at90ss2343At90s2323At90ls2323At90s2343 ... Show all