background image

User’s Manual

PG-FP3

Flash Memory Programmer

1991

©

Printed in Japan

Document No.   U13502EJ2V0UM00 (2nd edition)
Date Published   July  1999 J  CP(K)

1998

Summary of Contents for Flash Memory Programmer PG-FP3

Page 1: ...User s Manual PG FP3 Flash Memory Programmer 1991 Printed in Japan Document No U13502EJ2V0UM00 2nd edition Date Published July 1999 J CP K 1998 ...

Page 2: ...User s Manual U13502EJ2V0UM00 2 MEMO ...

Page 3: ...9 CHAPTER 3 STARTING AND STOPPING 27 CHAPTER 4 BASIC OPERATING PROCEDURE 37 CHAPTER 5 COMMAND REFERENCE 45 CHAPTER 6 STAND ALONE FUNCTION 67 CHAPTER 7 HARDWARE SPECIFICATIONS 69 CHAPTER 8 ERROR MESSAGES AND REMEDIAL ACTIONS 87 APPENDIX A NOTES ON DESIGNING A TARGET 91 APPENDIX B REVISION HISTORY 93 ...

Page 4: ...n 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 in the United States ...

Page 5: ... use of a device described herein or any other liability arising from use of such device No license either express implied or otherwise is granted under any patents copyrights or other intellectual property rights of NEC Corporation or of others Descriptions of circuits software and other related information in this document are provided for illustrative purposes in semiconductor product operation...

Page 6: ...esseldorf Germany Tel 0211 65 03 02 Fax 0211 65 03 490 NEC Electronics UK Ltd Milton Keynes UK Tel 01908 691 133 Fax 01908 670 290 NEC Electronics Italiana s r l Milano Italy Tel 02 66 75 41 Fax 02 66 75 42 99 NEC Electronics Germany GmbH Benelux Office Eindhoven The Netherlands Tel 040 2445845 Fax 040 2444580 NEC Electronics France S A Velizy Villacoublay France Tel 01 30 67 58 00 Fax 01 30 67 58...

Page 7: ...p 59 A description in Section 5 3 3 has been changed p 61 A description in Section 5 3 4 has been changed p 62 A description in Section 5 3 5 has been changed and Caution has been added to Section 5 3 5 p 62 A description in Section 5 3 6 has been changed p 65 A description in Section 5 4 3 has been changed p 72 A description in Supported ROM specifications in Section 7 2 has been changed p 73 A d...

Page 8: ...User s Manual U13502EJ2V0UM00 8 MEMO ...

Page 9: ...d Reference Stand alone Function Hardware Specifications and Error Messages and Remedial Actions How to Read This Manual To understand the basic specifications and operation of the PG FP3 read this manual in the order given in the table of contents Be sure to read Chapter 3 which contains important information on operating the PG FP3 It is assumed that the readers of this manual have a basic knowl...

Page 10: ...such a microcontroller is mounted Printer interface IEEE 1284 Parallel interface specified by IEEE 1284 1994 Used by the PG FP3 as one of the host interfaces FA adapter Adapter board used to write programs to an NEC microcontroller with flash memory Note Note The FA adapter board is a product of Naito Densei Machida Mfg Co Ltd Telephone number Naito Densei Machida Mfg Co Ltd 044 822 3813 ...

Page 11: ...ATION 36 CHAPTER 4 BASIC OPERATING PROCEDURE 37 CHAPTER 5 COMMAND REFERENCE 45 5 1 File 45 5 1 1 Load File 45 5 1 2 Save File 46 5 1 3 Load Type 47 5 1 4 Save Type 48 5 1 5 Exit 48 5 2 Setting 49 5 2 1 Device 49 5 2 2 Type 50 5 2 3 Voltage 54 5 2 4 Option 55 5 2 5 Reset 55 5 2 6 Connection Port 56 5 3 Procedure 57 5 3 1 Download HEX 57 5 3 2 Erase 58 5 3 3 Program 59 5 3 4 Verify 61 5 3 5 E P V 62...

