NEC PG-FP4 User manual

Document No. U15260EJ3V1UM00 (3rd edition)
Date Published March 2003 N CP(K)
Printed in Japan
2001
User’s Manual
PG-FP4
Flash Memory Programmer

User’s Manual U15260EJ3V1UM
2
[MEMO]

User’s Manual U15260EJ3V1UM 3
PG-FP4 complies with the EMC protection requirements
WARNING
This is a ‘Class A’ (EN 55022: 1998) equipment. This equipment can cause radio
frequency noise when used in the residential area. In such cases, the user/operator of
the equipment may be required to take appropriate countermeasures under their own
responsibility.
EEDT-ST-001-11
CAUTION
This equipment should be handled like a CMOS semiconductor device. The user must
take all precautions to avoid build-up of static electricity while working with this
equipment. All test and measurement tool including the workbench must be grounded.
The user/operator must be grounded using the wrist strap. The connectors and/or
device pins should not be touched with bare hands.
EEDT-ST-004-10

User’s Manual U15260EJ3V1UM
4
EEPROM is a trademark of NEC Electronics Corporation
PC/AT is a trademark of International Business Machines Corporation.
Windows and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
Pentium is a trademark of Intel Corporation.
The information in this document is current as of February, 2003. The information is subject to
change without notice. For actual design-in, refer to the latest publications of NEC Electronics data
sheets or data books, etc., for the most up-to-date specifications of NEC Electronics products. Not
all products and/or types are available in every country. Please check with an NEC Electronics sales
representative for availability and additional information.
No part of this document may be copied or reproduced in any form or by any means without the prior
written consent of NEC Electronics. NEC Electronics assumes no responsibility for any errors that may
appear in this document.
NEC 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 NEC Electronics products listed in this document
or any other liability arising from the use of such products. No license, express, implied or otherwise, is
granted under any patents, copyrights or other intellectual property rights of NEC Electronics or others.
Descriptions of circuits, software and other related information in this document are provided for illustrative
purposes in semiconductor product operation and application examples. The incorporation of these
circuits, software and information in the design of a customer's equipment shall be done under the full
responsibility of the customer. NEC Electronics assumes no responsibility for any losses incurred by
customers or third parties arising from the use of these circuits, software and information.
While NEC Electronics endeavors to enhance the quality, reliability and safety of NEC Electronics products,
customers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely. To
minimize risks of damage to property or injury (including death) to persons arising from defects in NEC
Electronics products, customers must incorporate sufficient safety measures in their design, such as
redundancy, fire-containment and anti-failure features.
NEC Electronics products are classified into the following three quality grades: "Standard", "Special" and
"Specific".
The "Specific" quality grade applies only to NEC Electronics products developed based on a customer-
designated "quality assurance program" for a specific application. The recommended applications of an NEC
Electronics product depend on its quality grade, as indicated below. Customers must check the quality grade of
each NEC Electronics product before using it in a particular application.
"Standard": Computers, office equipment, communications equipment, test and measurement equipment, audio
and visual equipment, home electronic appliances, machine tools, personal electronic equipment
and industrial robots.
"Special": 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, life
support systems and medical equipment for life support, etc.
The quality grade of NEC Electronics products is "Standard" unless otherwise expressly specified in NEC
Electronics data sheets or data books, etc. If customers wish to use NEC Electronics products in applications
not intended by NEC Electronics, they must contact an NEC Electronics sales representative in advance to
determine NEC Electronics' willingness to support a given application.
(Note)
(1) "NEC Electronics" as used in this statement means NEC Electronics Corporation and also includes its
majority-owned subsidiaries.
(2) "NEC Electronics products" means any product developed or manufactured by or for NEC Electronics
(as defined above).
•
•
•
•
•
•
M8E 02. 11-1

