PG-FP4-E Renesas Electronics America, PG-FP4-E Datasheet

no-image

PG-FP4-E

Manufacturer Part Number
PG-FP4-E
Description
PROGRAMMER FLASH MEMORY UNIV
Manufacturer
Renesas Electronics America
Datasheet

Specifications of PG-FP4-E

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
To our customers,
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.
Issued by: Renesas Electronics Corporation (http://www.renesas.com)
Send any inquiries to http://www.renesas.com/inquiry.
On April 1
st
, 2010, NEC Electronics Corporation merged with Renesas Technology
Renesas Electronics website: http://www.renesas.com
Old Company Name in Catalogs and Other Documents
April 1
Renesas Electronics Corporation
st
, 2010

Related parts for PG-FP4-E

PG-FP4-E Summary of contents

Page 1

To our customers, Old Company Name in Catalogs and Other Documents st On April 1 , 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the ...

Page 2

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 ...

Page 3

... User’s Manual PG-FP4 Flash Memory Programmer Document No. U15260EJ4V0UM00 (4th edition) Date Published May 2004 NS CP(K) 2001 Printed in Japan ...

Page 4

User’s Manual U15260EJ4V0UM ...

Page 5

... PG-FP4 complies with the EMC protection requirements 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. ...

Page 6

EEPROM is a trademark of NEC Electronics Corporation PC/ 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 ...

Page 7

Regional Information 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 ...

Page 8

General Precautions on Handling This Product 1. Circumstances not covered by product guarantee • If the product was disassembled, altered, or repaired by the customer • was dropped, broken, or given another strong shock • Use at overvoltage, ...

Page 9

... 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 Windows board. Organization This manual includes the following sections. • ...

Page 10

... Menu Dialog box name Term Abbreviation of flash memory programmer PG-FP4 Windows application to operate PG-FP4 using GUI software NEC Electronics on-chip flash memory microcontroller User-designed board on which NEC Electronics on-chip flash memory microcontroller is mounted Adapter board to write programs to NEC Electronics on-chip flash ...

Page 11

... CHAPTER 1 OVERVIEW..........................................................................................................................11 1.1 Features .....................................................................................................................................11 1.2 PG-FP4 Configuration in Graphical User Interface (GUI) Mode...........................................11 CHAPTER 2 HARDWARE INSTALLATION...........................................................................................13 2.1 System Requirements ..............................................................................................................13 2.2 Package Contents.....................................................................................................................13 2.3 System Configuration and Components................................................................................14 2.3.1 Host computer ................................................................................................................................ 14 2.3.2 PG-FP4 control panel and connectors............................................................................................ 15 2.3.3 Target system................................................................................................................................. 16 2.3.4 Power supply .................................................................................................................................. 16 2 ...

Page 12

... DD2 9.7 V ............................................................................................................................................ 105 PP 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 10 User’s Manual U15260EJ4V0UM ...

Page 13

... 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 TM are stored EEPROM , so that the target device can be rewritten in the standalone mode, without having to connect the PG-FP4 to a host. • ...

Page 14

... Communication between the GUI software and the PG-FP4 is recorded in an ASCII file. The internal memory of the PG-FP4 is configured 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 ...

Page 15

... 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. ...

Page 16

... 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 used to communicate with the PG-FP4 ...

Page 17

... Enter button Selects the item shown in the message display. Cancel button Cancels the current selection and returns to the previous menu item × 2-character LCD display indicates the operating mode mainly used for the PG- Message display 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 ...

Page 18

... The RS-232C host interface enables communication to the PG-FP4. Windows 95, Windows 98, Windows NT 4.0, Windows Me, Windows 2000, or Windows XP may be used to operate the PG-FP4, which is connected to the serial port. The RS-232C data transfer conditions are 9,600 baud, 8 data bits, 1 stop bit, no parity and selectable hardware handshake ...

Page 19

... B (10 pins), which is a dedicated cable for two-power-supply flash memories. For detailed specifications of the target cable, refer to CHAPTER 7 CONNECTORS AND CABLES. 2 2.3 adapter The SI and SO pins of the PG-FP4 must be shorted on the target board when the I used. PG-FP4 VPP VDD RESET ...

Page 20

... Figure 2-7. Connection Diagram When Using I PG-FP4 VPP VDD RESET SCK GND <Usage when writing two-power-supply flash memory microcontroller> <1> Connect the FA adapter and the type B target connector of the target cable (10 pins). <2> Connect the type A target connector (16 pins) and the I < ...

Page 21

... CHAPTER 3 SOFTWARE INSTALLATION 3.1 Graphical User Interface The graphical user interface (GUI) software allows easy and comfortable access to all features of the PG-FP4 flash programmer. 3.1.1 GUI software installation The installation program is located on the CD-ROM delivered with the PG-FP4 package. To install the GUI software, execute the following steps: First, insert the CD-ROM into your CD-ROM drive ...

Page 22

... Figure 3-2. <Japanese/English Selection> Dialog Box When Install PG-FP4 GUI is clicked, the setup program will be executed. During initialization of the setup program a progress bar like that shown in Figure 3-3 appears to indicate the progress. The welcome screen appears a short while after initialization. Click Next > to continue the installation. ...

Page 23

CHAPTER 3 SOFTWARE INSTALLATION Next, a window for selecting a setup type will be opened. Figure 3-5. Setup Type Selection Window Select “English” or “Japanese” and click Next > . User’s Manual U15260EJ4V0UM 21 ...

Page 24

The software License Agreement window appears. Figure 3-6. Software License Agreement Window Click Accepted to continue the installation. If you click Not accepted the installation procedure will terminate. 22 CHAPTER 3 SOFTWARE INSTALLATION User’s Manual U15260EJ4V0UM ...

Page 25

The installation start window appears. You can exit the installation by clicking the Cancel button. Click the Browse… button to change the installation destination path. Click the Next > button to proceed to the Setup Program Folder selection. When the ...

Page 26

... The setup procedure opens the Select Program Folder window. By default, the program group NEC Tools32 will be created for the PG-FP4 program folder. You may change the folder name by selecting one of the existing folders or by typing a new folder name in the edit field. ...

Page 27

CHAPTER 3 SOFTWARE INSTALLATION Figure 3-9. Select Program Folder Window Select the correct folder and click the Next > button to show a summary of the selected folder. Figure 3-10. Start Copying Files Window Click the Next > button to ...

Page 28

... Click the Finish button to exit installation. The installation process is now complete and the setup utility has installed a new program folder which holds the GUI software and a “PG-FP4 unInst” icon which allows you to delete the GUI software and this software if they are not used anymore. ...

Page 29

... CHAPTER 3 SOFTWARE INSTALLATION Figure 3-13. Program Folder After Installation User’s Manual U15260EJ4V0UM Opens the README file for the PG-FP4 Starts the PG-FP4 GUI software Starts the PG-FP4 online help Uninstalls the PG-FP4 from the computer 27 ...

Page 30

... USB driver installation When the PG-FP4 is connected via the USB interface for the first time, Windows 98, Windows Me, Windows 2000, and Windows XP automatically detect the PG-FP4. Then the wizard for searching the new hardware will start. Caution USB support is not available on Windows 95 and Windows NT. ...

Page 31

Figure 3-15. Welcome to the Found New Hardware Wizard Window You can exit the installation by clicking the Cancel button. Click the Next> button to install a USB driver. Next, the Install New Hardware Wizard window will be opened. Figure ...

Page 32

Check “Specify a location” and click the Next > button. The window for specifying the USB driver files to be copied will be opened. Figure 3-18. Window for Specifying Driver Files to Be Copied 1 Specify the directory where the ...

Page 33

... CHAPTER 3 SOFTWARE INSTALLATION Select usbiowiz.inf in the drivers directory created under the PG-FP4 install directory and click Open . The specified location is shown in the window used to specify the copy source of the USB driver file. Figure 3-20. Window for Specifying Driver Files to Be Copied 2 When you click OK , the driver file will be searched ...

Page 34

... Click Next > start installation. When the installation is complete, the following window will be displayed. Figure 3-22. Completing the Found New Hardware Wizard Window Now that the USB driver has been installed, the PG-FP4 is ready to communicate using the USB port. To complete the installation, click Finish . 32 CHAPTER 3 SOFTWARE INSTALLATION User’ ...

Page 35

... GUI software uninstallation (1) Uninstallation using “PG-FP4 unInst” icon After all components of the GUI software have been installed, clicking the “PG-FP4 unInst” icon will start the uninstallation procedure. All files installed during setup will be removed from your hard disk except the parameter files (.PRM) and customized setup files (.SET). (2) Uninstallation using “ ...

Page 36

... Update the firmware using the new GUI software. The GUI software will perform a crosscheck of software versions between the installed GUI software and the firmware in the PG-FP4. If the GUI software is not the latest, the following a warning message will appear. Figure 3-24. Warning About Old GUI Software Version If the firmware is not the latest, the following warning message will be displayed ...

Page 37

... The firmware update procedure starts when you click the Yes button in the firmware update error message (refer to Figure 3-25). From the <File open> dialog box that appears, select the firmware update program file FP4_VUP_xxxx.REC. Several commands will be sent to the PG-FP4 and a progress indicator will inform you of the download progress. ...

Page 38

... CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE 4.1 Introduction Before you start using the PG-FP4, download the parameter file for the target device (.PRM) to the PRM folder. <Downloading the parameter file> The PRM file is not part of the PG-FP4 software package. It has to be downloaded from the NEC Electronics Website at http://www.necel.com/micro/ods/eng/index.html. ...

Page 39

... GUI software startup To start the PG-FP4 GUI software, select FP4.EXE or double-click the shortcut if it has been created. The PG- FP4 starts communicating using the most recently used communication parameters stored in its internal EEPROM. The default communication speed is 9,600 bps. ...

Page 40

... PC. This information may differ from the settings of the programmer currently connected. 38 Figure 4-3. GUI Software Main Window Displays executable menus of the PG-FP4 Displays frequently used commands as icons Displays all commands transmitted to the PG-FP4 and messages returned from the PG-FP4 Displays programming parameter settings User’s Manual U15260EJ4V0UM ...

Page 41

... CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE 4.3 Toolbar The toolbar contains buttons to start the most important procedures of the PG-FP4. [Device] – [Setup…] button [File] – [Download…] button [File] – [Upload…] button [Hex Editor …] button [Device] – [Blank check] button Note Enabled only for single-power-supply flash memory microcontrollers ...

Page 42

... CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE (1) [Hex Editor…] menu The [Hex Editor…] menu allows you to edit a program file in Intel HEX file format or Motorola S- Record format. A HEX Editor window opens and the file to be edited can be specified in a “file open” ...

Page 43

... CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE After selecting a file to open, the HEX Editor main window loads the file and displays its contents as follows. Figure 4-6. HEX Editor Main Window The displayed file can be modified by placing the mouse cursor inside the HEX Editor main window. Data input via the keyboard is accepted for all shown memory locations ...

Page 44

... CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE Table 4-2. Key Functions That Can Be Input in HEX Editor Window Key Tab If any changes have been made to the edited file, the HEX Editor [File] → [Save] and [File] → [Save As…] menu items will be enabled to save the modified data. ...

Page 45

... The most recently used directory from which a file has been downloaded will be offered in this window as the default selection. After downloading the user program, the checksum in the flash memory area of the PG-FP4 valid in Progarea is calculated and the result is displayed in the programmer parameter window and communication log window. ...

Page 46

... CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE (3) [Upload] menu The [Upload] menu allows you to specify and upload a program file from the PG-FP4 flash memory to the host machine. Figure 4-9. File Selection Window for Program Upload In the appearing window you can: • Select a program file for upload • ...

Page 47

... CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE (4) [Checksum…] menu The [Checksum…] menu may be used to verify that the PG-FP4’s flash memory area contains the correct download file. Figure 4-10. Checksum Dialog Box 1 All the programming memory area (2 MB) or “Check Complete Programmer Application Memory”, in which 32- bit CRC calculations are performed in the PG-FP4 programming memory area selected using the [Programmer] > ...

Page 48

... CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE (5) [Quit] menu Terminates the PG-FP4 GUI software. Clicking the X button on the right side of the task bar also terminates the PG-FP4 GUI software. User settings are saved in the FP4.INI file so that the GUI software will start up next time with the same settings ...

Page 49

... Figure 4-15. Programming Area Selection The PG-FP4 internal memory area is split into two independent memory areas of 1 MB, each of which may hold two different application programs for flash programming. When opening this dialog box, the current programming area selection will be displayed. ...

Page 50

... PG-FP4 firmware after the reset. (5) [Update Firmware] menu Clicking this menu item updates the PG-FP4. Before starting the update, download the necessary upgrade data from the NEC Electronics Website at http://www.necel.com/micro/ods/eng/index.html. When the firmware update is started, the following confirmation message is displayed first. ...

Page 51

... CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE Select the firmware update program file “FP4_VUP_xxx.REC” and then click Open . Some commands will be transferred to the PG-FP4 and the update progress status will be displayed in the progress status display window. Figure 4-18. Progress Status Display Window When the firmware update is complete, the following message will be displayed ...

Page 52

... Check] menu The Blank Check command initiates a blank check of the target device connected to the PG-FP4. If the flash memory of the target device is erased, the blank check terminates successfully. If the flash memory is not completely erased, an error message is displayed. Therefore, the flash memory has to be erased first before programming can start ...