Page 12: ...69 7 2 MASTER ROM SOCKET SPECIFICATIONS 70 7 3 HOST INTERFACE 73 7 3 1 Printer Interface Specifications 73 7 3 2 RS 232C Interface Specifications 77 7 4 TARGET INTERFACE SPECIFICATIONS 80 7 4 1 Interface Specifications 81 7 4 2 Equivalent Circuit and Load Condition 84 CHAPTER 8 ERROR MESSAGES AND REMEDIAL ACTIONS 87 APPENDIX A NOTES ON DESIGNING A TARGET 91 APPENDIX B REVISION HISTORY 93 ...

Page 13: ...3 TYPE Setting Dialog Box When the Parameter File Is Loaded 34 3 4 TYPE Setting Dialog Box When the Parameter File Is Not Loaded 34 4 1 Communication Error Dialog Box 38 5 1 File Format Select Dialog Box 46 5 2 Mode Screens 63 5 3 Editor Screen 65 7 1 Pin Configuration Top View 72 7 2 Communication Error Dialog Box 77 A 1 Interface Circuit Example for a UART 91 A 2 Interface Circuit Example for SI...

Page 14: ...1 Function Specifications 18 2 1 Items in the PG FP3 Shipping Carton 19 7 1 Product Configuration and Operating Environment 69 7 2 Pin List 72 7 3 Printer Interface Specifications 73 7 4 RS 232C Interface Specifications 77 7 5 Withstand Voltage of Each Interface Signal 80 ...

Page 15: ... Connecting the AC Adapter 24 2 5 Connecting Target Cable to PG FP3 1 24 2 6 Connecting Target Cable to User Target 25 2 7 Connecting Target Cable to PG FP3 2 25 2 8 Connecting Target Cable to FA Adapter 26 2 9 Directly Connecting FA Adapter to PG FP3 26 3 1 Starting the PG FP3 30 4 1 Connection of Host PG FP3 and Target 37 6 1 Selecting the Command Mode 68 7 1 Mounting the Master ROM 70 7 2 Mount...

Page 16: ...User s Manual U13502EJ2V0UM00 16 MEMO ...

Page 17: ...alone mode with PG FP3 only or on Windows 95 or Windows NT using a dedicated application PG FP3 Compact portable design the size of a sheet of A5 paper Has a printer interface parallel interface in addition to the standard RS 232C interface Downloads user programs quickly Supports high capacity microcontrollers Note that are expected to be available in the future as well as flash memory of 2 Mbyte...

Page 18: ...selected with the TARGET VDD switch An overcurrent protection circuit is provided for both VPP and VDD Supply voltage input Target VDD supply voltage input 1 8 to 5 5 V current consumption 100 mA max CPU clock supply A 16 8 4 or 2 MHz clock can be selected as the target CPU clock The on board target clock can be also used depending on the application settings PG FP3 side interface CMOS level outpu...

Page 19: ...rks PG FP3 1 PG FP3 Floppy disk 1 Application software AC adapter 1 Power supply Printer cable 2 One for a PC 9800 and one for PC AT TM or compatible machine Target cable 2 Type 1 IC clip and Type 2 connector User s Manual 1 This manual Packing list 1 Packing list for this product Warranty 1 The PG FP3 is shipped with the above accessories Make sure that all accessories have been provided by check...

Page 20: ...erminal is a ground terminal on the PG FP3 If necessary ground the terminal using the FG cable supplied as an accessory MODE ERASE PROGRAM VERIFY LOAD ENTER MASTER ROM POWER ACCESS FG READ ONLY IN OUT RS 232 C ERROR OFF ON I F SELECT PRINTER I F TARGET VDD TARGET 9V I N DC JACK FG TERMINAL POWER SWITCH PRINTER I F CONNECTOR HOST I F SELECT SWITCH SOCKET OF MASTER ROM MODE KEY ENTER KEY TARGET I F ...

Page 21: ...3 The selected interface cannot be changed after power has been turned on SOCKET OF MASTER ROM The master ROM socket is used when a user program is downloaded to the PG FP3 from a source other than the host machine A commercially available EPROM can be used as the master ROM The user program can be downloaded from an application or in stand alone mode MODE KEY This key is used to select a command ...

Page 22: ...sing the PG FP3 without being connected to the host machine i e in stand alone mode you may skip the description on connection with the host machine Photo 2 1 Connections Host PG FP3 and Target Remark When the PG FP3 is used in stand alone mode interfacing with the target must be specified in advance To do so select the device to be used and the communication mode using the application software on...