User’s Manual U15260EJ3V1UM 5
Regional Information
• Device availability
• Ordering information
• Product release schedule
• Availability of related technical literature
• Development environment specifications (for example, specifications for third-party tools and
components, host computers, power plugs, AC supply voltages, and so forth)
• Network requirements
In addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary
from country to country.
NEC Electronics America, Inc. (U.S.)
Santa Clara, California
Tel: 408-588-6000
800-366-9782
Fax: 408-588-6130
800-729-9288
NEC Electronics Hong Kong Ltd.
Hong Kong
Tel: 2886-9318
Fax: 2886-9022/9044
NEC Electronics Hong Kong Ltd.
Seoul Branch
Seoul, Korea
Tel: 02-528-0303
Fax: 02-528-4411
NEC Electronics Shanghai, Ltd.
Shanghai, P.R. China
Tel: 021-6841-1138
Fax: 021-6841-1137
NEC Electronics Taiwan Ltd.
Taipei, Taiwan
Tel: 02-2719-2377
Fax: 02-2719-5951
NEC Electronics Singapore Pte. Ltd.
Novena Square, Singapore
Tel: 6253-8311
Fax: 6250-3583
J02.11
NEC Electronics (Europe) GmbH
Duesseldorf, Germany
Tel: 0211-65 03 01
Fax: 0211-65 03 327
•Sucursal en España
Madrid, Spain
Tel: 091-504 27 87
Fax: 091-504 28 60
Vélizy-Villacoublay, France
Tel: 01-30-67 58 00
Fax: 01-30-67 58 99
•Succursale Française
•Filiale Italiana
Milano, Italy
Tel: 02-66 75 41
Fax: 02-66 75 42 99
•Branch The Netherlands
Eindhoven, The Netherlands
Tel: 040-244 58 45
Fax: 040-244 45 80
•Tyskland Filial
Taeby, Sweden
Tel: 08-63 80 820
Fax: 08-63 80 388
•United Kingdom Branch
Milton Keynes, UK
Tel: 01908-691-133
Fax: 01908-670-290
Some information contained in this document may vary from country to country. Before using any NEC
Electronics product in your application, pIease contact the NEC Electronics office in your country to
obtain a list of authorized representatives and distributors. They will verify:

User’s Manual U15260EJ3V1UM
6
MAJOR REVISIONS IN THIS EDITION (1/2)
Page Contents
Throughout Change of URL of NEC Electronics Corporation.
pp.18 to 21 CHAPTER 2 HARDWARE INSTALLATION
•
••
•Addition of operating software Windouws 2000 and Windows XP
p.18 2.1 System Requirements
•
••
•Change from “PC-9821 series”to “PC-9800 series”
p.20 2.3.2 PG-FP4 control panel and connectors
•
••
•Change of status LED color from yellow to orange
pp.22 to 23 Addition of 2.3.9 I2C adapter
pp.27, 31 to 33 3.1.1 GUI software installation
•
••
•Change of Figure 3-6 Software License Agreement Window
•
••
•Change of Figure 3-12 Setup Is Complete Window
•
••
•Change of name of file to be installed.
p.33 Addition of 3.1.2 USB driver installation
p.38 3.1.3 GUI software uninstallation
•
••
•Addition of (2) uninstallation using “Add/Remove Programs“
p.39 3.2 Firmware and GUI Software Update Installation
•
••
•Addition of procedures to update firmware
p.43 Change of Figure 4-3 GUI Software Main Window
p.44 Addition of [Programmer] −[Select Programming area…] button to Table 4-1 Toolbar Buttons
pp.52 to 54 4.4.2 [Programmer] menu
•
••
•Addition of icon to (3) [Select Programming area…] menu
•
••
•Addition of (5) [Update Firmware] menu
pp.55 to 71 4.4.3 [Device] menu
•
••
•Change of Figure 4-19 [Device] menu
•
••
•(2) to (7) Addition and change of description
•
••
•(9) (b) to (c) Addition and change of description
p.70 Change of Figure 4-32 About Window
pp.72 to 81 CHAPTER 5 SAMPLE PROGRAMMING SESSION USING GUI SOFTWARE
•
••
•(4) to (8) Addition and change of description
pp.83, 84, 89 CHAPTER 6 PG-FP4 OPERATION IN STANDALONE MODE
•
••
•Change of status LED color from yellow to orange
•
••
•6.1.1 [Commands] menu Addition to Note and addition of Note 3
•
••
•6.1.5 [Utilitiy/Misc.] menu Addition of [PRM File Version] and [HEX File Name]
pp.90 to 94 CHAPTER 7 CONNECTORS AND CABLES
•
••
•Addition of description about power supply connector, HD-Sub 9 serial host connector, HD-Sub 15 target
interface connector and HD-Sub 25 parallel host connector.
•
••
•Change of 7.4 Target Cable Specifications
pp.97 to 100 CHAPTER 8 NOTES ON TARGET SYSTEMS
•
••
•Change of example of correct connection regarding RESET signal
•
••
•Addition of description about VPP
•
••
•Addition of examples of UART and SIO interface circuits
The mark shows major revised points.

User’s Manual U15260EJ3V1UM 7
MAJOR REVISIONS IN THIS EDITION (2/2)
Page Contents
pp.101 to 105 CHAPTER 9 TARGET SYSTEM INTERFACE CIRCUITS
•
••
•Change of 9.1 SO/TxD and RESET
•
••
•Addition of 9.2 SCK
•
••
•Change of Figure 9-3 SI/RxD and HS Pins
•
••
•Addition of 9.6 VDD, VDD2
•
••
•Addition of 9.7 VPP
pp.108 to 115 CHAPTER 10 ERROR MESSAGES
•
••
•10.2 GUI Software Fatal Error Messages Addition of F129, F410, F411, F412 and F413
•
••
•10.3 GUI Software Error Messages Addition of E201, E307, E316, E317, E805, E901, E903, E907 and
E908
•
••
•10.4 GUI Software Information Messages Addition of I202, I805, I905, I906, I907, I911, I912, I913, I914,
I915, I916, I917 and I918
p.116 Addition of APPENDIX A REVISION HISTORY
The mark shows major revised points.

User’s Manual U15260EJ3V1UM
8
PREFACE
Target Readers This manual is intended for users who use the PG-FP4 when designing and
developing a system using an NEC Electronics on-chip flash memory
microcontroller.
Purpose This manual is intended to give users an understanding of the basic specifications
and correct use of the PG-FP4.
By using the PG-FP4, programs can be easily erased from or written to the flash
memory of an NEC Electronics on-chip flash memory microcontroller, or can be
verified on WindowsTM screens, while the microcontroller is mounted on the user
board.
Organization This manual includes the following sections.
•Overview
•Hardware installation
•Software installation
•PG-FP4 operation using GUI software
•Sample programming session using GUI software
•PG-FP4 operation in standalone mode
•Connectors and cables
•Notes on target system
•Target system interface circuits
•Error messages
How to Read This Manual To understand the overall functions and usage of the PG-FP4, read this manual in
the order of the CONTENTS.
Be sure to read CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE
because this chapter presents important information for using the PG-FP4.
It is assumed that the readers of this manual have general knowledge of electricity,
logic circuits, and microcontrollers.
In the explanations of the operation of the applications, it is also assumed that the
readers have sufficient knowledge of Windows.
For the usage and terminology of Windows 95, Windows 98, Windows NTTM,
Windows Me, Windows 2000, and Windows XP, refer to each Windows manual.
Conventions Note: Footnote for item marked with Note in the text.
Caution: Information requiring particular attention
Remark: Supplementary information
Numeral representation: Binary … ×××× or ××××B
Decimal … ××××
Hexadecimal … 0××××H or ××××H
“ ”: Any character or item on screen
OK : Name of button
[]: Menu
< >: Dialog box name

