Microcontroller AT90S2313 from Atmel in SPI Mode

Connections

Galep DIL40

 

PDIP20, SOIC20

11

-

1

 

RESET

15

-

5

 

XTAL1 *

20

-

10

 

GND

27

-

17

 

MOSI input

28

-

18

 

MISO output

29

-

19

 

SCK

30

-

20

 

Vcc *

* - these connections are generally not required !


General Advice

These microcontrollers feature data storage employing the EEPROM technology, as well as the usual program data storage using FLASH technology. Both memory areas can be programmed separately.

The lock-bits make it possible to protect the device against over-programming, and against unauthorised copying.

With the aid of the programmer, the device's contents can be completely deleted.

 

Options

FLASH Memory

Select this item to access the FLASH memory.

EEPROM Memory

Select this item to access the EEPROM memory.

Note: In the data buffer the memory area above the last address in the program memory is reserved for EEPROM memory (with the AT90S2313 with 2k FLASH memory, this is the memory starting at the address 800h).

Lock Bit 1

Select this item to set the Protection Mode 2.

Lock Bit 2

Select this item to set the Protection Mode 3.

 

Actions

Program

If the FLASH Memory item is selected - the FLASH memory will be programmed with the data from the buffer,

if the EEPROM Memory item is selected - the EEPROM memory will be programmed with the data from the buffer,

the Lock bits will be programmed.

Note: the Lock bits will be programmed as a final action, after the data is programmed and verified.

Compare

If the FLASH Memory item is selected - the FLASH memory will be compared with the data from the buffer,

if the EEPROM Memory item is selected - the EEPROM memory will be compared with the data from the buffer.

Blank check

Independently of the selected items in the ´Options´ Dialog - the FLASH memory and EEPROM memory will be checked for empty.

Read

Independently of the selected items in the ´Options´ Dialog - the FLASH memory and EEPROM memory will be read into the buffer.

Erase

Independently of the selected items in the ´Options´ Dialog - the FLASH memory, EEPROM memory and Lock bits will be erased.

 

Lock Bits

Mode

LB 1

LB 2

 

1

   

No memory lock features enabled

2

P

 

Further programming of the Flash and EEPROM is disabled

3

P

P

Same as mode 2, but verify is also disabled.

Note: P - programmed.