( 8 / 18 )
Chapter 4. How to Write the Program
This chapter describes procedures you need to follow when writing the program.
For details on how to operate the PROM programmer, refer to the user's manual of the PROM
programmer.

4.1 Programming Procedure

Follow these procedures (1) through (8) to write the program into the MCU.
Notes
*1 Be sure to set the programming area. Otherwise the mode's shift to the programming mode may
not be performed successfully. The erase check function and others may not also be performed
completely.
*2 Some PROM programmers perform the steps (6) to (8) automatically.
(1) Read the program into the PROM programmer.
(3) Set the jumper switch (SW1).
For details, see "4.3 Setting Jumper Switch" (page 9).
(4) Mount the MCU into the adapter.
For details, see "4.4 Mounting an MCU into the Adapter" (page 10).
(5) Set the programming area with the PROM programmer.*1
For details, see "4.7 Setting the Programming Areas" (page 11).
(6) Check to erase the programming area.*2
Using the PROM programmer's erase check function, check whether data can be written into the
MCU's programming area.
(7) Write the program into the programming area of the MCU using the PROM programmer.*2
(8) Verify the programming area of the MCU using the PROM programmer to check whether the
program has been written into the MCU correctly.*2
(2) Attach the adapter to the IC socket of the PROM programmer.
For details, see "4.2 Attaching the Adapter to a PROM Programmer" (page 9).