
ML66525 Family User’s Manual
Chapter 20
Flash Memory
20 - 2
20.3 Programming Modes
Flash memory has the following three programming modes.
Since an auto-erase function is
provided for all the programming modes, it is not necessary to erase the flash memory prior to
programming.
Figure 20-1 shows a block diagram of the flash memory programming modes.
(1)
Parallel mode
Programming in this mode is performed with a Minato Electronics’ PROM writer.
A special
program to write to flash memory is unnecessary.
In the parallel mode, connect Oki Electronics’ flash memory program conversion adapter
(model no. MTP66525) to Minato Electronics Co.-make 1893 (ver. 1.20d or later) or 1931 (ver.
1.20d or later) writer and then perform the programming.
(2)
Serial mode
Programming in this mode is performed with a general-purpose flash memory writer.
A
special program to write to flash memory is unnecessary.
Flash memory can be programmed
by a single microcontroller or after it is mounted on a printed circuit board.
In the serial mode, connect a flash memory writer (model no. PW66K) or a flash
microcontroller programmer (model no. AF200) manufactured by YDC Corporation to the two
microcontroller pins (P7_6, P7_7), the FLAMOD pin, and VDD and GND pins, and then
perform the programming.
Programming is performed while the microcontroller is in the
reset or stop mode.
(3)
User mode
In this mode, instead of using a programming writer, programming is performed by executing a
program that writes to flash memory.
Programming can be performed after the device is
mounted on the circuit board.
In the user mode, programming is performed by executing a write program already stored
(using either the serial mode or parallel mode) in flash memory of the microcontroller.
(1) Parallel
mode
Minato
*1
-make
writer
Flash memory
program conversion
adapter
MTP66525
CPU
interface
CPU
Writer is
unnecessary.
(Memory is
programmed
by execution of
write program.)
Memory
control
circuit
Flash ROM
PW66K or
AF200
*3
flash micro-
controller
programmer
manufactured
by YDC
*2
Peripherals
Flash
memory
(2) Serial
mode
(3) User
mode
Serial
interface
Parallel
interface
*1: Minato Electronics Co., Ltd.
*2: YDC is YDC Corporation.
*3: AF200 is a trademark of YDC.
Figure 20-1
Block Diagram of Programming Modes