EasyManua.ls Logo

Atmel AVR AT90S2313 User Manual

Atmel AVR AT90S2313
91 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #71 background image
71
AT90S2313
0839G–08/01
Figure 54. Serial Programming Waveforms
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.
Table 28. Serial Programming Instruction Set
Instruction
Instruction Format
OperationByte 1 Byte 2 Byte 3 Byte4
Programming Enable
1010 1100 0101 0011 xxxx xxxx xxxx xxxx Enable serial programming while
RESET
is low.
Chip Erase
1010 1100 100x xxxx xxxx xxxx xxxx xxxx Chip erase Flash and EEPROM
memory arrays.
Read Program Memory
0010 H000 xxxx xxaa bbbb bbbb oooo oooo Read H (high or low) data o from
program memory at word address
a:b.
Write Program Memory
0100 H000 xxxx xxaa bbbb bbbb iiii iiii Write H (high or low) data i to
program memory at word address
a:b.
Read EEPROM
Memory
1010 0000 xxxx xxxx xbbb bbbb oooo oooo Read data o from EEPROM memory
at address b.
Write EEPROM
Memory
1100 0000 xxxx xxxx xbbb bbbb iiii iiii Write data i to EEPROM memory at
address b.
Write Lock Bits
1010 1100 111x x21x xxxx xxxx xxxx xxxx Write Lock bits. Set bits 1,2 = “0” to
program Lock bits.
Read Signature Bytes 0011 0000 xxxx xxxx xxxx xxbb oooo oooo Read signature byte o at address b.
(1)

Table of Contents

Question and Answer IconNeed help?

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

Atmel AVR AT90S2313 Specifications

General IconGeneral
ArchitectureAVR
CPU8-bit
ManufacturerAtmel
ModelAT90S2313
Flash Memory2 KB
SRAM128 Bytes
EEPROM128 Bytes
Clock SpeedUp to 10 MHz
I/O Pins15
Timer1 x 8-bit, 1 x 16-bit
Operating Temperature Range-40°C to +85°C
Data Bus Width8-bit
Communication InterfacesUSART
PackageSOIC
SeriesAVR AT90S

Summary

Features

Pin Configuration

Pin Descriptions

Explains the function of each pin on the microcontroller.

Crystal Oscillator

Architectural Overview

Program and Data Addressing Modes

Explains how the MCU accesses memory.

I/O Memory

Reset and Interrupt Handling

Describes reset sources and interrupt vectors.

Watchdog Timer

Details the Watchdog Timer functionality and control.

EEPROM Read/Write Access

UART

Analog Comparator

I/O Ports

Memory Programming

Programming the Flash and EEPROM

Procedures for writing Flash and EEPROM.

Parallel Programming

Details the parallel programming interface and commands.

Serial Downloading

Explains serial programming via SPI.

Related product manuals