Microcontroller ATmega103 from Atmel in SPI Mode


Connections

Galep

Atmega103

6

-

2

PDI/RXD input

7

-

3

PDO/TXD output

8

-

11

SCK

9

-

20

RESET

19

-

24

XTAL1 *

20

-

22,53

GND

40

-

21,52

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.

The fuse-bits make it possible to change the properties of the device.

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 ATmega103 with 128k FLASH memory, this is the memory starting at the address 20000h).

Lock Bit 1

Select this item to set the Protection Mode 2.

Lock Bit 2

Select this item to set the Protection Mode 3.

SUT0, SUT1

Select these items to determine the MCU start-up time.

EESAVE

Select this item to preserve the EEPROM memory through the chip erase.

 

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 Fuse bits and the Lock bits will be programmed.

Note: the Lock bits will be programmed as last, after the data and Fuse bits are 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,

the Fuse bits and the Lock bits will be compared with the settings in the ´Options´ Dialog.

Blank check

Independently of the selected items in the ´Options´ Dialog - the FLASH memory, EEPROM memory and Lock bits will be checked to verify the value is empty. The Fuse bits will be ignored.

Read

Independently of the selected items in the ´Options´ Dialog - the FLASH memory and EEPROM memory will be read into the buffer, the Fuse and Lock bits will be evaluated and the items in the Options - Dialog will be set accordingly.

Erase

Independently of the selected items in the ´Options´ Dialog - the FLASH memory, EEPROM memory and Lock bits will be erased. The EESAVE Fuse bit will be erased, other Fuse bits will be kept unchanged.

 

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, and verify is also disabled.

Note: P - programmed.

 

SUT Fuse Bits

SUT0

SUT1

Start-up time, ms

Min.

Typ.

Max.

P

0.4

0.5

0.6

P

3.2

4.0

4.8

P

P

12.8

16.0

19.2

Note: P - programmed.