Page 23: ...ccessory Use the appropriate interface cable for the type of host machine PC 9800 or PC AT The printer interface cable cannot be used unless the host machine supports bidirectional parallel communication Before using this cable therefore confirm that the host machine supports bidirectional communication compatible mode and ECP mode Photo 2 2 Connecting the Printer Interface Cable I F SELECT Switch...

Page 24: ... 1 or Type 2 cable depends on the specifications of the target If the FA adapter Note is used either use a Type 2 cable or directly connect the target to the PG FP3 Note The FA adapter is a product of Naito Densei Machida Mfg Co Ltd When using a user target Confirm that the target VDD switch is set to the IN position and then connect one end of the target cable to the PG FP3 Photo 2 5 Connecting T...

Page 25: ... end of the Type 2 cable to the PG FP3 and the other end of the cable to the mating connector of the FA adapter Alternatively directly connect the D SUB connector of the FA adapter to the target interface connector of the PG FP3 The FA adapter has a D SUB connector and a connector supporting the Type 2 cable Connect the FA adapter in either of the ways described above For the wiring of the FA adap...

Page 26: ...RATION User s Manual U13502EJ2V0UM00 26 Photo 2 8 Connecting Target Cable to FA Adapter The following is an example of directly connecting the FA adapter to the PG FP3 Photo 2 9 Directly Connecting FA Adapter to PG FP3 ...

Page 27: ...program file is stored in compressed form on the floppy disk it cannot be used simply by copying the files on the disk to the hard disk Be sure to install the program correctly by using the setup program Starting the host machine Turn on power to the personal computer and start Windows 95 or Windows NT Host machine PC 9801 or PC 9821 IBM PC AT compatible CPU Pentium TM 100 MHz or higher is recomme...

Page 28: ...Destination Directory in the Choose Destination Location screen Then click the button Example Specifying the Program Files Flashpro3 path of drive C To start the installation click the Next button When the installation ends a confirmation message appears as shown below Click the OK button Now the installation is completed An English help file is installed as standard To use a Japanese help file co...

Page 29: ...Installing the parameter file The PG FP3 loads information about the target device as a parameter file and makes the necessary settings for interfacing Caution The PG FP3 will not operate correctly unless the parameter file of the device to which programs are to be written has been installed Be sure to obtain and install the parameter file when using PG FP3 Using Explorer or a similar means copy t...

Page 30: ...he PG FP3 is operating normally the POWER LED lights the LED on the side of the MODE key blinks and then the Erase Program and Verify LED indicators light Photo 3 1 Starting the PG FP3 If any of the LEDs mentioned above does not light the PG FP3 has probably malfunctioned If this occurs notify NEC Starting FLASHPRO3 Either select FLASHPRO3 from the Start menu or if a shortcut has been created doub...

Page 31: ... of the I F SELECT switch matches the interface used 3 Setting of Connection Port is wrong If the setting of the Port is different from the Port actually being used for the host set the correct port 4 A wrong communication rate is set The PG FP3 operates at a communication baud rate of 9600 bps on starting if the RS 232C interface is selected If a wrong baud rate is set correct the setting There i...

Page 32: ...at you can perform a series of operations by referring to the flowchart The log window screen shows the command flow between the FLASHPRO3 and PG FP3 the status and the progress of command execution The TYPE screen displays the current TYPE settings allowing you to check the current settings without having to open the TYPE setting window Figure 3 1 FLASHPRO3 Screens a Operation Screen b Log Window...

Page 33: ... The parameter file is loaded with the Setting Device command If the file is not loaded when FLASHPRO3 starts settings for the target will not be correctly performed Consequently communication may fail or the target may be damaged Figure 3 2 Parameter File Setting Dialog Box When this dialog box is opened enter the parameter file name in response to Device file name Alternatively click the button ...

Page 34: ...nge the default setting either execute the Setting Type command or click the TYPE button on the screen The TYPE setting dialog box below is displayed Figure 3 3 TYPE Setting Dialog Box When the Parameter File Is Loaded If the device definition file has not been loaded the TYPE setting dialog box below is displayed In this case load the file and then perform TYPE setting Figure 3 4 TYPE Setting Dia...

