Renesas PCA7439 Instruction Manual

Page 1
To our customers,
Old Company Name in Catalogs and Other Documents
On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the old company name remains in this document, it is a valid Renesas Electronics document. We appreciate your understanding.
Renesas Electronics website: http://www.renesas.com
April 1 Renesas Electronics Corporation
Issued by: Renesas Electronics Corporation (http://www.renesas.com)
st
, 2010
Send any inquiries to http://www.renesas.com/inquiry
.
Page 2
Notice
1. All information included in this document is current as of the date this document is issued. Such information, however, is
subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website.
2. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights
of third parties by or arising from the use of Renesas Electronics products or technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others.
3. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part.
4. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of
semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information.
5. When exporting the products or technology described in this document, you should comply with the applicable export control
laws and regulations and follow the procedures required by such laws and regulations. You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations.
6. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics
does not warrant that such informatio n is error free. Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein.
7. Renesas Electronics products are classified according to the following three quality grades: “Standard”, “High Quality”, and
“Specific”. The recommended applications for each Renesas Electronics product depends on the product’s quality grade, as indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesas Electronics product for any application categorized as “Specific” without the prior written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as “Specific” or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics. The quality grade of each Renesas Electronics product is “Standard” unless otherwise expressly specified in a Ren esas E lectronics data sheets or dat a books, etc.
“Standard”: Computers; office equipment; communications equipment; test and measurement equipment; audio and visual
equipment; home electron ic appliances; machine tools; personal electronic equipment; and industrial robots.
“High Quality”: Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-
crime systems; safety equipment; and medical equipment not specifically designed for life support.
“Specific”: Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or
systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare intervention (e.g. excision, etc.), and any other appl i cations or purposes that pose a d irect threat to human life.
8. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics,
especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges.
9. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have
specific characteristics such as t he occu rrence o f failure at a certai n rate an d malfunct io ns under cert ain u se con dition s. Further, Renesas Electronics prod ucts are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you.
10. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental
compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations.
11. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas
Electronics.
12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this
document or Renesas Electronics products, or if you have any other inquiries.
(Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation an d also includes its majority-
owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
Page 3
To all our customers
Regarding the change of names mentioned in the document, such as Mitsubishi Electric and Mitsubishi XX, to Renesas Technology Corp.
The semiconductor operations of Hitachi and Mitsubishi Electric were transferred to Renesas Technology Corporation on April 1st 2003. These operations include microcomputer, logic, analog and discrete devices, and memory chips other than DRAMs (flash memory, SRAMs etc.) Accordingly, although Mitsubishi Electric, Mitsubishi Electric Corporation, Mitsubishi Semiconductors, and other Mitsubishi brand names are mentioned in the document, these names have in fact all been changed to Renesas Technology Corp. Thank you for your understanding. Except for our corporate trademark, logo and corporate statement, no changes whatsoever have been made to the contents of the document, and these changes do not constitute any alteration to the contents of the document itself.
Note : Mitsubishi Electric will continue the business operations of high frequency & optical devices and power devices.
Renesas T echnology Corp. Customer Support Dept. April 1, 2003
Page 4
PCA7439
REJ10J0817-0100Z
Instruction Manual
PROM Programming Adapter
for
M37221EAFP
Second Edition: January 1, 2002
Mitsubishi Electric Corporation
Mitsubishi Electric Semiconductor Application Engineering Corporation
( 1 / 14 )
Page 5
* IC51-0422-393 is products of Yamaichi Electronics Co., Ltd. * R4944A, R4945 and R4945A are trademarks of Advantest Corporation.
First Edition: September 1, 1997 Second Edition: January 1, 2002
Copyright © 2002 Mitsubishi Electric Corporation Copyright © 2002 Mitsubishi Electric Semiconductor Application Engineering Corporation
Keep safety first in your circuit designs!
Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Application Engineering 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 non-flammable material or (iii) prevention against any malfunction or mishap.
Precautions to be taken when using this manual
• These materials are intended as a reference to assist our customers in the selection of the Mitsubishi semiconductor 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 Mitsubishi Electric Corporation, Mitsubishi Electric Semiconductor Application Engineering Corporation or a third party.
• Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Application Engineering 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 is subject to change by Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Application Engineering Corporation without notice due to product improvements or other reasons. It is therefore recommended that customers contact Mitsubishi Electric Corporation, Mitsubishi Electric Semiconductor Application Engineering Corporation or an authorized Mitsubishi Semiconductor product distributor for the latest product information before purchasing a product listed herein. The information described here may contain technical inaccuracies or typographical errors. Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Application Engineering Corporation assume no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors. Please pay attention to the information published by Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Application Engineering Corporation in various means, including Mitsubishi Semiconductor Homepage (http://www.mitsubishichips.com/) and Mitsubishi Tool Homepage (http://www.tool-spt.maec.co.jp/index_e.htm).
• 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. Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Application Engineering Corporation assume no responsibility for any damage, liability or other loss resulting from the information contained herein.
• Mitsubishi Electric Corporation 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 Mitsubishi Electric Corporation, Mitsubishi Electric Semiconductor Application Engineering Corporation, or an authorized Mitsubishi Semiconductor 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 Mitsubishi Electric Corporation or Mitsubishi Electric Semiconductor Application Engineering 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 Mitsubishi Electric Corporation, Mitsubishi Electric Semiconductor Application Engineering Corporation or an authorized Mitsubishi Semiconductor product distributor for further details on these materials or the products contained therein.
• All product names of our software tools and some of our tool accessories have been changed in succession since April 2001.
Precautions to be taken when using this product
• 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 Mitsubishi Electric Semiconductor Application Engineering Corporation be liable for any consequence arising from the use of this product.
• Mitsubishi Electric Semiconductor Application Engineering Corporation strives to cope with the issues given below at some charge or without charge. (1) Repairing or replacing a flawed product. There can be instances in which a product cannot be repaired if more than one year have passed since the
discontinuance of its marketing.
(2) Renovating or providing a workaround for product malfunction. This does not necessarily mean that Mitsubishi Electric Semiconductor Application
Engineering 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.
For inquiries about the contents of the product or this manual, email or fax using the "Technical Support Communication Sheet" included in the manual to your nearest Mitsubishi office or its distributor. When sending email, write the same items of the "Technical Support Communication Sheet".
Mitsubishi Tool Homepage http://www.tool-spt.maec.co.jp/index_e.htm
( 2 / 14 )
Page 6

Contents

1. Precautions for Safety........................................................................................................4
1.1 Safety Symbols and Meanings .............................................................................4
2. Introduction .......................................................................................................................6
2.1 Things to Check When Unpacking ......................................................................6
3. Specifications ....................................................................................................................7
4. How to Write the Program ................................................................................................8
4.1 Programming Procedures .....................................................................................8
4.2 Attaching Adapter to PROM Programmer...........................................................9
4.3 Inserting MCU into Programming Adapter .........................................................9
4.4 Precautions When Opening and Closing IC Socket...........................................10
4.5 Precautions When Handling Adapter.................................................................10
4.6 Setting Programming Area.................................................................................10
5. Recommended PROM Programmer................................................................................11
6. Memory Map ...................................................................................................................12
7. Troubleshooting...............................................................................................................13
7.1 Errors That Occur When Writing to ROM ........................................................13
7.1.1 When Newly Purchased.......................................................................13
7.1.2 Previously Written Normally...............................................................13
7.2 MCU Does Not Function Normally ...................................................................14
7.3 Other Precautions ...............................................................................................14
7.3.1 About the Recommended PROM Programmers..................................14
7.3.2 About Reading Out of Device Identification Code .............................14
To use the product properly
Precautions for Safety:
• In both this User's Manual and on the product itself, 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.
• The icons' graphic images and meanings are given in "Chapter 1. Precautions for Safety". Be sure to read this chapter before using the product.
( 3 / 14 )
Page 7

1. Precautions for Safety

In this instruction manual, 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.

1.1 Safety Symbols and Meanings

WARNING
CAUTION
IMPORTANT
In addition to the three above, the following are also used as appropriate.
If the requirements shown in the "WARNING" 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 WARNING or CAUTION.
Example: CAUTION AGAINST AN ELECTRIC SHOCK
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.
( 4 / 14 )
Page 8
WARNING
Warning for Handling This Product:
• 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
Cautions to Be Taken for This Product:
• Do not disassemble or modify this product. Personal injury due to electric shock may occur if this product is disassembled or modified.
•Use caution when handling this product. Be careful not to apply a mechanical shock such as falling etc.
• 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
• 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 instruction manual.
• Do not use the PROM programmer's device identification code readout function.
( 5 / 14 )
Page 9

2. Introduction

PCA7439 is a programming adapter for 8-bit microcomputers of 7200 Series. The adapter is a tool that can be used to write programs into internal PROM of microcomputers using a commercially available PROM programmer.
This manual describes the specifications and the operation of PCA7439. Figure 2.1 shows the external view of PCA7439 and its constituent parts.
Figure 2.1 External view of PCA7439 and its constituent parts

2.1 Things to Check When Unpacking

Each PCA7439 Package consists of following parts. Check to see that it contains all of the parts shown below.
Contents
•PCA7439 (Main unit) ..............................................x1
• PCA7414B (Interface) .............................................x1
• PCA7402E (Connector) ...........................................x1
• PCA7439 Instruction Manual (This manual)...........x1
If any part is missing or there is any doubt about your product package, contact your nearest office of Mitsubishi or its distributor.
( 6 / 14 )
Page 10

3. Specifications

Table 3.1 shows specifications of PCA7439.
Table 3.1 Specifications of PCA7439
MCU type
Operating clock frequency
Power supply IC socket
PCA7439
Board
configuration
PCA7414B
PCA7402E
7200 Series OTP packages (42P2R) M37221EAFP
4 MHz (Supplied by the ceramic oscillator mounted on PCA7439)
Supplied from Vcc of the PROM programmer IC51-0422-393 (Made by Yamaichi Electronics Co., Ltd.) Board to insert the programmable MCU
(IC socket for 42-pin QFP is mounted.) Interface board
(Connected by two standard-pitch 18-pin connectors and two standard-pitch 16-pin connectors to the upper and lower boards)
Board to connect to the PROM Programmer (Standard-pitch 32-pin pin-header is mounted.)
( 7 / 14 )
Page 11

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 (7) to write programs into the MCU.
(1) Read the program into the PROM programmer.
(2) Attach the adapter to the PROM programmer. (See Section 4.2)
(3) Insert the MCU into the adapter. (See Section 4.3)
(4) Specify the programming area of the MCU using the PROM programmer. (See Section 4.6) *
(5) Using the PROM programmer's erase check function, check whether data can be written into
the programming area of the MCU. *
2
(6) Write the program into the programming area of the MCU using the PROM programmer. *
(7) Verify the programming area of the MCU using the PROM programmer to check whether the
program is written into the MCU correctly. *
2
*1Be 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.
*2Some PROM programmers perform the steps (5) through (7) automatically.
1
2
( 8 / 14 )
Page 12

4.2 Attaching Adapter to PROM Programmer

As shown in Figure 4.1, attach the pin No. 1 of the PCA7402E PROM programmer connector (Standard-pitch 32-pin pin-header mounted) to the pin No. 1 of the IC socket of the PROM programmer.
Be careful when attaching the adapter because incorrect insertion can cause fatal damage to the MCU.
Figure 4.1 Attaching the adapter to the PROM programmer

4.3 Inserting MCU into Programming Adapter

(1) As shown in Figure 4.2, set the sliding lever to the right (the diagonally shaded square is printed
on the board).
(2) As shown in Figure 4.2, insert the MCU into the IC socket, with the pin No. 1 of the MCU matched
to the pin No. 1 of the IC socket on the PCA7439.
Be careful when inserting the MCU because incorrect insertion can cause fatal damage to the MCU.
Top view
Figure 4.2 Inserting the MCU
( 9 / 14 )
Page 13

4.4 Precautions When Opening and Closing IC Socket

When opening and closing the IC socket, hold the adapter horizontally as shown in Figure 4.3. Otherwise the inside of the IC socket may become damaged and cause an electrical insulation failure.
Side view
Figure 4.3 Holding the adapter in a horizontal position

4.5 Precautions When Handling Adapter

Don't 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.

4.6 Setting Programming Area

When writing the program into the MCU, be sure to set the programming area. And also, specify its device of the PROM programmer.
Examples of programming area settings are shown in Table 4.1 below.
Table 4.1 Programming areas
MCU type
OSD ROM area
M37221EAFP
Internal ROM area
MCU area
PROM programmer
Device name
M5M27C101
Programming area
10000
16 - 11FFF16
0600016 - 0FFFF16
Programming area
of the MCU
1000016 - 11FFF16 0600016 - 0FFFF16
( 10 / 14 )
Page 14

5. Recommended PROM Programmer

The PROM programmers listed in Table 5.1 are recommended for the adapter PCA7439. 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 type of PROM programmers, contact the manufacturer to confirm whether it can be used for your product.
Table 5.1 Recommended PROM programmers
Manufacturer
Advantest
Type name
R4944A
R4945
R4945A
Device name
M5M27C101 mode
Programming voltage (Vpp)
12.5 V
( 11 / 14 )
Page 15

6. Memory Map

Figure 6.1 shows memory maps of the MCU and the PROM programmer.
0000016
05FFF16 0600016
0FFFF16 1000016
Internal PROM area
(40K bytes)
0000016
Unused area
05FFF16 0600016
Programming area
0FFFF16 1000016
OSD ROM area
(8K bytes)
11FFF16 1200016
1FFFF16
MCU
(M37221EAFP)
Figure 6.1 Memory maps
OSD ROM area
11FFF16 1200016
Unused area
1FFFF16
PROM programmer
(Device type: M5M27C101)
( 12 / 14 )
Page 16

7. Troubleshooting

The table below summarizes errors to be checked carefully before you determine them to be a fault.

7.1 Errors That Occur When Writing to ROM

7.1.1 When Newly Purchased

Cause
Programming adapter
PROM programmer
Contact failure

7.1.2 Previously Written Normally

Cause
Programming adapter
PROM programmer
Remedy
Is the adapter attached to the correct position of the PROM programmer?
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.
Remedy
Is the adapter attached to the correct position of the PROM programmer?
Is the MCU attached to the correct position? Is the area specification set correctly? Is the correct device selected?
See page
9
9 10 10
-
See page
9
9 10 10
Contact failure
The IC socket of the PROM programmer may be stained. The socket needs replacing.
The PROM programmer connector at which the PROM programmer is contacted may be stained. Clean it with alcohol, etc.
-
-
( 13 / 14 )
Page 17

7.2 MCU Does Not Function Normally

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.

7.3 Other Precautions

7.3.1 About the 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 "5. Recommended PROM Programmers". 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 MCU used.
7.3.2 About Reading Out of 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).
1
( 14 / 14 )
Page 18

Technical Support Communication Sheet

To Distributor:
Date: / / (Month/Day/Year)
Contact Address
Company: Department: Name: Phone: Fax: E-mail:
1. Symptom: Fails blank check.
Cannot write a program. Fails verification.
Detail:
Product Information
Programming adapter: PCA7439 Serial number: Date of purchase: Target MCU:
2. How often does the problem occur?
3. When did the problem start to occur? Since purchase.
Used to work correctly.
Programmer
Advantest TR4943 Advantest R4944A Advantest R4945 Advantest R4945A Other
(Manufacturer: ) (Product name: )
Device
M5L2764 or 2764 M5L27128 or 27128 M5M27C256/A or 27256 M5M27C101 M5M28F101 Other ( )
( 1 / )
Loading...