atmega163l ATMEL Corporation, atmega163l Datasheet - Page 146

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
Enter Programming Mode
Chip Erase
146
ATmega163(L)
Table 56. Pin Name Mapping (Continued)
Table 57. XA1 and XA0 Coding
Table 58. Command Byte Bit Coding
The following algorithm puts the device in Parallel Programming mode:
1. Apply 4.5 - 5.5V between V
2. Set RESET and BS pins to “0” and wait at least 100 ns.
3. Apply 11.5 - 12.5V to RESET. Any activity on BS1 within 100 ns after +12V has
The Chip Erase command will erase the Flash and EEPROM memories and the Lock
bits. The Lock bits are not reset until the Program memory has been completely erased.
The Fuse bits are not changed. A Chip Erase must be performed before the Flash is re-
programmed.
Load Command “Chip Erase”
1. Set XA1, XA0 to “10”. This enables command loading.
2. Set BS1 to “0”.
Programming Mode
XA1
0
0
1
1
Signal Name in
been applied to RESET, will cause the device to fail entering Programming
mode.
PAGEL
DATA
XA0
BS2
0
1
0
1
Command Byte
1000 0000
0100 0000
0010 0000
0001 0000
0001 0001
0000 1000
0000 0100
0000 0010
0000 0011
Action when XTAL1 is Pulsed
Load Flash or EEPROM Address (High or low address byte determined by
BS1)
Load Data (High or Low data byte for Flash determined by BS1)
Load Command
No Action, Idle
Pin Name
PB7 - 0
PD7
PA0
CC
and GND.
I/O
I/O
I
I
Command Executed
Chip Erase
Write Fuse Bits
Write Lock Bits
Write Flash
Write EEPROM
Read Signature Bytes
Read Fuse and Lock Bits
Read Flash
Read EEPROM
Function
Program Memory Page Load
Byte Select 2 (“0” selects low byte, “1” selects 2’nd
high byte)
Bidirectional Databus (Output when OE is low)
1142E–AVR–02/03

Related parts for atmega163l