Page 35: ...t If the device used has an on chip EEPROM TM however the internal data of the EEPROM can be read to the PG FP3 by selecting EEPROM 3 CPU CLOCK Selects the CPU operating clock When the FA adapter is used select In Flashpro to choose a clock from Flashpro Clock When the user target board is used select On target board and enter the clock frequency of the target board in the text box Some devices ha...

Page 36: ...G FP3 is used in stand alone mode Any setting that is changed can be saved with the File Type Save command To perform setting again use the File Load command Caution Load the parameter file each time FLASHPRO3 is started even though the file was loaded the previous time FLASHPRO3 was used The PG FP3 updates its settings to prevent a wrong target from being selected by reloading the parameter file ...

Page 37: ...hapter 5 Operating conditions in this example The operating conditions for the example used in this chapter are as follows HOST I F PRINTER I F Target µPD78F4216 with FA adapter Interface UART 9600 bps Clock In Flashpro 16 MHz Mode CHIP VDD 5 0 V VPP 10 0 V Command E P V 1 Starting the system Connect the PG FP3 and host Confirm that the interface select switch is set to the printer interface posit...

Page 38: ...this time check the Connection Port setting and change if necessary The example below assumes that the PG FP3 is connected to LPT1 Figure 4 1 Communication Error Dialog Box Open the setting dialog box by clicking Connection Port Change the setting for Connection Port from COM1 to LPT1 After changing the setting click the OK button The error dialog box will be displayed again Execute Retry for reco...

Page 39: ...CHAPTER 4 BASIC OPERATING PROCEDURE User s Manual U13502EJ2V0UM00 39 When FLASHPRO3 has been started correctly the following screen is displayed ...

Page 40: ... OK button When the parameter file is read the PG FP3 is reset for synchronization then the parameters are read Consequently immediately after the parameter file is loaded the initial status is restored and the CHIP mode is selected The Dump HEX command Program command Verify command and E P V command are dimmed Those commands are disabled until a user program is downloaded The screen appearing im...

Page 41: ...ndow by selecting Type from the Setting pull down menu or by clicking the button on the operation screen When the window is open set COMM Port to UART CH 0 and UART bps to 9600 bps Then click the OK button to accept TYPE setting When TYPE setting has been performed the FLASHPRO3 screen is displayed as follows ...

Page 42: ...n on the operation screen Select a HEX file to be downloaded and load the file into FLASHPRO3 When the file has been loaded the FLASHPRO3 screen is displayed as follows Next download the file to the PG FP3 by either selecting Download HEX from the Procedure pull down menu or clicking the button on the operation screen After the file has been downloaded the FLASHPRO3 screen is displayed as follows ...

Page 43: ...the E P V processing is indicated by the message Verify OK which is displayed in the log window 6 Verify check Next the program is verified independently This is done by comparing the data stored in the PG FP3 with the data of the target Verification can be executed by either selecting Verify from the Procedure pull down menu or clicking the button on the operation screen While verification contin...

Page 44: ...User s Manual U13502EJ2V0UM00 44 MEMO ...

Page 45: ...s 5 1 1 Load File The Load File command loads the user program into FLASHPRO3 The loaded program can be displayed and edited with the Edit command Execute the Load File command by selecting it from the pull down menu or by pressing the button on the screen When this command has been executed the window below opens Select the file to be loaded and click the Open button Two types of files can be loa...

Page 46: ...he name of the file to be saved and click the Save button Two types of files can be saved Intel expansion HEX and Motorola S format files An Intel expansion HEX file is recognized as xxxxxx HEX A Motorola S format file is recognized as xxxxxx PRO For selection of a file format the following dialog box is displayed when the Save File command has been executed Click the button corresponding to the t...

Page 47: ...is loaded again the previously used environment is restored Execute the Load Type command by clicking Load Type on the File pull down menu When this command has been executed the window below opens Select the Type File to be loaded and click the Open button The following information is reset when Type File is reloaded Parameter definition information TYPE setting information Voltage setting inform...

Page 48: ...clicking Save Type on the File pull down menu When this command has been executed the window below opens Enter the name of the file to be saved and click the Save button The following information is saved when Type File is saved Parameter definition information TYPE setting information Voltage setting information Option setting information 5 1 5 Exit The Exit command terminates FLASHPRO3 Execute t...

