beautypg.com

How to write the program, 1 programming procedures – Renesas PCA7412E4S-64 User Manual

Page 10

background image

( 8 / 16 )

4. How to Write the Program

This chapter describes how to write programs with a PROM programmer. For details on how to
operate the PROM programmer, refer to the user's manual of the PROM programmer.

4.1 Programming Procedures

Follow procedures (1) to (8) to write programs into the MCU.

(1) Read the program into the PROM programmer. (80000

16

offset required.)

(2) Attach the adapter to the PROM programmer. (see Section 4.2)

(3) Set the jumper switch SW1. (see Section 4.3)

(4) Insert the MCU into the adapter. (see Section 4.4)

(5) Specify the programming area of the MCU using the PROM programmer. (see Section 4.6) *

1

(6) Using the PROM programmer's erase check function, check whether data can be written into

the programming area of the MCU. *

2

(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 is written into the MCU correctly. *

2

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 etc. may not also be performed
completely.

*2 Some PROM programmers perform the steps (6) through (8) automatically.