Page 53

... After execution of the Program command, Verify, which detects a communication error of the user program while it is being transmitted from the PG-FP4 to the target device, is executed in accordance with the setting of ‘Command options’ on the Advanced tab of the [Device] > [Setup…] menu. ...

Page 54

... Note, however, that this verification does not detect a communication error of the user program that is transmitted from the PG-FP4 to the target device. To transmit the memory contents of the PG-FP4 to the target device to compare them with the data written to the flash memory of the target device because a communication error of the user program was detected, specify automatic execution of the Verify command after execution of the Program command, by using the Command options on the Advanced tab of the [Device] > ...

Page 55

... This file stores the timing and parameter data necessary for rewriting the flash memory of the target device. Do not change the data of the parameter file as it guarantees the rewrite data. The parameter file is protected by a checksum. If the checksum is illegal, the PG-FP4 does not accept the parameter file. ...

Page 56

... This button is valid if settings have changed on the Standard or Advanced menu. Clicking the Apply button saves the contents of new setting to the customized setup file (.SET). Note that this button only saves the settings to the file; it does not download them to the PG-FP4. 54 User’s Manual U15260EJ4V0UM ...

Page 57

... Cancel button] When the Cancel button is clicked, the contents set on the Standard and Advanced menus are not downloaded to the PG-FP4, nor are they saved to the customized setup file; the current dialog box is just closed. However, the settings that have already been saved to the customized setup file and downloaded to the PG-FP4 are not reset by this button. < ...