Page 49: ...ull down menu When this command is executed the dialog box below opens Enter the name of the parameter file for the target to be used or select an appropriate parameter file by clicking the button to the right of the text box and then click the OK button This completes the setting of the parameters Remarks 1 The information in the parameter file sets information important for interfacing with the ...

Page 50: ...ult value change the contents of the corresponding item and click the OK button The setting will be changed The following describes each parameter in the figure above Selecting the device type DEVICE TYPE The device type is determined by the information in the parameter file Selecting the internal ROM format for the target microcontroller FLASH EEPROM A ROM type cannot be selected for a microcontr...

Page 51: ...cked communication port channel 1 SIO ch 2 SIO 3 wire clocked communication port channel 2 SIO ch 3 handshake SIO 3 wire clocked communication port with handshaking I2C ch 0 I 2 C channel 0 I2C ch 1 I 2 C channel 1 I2C ch 2 I2 C channel 2 I2C ch 3 I 2 C channel 3 UART ch 0 Async UART asynchronous communication port channel 0 UART ch 1 Async UART asynchronous communication port channel 1 UART ch 2 ...

Page 52: ...er The valid range is 8 to 77H Do not however enter the unit This slave address can take any value within the range but must not overlap with the slave address of other devices on IIC Entering RAM SIZE This value sets the packet size for communication with the target device and is determined by the parameter definition information Entering the CPU clock source CPU CLOCK Selects whether the clock f...

Page 53: ...rformed in multiple mode enter a multiple Usually this parameter is set to 01 00 To operate in multiple mode enter a multiple Example To operate in 5 mode Enter 05 00 BLOCK range setting In block mode set a range of blocks In this mode the Block Area button at the right of the TYPE setting screen becomes active When this button is clicked the dialog box shown below opens Enter the block range to b...

Page 54: ... set AREA mode by clicking the CHIP BLOCK AREA button in the FLASHPRO3 window or by executing set Area For information on changing the mode see Section 5 3 6 5 2 3 Voltage Voltage sets the voltage at which the target operates VDD and VPP voltages differ depending on the device The VDD and VPP voltages are automatically set by loading the parameter file However some devices have two supply voltages...

Page 55: ... this dialog box and click the OK button The setting will be changed Erase time Sets the erase time for the device If 0 second is set erasure processing is not performed Write time Sets the write time for the device Convergence time Sets the time of the function that prevents excessive erasing of the device 5 2 5 Reset Reset restarts the PG FP3 system The PG FP3 must be restarted if you want to ch...

Page 56: ... executed the following dialog box opens allowing you to set a communication port If the printer interface was selected when the PG FP3 started the communication port setting must be LPTx A box for setting a baud rate is displayed in the dialog box but a setting in this box is ignored If a wrong port was specified when FLASHPRO3 started the error dialog box below is displayed If this dialog box is...

Page 57: ...ser program loaded into FLASHPRO3 with Load File to the PG FP3 The progress of downloading is displayed in the log window While downloading is in progress the Load LED of the PG FP3 blinks Execute this command by selecting Download HEX from the Procedure pull down menu or by clicking the button on the operation screen When the user program has been completely downloaded the buttons such as Program...

Page 58: ...definition information Do not change the value set as the erase time except in special circumstances since the device may be damaged if it is changed If the target device is erased repeatedly further erasing may become difficult and a longer erase time may be required During erasure the following messages are displayed in the log window they are displayed every second if there is a wait time of se...

Page 59: ...n screen While a program is being written the progress is displayed in the log window and the Program LED on the PG FP3 blinks Caution The address range in which a program can be written differs depending on the currently set mode Chip Block or Area and the setting conditions While a program is being written the following messages are displayed in the log window NP17 Programming 10 NP17 Programmin...

Page 60: ...en in the flash memory against the re sent data NP13 Verifying 010 NP13 Verifying 020 NP13 Verifying 030 NP13 Verifying 040 NP13 Verifying 050 NP13 Verifying 060 NP13 Verifying 070 NP13 Verifying 080 NP13 Verifying 090 NP13 Verifying 100 NP14 Verify OK 2 Reads the data programmed in the flash memory changing the read level and verifies the data NP13 Verifying 01s NP13 Verifying 02s NP13 Verifying ...