User’s Manual U15260EJ3V1UM 9
Terminology The meanings of the terms used in this manual are as follows.
Term Meaning
FP4 Abbreviation of flash memory programmer PG-FP4
GUI software Windows application to operate PG-FP4 using GUI software
Target device NEC Electronics on-chip flash memory microcontroller
Target system User-designed board on which NEC Electronics on-chip flash
memory microcontroller is mounted
FA adapter Adapter board to write programs to NEC Electronics on-chip flash
memory microcontrollerNote
Note The FA adapter board is a product of Naito Densei Machida Mfg. Co., Ltd.
If you have any questions about the FA adapter board, contact:
Naito Densei Machida Mfg. Co., Ltd. Tel: +81-45-475-4191

User’s Manual U15260EJ3V1UM
10
CONTENTS
CHAPTER 1 OVERVIEW ..........................................................................................................................16
1.1 Features .....................................................................................................................................16
1.2 PG-FP4 Configuration in Graphical User Interface (GUI) Mode ...........................................16
CHAPTER 2 HARDWARE INSTALLATION............................................................................................18
2.1 System Requirements...............................................................................................................18
2.2 Package Contents .....................................................................................................................18
2.3 System Configuration and Components ................................................................................19
2.3.1 Host computer ................................................................................................................................19
2.3.2 PG-FP4 control panel and connectors ...........................................................................................20
2.3.3 Target system.................................................................................................................................21
2.3.4 Power supply ..................................................................................................................................21
2.3.5 RS-232C host connection...............................................................................................................21
2.3.6 Parallel host connector ...................................................................................................................21
2.3.7 USB port .........................................................................................................................................22
2.3.8 Target cable....................................................................................................................................22
2.3.9 I2C adapter......................................................................................................................................22
CHAPTER 3 SOFTWARE INSTALLATION ............................................................................................24
3.1 Graphical User Interface...........................................................................................................24
3.1.1 GUI software installation.................................................................................................................24
3.1.2 USB driver installation ....................................................................................................................33
3.1.3 GUI software uninstallation.............................................................................................................38
3.2 Firmware and GUI Software Update Installation ....................................................................39
3.2.1 Firmware update installation...........................................................................................................40
CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE ............................................................41
4.1 Introduction ...............................................................................................................................41
4.2 Starting up the GUI Software ...................................................................................................42
4.3 Toolbar .......................................................................................................................................44
4.4 Menus .........................................................................................................................................44
4.4.1 [File] menu......................................................................................................................................44
4.4.2 [Programmer] menu........................................................................................................................51
4.4.3 [Device] menu.................................................................................................................................55
4.4.4 [Help] menu ....................................................................................................................................70
CHAPTER 5 SAMPLE PROGRAMMING SESSION USING GUI SOFTWARE..................................71
CHAPTER 6 PG-FP4 OPERATION IN STANDALONE MODE ...........................................................82
6.1 PG-FP4 Operation Menu ...........................................................................................................83
6.1.1 [Commands] menu .........................................................................................................................83
6.1.2 [Type Setting] menu .......................................................................................................................85
6.1.3 [Option Setting] menu.....................................................................................................................86
6.1.4 [Voltage Setting] menu ...................................................................................................................88
6.1.5 [Utility/Misc.] menu .........................................................................................................................89

User’s Manual U15260EJ3V1UM 11
CHAPTER 7 CONNECTORS AND CABLES.........................................................................................90
7.1 Power Supply Connector .........................................................................................................90
7.2 HD-Sub 9 Serial Host Connector .............................................................................................91
7.2.1 RS-232C cable (crossed) ............................................................................................................... 91
7.3 HD-Sub 15 Target Interface Connector...................................................................................92
7.4 Target Cable Specifications.....................................................................................................93
7.5 Parallel Host Connector ...........................................................................................................95
7.6 USB Port ....................................................................................................................................96
CHAPTER 8 NOTES ON TARGET SYSTEMS .....................................................................................97
CHAPTER 9 TARGET SYSTEM INTERFACE CIRCUITS..................................................................101
9.1 SO/TxD, RESET .......................................................................................................................101
9.2 SCK...........................................................................................................................................102
9.3 SI/RxD, HS................................................................................................................................103
9.4 CLK...........................................................................................................................................103
9.5 FLMD0, FLMD1 ........................................................................................................................104
9.6 VDD, VDD2 ..................................................................................................................................104
9.7 VPP ...........................................................................................................................................105
CHAPTER 10 ERROR MESSAGES......................................................................................................106
10.1 Error Messages of PG-FP4 in Standalone Mode..................................................................106
10.2 GUI Software Fatal Error Messages ......................................................................................108
10.3 GUI Software Error Messages................................................................................................111
10.4 GUI Software Information Messages ....................................................................................114
APPENDIX A REVISION HISTORY ......................................................................................................116

