Free English NEC PG-FP4 (01) PDF document. Download the PDF, use the online viewer, or browse the FAQs for easy troubleshooting.
CLICK HERE TO DOWNLOAD NEC PG-FP4 (01) PDF DOCUMENT
If this is not the document you want for this product, click here to see if we have any other documents for this product.
What safety precautions should I take when handling the NEC PG-FP4?
You should observe the following safety precautions when using the NEC PG-FP4:
WARNING: The NEC PG-FP4 is a ‘Class A’ (EN 55022: 1998) equipment. This equipment can cause radio frequency noise when used in a residential area. In such cases, the user/operator may be required to take appropriate countermeasures under their own responsibility.
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 tools, including the workbench, must be grounded. The user/operator must be grounded using a wrist strap. The connectors and/or device pins should not be touched with bare hands.
What are the main features of the NEC PG-FP4 Flash Memory Programmer?
The NEC PG-FP4 has the following features:
• 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 EEPROM, so that the target device can be rewritten in standalone mode without connecting 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, I²C 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.).
What are the system requirements for using the NEC PG-FP4 with a host PC?
To use the NEC PG-FP4 in graphical user interface (GUI) mode, the following system requirements must be met:
Host PC: A PC supporting Windows 95, Windows 98, Windows NT 4.0, Windows Me, Windows 2000, or Windows XP. About 8 MB of free hard disk space is required to install the GUI software.
Host machine:
• PC-9800 series
• PC-98NX series
• IBM PC/AT™ or compatible
CPU: Pentium™ 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. (Note: USB support is not available on Windows 95 and Windows NT.)
File formats: Program files can be used in Motorola S file format or Intel HEX file format.
How do I use the control buttons and what do the LEDs indicate on the NEC PG-FP4?
The control buttons are used in the standalone mode of the NEC 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
• Orange for Operating
How do I install the GUI software for the NEC PG-FP4?
Follow these steps to install the GUI software for the NEC PG-FP4:
1. Insert the installation CD-ROM into your CD-ROM drive. The setup screen will open automatically.
2. Click on “Install PG-FP4 GUI”. This will execute SETUP.EXE.
3. During initialization, a progress bar will appear. A welcome screen will appear shortly after.
4. Click “Next >” to continue.
5. In the Setup Type Selection Window, choose your language (English or Japanese) and click “Next >”.
6. Read the Software License Agreement. Click “Accepted” to continue. Clicking “Not accepted” will terminate the installation.
7. The “Choose Destination Location” window will appear. You can accept the default folder or click “Browse…” to select a different one. Click “Next >” to proceed.
8. The “Select Program Folder” window will appear. You can accept the default program group (NEC Tools32) or change it. Click “Next >”.
9. A summary of the selected settings will be displayed. Click “Next >” to start copying the files.
10. An installation progress window will show the status. When the installation is complete, the “Setup is complete” window will appear.
11. You can check the “view README.TXT” box to view the file. Click “Finish” to exit the installation.
The installation process is now complete. A new program folder will be created containing the GUI software and an uninstaller icon.
How do I install the USB driver for the NEC PG-FP4?
When the NEC PG-FP4 is connected via the USB interface for the first time on Windows 98, Me, 2000, or XP, the Found New Hardware Wizard will start automatically. Follow these steps:
1. When the “Welcome to the Found New Hardware Wizard” window appears, click “Next >”.
2. In the “Install New Hardware Wizard” window, select “Search for a suitable driver for my device [recommended]” and click “Next >”.
3. In the “Locate Driver Files” window, check “Specify a location” and click “Next >”.
4. A window will appear asking you to specify the driver location. Click “Browse…” and navigate to the drivers directory created during the GUI software installation (e.g., C:\…\NECTools32\PG-FP4\drivers).
5. Select the file “usbiowiz.inf” and click “Open”.
6. Click “OK” in the window specifying the copy source.
7. The wizard will find the driver. The “Driver Files Search Results” window will appear, showing the path to the driver. Click “Next >” to start the installation.
8. When the installation is finished, the “Completing the Found New Hardware Wizard” window will appear. Click “Finish”.
The USB driver is now installed, and the NEC PG-FP4 is ready to communicate using the USB port.
How do I uninstall the NEC PG-FP4 GUI software?
You can uninstall the NEC PG-FP4 GUI software using one of two methods:
Method 1: Using the “PG-FP4 unInst” icon
Click the “PG-FP4 unInst” icon located in the program folder created during installation. This will start the uninstallation procedure. All installed files will be removed except for parameter files (.PRM) and customized setup files (.SET).
Method 2: Using “Add/Remove Programs”
1. Open the Windows Control Panel and start “Add/Remove Programs”.
2. Select “PG-FP4” from the list of currently installed programs.
3. Click “Change/Remove” to start the uninstallation.
Similar to the first method, all files installed during setup will be removed except for your .PRM and .SET files.
How do I update the firmware on my NEC PG-FP4?
To ensure proper operation, it is mandatory that the correct firmware version is available on the NEC PG-FP4. Follow this procedure:
1. First, upgrade the GUI software to the latest version.
2. Download the new firmware file (e.g., FP4_VUP_xxxx.REC) onto your PC’s hard disk.
3. Start the new GUI software. If the firmware is not the latest, a warning message will be displayed.
You can update the firmware in two ways:
(1) From the warning message:
• In the firmware update warning message, click the “Yes” button.
• A “File open” dialog box will appear. Select the firmware update program file (FP4_VUP_xxxx.REC) you downloaded.
• The download will begin, and a progress indicator will be shown.
• When the update is complete, a message will appear. The PG-FP4 is now ready for operation.
(2) From the menu bar:
• In the GUI software, go to the menu bar and select [Programmer] -> [Update Firmware].
• The firmware update warning dialog box will open.
• Follow the steps from the “From the warning message” section above.
How do I start up and connect the NEC PG-FP4 for GUI software operation?
Follow these steps for system connection and software startup:
1. **System Connection:**
• Before starting, ensure you have downloaded and installed the required parameter file (.PRM) for your target device into the PRM folder of your software installation.
• Connect the supplied RS-232C cable or USB cable from the NEC PG-FP4 to the computer.
• After connecting the cable, switch the PG-FP4 on. A correctly started unit will show ‘Commands >’ on the message display, and the status LED will be off.
2. **GUI Software Startup:**
• Start the PG-FP4 GUI software by running FP4.EXE or clicking its shortcut.
• The software will attempt to establish a connection. If it’s the first time or if no FP4.INI file exists, it will scan COM ports 1 to 6 at various baud rates and then the USB port to find the PG-FP4.
• You can interrupt this scanning by clicking ABORT and manually selecting the communication parameters from the [Programmer] -> [Setup host connection…] menu.
Once communication is established, the GUI software main window will appear.
What are the functions of the toolbar buttons in the NEC PG-FP4 GUI software?
The toolbar provides quick access to the most important procedures of the NEC PG-FP4:
| Button | Function | Button | Function |
|---|---|---|---|
| Setup | [Device] – [Setup…] button | Erase | [Device] – [Erase] button |
| Download | [File] – [Download…] button | Program | [Device] – [Program] button |
| Upload | [File] – [Upload…] button | Verify | [Device] – [Verify] button |
| Hex Editor | [Hex Editor …] button | EPV | Device Erase → Program → Verify (Autoprocedure (EPV)) button |
| Blank Check | [Device] – [Blank check] button (Note: Enabled only for single-power-supply flash memory microcontrollers) | Select Prog Area | [Programmer] − [Select Programming area…] button |
How do I perform a sample programming session with the NEC PG-FP4?
This sample session uses a µPD70F3025A as the target device. The goal is to set up the environment and program the device using the EPV (Erase-Program-Verify) command.
1. Install GUI Software: If not already installed, install the PG-FP4 GUI software.
2. Install Parameter File: Download the parameter file for µPD70F3025A and copy it into the `
3. Connect System:
• Connect the PG-FP4 to the computer with the RS-232C cable.
• Connect the AC adapter to the PG-FP4 and to main power.
4. Starting System:
• Turn on the power supply. The PG-FP4 LCD should display ‘Commands >’.
• Connect the PG-FP4 to the target system (e.g., an FA adapter) with the target cable.
• Start the GUI software. It will attempt to connect. If needed, manually select the correct COM port via [Programmer] -> [Setup host connection…].
5. Programming Environment Setting:
• Select [Device] -> [Setup…] from the menu bar.
• In the “Properties” dialog box, click the “New…” button to create a new customized setup file.
• In the “New…” window, select “70F3025A.PRM” from the “Parameter file” dropdown list.
• Enter a name for the new setup file and click “Save”.
• On the “Standard” tab, configure the settings as required. For this example: Communication interface = SIO-H/S at 625 kHz; Supply oscillator = 6 MHz from PG-FP4 (On Target unchecked), multiplied by 5; Operation Mode = Chip.
• Switch to the “Advanced” tab. Configure the settings. For this example: Supply voltage = 5.00 V (On Target unchecked); Command options = “Read verify after Program” checked.
• Click “OK”. The GUI will load these parameters into the PG-FP4.
6. Downloading User Program:
• Select [File] -> [Download…].
• In the “Select a File to download” window, choose your application’s .hex or .srec file and click “Open”.
• A progress window will appear. Once complete, the communication log will show the download status and checksum.
7. Executing EPV Command:
• Select [Device] -> [Autoprocedure (EPV)].
• The PG-FP4 will now automatically perform a checksum check, blank check, erase, and program sequence on the target device.
8. Terminating System:
• To finish, select [File] -> [Quit] to terminate the GUI software.
• Remove the target system from the target cable.
• Turn off the power supply and disconnect the cables.
How do I operate the NEC PG-FP4 in standalone mode?
In standalone mode, the NEC PG-FP4 uses the programming parameters last set and stored from the GUI software. You cannot select a new device or change parameters in this mode. You operate it using the control buttons (Next, Enter, Cancel).
Menu Navigation:
• The menu has two levels: Main menu and Sub-menu.
• **Next button:** Moves to the next item in the current menu level.
• **Enter button:** Selects the displayed menu item or executes the command.
• **Cancel button:** Aborts a command or returns to the previous menu level.
Main Menu Structure:
The main menu items are cycled using the “Next” button:
1. **[Commands] >:** Execute programming commands (Erase, Program, Verify, etc.).
2. **[Type Setting] >:** View the device rewrite environment settings.
3. **[Option Setting] >:** View command options and security flag settings.
4. **[Voltage Setting] >:** View the programming voltage level settings.
5. **[Utility/Misc.] >:** Check firmware versions and reset the PG-FP4.
Example Operation (Executing a command):
1. Power on the PG-FP4. The display shows ‘Commands >’.
2. Press “Enter” to go into the commands sub-menu. The first command, ‘E.P.V >’ (Erase-Program-Verify), is displayed.
3. Use the “Next” button to cycle through available commands (Program, Erase, Verify, Security, Checksum, etc.).
4. When the desired command is displayed, press “Enter” to execute it.
5. The status LED will turn orange during execution. It will turn green for success or red for an error. The result will also be shown on the message display.
What are the pin configurations for the connectors on the NEC PG-FP4?
HD-Sub 9 Serial Host Connector
| Pin | Signal Name |
|---|---|
| 1 | NC |
| 2 | RxD |
| 3 | TxD |
| 4 | NC |
| 5 | VSS |
| 6 | NC |
| 7 | RTS |
| 8 | CTS |
| 9 | NC |
HD-Sub 15 Target Interface Connector
| Pin | Signal Name |
|---|---|
| 1 | SO/TxD |
| 2 | SI/RxD |
| 3 | SCK |
| 4 | /RESET |
| 5 | VDD2 |
| 6 | FLMD1 |
| 7 | H/S |
| 8 | VDD |
| 9 | VDD |
| 10 | RFU-1 |
| 11 | VPP |
| 12 | FLMD0 |
| 13 | VDE |
| 14 | CLK |
| 15 | GND |
HD-Sub 25 Parallel Host Connector (Centronics Mode)
| Pin Number | Signal | Mode |
|---|---|---|
| 1 | /Strobe | In |
| 2 | D0 | IO |
| 3 | D1 | IO |
| 4 | D2 | IO |
| 5 | D3 | IO |
| 6 | D4 | IO |
| 7 | D5 | IO |
| 8 | D6 | IO |
| 9 | D7 | IO |
| 10 | /Ack | Out |
| 11 | Busy | Out |
| 12-25 | (VSS or Pull-up) | |
What are the design considerations for connecting the NEC PG-FP4 to a target system?
When designing a target system for programming with the NEC PG-FP4, consider the following for key CPU pins:
RESET Pin:
• Do not connect the target system’s RESET signal generator directly to the PG-FP4’s RESET signal, as a signal conflict will occur. Isolate the target’s generator from the programming line.
• Do not generate a RESET from the target system (e.g., from a watchdog timer) while the PG-FP4 is connected.
• Connect the PG-FP4’s RESET signal at a point where the programmer and CPU RESET pin states are the same. Avoid connecting where the target CPU’s RESET rise time is slowed down by other components.
Serial Interface Pins:
• If a CPU port used by the PG-FP4 is also connected to the input of another external device, be prepared to disconnect that device or put its output in a high-impedance state if a malfunction occurs.
• If a CPU port is connected to the output of an external device, disconnect the external device if a signal collision occurs.
VPP Pin:
• Keep the wiring between the PG-FP4 connector and the CPU VPP pin as thick and as short as possible.
• Do not insert capacitors or resistors into the VPP line unless specified by the target’s documentation.
• If pull-down resistors are required by the target device specifications, the resistor value must be 470 Ω or higher.
Other Pins:
• For unused pins, refer to the user’s manual of the specific microcontroller device for proper handling (e.g., MODE, CKSEL, REGOUT, REGIN pins).
What should I do if my NEC PG-FP4 shows an error in standalone mode?
If the NEC PG-FP4 displays an error message on the LCD in standalone mode, refer to the following table for common error conditions and possible solutions:
| Message | Error Condition | Possible Workaround |
|---|---|---|
| Invalid PRM data | PRM data is invalid. | The parameter file is invalid or incomplete. Download the correct parameter file. |
| Check connection | Check connection. | The PG-FP4 cannot establish a connection to the target device. Check for wrong connections, bad socket contacts, or a non-working oscillator. |
| Inv. Sig. ID / Code / func. / addr. / name / Signature | Invalid signature. | Check if the correct device is selected in the programming environment. |
| Erase Timeout | Erase timeout. | Communication problem between the PG-FP4 and the target device. Try the operation again. |
| Erase failure | Erase failure. | A device defect is the most probable cause. |
| Blankchk failed | Blank check failed. | The connected device is not empty. Use the ‘erase’ command before programming. |
| Write failed | The write operation failed. | The device was not blank before writing, or a device defect is causing the error. |
| Verify failed | Verify failed. | The data in the target device’s flash memory is not the same as the data in the PG-FP4. |
What does the error “E209 Searching for a port communicating with the programmer failed” mean on my NEC PG-FP4?
This error means that the GUI software could not establish communication with the NEC PG-FP4 at all. The software performs the following sequence on startup:
1. It first tries to connect using the most recent settings from the INI file.
2. If that fails, it tries to connect via the USB port (on compatible Windows versions).
3. If that also fails, it scans COM ports 1 through 6 with all possible baud rates.
To resolve this issue, please check the physical connection between the PC and the PG-FP4. Ensure the correct cable (USB or RS-232C) is securely plugged in, and that the PG-FP4 is powered on.
What should I do if I get the error “F902 Unable to find any PRM file” with the NEC PG-FP4 software?
This is a fatal error indicating that the GUI software could not find any parameter file (.PRM) in its designated sub-directory (`\PRM`). The software cannot function without these files.
To fix this, you must download the correct PRM file for your specific target device and copy it into the `\PRM` sub-directory within the PG-FP4 software installation folder.
How to use the PDF below:
* Touchscreen: Swipe up/down with-in the PDF to scroll and pinch or spread with two fingers to zoom.
* Mouse: While your mouse is hovering over the PDF, use the mouse wheel to scroll and click on the – / + buttons at the bottom of the PDF to zoom.
CLICK HERE TO DOWNLOAD NEC PG-FP4 (01) PDF DOCUMENT