Page 61: ...lly used to check to see if data has been correctly written after programming While verification is being executed the progress is displayed in the log window and the Verify LED on the PG FP3 blinks The following messages are displayed in the log window during verification NP13 Verifying 10 NP13 Verifying 20 NP13 Verifying 100 Caution If the verify time is too short the above message may not be di...

Page 62: ...ck level of the E P V command is the same as that of the Erase command Even if the device has been erased the blank check by this command would detect an error owing to voltage fluctuations in operation If this occurs the device would be erased again 5 3 6 Chip set Block set Area set Chip set Block set Area set selects an operating mode The display for the command changes depending on the conditio...

Page 63: ...CHAPTER 5 COMMAND REFERENCE User s Manual U13502EJ2V0UM00 63 Figure 5 2 Mode Screens a Block Mode Screen b Area Mode Screen ...

Page 64: ...ull down menu When it is executed the signature information is displayed in the log window as shown at the right The figure shown below shows an example of executing a µPD75F4264 command 5 4 2 Status Status displays the TYPE information currently set for the PG FP3 in the log window This command is used to check if the current PG FP3 settings are correct or if the current settings are set for the ...

Page 65: ...u or by clicking the button on the operation screen When this command is executed the following dialog box opens and the addresses to which the program is to be uploaded can be specified About Edit Edit is used to check the data loaded into or uploaded to FLASHPRO3 The displayed data can be also edited Execute this command by clicking the button on the operation screen When the command is executed...

Page 66: ...the operation screen It is assumed that a general EPROM is used as the master ROM For details on the master ROM socket see Section 7 3 The master ROM command reads the signature of the mounted ROM before the master ROM is downloaded in order to check if the ROM is usable or if the ROM is correctly mounted If the ROM on the master ROM socket is not supported by the PG FP3 the dialog box below is di...

Page 67: ...with the PG FP3 MODE KEY The command currently selected can be identified by an LED on the PG FP3 Execute the selected command by pressing the ENTER key The command is set in the command mode specified by E P V when the PG FP3 is started The command mode changes as follows each time the MODE key has been pressed E P V Erase Program Verify PROM Load E P V While a command is being executed the LED c...

Page 68: ... from the host and TYPE setting must be performed by the host in advance Selecting the command mode When power is turned on E P V mode is set The mode changes as follows each time the MODE key is pressed E P V ERASE PROGRAM VERIFY LOAD E P V Photo 6 1 Selecting the Command Mode E P V command mode VERIFY command mode ERASE command mode PROM LOAD command mode PROGRAM command mode Executing a command...

Page 69: ...0 V 2 0 A AC adapter input plug 5 5 DIA center Power consumption Maximum value Approx 15 W Dimensions 205 117 32 mm excluding projections Weight 470 g main unit only Operating environment Temperature 0 C to 40 C Humidity 35 to 85 without condensation Storage environment Temperature 5 C to 45 C Humidity 10 to 90 without condensation Note Do not use any power supply other than the AC adapter supplie...

Page 70: ... Mount the PROM to which a program has been written in the master ROM socket and execute from the FLASHPRO3 the command that downloads data from the master ROM The data can be also downloaded from the master ROM by pressing the MODE key on the PG FP3 to set LOAD MODE the LOAD LED lights and then pressing the ENTER key Operation from the FLASHPRO3 Either click the PROM Load button on the screen or ...

Page 71: ... PROM Load Command While the master ROM is being accessed the ACCESS LED lights Do not remove the PROM from the master ROM while this LED is lit otherwise the PG FP3 and PROM may be damaged If an error message is displayed while the PROM Load command is being executed read the message and take corrective measures by seeing Chapter 8 Only the ERROR LED lights if the PG FP3 is used in stand alone mo...

Page 72: ...duct other than a PROM and a jig may damage the ROM socket Never make such an attempt The following is pin configuration Figure 7 1 Pin Configuration Top View VCC VSS D2 D1 D0 A0 A1 A2 A3 A4 A5 A6 A7 A12 A15 A16 A19 A18 A17 A14 A13 A8 A9 A11 _OE A10 _CE D7 D6 D5 D4 D3 Table 7 2 Pin List Pin Signal name Pin Signal name Pin Signal name Pin Signal name 1 A19 Note 9 A3 17 D3 25 A11 2 A16 10 A2 18 D4 2...

