Part Number Hot Search : 
M1S18TAJ AE04026 B33AD VCF16 HT7520 EL4584CS 653101E3 ABF1508
Product Description
Full Text Search
 

To Download PG-FP4 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  document no. u15260ej3v1um00 (3rd edition) date published march 2003 n cp(k) printed in japan 2001 user?s manual PG-FP4 flash memory programmer
user?s manual u15260ej3v1um 2 [memo]
user?s manual u15260ej3v1um 3 PG-FP4 complies with the emc protection requirements warning this is a ?class a? (en 55022: 1998) equipment. this equipment can cause radio frequency noise when used in the residential area. in such cases, the user/operator of the equipment may be required to take appropriate countermeasures under their own responsibility. eedt-st-001-11 caution this equipment should be handled like a cmos semiconductor device. the user must take all precautions to avoid build-up of static electricity while working with this equipment. all test and measurement tool including the workbench must be grounded. the user/operator must be grounded using the wrist strap. the connectors and/or device pins should not be touched with bare hands. eedt-st-004-10
user?s manual u15260ej3v1um 4 eeprom is a trademark of nec electronics corporation pc/at is a trademark of international business machines corporation. windows and windows nt are either registered trademarks or trademarks of microsoft corporation in the united states and/or other countries. pentium is a trademark of intel corporation. the information in this document is current as of february, 2003. the information is subject to change without notice. for actual design-in, refer to the latest publications of nec electronics data sheets or data books, etc., for the most up-to-date specifications of nec electronics products. not all products and/or types are available in every country. please check with an nec electronics sales representative for availability and additional information. no part of this document may be copied or reproduced in any form or by any means without the prior written consent of nec electronics. nec electronics assumes no responsibility for any errors that may appear in this document. nec electronics does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from the use of nec electronics products listed in this document or any other liability arising from the use of such products. no license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of nec electronics or others. descriptions of circuits, software and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples. the incorporation of these circuits, software and information in the design of a customer's equipment shall be done under the full responsibility of the customer. nec electronics assumes no responsibility for any losses incurred by customers or third parties arising from the use of these circuits, software and information. while nec electronics endeavors to enhance the quality, reliability and safety of nec electronics products, customers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely. to minimize risks of damage to property or injury (including death) to persons arising from defects in nec electronics products, customers must incorporate sufficient safety measures in their design, such as redundancy, fire-containment and anti-failure features. nec electronics products are classified into the following three quality grades: "standard", "special" and "specific". the "specific" quality grade applies only to nec electronics products developed based on a customer- designated "quality assurance program" for a specific application. the recommended applications of an nec electronics product depend on its quality grade, as indicated below. customers must check the quality grade of each nec electronics product before using it in a particular application. "standard": computers, office equipment, communications equipment, test and measurement equipment, audio and visual equipment, home electronic appliances, machine tools, personal electronic equipment and industrial robots. "special": transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster systems, anti-crime systems, safety equipment and medical equipment (not specifically designed for life support). "specific": aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems and medical equipment for life support, etc. the quality grade of nec electronics products is "standard" unless otherwise expressly specified in nec electronics data sheets or data books, etc. if customers wish to use nec electronics products in applications not intended by nec electronics, they must contact an nec electronics sales representative in advance to determine nec electronics' willingness to support a given application. (note) (1) "nec electronics" as used in this statement means nec electronics corporation and also includes its majority-owned subsidiaries. (2) "nec electronics products" means any product developed or manufactured by or for nec electronics (as defined above). ? ? ? ? ? ? m8e 02. 11-1
user ? s manual u15260ej3v1um 5 regional information ? device availability ? ordering information ? product release schedule ? availability of related technical literature ? development environment specifications (for example, specifications for third-party tools and components, host computers, power plugs, ac supply voltages, and so forth) ? network requirements in addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary from country to country. nec electronics america, inc. (u.s.) santa clara, california tel: 408-588-6000 800-366-9782 fax: 408-588-6130 800-729-9288 nec electronics hong kong ltd. hong kong tel: 2886-9318 fax: 2886-9022/9044 nec electronics hong kong ltd. seoul branch seoul, korea tel: 02-528-0303 fax: 02-528-4411 nec electronics shanghai, ltd. shanghai, p.r. china tel: 021-6841-1138 fax: 021-6841-1137 nec electronics taiwan ltd. taipei, taiwan tel: 02-2719-2377 fax: 02-2719-5951 nec electronics singapore pte. ltd. novena square, singapore tel: 6253-8311 fax: 6250-3583 j02.11 nec electronics (europe) gmbh duesseldorf, germany tel: 0211-65 03 01 fax: 0211-65 03 327  sucursal en espa ? a madrid, spain tel: 091-504 27 87 fax: 091-504 28 60 v lizy-villacoublay, france tel: 01-30-67 58 00 fax: 01-30-67 58 99  succursale fran ? aise  filiale italiana milano, italy tel: 02-66 75 41 fax: 02-66 75 42 99  branch the netherlands eindhoven, the netherlands tel: 040-244 58 45 fax: 040-244 45 80  tyskland filial taeby, sweden tel: 08-63 80 820 fax: 08-63 80 388  united kingdom branch milton keynes, uk tel: 01908-691-133 fax: 01908-670-290 some information contained in this document may vary from country to country. before using any nec electronics product in your application, piease contact the nec electronics office in your country to obtain a list of authorized representatives and distributors. they will verify:
user ? s manual u15260ej3v1um 6 major revisions in this edition (1/2) page contents throughout change of url of nec electronics corporation. pp.18 to 21 chapter 2 hardware installation ? ? ? ? addition of operating software windouws 2000 and windows xp p.18 2.1 system requirements ? ? ? ? change from ? pc-9821 series ? to ? pc-9800 series ? p.20 2.3.2 PG-FP4 control panel and connectors ? ? ? ? change of status led color from yellow to orange pp.22 to 23 addition of 2.3.9 i 2 c adapter pp.27, 31 to 33 3.1.1 gui software installation ? ? ? ? change of figure 3-6 software license agreement window ? ? ? ? change of figure 3-12 setup is complete window ? ? ? ? change of name of file to be installed. p.33 addition of 3.1.2 usb driver installation p.38 3.1.3 gui software uninstallation ? ? ? ? addition of ( 2) uninstallation using ? add/remove programs ? p.39 3.2 firmware and gui software update installation ? ? ? ? addition of procedures to update firmware p.43 change of figure 4-3 gui software main window p.44 addition of [programmer] ? [select programming area ? ] button to table 4-1 toolbar buttons pp.52 to 54 4.4.2 [programmer] menu ? ? ? ? addition of icon to (3) [select programming area ? ] menu ? ? ? ? addition of (5) [update firmware] menu pp.55 to 71 4.4.3 [device] menu ? ? ? ? change of figure 4-19 [device] menu ? ? ? ? ( 2) to (7) addition and change of description ? ? ? ? ( 9) (b) to (c) addition and change of description p.70 change of figure 4-32 about window pp.72 to 81 chapter 5 sample programming session using gui software ? ? ? ? ( 4) to (8) addition and change of description pp.83, 84, 89 chapter 6 PG-FP4 operation in standalone mode ? ? ? ? change of status led color from yellow to orange ? ? ? ? 6.1.1 [commands] menu addition to note and addition of note 3 ? ? ? ? 6.1.5 [utilitiy/misc.] menu addition of [prm file version] and [hex file name] pp.90 to 94 chapter 7 connectors and cables ? ? ? ? addition of description about power supply connector, hd-sub 9 serial host connector, hd-sub 15 target interface connector and hd-sub 25 parallel host connector. ? ? ? ? change of 7.4 target cable specifications pp.97 to 100 chapter 8 notes on target systems ? ? ? ? change of example of correct connection regarding reset signal ? ? ? ? addition of description about v pp ? ? ? ? addition of examples of uart and sio interface circuits the mark shows major revised points.
user ? s manual u15260ej3v1um 7 major revisions in this edition (2/2) page contents pp.101 to 105 chapter 9 target system interface ci rcuits ? ? ? ? change of 9.1 so/txd and reset ? ? ? ? addition of 9.2 sck ? ? ? ? change of figure 9-3 si/rxd and hs pins ? ? ? ? addition of 9.6 v dd , v dd2 ? ? ? ? addition of 9.7 v pp pp.108 to 115 chapter 10 error m essages ? ? ? ? 10.2 gui software fatal error messages addition of f129, f410, f411, f412 and f413 ? ? ? ? 10.3 gui software error messages addition of e201, e307, e316, e317, e805, e901, e903, e907 and e908 ? ? ? ? 10.4 gui software information messages addition of i202, i805, i905, i906, i907, i911, i912, i913, i914, i915, i916, i917 and i918 p.116 addition of appendix a revision history the mark shows major revised points.
user?s manual u15260ej3v1um 8 preface target readers this manual is intended for users who use the PG-FP4 when designing and developing a system using an nec electronics on-chip flash memory microcontroller. purpose this manual is intended to give users an understanding of the basic specifications and correct use of the PG-FP4. by using the PG-FP4, programs can be easily erased from or written to the flash memory of an nec electronics on-chip flash memory microcontroller, or can be verified on windows tm screens, while the microcontroller is mounted on the user board. organization this manual includes the following sections. ? overview ? hardware installation ? software installation ? PG-FP4 operation using gui software ? sample programming session using gui software ? PG-FP4 operation in standalone mode ? connectors and cables ? notes on target system ? target system interface circuits ? error messages how to read this manual to understand the overall functions and usage of the PG-FP4, read this manual in the order of the contents. be sure to read chapter 4 PG-FP4 operation using gui software because this chapter presents important information for using the PG-FP4. it is assumed that the readers of this manual have general knowledge of electricity, logic circuits, and microcontrollers. in the explanations of the operation of the applications, it is also assumed that the readers have sufficient knowledge of windows. for the usage and terminology of windows 95, windows 98, windows nt tm , windows me, windows 2000, and windows xp, refer to each windows manual. conventions note : footnote for item marked with note in the text. caution : information requiring particular attention remark : supplementary information numeral representation: binary ? or b decimal ? hexadecimal ? 0 h or h ? ?: any character or item on screen ok : name of button []: menu < >: dialog box name
user?s manual u15260ej3v1um 9 terminology the meanings of the terms used in this manual are as follows. term meaning fp4 abbreviation of flash memory programmer PG-FP4 gui software windows application to operate PG-FP4 using gui software target device nec electronics on-chip flash memory microcontroller target system user-desi gned board on which nec electronics on-chip flash memory microcontroller is mounted fa adapter adapter board to write programs to nec electronics on-chip flash memory microcontroller note note the fa adapter board is a product of naito densei machida mfg. co., ltd. if you have any questions about the fa adapter board, contact: naito densei machida mfg. co., ltd. tel: +81-45-475-4191
user?s manual u15260ej3v1um 10 contents chapter 1 overview .......................................................................................................... ................16 1.1 features .................................................................................................................... .................16 1.2 PG-FP4 configuration in graphical user interface (gui) mode ...........................................16 chapter 2 hardware installation............................................................................................ 18 2.1 system requirements......................................................................................................... ......18 2.2 package contents ............................................................................................................ .........18 2.3 system configuration and components ................................................................................19 2.3.1 host computer ............................................................................................................. ...................19 2.3.2 PG-FP4 control panel and connectors ....................................................................................... ....20 2.3.3 target system............................................................................................................. ....................21 2.3.4 power supply .............................................................................................................. ....................21 2.3.5 rs-232c host connection................................................................................................... ............21 2.3.6 parallel host connector ................................................................................................... ................21 2.3.7 usb port .................................................................................................................. .......................22 2.3.8 target cable.............................................................................................................. ......................22 2.3.9 i 2 c adapter...................................................................................................................... ................22 chapter 3 software installation ............................................................................................ 24 3.1 graphical user interface.................................................................................................... .......24 3.1.1 gui software installation................................................................................................. ................24 3.1.2 usb driver installation ................................................................................................... .................33 3.1.3 gui software uninstallation............................................................................................... ..............38 3.2 firmware and gui software update installation ....................................................................39 3.2.1 firmware update installation.............................................................................................. .............40 chapter 4 PG-FP4 operation using gui software ............................................................41 4.1 introduction ................................................................................................................ ...............41 4.2 starting up the gui software ................................................................................................ ...42 4.3 toolbar ..................................................................................................................... ..................44 4.4 menus ....................................................................................................................... ..................44 4.4.1 [file] menu............................................................................................................... .......................44 4.4.2 [programmer] menu......................................................................................................... ...............51 4.4.3 [device] menu............................................................................................................. ....................55 4.4.4 [help] menu ............................................................................................................... .....................70 chapter 5 sample programming session using gui software..................................71 chapter 6 PG-FP4 operation in standalone mode ...........................................................82 6.1 PG-FP4 operation menu ....................................................................................................... ....83 6.1.1 [commands] menu .......................................................................................................... ...............83 6.1.2 [type setting] menu ....................................................................................................... ................85 6.1.3 [option setting] menu ..................................................................................................... ................86 6.1.4 [voltage setting] menu .................................................................................................... ...............88 6.1.5 [utility/misc.] menu ...................................................................................................... ...................89
user?s manual u15260ej3v1um 11 chapter 7 connectors and cables .........................................................................................90 7.1 power supply connector ...................................................................................................... ...90 7.2 hd-sub 9 serial host connector .............................................................................................9 1 7.2.1 rs-232c cable (crossed) ................................................................................................... ............ 91 7.3 hd-sub 15 target interface connector...................................................................................92 7.4 target cable specifications................................................................................................. ....93 7.5 parallel host connector ..................................................................................................... ......95 7.6 usb port .................................................................................................................... ................96 chapter 8 notes on target systems .....................................................................................97 chapter 9 target system interface circuits ..................................................................101 9.1 so/txd, reset ............................................................................................................... ........101 9.2 sck......................................................................................................................... ..................102 9.3 si/rxd, hs.................................................................................................................. ..............103 9.4 clk......................................................................................................................... ..................103 9.5 flmd0, flmd1 ................................................................................................................ ........104 9.6 v dd , v dd2 .............................................................................................................................. ....104 9.7 v pp .............................................................................................................................. .............105 chapter 10 error messages.................................................................................................. ....106 10.1 error messages of PG-FP4 in standalone mode..................................................................106 10.2 gui software fatal error messages ......................................................................................108 10.3 gui software error messages................................................................................................ 111 10.4 gui software information messages ....................................................................................114 appendix a revision history ................................................................................................ ......116
user?s manual u15260ej3v1um 12 list of figures (1/3) figure no. title page 1-1 PG-FP4 configuration in gui software mode................................................................................... .......... 16 2-1 PG-FP4 system configuration ................................................................................................. ................... 19 2-2 PG-FP4 top view ............................................................................................................. .......................... 20 2-3 PG-FP4 target interface/power/serial host connectors ........................................................................ .... 20 2-4 PG-FP4 parallel host connector/usb port interface........................................................................... ....... 21 2-5 connection diagram.......................................................................................................... .......................... 22 2-6 i 2 c adapter ...................................................................................................................... ............................ 22 2-7 connection diagram when using i 2 c adapter ............................................................................................ 23 3-1 initial status of setup screen .............................................................................................. ........................ 24 3-2 dialog box..................................................................................... ............. 25 3-3 setup preparation ........................................................................................................... ............................ 25 3-4 welcome window.............................................................................................................. .......................... 25 3-5 setup type selection window ................................................................................................. ................... 26 3-6 software license agreement window ........................................................................................... ............. 27 3-7 installation start window................................................................................................... .......................... 28 3-8 choose folder window ........................................................................................................ ....................... 29 3-9 select program folder window................................................................................................ ................... 30 3-10 start copying files window ................................................................................................. ....................... 30 3-11 installation progress window ............................................................................................... ....................... 31 3-12 setup is complete window ................................................................................................... ...................... 31 3-13 program folder after installation.......................................................................................... ....................... 32 3-14 when connection of PG-FP4 to usb port is detected.......................................................................... ..... 33 3-15 welcome to the found new hardware wizard window............................................................................ .. 34 3-16 install new hardware wizard window ......................................................................................... ............... 34 3-17 locate driver files window................................................................................................. ........................ 35 3-18 window for specifying driver files to be copied 1.......................................................................... ........... 35 3-19 locate file window ......................................................................................................... ............................ 36 3-20 window for specifying driver files to be copied 2.......................................................................... ........... 36 3-21 driver files search results window ......................................................................................... .................. 37 3-22 completing the found new hardware wizard window ............................................................................ .. 37 3-23 add/remove programs window ................................................................................................. ................ 38 3-24 warning about old gui software version ..................................................................................... ............. 39 3-25 warning about old firmware version ......................................................................................... ................ 39 3-26 firmware update complete message ........................................................................................... .............. 40 3-27 [update firmware] menu ..................................................................................................... ........................ 40 4-1 fatal error: no parameter file installed.................................................................................... .................. 41 4-2 port scanning at startup of gui software.................................................................................... ............... 42 4-3 gui software main window .................................................................................................... .................... 43 4-4 [file] menu................................................................................................................. .................................. 44 4-5 hex editor file open window ................................................................................................. ................... 45
user?s manual u15260ej3v1um 13 list of figures (2/3) figure no. title page 4-6 hex editor main window...................................................................................................... .......................46 4-7 hex editor dialog box .......................................................................................... .................47 4-8 file selection window for program download.................................................................................. ...........48 4-9 file selection window for program upload .................................................................................... .............49 4-10 checksum dialog box........................................................................................................ ..........................50 4-11 [programmer] menu .......................................................................................................... ...........................51 4-12 dialog box ............................................................................................... .....................51 4-13 dialog box...................................................................................................... ............................52 4-14 programming area selection ................................................................................................. ......................52 4-15 firmware update window..................................................................................................... .......................53 4-16 select a file to download window........................................................................................... ....................53 4-17 progress status display window ............................................................................................. ....................54 4-18 firmware update complete message........................................................................................... ...............54 4-19 [device] menu .............................................................................................................. ................................55 4-20 device setup window ? standard menu ........................................................................................ .............58 4-21 setup window ? device selection ............................................................................................ ...................59 4-22 create new customized setup file window .................................................................................... ...........60 4-23 setup window ? communication interface to device ........................................................................... .......61 4-24 setup window-supply oscillator............................................................................................. .....................63 4-25 setup window ? operation mode .............................................................................................. ..................64 4-26 device setup window ? advanced ............................................................................................. .................65 4-27 setup window ? supply voltage.............................................................................................. ....................66 4-28 setup window ? command options ............................................................................................. ...............67 4-29 setup window ? security flag settings ...................................................................................... .................68 4-30 setup window ? program download/upload ..................................................................................... ..........69 4-31 [help] menu................................................................................................................ ..................................70 4-32 about window ............................................................................................................... ...............................70 5-1 connection between gui software and PG-FP4.................................................................................. .......72 5-2 [setup host connection?] menu ............................................................................................... ...................72 5-3 setup communication parameters .............................................................................................. ................73 5-4 gui software initial screen................................................................................................. .........................73 5-5 [device] [s etup?] menu.................................................................................................................... ......74 5-6 dialog box.......................................................................................... ................74 5-7 creating new customized setup file .......................................................................................... ................75 5-8 selecting parameter file.................................................................................................... ..........................75 5-9 saving customized setup file ................................................................................................ .....................75 5-10 dialog box ....................................................................................... ...............77 5-11 completion of parameter settings ........................................................................................... ....................78 5-12 opening program file to be downloaded...................................................................................... ..............79 5-13 completion of downloading .................................................................................................. .......................79 5-14 erase>program>verify (epv) menu ............................................................................................ ................80
user?s manual u15260ej3v1um 14 list of figures (3/3) figure no. title page 6-1 menu status transition by key input ......................................................................................... ................. 82 7-1 power supply connector...................................................................................................... ....................... 90 7-2 pin configuration of power supply connector ................................................................................. ........... 90 7-3 hd-sub 9 serial host connector .............................................................................................. .................. 91 7-4 pin configuration of hd-sub 9 serial host connector ........................................................................ ....... 91 7-5 host cable connections...................................................................................................... ........................ 91 7-6 hd-sub 15 target interface connector........................................................................................ ............... 92 7-7 pin configuration of hd-sub 15 target interface connector ................................................................... ... 92 7-8 target cable outline ........................................................................................................ ........................... 93 7-9 pin configuration of hd-sub 15 .............................................................................................. ................... 93 7-10 target connector outline (view from solder side) ........................................................................... .......... 93 7-11 hd-sub 25 parallel host connector.......................................................................................... .................. 95 7-12 pin configuration of hd-sub 25 parallel host connector ..................................................................... ...... 95 7-13 usb port connector......................................................................................................... ........................... 96 8-1 uart interface circuit example .............................................................................................. ................. 100 8-2 sio interface circuit example ............................................................................................... .................... 100 9-1 so/txd and reset pins....................................................................................................... ................... 101 9-2 sck pin..................................................................................................................... ................................ 102 9-3 si/rxd and hs pins .......................................................................................................... ........................ 103 9-4 clk pin ..................................................................................................................... ................................ 103 9-5 flmd0 and flmd1 pins ........................................................................................................ ................... 104 9-6 v dd and v dd2 pins .......................................................................................................................... ........... 104 9-7 v pp pin........................................................................................................................... ............................ 105
user?s manual u15260ej3v1um 15 list of tables table no. title page 4-1 toolbar buttons............................................................................................................. ...............................44 4-2 key functions that can be input in hex editor window........................................................................ ....47 7-1 pin configuration of hd-sub 9 serial host connector......................................................................... ........91 7-2 pin configuration of hd-sub 15 target interface connector................................................................... ....92 7-3 pin configuration of target connector....................................................................................... ..................93 7-4 pin configuration of hd-sub 25 parallel host connector...................................................................... ......95
user?s manual u15260ej3v1um 16 chapter 1 overview the PG-FP4 is a tool that erases, writes, and verifies programs on an nec electronics on-chip flash memory single-chip microcontroller on the target board or fa adapter board. this product can be used in graphical user interface (gui) mode using a host computer or in standalone mode. 1.1 features ? the PG-FP4 allows on-board programming without removing the target device from the target system. ? the user program is stored in the internal 2 mb flash memory of the PG-FP4 and parameters for programming are stored in 8 kb eeprom tm , so that the target device can be rewritten in the standalone mode, without having to connect the PG-FP4 to a host. ? serial interface connection (rs-232c) to host systems, parallel interface for optional fast program download and a usb interface are available. ? csi, csi+hs, uart, i 2 c and port interfaces are supported for data transfer to the target device. ? programming voltage v pp can be selected from between 0 and 12 v. ? the PG-FP4 can supply 0 to 6 v on the v dd line (200 ma max.). 1.2 PG-FP4 configuration in graphical user interface (gui) mode the configuration of the PG-FP4 in gui software mode is shown in the diagram below. figure 1-1. PG-FP4 configuration in gui software mode (flashpro4 ) PG-FP4 cancel enter next store in eeprom 1 mb 1 mb logfile ini file gui software operation usb/ rs-232c upload/download a target program into PG-FP4 prm file set file device parameter setup calculate checksum hex editor to modify memory contents ? on-board programming ? fa adapter programming paralle host usb host device power + - serial host use as one storage area o r split into two areas
chapter 1 overview user?s manual u15260ej3v1um 17 the graphical user interface (gui) of the PG-FP4 supports the device commands necessary for downloading and uploading user programs, setting parameters necessary for writing the device, setting and selecting a writing environment by the user, changing the user program downloaded to the PG-FP4, and calculating and rewriting the memory checksum. the parameters necessary for writing the device are saved to a parameter file (prm file) and the setting of the user?s writing environment is saved to a customized setup file (set file). these files are downloaded to the PG-FP4 and stored in the internal eeprom, so that the downloaded data can be used even in the standalone mode. the gui software is executed using the parameters that have been set last. changed settings are saved to an ini file. communication between the gui software and the PG-FP4 is recorded in an ascii file. the internal memory of the PG-FP4 is configured as a 2 mb flash memory and holds the user program that is written to the target device. this memory?s area (progarea) can be divided into two 1 mb memory areas. therefore, the PG-FP4 can download two different user programs and select either of them as the valid user program.
user?s manual u15260ej3v1um 18 chapter 2 hardware installation 2.1 system requirements host pc a pc supporting windows 95, windows 98, windows nt 4.0, windows me, windows 2000, or windows xp is required to run the PG-FP4 in the graphical user interface (gui) mode. about 8 mb of free hard disk space is required to install the gui software. host machine any of the following can be used: ? ? ? ? pc-9800 series ? ? ? ? pc-98nx series ? ? ? ? ibm pc/at tm or compatible cpu pentium tm 100 mhz or more ram 32 mb or more host interface serial interface (rs-232c) capable of handling communication at 9,600 (minimum) baud up to 115,200 baud. a parallel port may be used in addition to the serial interface to enable fast data download to the PG-FP4. alternatively, a usb port (rev 1.1) is available. file formats program files can be used in motorola s file format or intel hex file format. 2.2 package contents please verify that you have received all the parts listed in the package contents list included with the PG-FP4 package. if any part is missing or seems to be damaged, please contact an nec electronics sales representative or distributor.
chapter 2 hardware installation user?s manual u15260ej3v1um 19 2.3 system configuration and components the PG-FP4 system configuration is as given in the diagram below. figure 2-1. PG-FP4 system configuration rs-232c cable (cross) fa adapter note 2 or user system ac adapter (15 v/1 a) parallel interface cable note 1 usb interface cable target cable host machine notes 1. the parallel interface cable is not included in the PG-FP4 package. 2. the fa adapter board is a product of naito densei machida mfg. co., ltd. the PG-FP4 is connected to the host system via an rs-232c serial interface cable or a usb interface cable. by using the serial interface in combination with the optional parallel interface, the user program can be quickly downloaded to the PG-FP4. the PG-FP4 is connected to the user system by the target cable. for the detailed specifications of the target cable, refer to chapter 7 connectors and cables . 2.3.1 host computer a pc is used to communicate with the PG-FP4. windows 95, windows 98, windows nt, windows me, windows 2000, or windows xp is required for gui software operation of the PG-FP4. it also must be equipped with a serial interface or a usb port. an optional parallel interface may be used for fast program download to the PG-FP4. remark usb support is not available on windows 95 and windows nt.
chapter 2 hardware installation user?s manual u15260ej3v1um 20 2.3.2 PG-FP4 control panel and connectors figure 2-2. PG-FP4 top view the control buttons are used in the standalone mode of the PG-FP4. next button proceeds to the next menu item in sequence. enter button selects the item shown in the message display. cancel button cancels the current selection and returns to the previous menu item. message display a 16 2-character lcd display indicates the operating mode. it is mainly used for the pg- fp4?s standalone mode. status led the led shows the PG-FP4 operating status, indicated by the colors green for ok , red for error or orange for operating . (1) PG-FP4 connectors the serial host connector, the target interface connector and the power connector are located on the right side of the PG-FP4. figure 2-3. PG-FP4 target interface/power/serial host connectors PG-FP4> serial host connector power connector target interface connector parallel host connector usb port message display control buttons status led
chapter 2 hardware installation user?s manual u15260ej3v1um 21 the parallel host connector and usb port are located on the left side of the PG-FP4. the parallel host connector can be used for high-speed downloading of a program as a centronics interface. figure 2-4. PG-FP4 parallel host connector/usb port interface PG-FP4> 2.3.3 target system the target system must be equipped with a device interface that complies with the target cable specifications. for details, refer to chapter 7 connectors and cables . 2.3.4 power supply the power supply fw7207/15 is equipped with a 2.1 55 14 dc plug and may be connected to the mains using one of the ac plugs available in europe, the uk, the usa and japan. for the power supply specifications, refer to chapter 7 connectors and cables . caution do not use any other ac adapter. connect only the provided ac adapter to the power supply jack. 2.3.5 rs-232c host connection 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. the baud rate may be selected from 9,600 bps (default), 19,200 bps, 38,400 bps, 57,600 bps or 115,200 bps. for detailed specifications of the host interface, refer to chapter 7 connectors and cables . 2.3.6 parallel host connector the parallel host connector may be configured as follows. centronics interface configuration program data can be downloaded to the PG-FP4 via a high-speed parallel port from the host system. for detailed specifications of the parallel interface, refer to chapter 7 connectors and cables .
chapter 2 hardware installation user?s manual u15260ej3v1um 22 2.3.7 usb port the usb port conforms to rev 1.1. it supports a communication speed of 12 mbps on a usb type b connector. caution usb support is not available on windows 95 and windows nt. 2.3.8 target cable the target cable is compatible with the fa adapters of naito densei machida mfg. co., ltd. for detailed specifications of the target cable, refer to chapter 7 connectors and cables . 2.3.9 i 2 c adapter the si and so pins of the PG-FP4 must be shorted on the target board when the i 2 c communication mode is used. figure 2-5. connection diagram vpp vdd reset scl0 sda0 gnd vdd sck reset si so vpp gnd target board target device PG-FP4 when using an i 2 c adapter, the si and so pins do not have to be shorted on the target board. figure 2-6. i 2 c adapter cn2 (16 pins) pins 3 to 5 shorted cn1 (10 pins) pins 3 to 5 shorted
chapter 2 hardware installation user ? s manual u15260ej3v1um 23 figure 2-7. connection diagram when using i 2 c adapter vpp vdd reset scl0 sda0 gnd vdd sck reset si so vpp gnd target board target device PG-FP4 i 2 c adapter <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 2 c adapter (cn2) of the target cable. <1> connect the fa adapter and the type a target connector of the target cable (16 pins). <2> connect the type b target connector (10 pins) and the i 2 c adapter (cn1) of the target cable.
user?s manual u15260ej3v1um 24 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. a setup screen opens as follows. figure 3-1. initial status of setup screen install PG-FP4 gui runs setup.exe from the setup directory. show the readme file opens notepad to show the readme file. (japanese and english are selectable. refer to figure 3-2 .) show the user?s manual opens acrobat reader to show the user?s manual. (japanese and english are selectable. refer to figure 3-2 .) exit exits from the initial screen.
chapter 3 software installation user?s manual u15260ej3v1um 25 figure 3-2. 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. figure 3-3. setup preparation the welcome screen appears a short while after initialization. figure 3-4. welcome window click next > to continue the installation.
chapter 3 software installation user?s manual u15260ej3v1um 26 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 > .
chapter 3 software installation user?s manual u15260ej3v1um 27 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.
chapter 3 software installation user?s manual u15260ej3v1um 28 the installation start window appears. figure 3-7. installation start window 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 browse? button is clicked , the choose folder window appears.
chapter 3 software installation user?s manual u15260ej3v1um 29 figure 3-8. choose folder window here you can change the destination path. click ok to accept the changes or click cancel to undo the changes. you will return to the installation start window (refer to figure 3-7 ). when the folder window is closed, click the next > button in the installation start window. 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.
chapter 3 software installation user?s manual u15260ej3v1um 30 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 start the copy process.
chapter 3 software installation user?s manual u15260ej3v1um 31 you can follow the installation on the installation progress window. you will be prompted to change the floppy disk if the gui software is distributed on more than one floppy disk. figure 3-11. installation progress window you can always abort the installation with the cancel button. when installation is complete, the following message window appears. figure 3-12. setup is complete window the program has been installed successfully and an entry has been made in the program menu to start the gui software. select the view readme.txt checkbox to start notepad to show you the readme.txt file. since this file is copied into your PG-FP4 directory anyway you may review it anytime. 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.
chapter 3 software installation user?s manual u15260ej3v1um 32 figure 3-13. program folder after installation 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
chapter 3 software installation user?s manual u15260ej3v1um 33 the setup program installs following files on your hard disk. c:\...\nectools32\PG-FP4 readme.txt latest information fp4.exe gui software fp4.hlp online help file fp4.cnt online help contents file fp4com.dll communication dll c:\...\nectools32\PG-FP4\drivers usbiowiz.inf setup information file for os usbio.sys usb driver c:\...\nectools32\PG-FP4\prm storage place for parameter file for target device c:\...\nectools32\PG-FP4\set storage place for customized setup files. caution the parameter file for the target device must be downloaded separately from the nec electronics website at http://www.necl.com/micro/ods/eng/index.html. 3.1.2 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. figure 3-14. when connection of PG-FP4 to usb port is detected
chapter 3 software installation user?s manual u15260ej3v1um 34 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 3-16. install new hardware wizard window select ?search for a suitable driver for my device [recommended]? under ?what do you want the wizard to do?? and click the next > button. the locate driver files window will be displayed.
chapter 3 software installation user?s manual u15260ej3v1um 35 figure 3-17. locate driver files window check ?specify a location? and click the n ext > 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 driver exists and click ok . you can specify the directory from the locate file window after clicking browse? .
chapter 3 software installation user?s manual u15260ej3v1um 36 figure 3-19. locate file window 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. the driver file search window is displayed.
chapter 3 software installation user?s manual u15260ej3v1um 37 figure 3-21. driver files search results window click next > , to 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 .
chapter 3 software installation user?s manual u15260ej3v1um 38 3.1.3 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 ?add/remove programs?. start ?add/remove programs? in the windows control panel. select ?PG-FP4? in ?change or remove programs?, then click change/remove to start uninstallation. figure 3-23. add/remove programs window all files installed during setup will be removed from your hard disk except the parameter files (.prm) and customized setup files (.set).
chapter 3 software installation user?s manual u15260ej3v1um 39 3.2 firmware and gui software update installation in order to guarantee proper operation of the PG-FP4 programmer, it is mandatory that the correct firmware version be available in the programmer?s internal memory. be sure to follow the procedure below when updating the firmware. (1) upgrade the gui software. (2) 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. figure 3-25. warning about old firmware version in both cases, update the software to the latest version. check the nec electronics website at http://www.necel.com/micro/ods/eng/index.html and download the necessary software update packages.
chapter 3 software installation user?s manual u15260ej3v1um 40 3.2.1 firmware update installation the new firmware can be installed using the gui software. before this process starts, download the new firmware onto the hard disk of the pc from the nec electronics website. a typical name of the firmware program file is fp4_vup_xxxx.rec , where xxxx is the version number of this firmware. (1) firmware update from warning message the firmware update procedure starts when you click the yes button in the firmware update error message (refer to figure 3-25 ). from the 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. as soon as the firmware update is complete, a message will appear. figure 3-26. firmware update complete message (2) firmware update from menu bar the dialog box shown in figure 3-25 is opened by selecting [update firmware] from [programmer] on the menu bar. hereafter, follow the procedure in the (1) firmware update installation from warning message above. figure 3-27. [update firmware] menu the PG-FP4 is now ready for operation.
user?s manual u15260ej3v1um 41 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. 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. the prm file downloaded from the nec electronics website must be copied into the sub-directory <PG-FP4 install path>\prm which was created during gui software setup (see chapter 3 software installation ). if no prm file has been installed before, the gui software will report a fatal error and it will not startup. figure 4-1. fatal error: no parameter file installed
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej3v1um 42 4.2 starting up the gui software ? system connection after installing the parameter file, connect the supplied rs-232c cable or usb cable to the computer in which the PG-FP4 is used. after connecting the cable, switch the PG-FP4 on. when it is started up correctly, the message display shows the ?commands >? prompt, and the status led is switched off. if the above does not happen, the PG-FP4 may be faulty. in this case, contact an nec electronics sales representative or distributor. ? 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. the gui software establishes a connection with the PG-FP4 using the [gui] section parameters in the fp4.ini file, hostconnectionspeed, hostconnectionport, and hostdownloadport. when no fp4.ini file exists (this is the case when starting the gui software for the first time), the gui software scans the connection via com1 to com6 in each port at 9,600 bps, 19,200 bps, 38,400 bps, 57,600 bps, and 115,200 bps to establish communication with the PG-FP4 using the usb. figure 4-2. port scanning at startup of gui software you may interrupt this operation by clicking abort and select the correct communication parameters from the [programmer] [setup host connection...] menu.
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej3v1um 43 as soon as communication is established and the gui software is started correctly, the following screen appears. figure 4-3. gui software main window this window consists of the following items. ? menu bar (displayed on top): displays executable menus of the PG-FP4 ? toolbar (displayed below the menu): displays frequently used commands as icons ? communication log window (displayed below the toolbar): displays all commands transmitted to the PG-FP4 and messages returned from the PG-FP4 ? programmer parameter window (displayed on the right side of the communication log window): displays programming parameter settings
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej3v1um 44 4.3 toolbar the toolbar contains buttons to start the most important procedures of the PG-FP4. table 4-1. toolbar buttons [device] ? [s etup?] button [device] ? [e rase] button [file] ? [d ownload?] button [device] ? [p rogram] button [file] ? [u pload?] button [device] ? [v erify] button [hex editor ?] button device erase program verify (autoprocedure (epv)) button [device] ? [b lank check] button note [programmer] ? [select programming area?] button note enabled only for single-power-supply flash memory microcontrollers. 4.4 menus depending on the actual device status or device type, some menu items may be enabled or disabled. for example, the [device] ? [b lank check] button is enabled only for single-power-supply flash memory microcontrollers. 4.4.1 [file] menu after clicking the [file] menu, the following pull-down menu is displayed. commands related to file operation appear here. figure 4-4. [file] menu
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej3v1um 45 (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? dialog box. figure 4-5. hex editor file open window hex files or srec files may be selected from the files of type list box.
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej3v1um 46 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. the hex editor accepts data only in hexadecimal format, i.e. figures 0 - 9 and letters a - f. any other data will be rejected. the ascii representation, if any, is shown at the right side of the main window. this area is for reference only. data input is not possible in the ascii window. use the scroll bar to move another address range into the visible area of the hex editor. the address space shown in the hex editor window is limited to 4 mb. the following keys can be input using the keyboard.
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej3v1um 47 table 4-2. key functions that can be input in hex editor window key function 0 - 9, a - f data input move cursor in right direction move cursor in left direction move cursor in up direction move cursor in down direction tab move cursor to next input field if any changes have been made to the edited file, the hex editor [file] [save] and [f ile] [save as ? ] menu items will be enabled to save the modified data. figure 4-7. hex editor dialog box besides the file name and directory location, allows selection of a different start address and a different end address for the new file. the original start address and end address are offered as the default selection. click the file format button of the format in which to save the data. the file format cannot be changed with this selection.
chapter 4 PG-FP4 operation using gui software user ? s manual u15260ej3v1um 48 (2) [download] menu the [download] menu allows you to select and download a program file into the PG-FP4 flash memory. the downloaded program file may be programmed into the device ? s flash memory by executing the program command or epv command. figure 4-8. file selection window for program download 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. [ open button] downloads the selected user program to the flash memory of the PG-FP4. checksum data of the downloaded data is saved in the filedowncrcsum key in the [programmer] section in the fp4.ini file. this saved checksum data is used for comparison with the PG-FP4 memory contents before executing the epv command. the downloaded user program is retained even after the power of the PG-FP4 is switched off. [ cancel button] closes the window without downloading the selected user program. the directory names are saved in the filedownloaddirectory key in the [programmer] section in the fp4.ini file. the downloaded file names are saved in the filedownfilename key in the [programmer] section in the fp4.ini file.
chapter 4 PG-FP4 operation using gui software user ? s manual u15260ej3v1um 49 (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 ? select the upload file format (intel hex or motorola s-record format) ? select the memory start and end addresses to upload the most recently used directory from which a file has been uploaded will be shown in the [upload ? ] menu. [ open button] starts uploading [ cancel button] closes the window without uploading the program.
chapter 4 PG-FP4 operation using gui software user ? s manual u15260ej3v1um 50 (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 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] > [select programming area ? ] menu, is selected by default. the currently selected programming memory area is displayed in the ? programming area ? for reference. select the ? device area ? to calculate the checksum of the flash memory area of the target device. the target memory area accords with the information of the currently downloaded parameter file. select ? user defined ? to calculate the checksum of any memory area. in this case, specify the ? s tart address ? and ? length ? . the checksum is displayed in the communication log window. (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.
chapter 4 PG-FP4 operation using gui software user ? s manual u15260ej3v1um 51 4.4.2 [programmer] menu clicking the [programmer] menu displays the following pull-down menu. this pull-down menu consists of program setting commands. figure 4-11. [programmer] menu (1) [setup host connection?] menu the channel for communicating between the PG-FP4 and pc can be selected and set in this dialog box. figure 4-12. dialog box you may select usb as the communication channel, if usb is supported on your pc. if ? serial ? is selected, the port and baud rate may be selected from the drop-down list boxes. ? use parallel download ? can be selected in addition to the serial port. if parallel download is selected, data download to the PG-FP4 is performed via the selected parallel interface. caution the parallel interface cable is not part of the PG-FP4 package. check that the lptx port is not used before using the parallel port. usb communication is not supported on windows 95 or windows nt. [ ok button] the software tries to establish a connection between the PG-FP4 and the pc using the selected communication parameters. [ cancel button] closes the window without making any changes.
chapter 4 PG-FP4 operation using gui software user ? s manual u15260ej3v1um 52 (2) [logging] menu the [logging] menu opens the log file dialog box to select the log file name. the log file will store the communication between the pc and the PG-FP4 (data in the communication log window). figure 4-13. dialog box once logging is enabled, a check mark in the [logging] menu indicates that logging is active. selecting the menu again will close the log file and stop any further communication logging. (3) [select programming area?] menu this menu item allows selection of one out of two different programming areas of the PG-FP4 (1 mb each). this menu is valid when ? enable two program areas ? on the advanced tab of [device] > [setup] menu is checked. figure 4-14. 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. (4) [reset] menu by clicking this menu item, you can execute a software reset of the programmer. the communication window will show the current version of the PG-FP4 firmware after the reset.
chapter 4 PG-FP4 operation using gui software user ? s manual u15260ej3v1um 53 (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. figure 4-15. firmware update window to continue the firmware update, click yes . when no is clicked, the firmware update is canceled. when yes is clicked,


▲Up To Search▲   

 
Price & Availability of PG-FP4

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X