Page 58

... A window to create a new customized setup file appears. Figure 4-24. Create New Customized Setup File Window Parameter files saved to <PG-FP4 install path>\PRM are shown in the parameter file list box. Select a parameter file for the target device. After selecting the parameter file, enter the name of the customized setup file that is newly created, and then click the Save button ...

Page 59

... Figure 4-25. Setup Window – Communication Interface to Device [Port list box] Select the mode of communication between the PG-FP4 and target device from the following. The communication mode is determined by the number of V The selectable communication mode differs depending on the target device. Refer to the user’s manual of the target device used and select a mode ...

Page 60

... CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE [Pulse number] Displays the number FLMD0 pulses corresponding to the selected communication mode. PP [Speed list box] Select the communication rate of the selected communication channel from the following. <When SIO-ch0, SIO-ch1, SIO-ch2, or SIO-H/S is selected> 2.4 kHz 9.8 kHz ...

Page 61

... Sets the oscillation frequency for signal generation. When using the clock of the target system (when the On Target check box is checked), input the frequency to be used. When using the clock of the PG-FP4 (when the On Target check box is not checked), select a frequency from the following: • 1 MHz • ...

Page 62

... CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE <4> Operation Mode Operation Mode may divide the flash memory of the target device into blocks or areas. This menu is used to select the operation mode of the flash memory. Some devices do not have either or both division modes Block and Area. In this case, a mode that is not available cannot be selected. ...

