beautypg.com

How to write the program, 1 programming procedures – Renesas PCA7438F-80A User Manual

Page 10

background image

( 8 / 16 )

4. How to Write the Program

This chapter describes how to write programs using 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 (9) to write programs into the MCU.

(1) Read the program into the PROM programmer (8000

16

offset required).

(2) Select a PROM programmer connector (PCA7402D or PCA7402E). (See Section 4.2)

(3) Attach the adapter to the PROM programmer. (See Section 4.4)

(4) Set the jumper switches (SW1, SW2 and SW3). (See Section 4.3)

(5) Insert the MCU into the adapter. (See Section 4.5)

(6) Specify the programming area of the MCU using the PROM programmer. (See Section 4.8)

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

the programming area of the MCU. *

(8) Write the program into the programming area of the MCU using the PROM programmer. *

(9) Verify the programming area of the MCU using the PROM programmer to check whether the

program is written into the MCU correctly. *

Notes:

* Some PROM programmers perform the steps (7) through (9) automatically.

* 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.

This manual is related to the following products: