beautypg.com

Reading the signature bytes, Reading the calibration byte, Parallel programming characteristics – Rainbow Electronics ATmega8515L User Manual

Page 186: Atmega8515(l)

background image

186

ATmega8515(L)

2512A–AVR–04/02

Figure 79. Mapping Between BS1, BS2, and the Fuse- and Lock Bits During Read

Reading the Signature Bytes

The algorithm for reading the Signature bytes is as follows (refer to “Programming the
Flash” on page 181
for details on Command and Address loading):

1.

A: Load Command “0000 1000”.

2.

B: Load Address Low Byte ($00 - $02).

3.

Set OE to “0”, and BS1 to “0”. The selected Signature byte can now be read at
DATA.

4.

Set OE to “1”.

Reading the Calibration Byte

The algorithm for reading the Calibration byte is as follows (refer to “Programming the
Flash” on page 181
for details on Command and Address loading):

1.

A: Load Command “0000 1000”.

2.

B: Load Address Low Byte, $00.

3.

Set OE to “0”, and BS1 to “1”. The Calibration byte can now be read at DATA.

4.

Set OE to “1”.

Parallel Programming
Characteristics

F ig u r e 8 0. Pa ra l le l Pr og ra m m in g T i m i ng , In cl u di n g so m e G en e ra l T i m i ng
Requirements

Lock Bits

0

1

BS2

Fuse High Byte

0

1

BS1

DATA

Fuse Low Byte

Data & Contol

(DATA, XA0/1, BS1, BS2)

XTAL1

t

XHXL

t

WLWH

t

DVXH

t

XLDX

t

PLWL

t

WLRH

WR

RDY/BSY

PAGEL

t

PHPL

t

PLBX

t

BVPH

t

XLWL

t

WLBX

t

BVWL

WLRL