Page 63

... DD DD2 the target system. Although they can be supplied by the PG-FP4, the current flow is not large enough to operate the whole target system (maximum of 200 mA). Therefore, supply voltage via the PG-FP4 only when a dedicated writing adapter such adapter is used. ...

Page 64

... CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE Figure 4-29. Setup Window – Supply Voltage [Vdd [V]] Displays the default Vdd level set by the parameter file in volts (V). This Vdd level can be changed by input. [Vdd2 [V]] Displays the default Vdd2 level set by the parameter file in volts (V). ...

Page 65

... Display the default level of each pin set by the parameter file in volts (V). The signal levels cannot be changed. <2> Command options This dialog box is used to specify the options of the PG-FP4 flash processing commands. Figure 4-30. Setup Window – Command Options [Blank check before Erase check box] If this check box is checked, a blank check is performed before execution of the Erase and EPV commands ...

Page 66

... CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE <3> Security flag settings The <Security flag settings> dialog box is used to specify which security function is valid. This function is valid only when a single-power-supply flash memory microcontroller is used. Figure 4-31. Setup Window – Security Flag Settings [Disable Chip Erase check box] If this check box is checked, the Erase command becomes invalid in the entire flash memory area of the target device ...

Page 67

... Valid only for an area not specified as the boot area. <4> Program download/upload The PG-FP4 has flash memory as a user program area. This memory area can be used as a single 2 MB area two independent 1 MB areas (Area 0 and Area 1). ...

Page 68

... CHAPTER 4 PG-FP4 OPERATION USING GUI SOFTWARE <5> Boot block cluster setting The Boot block cluster setting is used to specify the boot area. This function is valid only when a single-power-supply flash memory microcontroller is used. The specified boot area becomes valid after the Security command is executed. ...

Page 69

... Clicking the Help menu displays the following pull-down menu. (1) [Contents…] menu The [Contents…] menu starts the Windows Help engine and opens the contents dialog box of the PG-FP4 help file. (2) [About] menu The [About] menu opens the following program entry window. ...

Page 70

... CHAPTER 5 SAMPLE PROGRAMMING SESSION USING GUI SOFTWARE This chapter explains a series of basic operations of the PG-FP4 with the GUI software, taking a case where the µ PD70F3025A is used as the target device as an example. This chapter covers how to start the system, execute the EPV command, and program the target device. ...

Page 71

... Turn on the switch of the power supply unit cable. Do not connect the FA adapter before turning on the switch. Confirm that the Status LED of the PG-FP4 remains dark and that ‘Commands >’ is displayed on the LCD, indicating that the PG-FP4 is ready for operation. If this does not happen, the chances are the PG-FP4 is faulty. Consult an NEC Electronics sales representative or distributor. < ...

Page 72

CHAPTER 5 SAMPLE PROGRAMMING SESSION USING GUI SOFTWARE Figure 5-3. Setup Communication Parameters <6> Select OK to activate the new port settings. If the GUI software has been correctly started, the following screen is displayed. 70 Figure 5-4. GUI Software ...

Page 73

CHAPTER 5 SAMPLE PROGRAMMING SESSION USING GUI SOFTWARE 5. Programming environment setting <1> Select the menu item [Device] → [Setup…] from the menu bar. Figure 5-5. [Device] → [Setup…] Menu <2> The dialog box for standard device setup will be ...

Page 74

CHAPTER 5 SAMPLE PROGRAMMING SESSION USING GUI SOFTWARE <3> Click the New... button to create a new customized setup file for the Figure 5-7. Creating New Customized Setup File <4> Select 70F3025A.PRM from the “Parameter file” pull-down list. <5> Enter ...

Page 75

... In this example assumed that the following settings are made. <Communication interface to device> Port: SIO-H/S Speed: 625 kHz <Supply oscillator> On Target: Not checked (The clock of the PG-FP4 is supplied to the target.) Frequency: 6 MHz Multiply rate: 5 <Operation Mode> Chip User’s Manual U15260EJ4V0UM 73 ...

Page 76

... V (in accordance with the set value of the parameter file) Vdd2 [V]: 0.00 V (not used: in accordance with the set value of the parameter file) On Target: Not checked (Vdd is supplied from the PG-FP4 to the target.) <Command options> Blank check before Erase: Checked (fixed to default) Read verify after Program: Checked < ...

Page 77

... CHAPTER 5 SAMPLE PROGRAMMING SESSION USING GUI SOFTWARE <8> Click the OK button. The GUI software will load the parameter settings to the PG-FP4. When the settings have been completed, the next screen is displayed. Figure 5-11. Completion of Parameter Settings User’s Manual U15260EJ4V0UM 75 ...

Page 78

CHAPTER 5 SAMPLE PROGRAMMING SESSION USING GUI SOFTWARE 6. Downloading user program • Select [File] → [Download…]. Figure 5-12. Opening Program File to Be Downloaded <1> Select the name of the file to be downloaded, and click Open to start ...

Page 79

... Note When the Program command is executed, whether the write level is secured is verified after the user program has been written. Note, however, that this verification does not detect a communication error of the user program that is transmitted from the PG-FP4 to the target device. For details of this command, refer to 4.4.3 [Device] menu. ...