User’s Manual U15260EJ3V1UM
12
LIST OF FIGURES (1/3)
Figure No. Title Page
1-1 PG-FP4 Configuration in GUI Software Mode............................................................................................. 16
2-1 PG-FP4 System Configuration .................................................................................................................... 19
2-2 PG-FP4 Top View ....................................................................................................................................... 20
2-3 PG-FP4 Target Interface/Power/Serial Host Connectors............................................................................ 20
2-4 PG-FP4 Parallel Host Connector/USB Port Interface.................................................................................. 21
2-5 Connection Diagram.................................................................................................................................... 22
2-6 I2C Adapter .................................................................................................................................................. 22
2-7 Connection Diagram When Using I2C Adapter............................................................................................ 23
3-1 Initial Status of Setup Screen ...................................................................................................................... 24
3-2 <Japanese/English Selection> Dialog Box.................................................................................................. 25
3-3 Setup Preparation ....................................................................................................................................... 25
3-4 Welcome Window........................................................................................................................................ 25
3-5 Setup Type Selection Window .................................................................................................................... 26
3-6 Software License Agreement Window ........................................................................................................ 27
3-7 Installation Start Window............................................................................................................................. 28
3-8 Choose Folder Window ............................................................................................................................... 29
3-9 Select Program Folder Window................................................................................................................... 30
3-10 Start Copying Files Window ........................................................................................................................ 30
3-11 Installation Progress Window...................................................................................................................... 31
3-12 Setup Is Complete Window ......................................................................................................................... 31
3-13 Program Folder After Installation................................................................................................................. 32
3-14 When Connection of PG-FP4 to USB Port Is Detected............................................................................... 33
3-15 Welcome to the Found New Hardware Wizard Window.............................................................................. 34
3-16 Install New Hardware Wizard Window ........................................................................................................ 34
3-17 Locate Driver Files Window......................................................................................................................... 35
3-18 Window for Specifying Driver Files to Be Copied 1..................................................................................... 35
3-19 Locate File Window..................................................................................................................................... 36
3-20 Window for Specifying Driver Files to Be Copied 2..................................................................................... 36
3-21 Driver Files Search Results Window ........................................................................................................... 37
3-22 Completing the Found New Hardware Wizard Window .............................................................................. 37
3-23 Add/Remove Programs Window ................................................................................................................. 38
3-24 Warning About Old GUI Software Version .................................................................................................. 39
3-25 Warning About Old Firmware Version......................................................................................................... 39
3-26 Firmware Update Complete Message......................................................................................................... 40
3-27 [Update Firmware] Menu............................................................................................................................. 40
4-1 Fatal Error: No Parameter File Installed...................................................................................................... 41
4-2 Port Scanning at Startup of GUI Software................................................................................................... 42
4-3 GUI Software Main Window ........................................................................................................................ 43
4-4 [File] Menu................................................................................................................................................... 44
4-5 HEX Editor File Open Window .................................................................................................................... 45