Page 73: ...the manufacturer of the personal computer The printer interface specifications which conform to IEEE 1284 1994 are as follows Table 7 3 Printer Interface Specifications Item Specification Interface connector Half pitch 36 pin receptacle standard 10236 52A2JL manufacturer 3M Operating mode Compatible mode ECP mode supported Note Data signal 74LS24 or equivalent Pull up resistor 1 2 kΩ damping resis...

Page 74: ...ta 8 Most Significant Bit 14 IN Ninit nReverseRequest 15 IN Nstobe HostClk 16 IN NselectIn IEEE1284 active 17 IN NautoFd HostAck 18 IN Host Logic High 19 Signal Ground Busy 20 Signal Ground Select 21 Signal Ground nAck 22 Signal Ground nFault 23 Signal Ground PError 24 Signal Ground Data1 25 Signal Ground Data2 26 Signal Ground Data3 27 Signal Ground Data4 28 Signal Ground Data5 29 Signal Ground D...

Page 75: ...ible machine PC98 NX cable PG FP3 side connector Half pitch 36 pin plug Host side connector D SUB 25 pin plug D SUB Half pitch Plug 25 pin Plug 36 pin 1 15 2 6 3 7 4 8 5 9 6 10 7 11 8 12 9 13 10 3 11 1 12 5 13 2 14 17 15 4 16 14 17 16 18 33 19 24 25 20 26 27 21 28 29 22 30 31 23 19 22 24 20 21 23 25 32 34 35 Short 18 36 Accessory IEEE1284 cable PC AT ...

Page 76: ...3 side connector Half pitch 36 pin plug Host side connector Half pitch 36 pin plug Plug 36 pin Plug 36 pin 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 Accessory IEEE1284 cable PC 98 ...

Page 77: ...w control None If the RS 232C interface is selected when the PG FP3 starts the default baud rate of 9600 bps is set Unless the baud rate of the application is also 9600 bps on startup the PG FP3 cannot connect to the host possibly causing the Connection Port error dialog box to open If this happens correct the setting Figure 7 2 Communication Error Dialog Box If communication is not performed corr...

Page 78: ... input 3 TxD OUT Serial data output 4 CS IN Data control signal input 5 RS OUT Data control signal output 6 DSR OUT Data control signal output not used 7 GND Common signal line 8 DCD OUT Data control signal output not used 9 NC 10 NC 11 NC 12 NC 13 NC 14 NC 15 NC 16 NC 17 NC 18 NC 19 NC 20 DTR IN Data control signal input not used 21 NC 22 NC 23 NC 24 NC 25 NC ...

Page 79: ...X cable PG FP3 side connector D SUB 25 pin plug Host side connector D SUB 9 pin receptacle Connection Straight D SUB D SUB 25 pin 9 pin 2 3 3 2 4 7 5 8 6 6 7 5 8 1 20 4 22 9 PC 9800 cable PG FP3 side connector D SUB 25 pin plug Host side connector D SUB 25 pin plug Connection Straight D SUB D SUB 25 pin 9 pin 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 20 20 22 22 ...

Page 80: ...nects from the target a signal line that may cause damage if a signal line with a voltage higher than the rated voltage is connected to the interface by mistake The circuit also informs the user of the abnormal condition If an abnormal condition is detected check whether the interface is correctly connected and whether the target is normal The overvoltage level each signal line of the interface ca...

Page 81: ...ser target is used connect the VDD line to the target With a device using two supply voltages and requiring interface signals of different levels output either of the voltage levels from the PG FP3 and convert the level of the signal with the different signal level on the target Signal conflict If an output from another device is connected to the serial interface pin and reset pin a signal conflic...

Page 82: ...terface connector and specifications of the interface cable are given below Pin configuration Pin Signal name IN OUT Specification 1 GND Common signal 2 SI RxD IN OUT Serial data I O 3 wire UART IIC 3 SO TxD OUT Serial data output 3 wire UART 4 SCK OUT Serial clock output in 3 wire IIC mode 5 CLK OUT Clock output to target Select 16 8 4 or 2 MHz 6 _RESET OUT RESET signal output to target Low RESET...

