127/136
14 DEVICE CONFIGURATION AND ORDERING INFORMATION
Each device is available for production in user pro-
grammable versions (FLASH) as well as in factory
coded versions (ROM/FASTROM).
ST7262 devices are ROM versions. ST72P62 de-
vices are Factory Advanced Service Technique
ROM (FASTROM) versions: they are factory-pro-
grammed HDFlash devices.
ST72F62 FLASH devices are shipped to custom-
ers with a default content (FFh), while FASTROM
factory coded parts contain the code supplied by
the customer. This implies that FLASH devices
have to be configured by the customer using the
Option Byte while the ROM devices are factory-
configured.
14.1 OPTION BYTE
The Option Byte allows the hardware configuration
of the microcontroller to be selected.
The Option Byte has no address in the memory
map and can be accessed only in programming
mode using a standard ST7 programming tool.
The default content of the FLASH is fixed to FFh.
This means that all the options have “1” as their
default value.
In FASTROM devices, the Option Byte is fixed in
hardware by the FASTROM code.
Bits 7:6 = Reserved.
Bit 5 = WDGSW Hardware or software watchdog
This option bit selects the watchdog type.
0: Hardware enabled
1: Software enabled
Bit 4 = NEST
This option bit selects the nested interrupts fea-
ture.
0: Nested interrupt feature disabled
1: Nested interrupt feature enabled
Bit 3 = LVD Low Voltage Detector selection
This option bit selects the LVD.
0: LVD enabled
1: LVD disabled
Note: The LVD must be disabled in low voltage
devices.
Bit 2= Reserved.
Bit 1 = OSC12/6 Oscillator selection
This option bit selects the clock divider used to
drive the USB interface at 6MHz.
0: 6 MHz oscillator (no divider for USB)
1: 12 Mhz oscillator (2 divider for USB)
Note: The 6 MHz oscillator is mandatory in low
voltage devices.
Bit 0 = FMP_R Memory Readout Protection
Readout protection, when selected provides a pro-
tection against program memory content extrac-
tion and against write access to Flash memory.
Erasing the option bytes when the FMP_R option
is selected will cause the whole memory to be
erased first and the device can be reprogrammed.
Refer to the ST7 Flash Programming Reference
tails.
0: Read-out protection enabled
1: Read-out protection disabled
14.2 DEVICE ORDERING INFORMATION AND TRANSFER OF CUSTOMER CODE
Customer code is made up of the ROM/FAS-
TROM contents and the list of the selected options
(if any). The ROM or FASTROM contents are to be
sent on diskette, or by electronic means, with the
hexadecimal file in .S19 format generated by the
development tool. All unused bytes must be set to
FFh.
The selected options are communicated to STMi-
croelectronics using the correctly completed OP-
TION LIST appended.
Refer to application note AN1635 for information
on the counter listing returned by ST after code
has been transferred.
The STMicroelectronics Sales Organization will be
pleased to provide detailed information on con-
tractual points.
70
--
WDG
SW
NEST LVD
-
OSC
12/6
FMP_
R