User’s Manual U15260EJ3V1UM 13
LIST OF FIGURES (2/3)
Figure No. Title Page
4-6 HEX Editor Main Window.............................................................................................................................46
4-7 HEX Editor <Save As...> Dialog Box ...........................................................................................................47
4-8 File Selection Window for Program Download.............................................................................................48
4-9 File Selection Window for Program Upload .................................................................................................49
4-10 Checksum Dialog Box..................................................................................................................................50
4-11 [Programmer] Menu .....................................................................................................................................51
4-12 <Host Connection> Dialog Box ....................................................................................................................51
4-13 <Log File> Dialog Box..................................................................................................................................52
4-14 Programming Area Selection .......................................................................................................................52
4-15 Firmware Update Window............................................................................................................................53
4-16 Select a File to Download Window...............................................................................................................53
4-17 Progress Status Display Window.................................................................................................................54
4-18 Firmware Update Complete Message..........................................................................................................54
4-19 [Device] Menu ..............................................................................................................................................55
4-20 Device Setup Window – Standard Menu .....................................................................................................58
4-21 Setup Window – Device Selection ...............................................................................................................59
4-22 Create New Customized Setup File Window ...............................................................................................60
4-23 Setup Window – Communication Interface to Device ..................................................................................61
4-24 Setup Window-Supply Oscillator..................................................................................................................63
4-25 Setup Window – Operation Mode ................................................................................................................64
4-26 Device Setup Window – Advanced ..............................................................................................................65
4-27 Setup Window – Supply Voltage..................................................................................................................66
4-28 Setup Window – Command Options ............................................................................................................67
4-29 Setup Window – Security Flag Settings .......................................................................................................68
4-30 Setup Window – Program Download/Upload...............................................................................................69
4-31 [Help] Menu..................................................................................................................................................70
4-32 About Window..............................................................................................................................................70
5-1 Connection Between GUI Software and PG-FP4.........................................................................................72
5-2 [Setup host connection…] Menu..................................................................................................................72
5-3 Setup Communication Parameters ..............................................................................................................73
5-4 GUI Software Initial Screen..........................................................................................................................73
5-5 [Device] →[Setup…] Menu..........................................................................................................................74
5-6 <Standard Device Setup> Dialog Box..........................................................................................................74
5-7 Creating New Customized Setup File ..........................................................................................................75
5-8 Selecting Parameter File..............................................................................................................................75
5-9 Saving Customized Setup File.....................................................................................................................75
5-10 <Advanced Device Setting> Dialog Box ......................................................................................................77
5-11 Completion of Parameter Settings ...............................................................................................................78
5-12 Opening Program File to Be Downloaded....................................................................................................79
5-13 Completion of Downloading .........................................................................................................................79
5-14 Erase>Program>Verify (EPV) Menu ............................................................................................................80

User’s Manual U15260EJ3V1UM
14
LIST OF FIGURES (3/3)
Figure No. Title Page
6-1 Menu Status Transition by Key Input .......................................................................................................... 82
7-1 Power Supply Connector............................................................................................................................. 90
7-2 Pin Configuration of Power Supply Connector ............................................................................................ 90
7-3 HD-Sub 9 Serial Host Connector ................................................................................................................ 91
7-4 Pin Configuration of HD-Sub 9 Serial Host Connector ............................................................................... 91
7-5 Host Cable Connections.............................................................................................................................. 91
7-6 HD-Sub 15 Target Interface Connector....................................................................................................... 92
7-7 Pin Configuration of HD-Sub 15 Target Interface Connector ...................................................................... 92
7-8 Target Cable Outline ................................................................................................................................... 93
7-9 Pin Configuration of HD-SUB 15 ................................................................................................................. 93
7-10 Target Connector Outline (View from Solder Side) ..................................................................................... 93
7-11 HD-Sub 25 Parallel Host Connector............................................................................................................ 95
7-12 Pin Configuration of HD-Sub 25 Parallel Host Connector ........................................................................... 95
7-13 USB Port Connector.................................................................................................................................... 96
8-1 UART Interface Circuit Example ............................................................................................................... 100
8-2 SIO Interface Circuit Example ................................................................................................................... 100
9-1 SO/TxD and RESET Pins.......................................................................................................................... 101
9-2 SCK Pin..................................................................................................................................................... 102
9-3 SI/RxD and HS Pins .................................................................................................................................. 103
9-4 CLK Pin ..................................................................................................................................................... 103
9-5 FLMD0 and FLMD1 Pins........................................................................................................................... 104
9-6 VDD and VDD2 Pins ..................................................................................................................................... 104
9-7 VPP Pin....................................................................................................................................................... 105