Page 80

... Remove the FA adaptor (target system) from the target cable. <3> Turn off the switch of the power supply unit. <4> Remove the power supply unit and either the RS-232C cable or USB cable from PG-FP4. Caution If the “E501 Operation failed” error occurs, check the following points. ...

Page 81

... The PG-FP4 has a standalone mode in which the PG-FP4 itself can execute the Erase, Program, and Verify commands without a host. This mode is useful for using the PG-FP4 on the production line during mass production and for upgrading the version at a customer’s site. ...

Page 82

... The [Commands] menu offers various commands necessary for rewriting the target device. Select a command from this menu and press the Enter button. The PG-FP4 will then execute the command to the target device. For the details of command execution, refer to 4.4.3 [Device] menu. ...

Page 83

... Notes 1. Download the user program in advance in the GUI software mode. 2. This command is valid only with a single-power-supply flash memory microcontroller. If any other microcontroller is used, this command is not displayed. 3. This is valid for the programming area (Chip, Block and Area) currently set for the PG-FP4. . Note 2 ...

Page 84

... CHAPTER 6 PG-FP4 OPERATION IN STANDALONE MODE 6.1.2 [Type Setting] menu The [Type Setting] menu is used to check the target device rewrite environment currently set for the PG-FP4. All the values displayed were set during the last programming session. The setting cannot be changed by this menu. ...

Page 85

... CHAPTER 6 PG-FP4 OPERATION IN STANDALONE MODE 6.1.3 [Option Setting] menu The [Option Setting] menu is used to check the command option and security flag currently set for the PG-FP4. All the displayed values were set during the last programming session. The setting cannot be changed on this menu. ...

Page 86

... CHAPTER 6 PG-FP4 OPERATION IN STANDALONE MODE [Prog Area] Displays the valid memory area specified in the 2 MB user program area of the PG-FP4 as either of the following. on (0): User program Area 0 (0x00000000 to 0x000FFFFF) is specified. on (1): User program Area 1 (0x00100000 to 0x001FFFFF) is specified. off: Entire 2 MB user program area is specified. ...

Page 87

... Setting] menu The [Voltage Setting] menu is used to check the voltage level setting when programming the target device currently connected to the PG-FP4. All the displayed values were set by the parameter file during the last programming session. This menu cannot be used to change the settings. ...

Page 88

... CHAPTER 6 PG-FP4 OPERATION IN STANDALONE MODE 6.1.5 [Utility/Misc.] menu The [Utility/Misc.] menu is used to check the F/W version of the PG-FP4 and the version of the parameter file downloaded also used to execute RESET of the PG-FP4. This menu cannot be used to change settings. [Utility/Misc. >] • Pressing the Next button displays the [Commands] menu. ...

Page 89

... Figure 7-1. Power Supply Connector The specifications of the power supply are: AC input range: 100 V to 240 output Current consumption: 0.8 A max. Caution Connect only the provided AC adapter to the power supply jack of the PG-FP4. Figure 7-2. Pin Configuration of Power User’s Manual U15260EJ4V0UM Supply Connector ...

Page 90

... HD-Sub 9 Serial Host Connector The serial host connector is located on the right side of the PG-FP4. Figure 7-3. HD-Sub 9 Serial Host Connector Table 7-1. Pin Configuration of HD-Sub 9 Serial Host Connector 7.2.1 RS-232C cable (crossed) The host cable is a standard shielded RS-232C cable of 2-meter or 3-meter length. The connectors on both sides are D-SUB 9 pin connectors (female) ...

Page 91

... HD-Sub 15 Target Interface Connector The target interface connector is located on the right side of the PG-FP4. Figure 7-6. HD-Sub 15 Target Interface Connector Table 7-2. Pin Configuration of HD-Sub 15 Target Interface Connector PF-FP4 HD-Sub 15 HD-Sub 15 connector part number: HT1566G3 (PROVERTHA Steckverbinder GmbH) CHAPTER 7 CONNECTORS AND CABLES Figure 7-7 ...

Page 92

