atmega163l ATMEL Corporation, atmega163l Datasheet - Page 158

no-image

atmega163l

Manufacturer Part Number
atmega163l
Description
Atmega163 8-bit Avr Microcontroller With 16k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
atmega163l-4AI
Manufacturer:
ATMEL
Quantity:
984
Table 61. Serial Programming Instruction Set
Note:
158
Instruction
Programming Enable
Chip Erase
Read Program Memory
Load Program Memory Page
Write Program Memory Page
Read EEPROM Memory
Write EEPROM Memory
Read Lock Bits
Write Lock Bits
Read Signature Byte
Write Fuse Bits
Write Fuse High Bits
Read Fuse Bits
Read Fuse High Bits
Read Calibration Byte
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 = Boot Lock Bit01, 4 = Boot Lock Bit02, 5 = Boot Lock Bit11, 6 = Boot Lock Bit12, 7 = CKSEL0
Fuse, 8 = CKSEL1 Fuse, 9 = CKSEL2 Fuse, A = CKSEL3 Fuse, B= BODEN Fuse, C= BODLEVEL Fuse, D= BOOTRST Fuse,
E= BOOTSZ0 Fuse, F= BOOTSZ1 Fuse
ATmega163(L)
1010 1100
1010 1100
0010 H000
0100 H000
0100 1100
1010 0000
1100 0000
0101 1000
1010 1100
0011 0000
1010 1100
1010 1100
0101 0000
0101 1000
0011 1000
Byte 1
.
0101 0011
100x xxxx
xxxa aaaa
xxxx xxxx
xxxa aaaa
xxxx xxxa
xxxx xxxa
0000 0000
111x xxxx
xxxx xxxx
1010 0000
1010 1000
0000 0000
0000 1000
xxxx xxxx
Byte 2
Instruction Format
xxxx xxxx
xxxx xxxx
bbbb bbbb
xxbb bbbb
bbxx xxxx
bbbb bbbb
bbbb bbbb
xxxx 0xxx
xxxx xxxx
xxxx xxbb
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
0000 0000
Byte 3
xxxx xxxx
xxxx xxxx
oooo oooo
iiii iiii
xxxx xxxx
oooo oooo
iiii iiii
xx 65 4321
11 65 4321
oooo oooo
CB11 A987
1111 1FED
CBxx A987
xxxx 1FED
oooo oooo
Byte4
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.
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.
Read Lock bits. “0” = programmed, “1”
= unprogrammed.
Write Lock bits. Set bits 6 - 1 = “0” to
program Lock bits.
Read Signature Byte o at address b.
Set bits C - A, 9 - 7 = “0” to program,
“1” to unprogram
Set bits F - D = “0” to program, “1” to
unprogram
Read Fuse bits. “0” = programmed,
“1” = unprogrammed
Read Fuse high bits. “0” = pro-
grammed, “1” = unprogrammed
Read Signature Byte o at address b.
1142E–AVR–02/03

Related parts for atmega163l