Operation - Atmel AVR AT90S2313 Manual

8-bit avr microcontroller with 2k bytes of in-system programmable flash
Hide thumbs Also See for AVR AT90S2313:
Table of Contents

Advertisement

Table 28. Serial Programming Instruction Set
Instruction
Programming Enable
Chip Erase
Read Program Memory
Write Program Memory
Read EEPROM
Memory
Write EEPROM
Memory
Write Lock Bits
Read Signature Bytes
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
Note:
1. The signature bytes are not readable in lock mode 3, i.e. both Lock bits programmed.
0839G–08/01
Figure 54. Serial Programming Waveforms
Instruction Format
Byte 1
Byte 2
1010 1100
0101 0011
1010 1100
100x xxxx
0010 H000
xxxx xxaa
0100 H000
xxxx xxaa
1010 0000
xxxx xxxx
1100 0000
xxxx xxxx
1010 1100
111x x21x
0011 0000
xxxx xxxx
Byte 3
Byte4
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
bbbb bbbb
oooo oooo
bbbb bbbb
iiii iiii
xbbb bbbb
oooo oooo
xbbb bbbb
iiii iiii
xxxx xxxx
xxxx xxxx
xxxx xxbb
oooo oooo
AT90S2313

Operation

Enable serial programming while
RESET is low.
Chip erase Flash and EEPROM
memory arrays.
Read H (high or low) data o from
program memory at word address
a:b.
Write H (high or low) data i to
program memory at word address
a:b.
Read data o from EEPROM memory
at address b.
Write data i to EEPROM memory at
address b.
Write Lock bits. Set bits 1,2 = "0" to
program Lock bits.
Read signature byte o at address b.
(1)
71

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AVR AT90S2313 and is the answer not in the manual?

Table of Contents