Renesas PCA7412G-100 Manuel D’Utilisation

Page de 20
( 7 / 20 )
3. How to Write the Program
This chapter describes how to write programs with a PROM programmer. For the operation of the
PROM programmer, refer to the user's manual of the PROM programmer.
3.1 Programming Procedures
Follow these procedures (1) through (8) to write programs into the MCU.
(1) Read the program.
1) For M306V0EE, M306V2EE
• OSD ROM, internal ROM: offset (80000h) required
2) For M306XXEC
• Internal ROM: offset (C0000h) required
3) For other MCUs
• Internal ROM: offset (E0000h) required
Read the program into the PROM programmer.
(2) Attach the adapter to the PROM programmer. (See section 3.2)
(3) Set the JP1 switch. (See section 3.3)
(4) Insert the MCU into the adapter. (See section 3.4)
(5) Set the programming area. (See section 3.5) 
*1
Set the MCU's programming area with the PROM programmer.
(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 MCU. 
*2
Write the program into the programming area of the MCU using the PROM programmer.
(8) Check to verify the programming area. 
*2
Check to verify the programming area of the MCU using the PROM programmer. Check
whether the program is written into the MCU correctly.
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.