37
AT90S/LS2323/2343
1004D–09/01
Memory Programming
Program and Data
Memory Lock Bits
The AT90S2323/2343 MCU provides two Lock bits that can be left unprogrammed (“1”)
or can be programmed (“0”) to obtain the additional features listed in Table 14. The Lock
bits can only be erased with the Chip Erase operation.
Note:
1. In the high-voltage Serial Programming mode, further programming of the Fuse bits
are also disabled. Program the Fuse bits before programming the Lock bits.
Fuse Bits in
AT90S/LS2323
The AT90S/LS2323 has two Fuse bits, SPIEN and FSTRT.
•
When the SPIEN Fuse is programmed (“0”), Serial Program and Data Downloading
are enabled. Default value is programmed (“0”). This bit is not accessible in the low-
voltage Serial Programming mode.
•
When the FSTRT Fuse is programmed (“0”), the shortest start-up time is selected
as indicated in Table 6 on page 21. Default value is programmed (“0”). Changing the
FSTRT Fuse does not take effect until the next Power-on Reset. In AT90S/LS2343
the start-up time is fixed.
The status of the Fuse bits is not affected by Chip Erase.
Fuse Bits in
AT90S/LS2343
The AT90S/LS2343 has two Fuse bits, SPIEN and RCEN.
•
When the SPIEN Fuse is programmed (“0”), Serial Program and Data Downloading
are enabled. Default value is programmed (“0”). This bit is not accessible in the low-
voltage Serial Programming mode.
•
When the RCEN Fuse is programmed (“0”), the internal RC oscillator is selected as
the MCU clock source. Default value is programmed ("0") in AT90LS2343-1. Default
value is un-programmed ("1") in AT90LS2343-4 and AT90S2343-10. Changing the
RCEN Fuse does not take effect until the next Power-on Reset. AT90S/LS2323
cannot select the internal RC oscillator as the MCU source.
The status of the Fuse bits is not affected by Chip Erase.
Signature Bytes
All Atmel microcontrollers have a three-byte signature code that identifies the device.
The three bytes reside in a separate address space.
For the AT90S/LS2323
, they are:
1.
$000: $1E (indicates manufactured by Atmel)
2.
$001: $91 (indicates 2K bytes Flash memory)
3.
$002: $02 (indicates AT90S/LS2323 when signature byte $001 is $91)
For AT90S/LS2343
, they are:
1.
$000: $1E (indicates manufactured by Atmel)
2.
$001: $91 (indicates 2K bytes Flash memory)
Table 14.
Lock Bit Protection Modes
Memory Lock Bits
Protection Type
Mode
LB1
LB2
1
1
1
No memory lock features enabled.
2
0
1
Further programming of the Flash and EEPROM is disabled.
3
0
0
Same as mode 2, and verify is also disabled.