Target Cable Specifications The target cable is equipped with two connectors for the FA adapter. HD-SUB 15 (male) Figure 7-9. Pin Configuration of HD-SUB 15 Figure 7-10. Target Connector Outline (View from Socket Side ...

Page 93

... Table 7-3. Pin Configuration of Target Connector Signal Name PG-FP4 Side Connector of PG-FP4 HD-SUB 15 (Male) GND 15 RESET 4 SI/RxD SO/TxD SCK 3 H/S 7 CLK 14 VDE DD2 FLMD1 6 RFU-1 70 FLMD0 12 Not used Not used Remark Connecting the following connectors as target connectors (type A and type B) is recommended. ...

Page 94

Parallel Host Connector The parallel host connector can be configured as a centronics interface or as remote control port. Depending on the selection, one of the following signal settings is available. Figure 7-11. HD-Sub 25 Parallel Host Connector Table ...

Page 95

USB Port The USB port connection (Rev. 1.1) allows data transmission Mbps on a USB type B connector. CHAPTER 7 CONNECTORS AND CABLES Figure 7-13. USB Port Connector User’s Manual U15260EJ4V0UM 93 ...

Page 96

... Avoid the following RESET signal connection. • Connection to a point where the target CPU RESET rise time is slower than the PG-FP4 RESET rise time. Incorrect connection: It takes time for the CPU RESET pin to go high after the PG-FP4 RESET level goes from low to high. 94 Design Proposal ...

Page 97

... When the PG-FP4 RESET is driven low, the level of the voltage at point A does not fall. Serial When the CPU port used by the PG-FP4 is also connected to the input of an external device, and if that device interface pin malfunctions, disconnect the external device or make it output high impedance. ...

Page 98

... CHAPTER 8 NOTES ON TARGET SYSTEMS CPU Pin V Keep the wiring between the PG-FP4 connector and the CPU V PP Insert neither capacitors nor resistors into the V Note that when pull-down resistors are needed due to the specifications of the target, the resistor value must be 470 Ω or higher. ...

Page 99

... V 2. The PG-FP4 generally performs normally without pin processing the pins of the PG-FP4's output signals (SO/TxD) are processed, pull up (or pull down) with a resistor value in compliance with the specifications (V CHAPTER 9 TARGET SYSTEM INTERFACE CIRCUITS the pins of the PG-FP4's input signals (SI/RxD, RESET) are processed, pull up (or pull down) with a resistor value in compliance with the specifications (I referring to CHAPTER 9 TARGET SYSTEM INTERFACE CIRCUITS ...

Page 100

... CHAPTER 9 TARGET SYSTEM INTERFACE CIRCUITS the pins of the PG-FP4's input signals (SI/RxD, H/S, RESET) are processed, pull up (or pull down) with a resistor value in compliance with the specifications (I referring to CHAPTER 9 TARGET SYSTEM INTERFACE CIRCUITS. ...

Page 101

... The PG-FP4 generally performs normally without pin processing the pins of the PG-FP4's output signals (SO/TxD) are processed, pull up (or pull down) with a resistor value in compliance with the specifications (V CHAPTER 9 TARGET SYSTEM INTERFACE CIRCUITS the pins of the PG-FP4's input signals (SI/RxD, RESET) are processed, pull up (or pull down) with a resistor value in compliance with the specifications (I referring to CHAPTER 9 TARGET SYSTEM INTERFACE CIRCUITS ...

Page 102

... CHAPTER 9 TARGET SYSTEM INTERFACE CIRCUITS the pins of the PG-FP4's input signals (SI/RxD, H/S, RESET) are processed, pull up (or pull down) with a resistor value in compliance with the specifications (I referring to CHAPTER 9 TARGET SYSTEM INTERFACE CIRCUITS. ...

Page 103

... This chapter describes the target system interface circuits of the PG-FP4 (TTL level). 9.1 SO/TxD, RESET For programming flash memory devices, V When V and V are supplied by the target system, the PG-FP4 internal voltage regulator is protected so that DD DD2 user V and V will not affect the signal lines SO/TxD and RESET. ...

Page 104

... CHAPTER 9 TARGET SYSTEM INTERFACE CIRCUITS 9.2 SCK For programming flash memory devices, V When V and V are supplied by the target system, the PG-FP4 internal voltage regulator is protected so that DD DD2 user V and V will not affect the signal line SCK. DD DD2 In either case, the signal line SCK will have TTL-level voltage. ...

Page 105

... The SI/RxD input signal must not exceed TTL-level voltage DD2 9.4 CLK 74LV125 74LV125 Figure 9-3. SI/RxD and H/S Pins 74LV125 33 Ω 100 kΩ 74LV125 Target System PG-FP4 Figure 9-4. CLK Pin V Ω DD 150 V Ω DD2 150 Target system PG-FP4 User’s Manual U15260EJ4V0UM Signal Signal 103 ...

Page 106

... CHAPTER 9 TARGET SYSTEM INTERFACE CIRCUITS 9.5 FLMD0, FLMD1 74LV125 74LV125 9 DD2 When V and V are supplied from the target system, the PG-FP4 internal voltage regulator is protected. DD DD2 Transistor DD2 generator A/D input 104 Figure 9-5. FLMD0 and FLMD1 Pins V DD Ω DD2 ...

Page 107

... CHAPTER 9 TARGET SYSTEM INTERFACE CIRCUITS 9 Transistor V generator PP A/D input Figure 9-7. V Pin PP Polyswitch 350 mA 4 kΩ 1.5 kΩ µ 0. kΩ PG-FP4 User’s Manual U15260EJ4V0UM V PP µ 0.1 F Target system 105 ...

Page 108

... The PG-FP4 error and warning messages are displayed on the message display. 10.1 Error Messages of PG-FP4 in Standalone Mode No. Message 001 Invalid PRM data 005 Not supported ! 006 Command aborted! 009 Power failure 011 Read. Sig failed 012 Check connection 013 Addr. Range err 020 Inv ...

Page 109

... Erase and write the device again. Communication problem between the PG-FP4 and the target device. Try the operation again. Communication problem between the PG-FP4 and the target device. Try the operation again. Communication problem between the PG-FP4 and the target device. Try the operation again. ...

Page 110

GUI Software Fatal Error Messages GUI software fatal error messages indicate a severe error that destabilizes the GUI software operation. When the problem persists after restarting the GUI software, please contact NEC Electronics. No. Message F100 Could not initialize ...

Page 111

No. Message F300 Creating splash screen timer failed. F301 Edit control out of space. F302 Determining selected communication port speed failed. F303 Determining selected communication port number failed. F304 Determining selected download port number failed. F400 Creating receive task failed. ...

Page 112

No. Message F605 Creating communication window subclassing procedure failed. F700 USB splash screen timer failed. F750 Please stop debugging first. F751 Opening debug file failed. F752 Debug information overflow. Discharging actual message. F753 Setting up message box failed. F800 Memory ...

Page 113

... GUI Software Error Messages In addition to the error messages listed below, error messages can be displayed directly from the PG-FP4. No. Message E200 Opening script file failed. E201 Updating the firmware will take several minutes. ATTENTION: • The process of updating your firmware must NOT be interrupted! • ...

Page 114

... Processing after setting the Programmer Communication Setup dialog box failed since the port is already open. Check if programmer ports are set correctly. Sending a command to the PG-FP4 is only possible after the communication channel has been opened. The PG-FP4 answered with an unexpected string after sending the Checksum command ...

Page 115

... The FP4.INI file does not exist or contains invalid entries for RecentPrmFile or RecentSet-File. The first PRM file from sub-directory \PRM will be loaded instead. Cannot find Communication DLL fp4com.dll. Reinstall PG- FP4 software. Sub-directory \PRM does not exist or valid PRM file does not exist in the sub-directory \PRM. ...

Page 116

... Value is out of range. I914 Value is out of range. 114 CHAPTER 10 ERROR MESSAGES Firmware upgrade completed with success. The Windows internal function to open the parallel port failed (port occupied by other software?) Communication via the parallel port failed. Re-download or use a serial port. The value entered in a dialog box is out of the allowable max/min range ...

Page 117

No. Message I915 The selection is out of range. I916 The selection is out of range. I917 The selection is out of range. I918 Input data is out of range. CHAPTER 10 ERROR MESSAGES The value of Vdd [V] on ...

Page 118

... Addition and change of description Change of Figure 4-32 About Window CHAPTER 5 (4) to (8) Addition and change of description 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 ...

Page 119

... Change of Figure 7-5 Host Cable Connections Change of 7.4 Target Cable Specifications Additions and changes to descriptions in UART and SIO interface circuit examples Change of Figure 9-2 SCK Pin 10.1 Error Messages of PG-FP4 in Standalone Mode Change of 001, Addition of 009 10.2 GUI Software Fatal Error Messages Change of F410 ...

Related keywords