User’s Manual U15260EJ3V1UM 15
LIST OF TABLES
Table No. Title Page
4-1 Toolbar Buttons............................................................................................................................................44
4-2 Key Functions That Can Be Input in HEX Editor Window............................................................................47
7-1 Pin Configuration of HD-Sub 9 Serial Host Connector.................................................................................91
7-2 Pin Configuration of HD-Sub 15 Target Interface Connector.......................................................................92
7-3 Pin Configuration of Target Connector.........................................................................................................93
7-4 Pin Configuration of HD-Sub 25 Parallel Host Connector............................................................................95

User’s Manual U15260EJ3V1UM
16
CHAPTER 1 OVERVIEW
The PG-FP4 is a tool that erases, writes, and verifies programs on an NEC Electronics on-chip flash memory
single-chip microcontroller on the target board or FA adapter board. This product can be used in graphical user
interface (GUI) mode using a host computer or in standalone mode.
1.1 Features
•The PG-FP4 allows on-board programming without removing the target device from the target system.
•The user program is stored in the internal 2 MB flash memory of the PG-FP4 and parameters for programming
are stored in 8 KB EEPROMTM, so that the target device can be rewritten in the standalone mode, without having
to connect the PG-FP4 to a host.
•Serial interface connection (RS-232C) to host systems, parallel interface for optional fast program download and
a USB interface are available.
•CSI, CSI+HS, UART, I2C and PORT interfaces are supported for data transfer to the target device.
•Programming voltage VPP can be selected from between 0 and 12 V.
•The PG-FP4 can supply 0 to 6 V on the VDD line (200 mA max.).
1.2 PG-FP4 Configuration in Graphical User Interface (GUI) Mode
The configuration of the PG-FP4 in GUI software mode is shown in the diagram below.
Figure 1-1. PG-FP4 Configuration in GUI Software Mode
(FlashPro4
)
PG-FP4
Cancel
Enter
Next
Store in
EEPROM
1 MB
1 MB
Logfile
INI file
GUI software
operation USB/
RS-232C
Upload/download a target program
into PG-FP4 PRM file
SET file
Device parameter setup
Calculate
checksum
Hex Editor to modify
memory contents
•On-board programming
•FA adapter programming
Paralle Host USB Host
Device Power
+ - Serial Host
Use as one storage area o
r
split into two areas

CHAPTER 1 OVERVIEW
User’s Manual U15260EJ3V1UM 17
The graphical user interface (GUI) of the PG-FP4 supports the device commands necessary for downloading and
uploading user programs, setting parameters necessary for writing the device, setting and selecting a writing
environment by the user, changing the user program downloaded to the PG-FP4, and calculating and rewriting the
memory checksum.
The parameters necessary for writing the device are saved to a parameter file (PRM file) and the setting of the
user’s writing environment is saved to a customized setup file (SET file). These files are downloaded to the PG-FP4
and stored in the internal EEPROM, so that the downloaded data can be used even in the standalone mode. The GUI
software is executed using the parameters that have been set last. Changed settings are saved to an INI file.
Communication between the GUI software and the PG-FP4 is recorded in an ASCII file.
The internal memory of the PG-FP4 is configured as a 2 MB flash memory and holds the user program that is
written to the target device. This memory’s area (progarea) can be divided into two 1 MB memory areas. Therefore,
the PG-FP4 can download two different user programs and select either of them as the valid user program.

User’s Manual U15260EJ3V1UM
18
CHAPTER 2 HARDWARE INSTALLATION
2.1 System Requirements
Host PC A PC supporting Windows 95, Windows 98, Windows NT 4.0, Windows Me, Windows 2000, or
Windows XP is required to run the PG-FP4 in the graphical user interface (GUI) mode.
About 8 MB of free hard disk space is required to install the GUI software.
Host machine Any of the following can be used:
•
••
•PC-9800 series
•
••
•PC-98NX series
•
••
•IBM PC/ATTM or compatible
CPU
PentiumTM 100 MHz or more
RAM
32 MB or more
Host interface Serial interface (RS-232C) capable of handling communication at 9,600 (minimum) baud up to
115,200 baud.
A parallel port may be used in addition to the serial interface to enable fast data download to
the PG-FP4.
Alternatively, a USB port (Rev 1.1) is available.
File formats Program files can be used in Motorola S file format or Intel HEX file format.
2.2 Package Contents
Please verify that you have received all the parts listed in the package contents list included with the PG-FP4
package. If any part is missing or seems to be damaged, please contact an NEC Electronics sales representative or
distributor.