Page 83: ...upplied is used because communication rate is too high for the communication setting The following are the specifications for each cable Item Specification Connection Remarks TYPE 1 PG FP3 side connector D SUB 9 pin plug Standard FDE 9P 05 Manufacturer Hirose Target side connector IC clip 9 pcs D SUB IC clip Plug 9 pin 9 pcs 1 GND black 2 SI yellow 3 SO blue 4 SCK white 5 CLK green 6 _RESET green ...

Page 84: ... The interface equivalent circuit between the PG FP3 and the target and the load condition that must be satisfied by the target are as follows SI I O pin VDD VDD Comparator 74LS07 470 Ω 200 Ω SI SO and RESET output pins VDD 470 Ω 200 Ω 74LS07 SO and _RESET CLK output pin VDD 200 Ω AC equivalent BUFF 100 pF CLK ...

Page 85: ...S User s Manual U13502EJ2V0UM00 85 SCK I O pin VDD VDD Comparator 470 Ω 200 Ω 74LS07 SCK HS input pin VDD VDD 470 Ω 200 Ω Comparator HS Target load condition VDD 100 pF max 2 4 kΩ min CLK 100 pF max SCK 470 pF max SI SO _RESET SCK CLK ...

Page 86: ...User s Manual U13502EJ2V0UM00 86 MEMO ...

Page 87: ...er has no signature ER09 Target no SIGNATURE Action Check to see if the target device was correctly set with TYPE setting Cause The set target microcontroller has no EEPROM ER0A No EEPROM Action Check to see if the target device was correctly set with TYPE setting cannot be read Cause The target microcontroller is not normal ER0B Target return error Action Communication with the target device is n...

Page 88: ...error Action The microcontroller may be damaged Cause IIC communication error ER1A SLAVE ADDRESS ERROR Action Check the connection with the target system Cause The specified block is not blank ER1B Blank check Failed BLOCK xx Action Erase the specified block with the Erase command Cause The specified block cannot be erased ER1C ROM Erase Failed BLOCK xx Action The specified block may be damaged Ca...

Page 89: ...ch processing with a device with ECC memory ER32 Cannot execute when ECC set Action Batch processing cannot be performed with a device with ECC memory Cause An ECC memory address was not entered ER33 ECC BLOCK address unknown Action An ECC memory address was not entered correctly Cause A value exceeding the range was specified ER34 Unpacked BCD format error Action The version of the PG FP3 termina...

Page 90: ... high ER45 IIC SCLK is Low level Action Check the SCK pin of the target system Cause An excess VPP current was detected ER50 VPP OUT CURRENT error Action Check the VPP pin of the target system Cause An excess VDD current was detected ER51 VDD OUT CURRENT error Action Check the VDD pin of the target system Cause An excess VCC 5 V current was detected ER52 VCC 5V CURRENT error Action The PG FP3 may ...

Page 91: ...rformed Therefore be sure to read the manual for the device before creating the target Interface circuit for the PG FP3 Interface circuit examples for a UART asynchronous communication port and SIO 3 wire clocked port are given below Because the PG FP3 senses the voltage on the target even when VDD is not supplied to the target be sure to connect the VDD pin For information on pin processing of th...

Page 92: ...EJ2V0UM00 92 Figure A 2 Interface Circuit Example for SIO VCC VCC JUMPER User reset circuit VCC VCC VCC R 10K R 10K R 10K R 10K CON FAP 1008 2 Microcontroller IC Y C C 6 7 8 9 10 RESET VDD VPP HS NC GND SI SO SCK CLK 1 2 3 4 5 SO X1 X2 SI SCK VPP VDD VSS RESET ...

Page 93: ...2 A description of installing has been changed Chapter 3 A description of the Erase command has been added A description of the Program command has been added A description of the Verify command has been added Caution has been added to the description of the E P V command A description of the Blank Check command has been deleted from the first edition A description of the Read command has been del...

Page 94: ...User s Manual U13502EJ2V0UM00 94 MEMO ...

Page 95: ... 02 2719 5951 Address North America NEC Electronics Inc Corporate Communications Dept Fax 1 800 729 9288 1 408 588 6130 Europe NEC Electronics Europe GmbH Technical Documentation Dept Fax 49 211 6503 274 South America NEC do Brasil S A Fax 55 11 6465 6829 Asian Nations except Philippines NEC Electronics Singapore Pte Ltd Fax 65 250 3583 Japan NEC Semiconductor Technical Hotline Fax 044 548 7900 I ...

Reviews: