ATMEGA325-16AJ ATMEL [ATMEL Corporation], ATMEGA325-16AJ Datasheet - Page 272

no-image

ATMEGA325-16AJ

Manufacturer Part Number
ATMEGA325-16AJ
Description
8-bit Microcontroller with In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Table 121. Serial Programming Instruction Set
272
Instruction
Programming Enable
Chip Erase
Read Program Memory
Load Program Memory
Page
Write Program Memory
Page
Read EEPROM Memory
Write EEPROM Memory
ATmega325/3250/645/6450
1010 1100
1010 1100
0010 H000
0100 H000
0100 1100
1010 0000
1100 0000
Byte 1
8. Power-off sequence (if needed):
Table 120. Minimum Wait Delay Before Writing the Next Flash or EEPROM Location
Figure 121. Serial Programming Waveforms
Symbol
t
t
t
t
WD_FUSE
WD_FLASH
WD_EEPROM
WD_ERASE
SERIAL DATA OUTPUT
SERIAL CLOCK INPUT
SERIAL DATA INPUT
Set RESET to “1”.
Turn V
0101 0011
100x xxxx
000a aaaa
00aa aaaa
000x xxxx
000a aaaa
00aa aaaa
000x xxaa
000x xaaa
000x xxaa
000x xaaa
CC
Byte 2
Instruction Format
SAMPLE
/
/
/
/
power off.
(MOSI)
(MISO)
(SCK)
xxxx xxxx
xxxx xxxx
bbbb bbbb
xxbb bbbb
xbbb bbbb
bbxx xxxx
bxxx xxxx
bbbb bbbb
bbbb bbbb
Byte 3
MSB
MSB
/
/
xxxx xxxx
xxxx xxxx
oooo oooo
iiii iiii
xxxx xxxx
oooo oooo
iiii iiii
Byte4
Minimum Wait Delay
Operation
Enable Serial Programming after
RESET goes low.
Chip Erase EEPROM and Flash.
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 page at word address b. Data
low byte must be loaded before Data
high byte is applied within the same
address.
Write Program Memory Page at
address a:b.
Read data o from EEPROM memory at
address a:b.
Write data i to EEPROM memory at
address a:b.
4.5 ms
4.5 ms
9.0 ms
9.0 ms
2570A–AVR–09/04
LSB
LSB

Related parts for ATMEGA325-16AJ