CHAPTER 2 HARDWARE INSTALLATION
User’s Manual U15260EJ3V1UM 19
2.3 System Configuration and Components
The PG-FP4 system configuration is as given in the diagram below.
Figure 2-1. PG-FP4 System Configuration
RS-232C cable (cross)
FA adapterNote 2
or
User system
AC adapter (15 V/1 A)
Parallel interface cableNote 1
USB interface cable Target cable
Host machine
Notes 1. The parallel interface cable is not included in the PG-FP4 package.
2. The FA adapter board is a product of Naito Densei Machida Mfg. Co., Ltd.
The PG-FP4 is connected to the host system via an RS-232C serial interface cable or a USB interface cable. By
using the serial interface in combination with the optional parallel interface, the user program can be quickly
downloaded to the PG-FP4.
The PG-FP4 is connected to the user system by the target cable. For the detailed specifications of the target cable,
refer to CHAPTER 7 CONNECTORS AND CABLES.
2.3.1 Host computer
A PC is used to communicate with the PG-FP4. Windows 95, Windows 98, Windows NT, Windows Me, Windows
2000, or Windows XP is required for GUI software operation of the PG-FP4.
It also must be equipped with a serial interface or a USB port. An optional parallel interface may be used for fast
program download to the PG-FP4.
Remark USB support is not available on Windows 95 and Windows NT.

CHAPTER 2 HARDWARE INSTALLATION
User’s Manual U15260EJ3V1UM
20
2.3.2 PG-FP4 control panel and connectors
Figure 2-2. PG-FP4 Top View
The control buttons are used in the standalone mode of the PG-FP4.
Next button Proceeds to the next menu item in sequence.
Enter button Selects the item shown in the message display.
Cancel button Cancels the current selection and returns to the previous menu item.
Message display A 16 ×2-character LCD display indicates the operating mode. It is mainly used for the PG-
FP4’s standalone mode.
Status LED The LED shows the PG-FP4 operating status, indicated by the colors green for OK, red for
Error or orange for Operating.
(1) PG-FP4 connectors
The serial host connector, the target interface connector and the power connector are located on the right side
of the PG-FP4.
Figure 2-3. PG-FP4 Target Interface/Power/Serial Host Connectors
<Right side of PG-FP4>
Serial host
connector
Power
connector
Target interface
connector
Parallel host
connector
USB port
Message
display
Control
buttons
Status LED
Table of contents
Other NEC Motherboard manuals

NEC
NEC PG-FPL User manual

NEC
NEC 78K0R - Save It! User manual

NEC
NEC MultiSync P521 User manual

NEC
NEC MultiSync X551UN User manual

NEC
NEC uPD168804 User manual

NEC
NEC POWERMATE ES Series User manual

NEC
NEC 78K0R - Save It! User manual

NEC
NEC PG-FPL3 User manual

NEC
NEC AB-050-FX3-U User manual

NEC
NEC MultiSync X462HB User manual

NEC
NEC PowerMate ES SlimLine Series Quick guide

NEC
NEC K0RE81 User manual

NEC
NEC EV-K0-HCD Instructions for use

NEC
NEC IE-703081-MC-EM1 User manual

NEC
NEC QB-MINI2-EE User manual

NEC
NEC PG-FPL2 User manual

NEC
NEC PowerMate CT User manual

NEC
NEC IE-78K0-NS-P04 User manual

NEC
NEC 78K0R/L 3 Sense it! Series User manual