* TR4943, R4945 and R4945A are trademarks of Advantest Corporation.
• Renesas Technology Corporation and Renesas Solutions Corporation put the maximum effort into making semiconductor products better
and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal
injury, fire or property damage. Remember to give due consideration to safety when making your circuit designs, with appropriate
measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of nonflammable material or (iii) prevention against any
malfunction or mishap.
• These materials are intended as a reference to assist our customers in the selection of the Renesas Technology product best suited to
the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas
Technology Corporation, Renesas Solutions Corporation or a third party.
• Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage, or infringement of any
third-party's rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples
contained in these materials.
• All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information
on products at the time of publication of these materials, and are subject to change by Renesas Technology Corporation and Renesas
Solutions Corporation without notice due to product improvements or other reasons. It is therefore recommended that customers contact
Renesas Technology Corporation, Renesas Solutions Corporation or an authorized Renesas Technology product distributor for the latest
product information before purchasing a product listed herein. The information described here may contain technical inaccuracies or
typographical errors. Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage,
liability, or other loss rising from these inaccuracies or errors. Please also pay attention to information published by Renesas Technology
Corporation and Renesas Solutions Corporation by various means, including the Renesas home page (http://www.renesas.com).
• When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms,
please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and
products. Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage, liability or
other loss resulting from the information contained herein.
• Renesas Technology semiconductors are not designed or manufactured for use in a device or system that is used under circumstances
in which human life is potentially at stake. Please contact Renesas Technology Corporation, Renesas Solutions Corporation or an
authorized Renesas Technology product distributor when considering the use of a product contained herein for any specific purposes,
such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use.
• The prior written approval of Renesas Technology Corporation and Renesas Solutions Corporation is necessary to reprint or reproduce
in whole or in part these materials.
• If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the
Japanese government and cannot be imported into a country other than the approved destination. Any diversion or reexport contrary to
the export control laws and regulations of Japan and/or the country of destination is prohibited.
• Please contact Renesas Technology Corporation or Renesas Solutions Corporation for further details on these materials or the products
contained therein.
Keep safety first in your circuit designs!
Notes regarding these materials
• This product is a development supporting unit for use in your program development and evaluation stages. In mass-producing your
program you have finished developing, be sure to make a judgment on your own risk that it can be put to practical use by performing
integration test, evaluation, or some experiment else.
• In no event shall Renesas Solutions Corporation be liable for any consequence arising from the use of this product.
• Renesas Solutions Corporation strives to renovate or provide a workaround for product malfunction at some charge or without charge.
However, this does not necessarily mean that Renesas Solutions Corporation guarantees the renovation or the provision under any
circumstances.
• This product has been developed by assuming its use for program development and evaluation in laboratories. Therefore, it does not fall
under the application of Electrical Appliance and Material Safety Law and protection against electromagnetic interference when used in
Japan.
5.1 Errors That Occur When Writing to PROM .......................................................23
(1) When Newly Purchased ...........................................................................23
(2) Previously Written Normally ...................................................................23
5.2 MCU Does Not Function Normally ....................................................................24
5.3 Other Precautions ................................................................................................24
(1) About Recommended PROM Programmers ............................................24
(2) About Reading Out of the Device Identification Code ............................24
5.4 How to Request for Support................................................................................24
( 3 / 26 )
MEMO
( 4 / 26 )
Chapter 1. Precautions for Safety
Either in this user's manual or on the product, several icons are used to insure proper handling of this
product and also to prevent injuries to you or other persons, or damage to your properties. This chapter
describes precautions which should be taken in order to use this product safely and properly. Be sure
to read this chapter before using this product.
If the requirements shown in the "WARNING"
WARNING
CAUTION
IMPORTANT
In addition to the three above, the following are also used as appropriate.
means WARNING or CAUTION.
Example: CAUTION AGAINST AN ELECTRIC SHOCK
sentences are ignored, the equipment may
cause serious personal injury or death.
If the requirements shown in the "CAUTION"
sentences are ignored, the equipment may
malfunction.
It means important information on using this
product.
means PROHIBITION.
Example: DISASSEMBLY PROHIBITED
means A FORCIBLE ACTION.
Example:
The following page describes the symbols "WARNING", "CAUTION", and "IMPORTANT".
UNPLUG THE POWER CABLE FROM THE RECEPTACLE.
( 5 / 26 )
WARNING
Warning for Use Environment:
• This equipment is to be used in an environment with a maximum ambient temperature of 35˚C. Care
should be taken that this temperature is not exceeded.
• Select the proper programming mode of the PROM programmer.
CAUTION
Caution to Be Taken for Modifying This Product:
• Do not disassemble or modify this product. Disassembling and modifying the product will void
your warranty.
Cautions to Be Taken for This Product:
• Use caution when handling this product. Be careful not to apply a mechanical shock such as falling.
• Do not directly touch the connector pins of this product.
• Be careful with the static electricity when handling this product and the MCU.
When Not Using This Product for a Long Time:
(1) Attach the connector pins of this product to the conductive sponge.
(2) Put it into a conductive polyvinyl, and keep it in the package case shipped from the factory.
(3) Store it in the place where humidity and temperature are low and direct sunshine does not strike.
IMPORTANT
Note on This Product:
•We cannot accept any request for repair.
When Using This Product:
• Attach this product to the IC socket on the PROM programmer properly.
• Insert the MCU to the IC socket of this product properly.
•When opening and closing the IC socket of this product, be sure to keep it horizontal.
• Be sure to set the programming area as described in this user's manual.
• Do not use the PROM programmer's device identification code readout function.
( 6 / 26 )
Chapter 2. Introduction
This product is a PROM programming adapter for the 38000 Series of Renesas 8-bit MCUs (available
for some 740 Series MCUs). The adapter is a tool that can be used to write programs into internal
PROM of MCUs using a PROM programming adapter commercially available. This user's manual
describes the specifications and how to use the product. Figures 2.1 and 2.2 show external views of
the PROM programming adapters and their constituent parts.
Interface unit
Main unit
Connector
Figure 2.1 External view of the programming adapter (DIP type IC socket) and constituent parts
Main unit
Interface unit
Connector
Figure 2.2 External view of the programming adapter (QFP, SOP, LCC type IC socket) and constituent parts
( 7 / 26 )
2.1 Things to Check When Unpacking
This product package consists of the items listed in Table 2.1. Check to see that it contains all of the
items when unpacking.
If any part is missing or there is any doubt about your product package, contact your local distributor.
( 8 / 26 )
Chapter 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 (9) to write programs into the MCU.
(1) Read the program into the PROM programmer. (Offset: 800016)*
*1Offset address not required when writing in M5M27C101 mode.
(2) Select the connector corresponding to the MCU. (See Section 3.2)*
2
*
Skip this step for the PCA4738S-42A and PCA4738F-42A.
1
2
(3) Attach the adapter to the PROM programmer. (See Section 3.3)
(4) Set the switches (SW1, SW2 and SW3). (See Section 3.4)
(5) Insert the MCU into the adapter. (See Section 3.5)
(6) Specify the programming area of the MCU using the PROM programmer. (See Section 3.6)
(7) Using the PROM programmer's erase check function, check whether data can be written into
the MCU's programming area.*3*
4
(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.*
4
*3Be 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.
*4Some PROM programmers perform these steps (7 through 9) automatically.
4
( 9 / 26 )
3.2 Selecting a Connector
Select the connector depending on the type of the MCU as described in Table 3.1 and Figure 3.1
below.
* No selection is required for the PCA4738S-42A and PCA4738F-42A. (The PCA7402E connec-
tor is already attached.)
*For the MCU whose internal ROM is 32 KB or less, the applicable adapter (PCA4738D/
PCA7402D or PCA4738E/PCA7402E) depends on its device (M5M27C256A mode or
M5M27C101 mode). For each matching device of the MCU, refer to Tables 3.6 to 3.9 on pages
16 to 18.
IC socket
(made by Yamaichi Elecreonics Co., Ltd.)
Figure 3.1 Selecting a connector
Main unit
Interface unit
32-pin type connector28-pin type connector
( 10 / 26 )
3.3 Attaching the Adapter to a PROM Programmer
(1) For the PCA4738D and PCA7402D
As shown in Figure 3.2, attach the pin No. 1 of the connector of the PROM programmer (standardpitch 28-pin pin-header mounted) to the No. 1 pin of the IC socket of the PROM programmer.
Be careful when attaching to the PROM programmer because an incorrect
insertion can cause fatal damage to the MCU.
(PCA4737D or PCA7402D)
7
2
3
1
6
1
1
This four pins are not assigned.
Connector
28
1
32-pin IC socket of
PROM programmer
28
1
15
14
15
14
Figure 3.2 Attaching the adapter to a PROM programmer (PCA4738D or PCA7402D)
(2) For the PCA4738E and PCA7402E
As shown in Figure 3.3, attach the pin No. 1 of the connector of the PROM programmer (standardpitch 32-pin pin-header mounted) to the No. 1 pin of the IC socket of the PROM programmer.
Be careful when attaching to the PROM programmer because an incorrect
insertion can cause fatal damage to the MCU.
(PCA4738E or PCA7402E)
32
7
2
3
1
6
1
1
Connector
1
32-pin IC socket of
PROM programmer
32
1
17
16
17
16
Figure 3.3 Attaching the adapter to a PROM programmer (PCA4738E or PCA7402E)
( 11 / 26 )
3.4 Switch Settings
(1) Switches SW1 and SW2
• For PCA4738S-42A and PCA4738F-42A
Set the switches SW1 and SW2 according to the output format of the MCU ports. The examples
of switch settings are shown in Tables 3.2 and 3.5 and Figure 3.4.
Table 3.2 Switch settings (PCA4738S-42A and PCA4738F-42A)
Switch
SW1
SW2
Output format
P0
0--P03
P04--P07
CMOS
Pch
Nch
CMOS
Pch
Nch
Switch setting
CMOS
Pch
Nch
CMOS
Pch
Nch
• For all adapters except the PCA4738S-42A and PCA4738F-42A
Set the switches SW1 and SW2 according to the output format of the MCU ports. The examples
of switch settings are shown in Tables 3.3 and 3.5 and Figure 3.4.
Table 3.3 Switch settings (all adapters except PCA4738S-42A and PCA4738F-42A)
Switch
SW1
SW2
Output format
0--P23
P2
P24--P27
CMOS
Pch
Nch
CMOS
Pch
Nch
Switch setting
CMOS
Pch
Nch
CMOS
Pch
Nch
(2) Switch SW3
Table 3.4 Switch settings of SW3
MCU type name
M38103E6SS/SP/FS/FP
M38114E8SS/SP/FS/FP
M38174E8FS/FP
M38177ECFS/FP
M38185EEFS/FP
Other MCUs
Switch setting
ON
OFF
Note:
The PC4738S-42A and PCA4738F-42A do not have switch SW3.
As shown in Figures 3.5 and 3.6, insert the No. 1 pin of an MCU into the No. 1 pin of the IC socket.
Be careful when inserting the MCU because an incorrect insertion can cause fatal
damage to the MCU.
Top view
PCA4738X-XXA REV. A
IC1
No. 1 pin of MCU
1
X1
JAPAN
Figure 3.5 Mounting an MCU (adapters with DIP type IC socket)
Top view
PCA4738X-XXA REV. A
J1J2
1
IC1
X1
IC socket
1
IC socket
SW3
RA2
1818
ON
OFF
No. 1 pin of MCU
SW1
RA1
120
SW2
Pch
CMOS
Nch
Pch
CMOS
Nch
Xcin
JAPAN
Figure 3.6 Mounting an MCU (adapters with QFP, SOP, LCC type IC socket)
( 14 / 26 )
CAUTION
Caution to Be Taken for SOP Version IC Socket:
• SOP version IC sockets (mounted on the PCA4738F-42A) have a sliding bar in the
middle of the board. Be sure to keep the bar to the side of the diagonally shaded area
imprinted on the board (factory-setting). An improper setting will cause fatal
damage to the MCU due to faulty connections.
Top view
PCA4738x-xxA REV.A
J1J2
No. 1 pin of MCU
IC1
42
●
1
22
21
IC socket
Sliding bar
X1
Caution to Be Taken for Handling an MCU:
• Do not directly touch the connector in the IC socket and the pins on the PROM
programmer connector because dirt may cause an electrical insulation failure. When
not using this product, attach the connector pins of this product to the conductive
sponge as it was shipped from the factory.
Caution to Be Taken for Opening and Closing the IC Socket:
• When opening and closing the IC socket, hold the adapter horizontally as shown in
Figure 3.7. Otherwise the inside of the IC socket may become damaged and cause
an electrical insulation failure.
Side view
IC socket
Up
Figure 3.7 Opening and closing the IC socket
Direction to open the IC socket
Main unit
Interface unit
Connector
( 15 / 26 )
3.6 Setting the Programming Area
To write the program into an MCU, be sure to set the programming area. And also, specify its device
of the PROM programmer. The lists of programming areas and device are shown in Tables 3.6 to 3.9.
Make note of the fact that the MCU whose ROM is 32 KB or less has two devices applicable. For the
MCUs not listed in Tables 3.6 to 3.9, refer to each MCU's user's manual.
Table 3.6 List of programming areas and devices -38000 Series (PCA4738D or PCA7402D connector)
About 8 KB
About 12 KB
About 16 KB
About 20 KB
About 24 KB
About 28 KB
About 32 KB
About 36 KB
About 40 KB
About 44 KB
About 48 KB
About 52 KB
About 56 KB
The PROM programmers listed in Table 3.10 are recommended for the adapters. Using the actual
products, we have verified that these PROM programmers can be used to write programs without
problem. Nonconformity occurring by using any other PROM programmers can not be supported.
For the latest types of PROM programmer, please contact the manufacturer to confirm whether it can
be used for your product.
Be sure to check the following before seeking technical support.
5.1 Errors That Occur When Writing to PROM
(1) When Newly Purchased
Cause
Is the correct PROM programmer connector selected?
Is the adapter attached to the correct position of the PROM
Programming adapter
PROM programmer
Contact failure
programmer?
Are the switches on the adapter set correctly?
Is the MCU attached to the correct position?
Is the area specification set correctly?
Is the correct device selected?
The IC socket of the PROM programmer may be stained. The
socket needs replacing.
(2) Previously Written Normally
Cause
Is the correct PROM programmer connector selected?
Is the adapter attached to the correct position of the PROM
Programming adapter
programmer?
Are the switches on the adapter set correctly?
Check point
Check point
See page
10
11
12
14
16, 17, 18
10, 18
-
See page
10
11
12
PROM programmer
Contact failure
Is the MCU attached to the correct position?
Is the area specification set correctly?
Is the correct device selected?
The IC socket of the PROM programmer may be stained. The
socket needs replacing.
The connector with which the PROM programmer contacts
may be stained. Clean it with alcohol, etc.
( 23 / 26 )
14
16, 17, 18
10, 18
-
-
5.2 MCU Does Not Function Normally
In the case that the program operates normally on the emulator, but when the MCU that has normally
been written is attached the same program does not function normally:
(1) Is the offset address specified correctly when copying data into the PROM programmer?
(2) In the emulator, NOPs are often inserted in the area where the program has not been read, therefore
the program happens to appear functioning normally even though it may have gone wild. Check
your program again.
(3) The emulator and the actual MCU may differ in characteristics. Consult the user's manual of the
emulation pod to check for differences in characteristics again.
5.3 Other Precautions
(1) About Recommended PROM Programmers
Not all PROM programmers available on the market can be checked to see if they function properly.
There are several PROM programmers that we have verified to function properly. These products are
listed as recommended PROM programmers in the user's manual. Other PROM programmers may
also be used providing that you verified them to function properly.
Note: No matter which type of PROM programmer you use, it is necessary to verify completion of
programming by executing screening, etc. that are stipulated for each microcomputer used.
(2) About Reading Out of the Device Identification Code*
Please do not use the PROM programmer's device identification code readout function.
Using this function may break down the MCU. The device identification code is included in EPROM
to indicate the manufacturer code and device code; it is not included in the MCU.
*1Depending on PROM programmer manufacturers, this may be referred to by another name (e.g.
ID code).
5.4 How to Request for Support
After checking this manual, fill in the following information and email to your local distributor.
For prompt response, please specify the following information:
(1) Contact address
• Company name
•Department
• Responsible person
• Phone number
• Fax number
• E-mail address
(2) Product information
• Name of the programming adapter
• Serial number
• Date of purchase
• Target MCU
• Symptoms (Fails blank check/Cannot write a program/Fails verification etc.)
• Detailed symptoms
• How often does the problem occur? (2 out of 10 etc.)
•When did the problem start to occur? (Since purchase/Used to work correctly)
• Type name of the PROM programmer (Advantest R4945A etc.)
• Specified device when writing to PROM (M27C101 etc.)
•Specified programming area when writing to PROM
• Switch settings of the adapter when writing to PROM
1
( 24 / 26 )
PROM Programming Adapter for 38000 Series User's Manual