Datasheet

Section 22 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 728 of 910
REJ09B0350-0300
22.11 Programmer Mode
Along with its on-board programming mode, this LSI also has a programmer mode as a further
mode for the writing and erasing of programs and data. In programmer mode, a general-purpose
PROM programmer that supports the device types shown in table 22.16 can be used to write
programs to the on-chip ROM without any limitation.
Table 22.16 Device Types Supported in Programmer Mode
Target Memory MAT Size Device Type
User MAT 256 kbytes* FZTAT256V3A
User boot MAT 8 kbytes FZTATUSBTV3A
Note: * For the R4F2117 model, 160 kbytes of ROM space is available when the user MAT is
selected. If programming is performed in programmer mode, H'FF data must be written
to address H'28000 to H'3FFFF with 256-kbyte capacity setting.
22.12 Standard Serial Communication Interface Specifications for Boot
Mode
The boot program initiated in boot mode performs serial communication using the host and on-
chip SCI_1. The serial communication interface specifications are shown below.
The boot program has three states.
1. Bit-rate-adjustment state
In this state, the boot program adjusts the bit rate to achieve serial communication with the
host. Initiating boot mode enables starting of the boot program and entry to the bit-rate-
adjustment state. The program receives the command from the host to adjust the bit rate. After
adjusting the bit rate, the program enters the inquiry/selection state.
2. Inquiry/selection state
In this state, the boot program responds to inquiry commands from the host. The device name,
clock mode, and bit rate are selected. After selection of these settings, the program is made to
enter the programming/erasing state by the command for a transition to the
programming/erasing state. The program transfers the libraries required for erasure to the on-
chip RAM and erases the user MATs and user boot MATs before the transition.