Renesas PG-FP5 User Manual Download Page 1

User’

s Manual

All information contained in these materials, including products and product specifications, 
represents information on the product at the time of publication and is subject to change by 
Renesas Electronics Corp. without notice. Please review the latest information published by 
Renesas Electronics Corp. through various means, including the Renesas Electronics Corp. 
website (http://www.renesas.com). 

 
 
 
 
 
 
 
 
 
 
 
 
 

PG-FP5 

 

Flash Memory Programmer 

User’s Manual

Rev.4.00  Jul, 2010

 
 

www.renesas.com

 

 

 

Summary of Contents for PG-FP5

Page 1: ...ct at the time of publication and is subject to change by Renesas Electronics Corp without notice Please review the latest information published by Renesas Electronics Corp through various means including the Renesas Electronics Corp website http www renesas com PG FP5 Flash Memory Programmer User s Manual Rev 4 00 Jul 2010 www renesas com ...

Page 2: ...ct for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas Electronics product is Standard unless otherwise expressly specified in a Renesas Electronics data sheets or data books etc Standard Computers office equipment communications equipment test and meas...

Page 3: ...le 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 For customers in the European Union only Redemption of Waste Electrical and Electronic Equipment WEEE in accordance with legal regulations applicable in t...

Page 4: ...generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense Modifications not expressly approved by th...

Page 5: ... product got wet If the product and target system were connected while a potential difference existed between the GND of the product and the GND of the target system If a connector or cable was connected or disconnected while power was being supplied to the product If an excessive load was applied to a connector or cable If the product is used or stored in an environment where an electrostatic or ...

Page 6: ...s Overview Hardware installation Software installation Programming GUI usage Example of operation using programming GUI PG FP5 operation in standalone mode Usage the remote connector Usage communication commands Connectors and cables Notes on target system designs Target interface specifications Troubleshooting Messages Supplementary information Electrical specifications of target interface Electr...

Page 7: ...ntaining programming information specific to the target device Setting file pr5 for PG FP5 ESF file Text file containing programming environment settings specified with programming GUI Customized setup file esf for PG FP5 Program file HEX file of Intel HEX format type or Motorola HEX format type Flash options General term for security settings rewrite protection settings reset vector handling func...

Page 8: ... GND cable 21 2 2 7 Target system 21 2 2 8 Program adapter 21 2 3 Names and Functions on Main Unit 22 2 3 1 FP5 control panel 22 2 3 2 FP5 connectors 23 CHAPTER 3 SOFTWARE INSTALLATION 25 3 1 Obtaining Software 25 3 2 Installation 25 3 2 1 Notes on installation 26 3 2 2 Installation of USB driver 26 3 3 Uninstallation 30 3 3 1 Uninstallation of USB driver 30 3 4 Updating Programming GUI Firmware a...

Page 9: ... CHAPTER 7 USAGE THE REMOTE CONNECTOR 133 7 1 Remote Interface Mode 133 7 2 Remote Connector Pins 133 7 3 Equivalence Circuits 135 7 4 External Connection Example 136 CHAPTER 8 USAGE COMMUNICATION COMMANDS 137 8 1 Starting the Communications Software 137 8 2 Command List 140 8 3 Description of Commands 142 Command name 142 8 4 Description of FP5 Control Commands 143 8 4 1 autocon command 143 8 4 2...

Page 10: ...d 176 8 5 11 opb command 177 8 5 12 prg command 178 8 5 13 read command 179 8 5 14 scf command 180 8 5 15 sig command 181 8 5 16 sum command 182 8 5 17 vrf command 183 CHAPTER 9 CONNECTORS AND CABLES 184 9 1 Power Supply Connector 184 9 2 Serial Connector 185 9 2 1 Serial cable 186 9 3 USB Connector 186 9 3 1 USB cable 186 9 4 Target Connector 187 9 4 1 Target Cable 188 9 5 GND Connector 189 9 5 1...

Page 11: ...TRICAL SPECIFICATIONS OF TARGET INTERFACE 218 C 1 Absolute Maximum Ratings TA 0 to 40 C 218 C 2 DC Characteristics TA 0 to 40 C 219 C 3 AC Characteristics TA 0 to 40 C C 0 pF Unloaded Condition 220 C 3 1 CLK output characteristics TA 0 to 40 C C 0 pF unloaded condition 222 C 3 2 Serial transfer timing TA 0 to 40 C C 0 pF unloaded condition 223 APPENDIX D ELECTRICAL SPECIFICATIONS OF REMOTE INTERFA...

Page 12: ... the FP5 internal flash memory by using the parameter file PR5 file together with programming settings ESF file Multiple program files PR5 files and ESF files can be saved Supports CSI CSI HS UART I2 C and PORT as target device interfaces Can supply VDD and clocks to the target device Supports USB interface and serial interface RS 232C as a host interface Supports self testing function Can update ...

Page 13: ...ent setting Saving log files Target cable Serial cable AC adapter GND cable Target system or program adapter Saved in FP5 internal flash memory HEX editor changes the memory contents 16MB Checksum calculation Built in 16 MB flash memory for saving program files Files are divided by 4 in 4 MB units or divided by 8 in 2 MB units Standalone operation Downloading program files INI file Programming GUI...

Page 14: ...om external control devices Program files The following types of HEX files can be used as program files These files can be in Intel HEX format or Motorola HEX format HEX file A HEX file of Intel HEX format type or Motorola HEX format type without option data HCUHEX file A HEX file that integrates option data into a HEX file PR5 files PR5 files parameter file contain parameter information required ...

Page 15: ...ment Software environment 1 5 1 Hardware environment 1 Host machines IBM PC ATTM compatible Equipped with USB 2 0 ports compatible with 1 1 Equipped with RS 232C serial ports 2 Hardware option tools that support FP5 Target board QB xxxx TB a product of Renesas Electronics sold separately Program adapter FA xxxx a product of Naito Densei Machida Mfg Co Ltd sold separately IC clip type target cable ...

Page 16: ...setup file ESF file File esf in which programming environment settings set with the programming GUI is saved 4 Program files The following types of HEX files can be used as program files These files can be in Intel HEX format or Motorola HEX format HEX file A HEX file of Intel HEX format type or Motorola HEX format type without option data HCUHEX file A HEX file that integrates option data into a ...

Page 17: ...ions AC adapters used in each region Note3 Target host machine IBM PC AT compatible Target OS Windows 2000 Windows XP Windows Vista USB connector Type mini B USB 2 0 compatible with 1 1 USB cable Approximately 2 m Serial connector 9 pin D SUB male connector for RS 232C 9600 19200 38400 57600 115200 bps Host machine interface Serial cable Approximately 3 m cross cable Target connector Connector 15 ...

Page 18: ...r details see Table 1 2 AC Adapters for PG FP5 Used in Each Region An AC adapter is required when using the PG FP5 so be sure to purchase an AC adapter 1 7 AC Adapters for PG FP5 The specifications of the AC adapter for the PG FP5 differ depending on the region where the product is being used Be sure to use the appropriate AC adapter for your region Note that an AC adapter is not included with the...

Page 19: ...fied on a flash memory programmer before being submitted The PG FP5 handles HCUHEX files as master data and can therefore be used to check the written data and the option data settings For details see the functional descriptions in this manual For more information about HCU see the HCU user s manual or the manual of the target device Figure 1 2 PG FP5 Connection Diagram PR5 file ESF file HEX file ...

Page 20: ... representative or distributor 2 2 System Configuration The FP5 system configuration is as shown in the diagram below Figure 2 1 FP5 System Configuration Notes 1 The target system and program adapter are not included in the FP5 package 2 The program adapter is a product of Naito Densei Machida Mfg Co Ltd The FP5 is connected to the host machine via a serial cable or a USB cable The FP5 is connecte...

Page 21: ...he PG FP5 so be sure to purchase an AC adapter 2 2 5 Target cable A 16 pin connector is equipped on the tip of the target cable which is connected to the target system or the program adapter For details on the target cable specifications refer to CHAPTER 9 CONNECTORS AND CABLES 2 2 6 GND cable To reinforce the GND use a GND cable to connect the FP5 GND connector and the signal GND of the target sy...

Page 22: ...tes normal completion BUSY orange LED flashes indicates processing in progress and ERROR red LED turned on indicates abnormal completion 2 Buttons POWER button Used to turn on off the power to the FP5 Press this button longer for about 1 minute when turning on off NEXT button Proceeds to the next menu item at the same level in sequence ENTER button Selects the item shown in the message display CAN...

Page 23: ...he target connector GND connector and remote connector are laid out on the target connector side When the FP5 Manager is used to switch to the bank mode or simple mode the button functions and message display functions will change Refer to 4 3 2 9 FP5 Manager Command and CHAPTER 7 USAGE THE REMOTE CONNECTOR Figure 2 3 FP5 Top View Connector Figure 2 4 FP5 Host Interface Side USB connector Serial c...

Page 24: ...achine USB port and the FP5 USB connector mini B type This connector conforms with USB 2 0 standards For details on the USB connector specifications refer to CHAPTER 9 CONNECTORS AND CABLES 4 Target connector Connect the target connector to the target system using the target cable for on board programming Connect the target connector to the program adapter using the target cable for off board prog...

Page 25: ...Each Device Series column and select the device name in the Device Name column the FP5 parameter file can then be found Caution Use of the latest version of software is recommended to assure the FP5 operation 3 2 Installation This section explains the installation procedure for the programming GUI USB driver and parameter file PR5 file Table 3 1 Installation Installation Order Item Method 1 Progra...

Page 26: ...was created using HTML Help files If the help feature is not operating correctly make sure you are using Microsoft Internet Explorer 5 0 or later 5 5 SP2 or later is recommended 3 2 2 Installation of USB driver The USB driver must be installed after installation of the programming GUI when connecting the FP5 and the host machine via the USB interface When the FP5 is connected to the USB port on th...

Page 27: ...indow appears Select Search for the best driver in these locations Include this location in the search specify the folder where the USB driver is stored and then click the Next button Remark When the Programming GUI is installed the USB driver is installed into the driver folder in the Programming GUI installation folder C Program Files NEC Electronics Tools PG FP5 Vx xx driver should usually be s...

Page 28: ... for Copy files from and then click the OK button Figure 3 4 Files Needed 8 If the message Software has not passed Windows Logo testing or Windows can t verify the publisher of this driver software is displayed select Continue Anyway or Install this driver software anyway 9 The USB driver will then be installed the FP5 is ready to communicate via the USB port Click the Finish button to complete th...

Page 29: ...PG FP5 CHAPTER 3 SOFTWARE INSTALLATION R20UT0008EJ0400 Rev 4 00 Page 29 of 240 Jul 15 2010 Figure 3 5 Found New Hardware Wizard Window 4 ...

Page 30: ...ect the FP5 to the host machine plug in the AC adapter and the AC adapter to the FP5 power supply connector 3 Press the POWER button on the FP5 the POWER LED will then turn on and Command is displayed in the message display 4 Open the Control Panel double click System click the Hardware tab and the Device Manager button select Flash Programmer FP5 under NECPCIF and then click the Delete icon on th...

Page 31: ...lick Version up Service English version For Europe area http www renesas eu update Section PG FP5 EE Caution If update of firmware and FPGA is improperly performed FP5 may no longer operate Refer to the following procedure or method for updating Remark If the firmware or FPGA is updated the PR5 file ESF file or program file may be deleted In such cases download the PR5 file ESF file or program fil...

Page 32: ...vailable on the following websites URLs Japanese version http www2 renesas com micro ja ods English version Except for Europe area http www2 renesas com micro en ods Click Version up Service Programming GUI Click FlashProgrammer in the Each Development Tool column and then click FP5_GUI Firmware Click FlashProgrammer in the Each Development Tool column and then click FP5_Firmware FPGA Click FlashP...

Page 33: ...the latest programming GUI Decompress the file to any folder The firmware file fp5_fw_vxxx rec will be decompressed to the selected folder xxx indicates the firmware version 1 Click the Programmer menu on the menu bar and select Update Firmware the Update Firmware dialog box will then be opened Figure 3 6 Update Firmware Command Figure 3 7 Update Firmware Dialog Box ...

Page 34: ...elect the firmware file fp5_fw_vxxx rec and then click the Open button Caution1 Do not use FP5 firmware other than the one posted on the website otherwise a defect may occur 2 When a firmware of FP5 updates from V2 00 to V1 xx a serial number of FP5 is erased And FP5 can t operate in USB1 1 In addition the other functions don t have any problem When FP5 revives consult a Renesas Electronics sales ...

Page 35: ...omatically performed The new version can then be checked as Firmware Version Vx xx The update takes about 10 seconds Remark The action log window is a part of the main window of the programming GUI which shows the operation progress status Figure 3 9 Action Log Window When Firmware Update Is Finished Remark Depending on the changes made the following dialog box will be displayed In this case the i...

Page 36: ...latest programming GUI Decompress the file to any folder The FPGA file fp5_fpga_vx rec will then be decompressed into the folder so copy it to any folder x indicates the FPGA version 1 Click the Programmer menu on the menu bar and select Update FPGA the Update FPGA dialog box will then be opened Figure 3 10 Update FPGA Command Figure 3 11 Update FPGA Dialog Box ...

Page 37: ...2 Click the OK button to continue FPGA update The Open FPGA file dialog box is opened Figure 3 12 Open FPGA file Dialog Box Select the FPGA file fp5_fpga_vx rec and then click the Open button Caution Do not use an FP5 FPGA other than the one posted on the website otherwise a defect may occur ...

Page 38: ...A Update succeeded which indicates normal completion of firmware update and FP5 Power will be switched OFF now which is equivalent to processing when the POWER button is turned off is automatically executed The update takes about 30 seconds Figure 3 13 Action Log Window When FPGA Update Is Finished 4 Click the OK button in the error message dialog box and then press the POWER button on the FP5 to ...

Page 39: ...l 15 2010 5 Click the Programmer menu on the menu bar and select Setup host connection the Host Connection dialog box will then be opened Select the communication mode used and then click the OK button Figure 3 14 Setup host connection Command Figure 3 15 Host Connection Dialog Box ...

Page 40: ...0UT0008EJ0400 Rev 4 00 Page 40 of 240 Jul 15 2010 6 Communication with the host machine is established FPGA Vx is displayed in the action log window thus the version can be checked Figure 3 16 Version Confirmation After FPGA Update Is Finished ...

Page 41: ...System connection Connect a USB cable or serial cable to the USB port or serial port on the host machine and the other side of the cable to the USB connector or serial connector on the FP5 Plug in the AC adapter and then connect to the FP5 power supply connector Figure 4 1 System Connection 2 FP5 startup After the cables are connected press the POWER button on the FP5 When the FP5 is correctly sta...

Page 42: ... Setup host connection command in the Programmer menu When communication is established and the programming GUI is correctly started the main window will be opened Note that when the programming GUI is started for the first time the valid programming area is cleared or once FP5 unit from a number of units has been connected the following message will be displayed so download the following ESF file...

Page 43: ...3 3 12 a 3 New Button for the steps that follow Clicking No will open a dialog box to select a previously created ESF file Refer to 4 3 3 12 a 3 Button for the steps that follow Step 4 Next the device setup dialog box that is opened when Device menu Setup command is executed will be opened so make the settings Refer to 4 3 3 14 Setup command for the steps that follow ...

Page 44: ...executable by the programming GUI 4 3 2 Toolbar Frequently used commands as buttons 4 4 3 Action log window A programming GUI action log 4 5 4 Programming parameter window Programming parameter settings 4 6 5 Status bar Command progress shown as a color or with a message 4 7 6 Hint bar Hints for commands and toolbar 4 8 2 Toolbar 3 Action log window 4 Programmer parameter window 1 Menu bar 5 Statu...

Page 45: ...meter file PR5 file selected or FP5 Manager setting Also if an HCUHEX file is selected the HCUHEX file is handled as master data so the Program Read Set Security Set Option bytes and Set OCD Security ID commands are unavailable Caution During command execution do not execute other commands or terminate the programming GUI 4 3 1 File menu The following pull down menu appears by clicking the File me...

Page 46: ...e file to be edited can be specified Note that HCUHEX files cannot be loaded in this dialog box Figure 4 6 Program File Select Dialog Box S rec Hex files rec s hex or All files may be selected from the Files of types list box After selecting a file to be opened the file selected in the HEX Editor main window is loaded At this time whether the file is of the Intel HEX format or Motorola HEX format ...

Page 47: ...nd letters A to F All other data will be rejected The ASCII representation if any is shown in the ASCII display area This area is for reference only so no data can be input Use the scroll bar to move another address range into the visible area of the HEX Editor The following keys can be input using the keyboard Table 4 1 Key Functions That Can Be Input in HEX Editor Window Key Function 0 9 A F Dat...

Page 48: ...file is for a target device that supports data flash Besides the file name and folder location a start address and an end address for the new file can be selected in the Save As dialog box The original start address and end address are displayed by default Select the file radio button for the format in which to save the data Select the same format as that of the loaded file Use of the saved file w...

Page 49: ...n HEX Editor and Saved Program File 2 Upload from FP5 command The Upload from FP5 command is used to upload the program file PR5 file and ESF file saved in a valid programming area Figure 4 9 Upload from FP5 Dialog Box in the HEX Editor a The uploaded file is for a target device that does not support data flash b The uploaded file is for a target device that supports data flash 2 1 3 4 2 1 3 4 R ...

Page 50: ...ng file box specifies the ESF file storage location and file name In order to change the file locations click the Save as button and make the changes The parameter file names cannot be changed 3 Address range selection area This area is enabled with the Upload program file from FP5 button clicked Specify the address range of the program file that is to be saved 4 Option area When the Show data che...

Page 51: ...will be cleared The Checksum dialog box display varies whether or not the downloaded PR5 file is for a target device that supports data flash Figure 4 10 Checksum Dialog Box a The downloaded PR5 file is for a target device that does not support data flash b The downloaded PR5 file is for a target device that supports data flash 1 Programming area The valid programming area is displayed 2 Checksum ...

Page 52: ... PR5 file User Defined Any range can be specified by inputting the addresses to the Start Address and End Address text boxes Clicking the OK button displays the calculation result in the File Checksum area in the action log window and programmer parameter window Clicking the Cancel button closes the dialog box without saving the settings made in the Checksum dialog box Remark When the valid progra...

Page 53: ...it command The Quit command terminates the programming GUI The programming GUI can also be terminated by clicking the button on the right end of the title bar in the main window When the programming GUI is terminated various settings are saved in the INI file FP5 ini and these settings are loaded when the programming GUI is started the next time The INI file is created in the WINDOWS folder ...

Page 54: ...chine can be selected and configured in this dialog box Figure 4 14 Host Connection Dialog Box USB can be selected as the communication channel if the USB interface is supported in the PC used When selecting Serial select the COM port and baud rate from the drop down list boxes COM ports that are recognized by the host machine are displayed in the Port list Up to 256 ports can be recognized When t...

Page 55: ...og file will then be saved The Logging command on the menu bar will be checked The check mark will be cleared by clicking the Logging command again and saving of the log file will be stopped Enabling disabling the Logging command is added to the time stamp For a log file example refer to Figure B 3 Log File Example Remark The log file that was saved the last time is displayed in the log file save ...

Page 56: ...the Setup command in the Device menu Figure 4 16 Programming Area Select Dialog Box The currently selected programming area is displayed in the programming area selection dialog box To change the area select the relevant number from the list box and click the OK button To check the contents set to each area or to change the division factor see the Target tab of the Device Setup dialog box Clicking...

Page 57: ...Make sure that no hardware is connected and click the OK button self testing will then be executed If the Cancel button is clicked self testing will not be executed Figure 4 17 Confirmation Before Starting Self Testing Self testing takes about three seconds and the result will be displayed in the action log window and a result dialog box If the message Selftest FAILED is displayed the cause may be...

Page 58: ...Abnormally Action Log Window selftest CAUTION Remove any plugs from Target and Remote Connector before starting Any hardware attached to those connectors may be damaged by this test CAUTION Target and Remote connector unplugged If yes press s to start the test s FPGA Test PASS Power Supply Test PASS Target and Remote Interface Test FAIL Selftest FAILED Figure 4 21 Example of Result When Self Testi...

Page 59: ...te click the OK button Clicking the Cancel button cancels the firmware update Clicking the OK button opens the Open firmware file dialog box Figure 4 23 Open firmware file Dialog Box Select the firmware file fp5_fw_vxxx rec and then click the Open button Caution1 Do not use FP5 firmware other than the one posted on the website otherwise a defect may occur 2 When a firmware of FP5 updates from V2 0...

Page 60: ...g FP5 which is equivalent to RESET command processing is automatically performed The new version can then be checked as Firmware Version Vx xx The update takes about 10 seconds Figure 4 24 Action Log Window When Firmware Update Is Finished Remark Depending on the changes made the following dialog box will be displayed In this case the information stored in the FP5 PR5 file ESF file program file wi...

Page 61: ... update Executing of this command displays the following dialog box Figure 4 25 Update FPGA Dialog Box To continue the FPGA update click the OK button Clicking the Cancel button cancels the FPGA update Clicking the OK button opens the Open FPGA file dialog box Figure 4 26 Open FPGA file Dialog Box Select the FPGA file fp5_fpga_vx rec and then click the Open button Caution Do not use FP5 FPGA other...

Page 62: ...d FP5 Power will be switched OFF now which is equivalent to processing when the POWER button is turned off is automatically executed The update takes about 30 seconds Figure 4 27 Action Log Window When FPGA Update Is Finished Click the OK button in the error message dialog box and then press the POWER button on the FP5 to turn on power Execution of the Setup host connection command opens the Host ...

Page 63: ...T0008EJ0400 Rev 4 00 Page 63 of 240 Jul 15 2010 Figure 4 28 Setup host connection Command Figure 4 29 Host Connection Dialog Box The main window is opened Board H W V1 FPGA Vx is displayed in the action log window thus the version can be checked ...

Page 64: ...PG FP5 CHAPTER 4 PROGRAMMING GUI USAGE R20UT0008EJ0400 Rev 4 00 Page 64 of 240 Jul 15 2010 Figure 4 30 Version Confirmation After FPGA Update Is Finished ...

Page 65: ...FP5 Manager command is executed the following dialog will be opened Figure 4 31 Welcome to FP5 Manager Dialog Box Clicking Yes will open the following dialog box If a password is not registered the dialog box in Fig 4 32 will open If a password is registered the dialog box in Fig 4 33 will open Clicking No will close the dialog box Figure 4 32 Password setting Dialog Box In order to register a pas...

Page 66: ...he password is wrong then the dialog box in Figure 4 34 will open Clicking Cancel will close the dialog box Figure 4 34 FP5 Dialog Box Clicking Yes will open the dialog box to input the password again Figure 4 33 Clicking No will initialize the FP5 to its default settings When initialized the following stored information will be deleted or reset to their defaults Password FP5 Manager setting PR5 f...

Page 67: ...ed The FP5 Manager and bank mode have been set Simple mode secured The FP5 Manager and simple mode have been set FP5 Manager Dialog Settings Refer to Figure 4 35 Disable Upload check box This sets enabling or disabling of the upload function used to upload data program file PR5 file ESF file from the valid programming area of FP5 to the host machine Checking the box will disable and unchecking it ...

Page 68: ...ulations from the start to the end address After this executing File menu Checksum command will display F xxxxxxxx The default is not to have this box checked Figure 4 36 Example of Message Display 0 sample hex H AFE33BC0 E P Checksum comparison check box When Device menu Checksum command is executed and the checksum of the target device is displayed the checksum of the program file stored in FP5 ...

Page 69: ...icking the Change the PASSWORD button will open the following dialog box Figure 4 38 Password setting Dialog Box This dialog box allows the user to change the registered password Input the current password into the OLD PASSWORD box input the new password into the NEW PASSWORD box and Confirm PASSWORD box and then click OK When Cancel is clicked the dialog box will be closed and the password will n...

Page 70: ...ion of this command is completed the result of command execution in the target device is displayed Whether to perform the Blank Check command before executing this command depends on the Blank check before Erase check box setting in the Command options area on the Advanced tab in the Device Setup dialog box If this command is executed for the target device that has already been erased with the Bla...

Page 71: ...rget device 5 Read command The Read command loads data on the flash memory in the target device and saves it as a file When the View command is executed following this command 4 KB read data is displayed in the log window each time the ENTER key is pressed When the Write Intel HEX file or Write Motorola SREC file command is executed following this command the read data can be saved in the Intel HE...

Page 72: ...the target device For details on the security functions refer to 4 3 3 14 c 4 Set Security command options area 7 Checksum command The Checksum command reads the checksum calculated in the target device and displays it in the action log window When using a 78K0S Kx1 microcontroller or the μPD78F9334 this command also displays the checksum of the program file and compares both Remark The checksum r...

Page 73: ...Specifications 8 Autoprocedure E P command The Autoprocedure E P command executes the Erase and Program commands in succession Exiting from the flash memory programming mode is not possible between the Erase and Program commands The target area can be set in the Operation Mode area on the Standard tab in the Device Setup dialog box The progress status of this command is displayed in the action log...

Page 74: ... Security ID command specifies the settings for the target device s option byte When this command is executed the settings specified in the OCD ID setting area on the Advanced tab of the Device Setup dialog box are applied to the target device For details of the OCD security ID settings see 4 3 3 14 c 8 OCD ID setting area 11 Connect command Executes the con command or dcon command When the con co...

Page 75: ...n loading an HCUHEX file the HCUHEX file is handled as master data so even though the flash option settings specified for the device can be checked by executing the Get Flash Options command these settings cannot be applied to the device The OK button in the Device Setup dialog box is therefore unavailable In this case click the Cancel button and close the Device Setup dialog box Note that the OK ...

Page 76: ...ms not dimmed can be changed in accordance with the user environment Switch the Target Standard and Advanced tabs for setting Figure 4 46 Device Setup Dialog Box Remarks 1 PR5 file parameter file PR5 files parameter files contain parameter information required for writing programs to the flash memory in the target device Do not change the PR5 file data because it affects assurance of written data ...

Page 77: ... are not downloaded When a program file is downloaded the date and checksum An empty area will be supplemented by FFh when it is downloaded to FP5 of that file are displayed in the action log window The checksum is calculated as shown below For details of the arithmetic specifications refer to Figure B 2 32 bit CRC Calculation Specifications Method 32 bit CRC Range From the start to end addresses ...

Page 78: ...files ESF files and program files can be performed on the Target tab in the Device Setup dialog box This tab consists of the following items 1 Programming Area Setting area 2 Target Setting area 3 Parameter and Setting file area 4 Object HEX file area 5 Information area and Clear button 6 Programming area map area Figure 4 48 Device Setup Dialog Box Target Tab 1 2 6 3 4 5 ...

Page 79: ...iding the programming area can be selected from 4 4 MB per area or 8 2 per area If the division factor is changed data on the programming area map is cleared In addition the valid programming area can be selected If the valid programming area is changed the focused area in the Programming area map area is also changed By default the division factor is set to 4 and programming area 0 is selected Fi...

Page 80: ...area ESF files can be created and selected and PR5 files can be selected Figure 4 51 Parameter and Setting file Area ESF file selection list box Select the ESF file to be used If no ESF files are registered in the valid programming area ESF files stored in the FP5_PRJ folder in the programming GUI installation folder are displayed If the reference folder is changed by using the New or Save As butt...

Page 81: ...alog Box New button Click this button to create a new ESF file The following dialog box will be displayed Figure 4 53 New ESF File Creation Dialog Box The PR5 file stored in the FP5_PRJ folder in the programming GUI installation folder is displayed in the Parameter file list Select the PR5 file for the target device used ...

Page 82: ...0 Clicking the New button will open the following dialog box The PR5 file can be copied to the specified folder of the ESF file with this dialog box Figure 4 54 Select parameter files to copy Dialog Box After selecting the PR5 file input the new ESF file name and then click the Save button ...

Page 83: ...Clicking this button opens the dialog box for overwriting the current settings made in the Device Setup dialog box to the existing ESF file or saving as another file Specify the file and then click the Open button Note that the PR5 file is also copied to the destination folder Figure 4 55 Save as Dialog Box ...

Page 84: ...d check box The Erase memory before download check box allows the user to select whether to delete the internal memory of the FP5 before downloading a new program file Under normal conditions check this box Caution Clear this check box when downloading and writing two program files When a file is downloaded with this check box cleared the PG FP5 downloads data 512 bytes at a time without erasing i...

Page 85: ...ming area can be deleted Information of a programming area that is no longer required to be used can be deleted When the clear button is clicked deletion of the set information selected in the programming area settings will be specified When the OK button is clicked programming areas that are currently valid will be downloaded and the internal memory information of the programming area for which d...

Page 86: ...en In the valid programming area the names of ESF files PR5 files and program files and programming area numbers are displayed in black These items appear dimmed in invalid programming areas If no area information is held in the programming GUI Unknown is displayed The FP5 programming areas whose information does not match information held in the programming GUI are displayed in pink The informati...

Page 87: ...ure the user environment and the target device can be performed Communication channels speeds and the operation clock supplied to the target device vary depending on the device so refer to the user s manual of the target device for setting these items This tab consists of the following items 1 Communication interface to device area 2 Supply oscillator area 3 Operation Mode area 4 Defaults button F...

Page 88: ...ash memory microcontroller or FLMD1 in a two power supply flash memory microcontroller Remark For the available communication channel refer to the user s manual of the target device based on the pulse count displayed for Pulse number Table 4 2 Channels for Communication Between FP5 and Target Device 1 2 Item on Screen Description SIO ch0 SIO 3 wire clocked communication port channel 0 Note SIO ch1...

Page 89: ...onous communication port using internal oscillator In the case of 78K0 or 78K0R All Flash Pulse number VPP or the FLMD0 count corresponding to the selected communication mode is displayed This item cannot be changed Speed List box Select the communication rate of the selected communication channel Remark For the available communication speed refer to the user s manual of the target device When UAR...

Page 90: ... the same as the slave address of another target device on the I2 C This field is not available if the I 2 C port is not selected 2 Supply oscillator area Set the clock to be supplied to the target device Figure 4 62 Supply oscillator Area Frequency text box Set the oscillation frequency of the clock supplied to the target device When using the clock mounted on the target system On Target check bo...

Page 91: ...yed Remark For the selectable multiply rate refer to the user s manual for the device used 3 Operation Mode area Switch the operation mode to execute commands such as flash memory programming for the entire flash memory area in area units or in block units The settings made here are valid for the Blank Check Erase Program Verify Read Checksum and Autoprocedure E P commands The display varies depen...

Page 92: ... Specify the Area number range subject to rewrite processing by using the Start and End lists The Start End lists display the Area number where the target device is configured Show Address check box Specifies whether numbers or addresses are displayed in the Start End lists If this check box is checked addresses are displayed If it is not checked numbers are displayed Selective programming Verify ...

Page 93: ...ommands and security settings can be configured This tab consists of the following items 1 Supply voltage area 2 Command options area 3 Flash options area 4 Set Security command options area 5 Security flag settings area 6 Block protection settings area 7 Reset vector setting area 8 OCD security ID setting area 9 Option bytes setting area Figure 4 64 Device Setup Dialog Box Advanced Tab 1 2 3 4 6 ...

Page 94: ...evice specifications require two types of VDD for writing to flash memory specify a lower voltage for VDD2 e g VDD 5 0 V VDD2 3 3 V This level can also be changed by input On Target check box Select this check box when supplying the VDD VDD2 voltages from the target system Caution Set the values of the VDD VDD2 voltages supplied from the target system for Vdd V and Vdd2 V before selecting this che...

Page 95: ...ge mode or full speed mode If this check box is checked commands are executed in wide voltage mode If this check box is not checked commands are executed in full speed mode This check box becomes available when a device that supports this function is selected For details about wide voltage mode and full speed mode see the user s manual of the target device Caution When loading an HCUHEX file the H...

Page 96: ...ommand is automatically executed after the Program and Autoprocedure E P commands are executed Checksum after Program check box If this check box is selected the Checksum command is automatically executed after the Program and Autoprocedure E P commands are executed Set Option bytes after Program check box If this check box is selected the Set Option bytes command is automatically executed after t...

Page 97: ...tected the transition will be resumed And right before each commands are completed FP5 will detect the leading edge of the signal entering the RESET terminal Until a signal is detected Waiting for RESET will be displayed in the action log window and the termination of the flash memory programming mode will be put on hold When the signal is detected the flash programming mode is ended Figure 4 67 D...

Page 98: ...confirmed by running the Get Flash options command before running the Set Security command Set OCD_Secrity ID command or Set Option bytes command Cautions1 For setting of the flash options security flag settings block protection settings reset vector handling function setting on chip debug security ID setting and option byte setting refer to the user s manual of the target device 2 When loading an...

Page 99: ...protection settings and reset vector handling function setting can be set in this area When the Set Security command is executed the settings in this area will be reflected in the target device Figure 4 69 Security flag settings Area 5 Security flag settings area The security flag settings can be selected in this area Figure 4 70 Security flag settings Area R ...

Page 100: ...ogram check box If the Set Security command is executed with this check box selected the Erase command for all the selected blocks in the flash memory selected with Block in the Operation Mode area on the Standard tab in the Device Setup dialog box and the Program command is disabled This setting is cleared if the Erase command is executed with Chip selected in the Operation Mode area Disable Read...

Page 101: ...programming check box Clicking the Cancel button cancels the selection of the Disable Boot block cluster reprogramming check box Caution If the Disable Boot block cluster reprogramming function is enabled rewriting of the boot area and execution of the Erase command with Chip selected in the Operation Mode area will no longer be possible for the device and the Disable Boot block cluster reprogramm...

Page 102: ...n through flash memory self programming This setting does not affect programming using the programmer This function can prevent areas out of the specified range from being written to by mistake during flash self programming These lists show the block numbers where the flash memory in the target device is configured Refer to the user s manual of each target device for the setting method Show Addres...

Page 103: ...n chip debug security ID is set This setting is cleared if the Erase command is executed with Chip selected in the Operation Mode area 9 Option bytes setting area The option bytes can be set in this area When the Set Option bytes command is executed the settings made in this area in the Device Setup dialog box will be reflected in the target device Figure 4 76 Option bytes setting Area Option byte...

Page 104: ...menu displays the following pull down menu Figure 4 77 Help Menu 1 Help Topics command The Help Topics command opens the FP5 help file 2 About FP5 command This command opens the following dialog box and shows the versions of the programming GUI Clicking the OK button closes this dialog box Figure 4 78 About FP5 Dialog Box 1 2 ...

Page 105: ...ns the programming area select dialog box This performs the same action as selecting the Select Programming area command in the Programmer menu Opens the HEX Editor select dialog box This performs the same action as selecting the HEX Editor command in the File menu Executes the con command or dcon command This performs the same action as selecting the Connect command in the Device menu Executes th...

Page 106: ...PG FP5 CHAPTER 4 PROGRAMMING GUI USAGE R20UT0008EJ0400 Rev 4 00 Page 106 of 240 Jul 15 2010 4 5 Action Log Window This window displays the log of programming GUI actions Figure 4 79 Action Log Window ...

Page 107: ...on valid programming area number and FP5 mode Parameter and Setting file area Displays information such as the PR5 file name and its version and the ESF file name and date set in the valid setting programming area Download file area Displays information such as the file name date type and start and end addresses of the program file set in the valid setting programming area If an HCUHEX file is sel...

Page 108: ...iles are downloaded 4 7 Status Bar The status bar shows the progress as a color or with a message when a PR5 file ESF file or program file is selected or when a command is executed for the target device Figure 4 81 Status Bar Table 4 4 Status Bar Displays Immediately after the programming GUI is started A command execution is in progress or a PR5 file ESF file or program file is being downloaded A...

Page 109: ...GUI USAGE R20UT0008EJ0400 Rev 4 00 Page 109 of 240 Jul 15 2010 4 8 Hint Bar By pointing to a command on the menu bar or a button with the pointer the hint for the command or button is displayed on the hint bar Figure 4 82 Hint Bar ...

Page 110: ...tion Not used The operation steps described in this chapter are as follows 1 Installation of programming GUI 2 Installation of PR5 file 3 System connection and installation of USB driver 4 Connection of program adapter 5 Startup of programming GUI 6 Setting of programming environment 7 Execution of Autoprocedure E P command 8 System shutdown 1 Installation of programming GUI Refer to CHAPTER 3 SOF...

Page 111: ...he FP5 GND connector to the program adapter using a GND cable Caution The FP5 and target system may be damaged if the voltage between the FP5 GND and the target system GND is different Use the GND cable to match the voltage before connecting the target cable 2 Connect the FP5 target connector to the program adapter using the target cable Remark Connect the target system before supplying VDD VDD2 p...

Page 112: ... 3 Perform settings according to the communication port connected to the FP5 Figure 5 3 Communication Parameter Setup 4 Click the OK button to enable the new port settings 5 When the programming GUI is correctly started the main window will be opened The following message will be displayed if the programming GUI is started for the first time or valid programming areas have been cleared so click th...

Page 113: ...010 The following dialog box will be displayed Click Yes or No Clicking Yes will open a dialog box to make a new ESF file Refer to 4 3 3 12 a 3 New Button for the steps that follow Clicking No will open a dialog box to select a previously created ESF file Refer to 4 3 3 12 a 3 Button for the steps that follow ...

Page 114: ...ERATION USING PROGRAMMING GUI R20UT0008EJ0400 Rev 4 00 Page 114 of 240 Jul 15 2010 Next the device setup dialog box that is opened when Device menu Setup command is executed will be opened so make the settings Figure 5 5 Main Window ...

Page 115: ...vironment 1 Execute the Setup command in the Device menu in the main window Figure 5 6 Setup Command Toolbar 2 The Device Setup dialog box Target tab is opened Figure 5 7 Device Setup Dialog Box Target Tab 3 Set the Programming Area Setting area In this example 4 divided Area 0 is selected Figure 5 8 Setting of Programming Area Setting Area ...

Page 116: ...08EJ0400 Rev 4 00 Page 116 of 240 Jul 15 2010 4 Click the New button to create a new ESF file for the μPD78F1166 Figure 5 9 Creation of New ESF File 5 Select 78F1166 pr5 from the Parameter file list If this file is unlisted use New button Figure 5 10 Selecting PR5 File ...

Page 117: ...e name of the newly created ESF file and click the Save button Figure 5 11 Saving ESF File 7 Select the program file Click the button in the Object HEX file area Figure 5 12 Object HEX file Area 8 Select the program file and click the Open button In this example sample hex is selected Figure 5 13 Selection of Program File ...

Page 118: ...ccordance with the specifications of the device selected Specify a flash memory range to be manipulated in the Operation Mode area the flash memory range that can be set is defined by the PR5 file according to the specifications of the device In this example it is assumed that the following settings are made Communication Interface to device area Port UART Speed 1M Baud Supply oscillator area On T...

Page 119: ...t used In this example it is assumed that the following settings are made Supply voltage area Vdd V 5 00 V Follows the value set in the PR5 file Vdd2 V 0 00 V Not used follows the value set in the PR5 file On Target check box Cleared Power is supplied from FP5 Command options area Blank check before Erase Selected Flash options area Not used Remark Set Vdd V and Vdd2 V and select the On target che...

Page 120: ...age 120 of 240 Jul 15 2010 14 The programming GUI loads the PR5 file ESF file and program file to the FP5 When setting is completed the following window will be displayed Setting of the programming environment is then finished Figure 5 16 Downloading of PR5 File ESF File and Program File ...

Page 121: ...ocedure E P command is executed the Blank check Erase if the target area is not blank and Program commandsare executed in that order for the UPD78F1166 Remarks 1 If necessary insert the target device to be newly written to in the program adapter and execute the Autoprocedure E P command 2 Turn off power connect the target system to be newly written to and execute the Autoprocedure E P command afte...

Page 122: ...ING GUI R20UT0008EJ0400 Rev 4 00 Page 122 of 240 Jul 15 2010 If execution of the Autoprocedure E P command is normally completed Erase Program operation finished is displayed in the action log window Figure 5 18 Autoprocedure E P Command Execution Result ...

Page 123: ...hen the programming GUI is restarted The PR5 files ESF files and program files are saved to the FP5 internal flash memory 3 Press and hold the POWER button on the FP5 for about 1 second to turn off the POWER LED 4 Remove the AC adapter and USB cable from the FP5 Caution If an error occurred during the above steps refer to CHAPTER 12 TROUBLESHOOTING and APPENDIX A MESSAGE In addition refer to 4 3 2...

Page 124: ...selected and executed using the control button NEXT ENTER CANCEL or START on the top of the FP5 main unit The selected command menu is displayed in the message display and the result of command execution is indicated by the message display and status LEDs When the FP5 Manager dialog box is used to enable Enable Bank mode or Enable Simple mode the functions of the control buttons and message displa...

Page 125: ...tton or that the menu command can be executed If the command prompt is not displayed at the end of a menu line it means that the function is available only for display When power to the FP5 is turned on the POWER LED turns on and Commands is displayed in the message display The status LEDs indicate the status of communication with the device and the result of execution as follows Status LED Status...

Page 126: ...the ENTER button executes the Autoprocedure E P command Program Pressing the ENTER button executes the Program command Erase Pressing the ENTER button executes the Erase command Verify Pressing the ENTER button executes the Verify command Set Security Pressing the ENTER button executes the Set Security command Commands Checksum Pressing the ENTER button executes the Checksum command The checksum v...

Page 127: ...ature D78F1166 Connect Pressing the ENTER button executes the con command Disconnect Pressing the ENTER button executes the dcon command Commands Prog Area Used to select the valid programming area from the four 4 MB each or eight 2 MB each programming areas in the FP5 The valid programming area can be changed by pressing the ENTER button Display example if ENTER button is pressed Commands Prog Ar...

Page 128: ...isplays the serial clock rate in Hz that is used for communication between the target device and the FP5 CLK source Indicates either of the following as a source of the operating clock supplied to the target device Programmer Clock is supplied from the FP5 Target Clock is supplied from the user system PG CPU CLK Indicates the frequency of the clock supplied from the FP5 in MHz Target CPU CLK Indic...

Page 129: ...er PRG Displays the setting of the Checksum after Program check box in the Command options area on the Advanced tab in the Device Setup dialog box on Selected off Not selected OPB after PRG Displays the setting of the Set Option bytes after Program check box in the Command options area on the Advanced tab in the Device Setup dialog box on Selected off Not selected IDC after PRG Displays the settin...

Page 130: ...check box in the Security flag settings area on the Advanced tab in the Device Setup dialog box on Selected off Not selected FSW disable Displays the setting of the Disable FSW re setting check box in the Security flag settings area on the Advanced tab in the Device Setup dialog box on Selected off Not selected Reset Vector Displays the setting of the Reset vector check box in the Reset vector set...

Page 131: ...isplays the value of VDD2 supplied to the target device connected to the FP5 in volts Vdd Source Indicates the source of VDD supplied from the target device as either of the following VDD from PG VDD is supplied from the FP5 VDD from device VDD is supplied from the user system Vdd Monitoring Displays the setting of the Vdd monitoring check box in the Supply voltage area on the Advanced tab in the ...

Page 132: ...LCD Contr Tunes the contrast in the message display After pressing the ENTER button the contrast can be tuned using the NEXT darken or CANCEL button lighten To fix the contrast click the ENTER button FP5 F W Version Displays the FP5 firmware version Display example FP5 F W Version V1 00 PRM Name Displays the name of the PR5 file stored in the FP5 valid programming area Display example PRM Name 78F...

Page 133: ...ollowing functions All inputs will become active with an effective level of 50 ms or greater Note that the pin numbers in Table 7 1 are the pin numbers on the FP5 remote connector Table 7 1 Remote Interface Pin Functions 1 2 Pin number Input Output Pin name Function Active level 1 Output CONN Indicates that the remote interface is connected When the FP5 power is ON the CONN is always valid High le...

Page 134: ... Programming area 0 0 0 0 Programming area 1 0 0 1 Programming area 2 0 1 0 Programming area 3 0 1 1 Programming area 4 1 0 0 Programming area 5 1 0 1 Programming area 6 1 1 0 Programming area 7 1 1 1 Remarks 1 0 Low level 1 High level 2 When set in programming area 0 set in programming area 0 set BANK0 BANK1 and BANK2 to the low level When set in programming area 3 set BANK0 and BANK1 to the high...

Page 135: ...RF START 4 7KΩ FP5 74LV126A Signal_CONN 33 User System EMZ6 8 E FP5_3 3V 信号出力回路 セルフテスト回路 FP5_3 3V EMZ6 8 E Signal_VRF 信号入力回路 74LV126A 74LV126A 4 7KΩ セルフテスト回路 EMZ6 8 E 信号入力回路 ボタン回路 74LV126A FP5_3 3V 74LV126A Signal_START FP5_3 3V 4 7KΩ FP5 74LV126A Signal_BUSY 2 PASS 3 ERROR 4 33 User System EMZ6 8 E FP5_3 3V 信号出力回路 セルフテスト回路 FP5_3 3V EMZ6 8 E Signal_CANCEL 5 ENTER 6 NEXT 7 信号入力回路 ボタン回路 74LV126A 74L...

Page 136: ...7 4 External Connection Example A connection example with a remote connector external switch and LED is shown Figure 7 3 External Switch and LED Connection Example 4 7KΩ FP5 User System セルフテスト回路 FP5_3 3V EMZ6 8 E Signal_CLR 信号入力回路 74LV126A 74LV126A FP5_3 3V Self test circuit Signal input circuit 3 4 2 10 PASS 3 ERROR 4 BUSY 2 START 9 GND ...

Page 137: ...lish communications 1 Connecting the system Connect a serial cable to the serial port on your host machine and then connect the other end to the serial connector on the FP5 Next plug the AC adapter into an outlet then connect it to the FP5 power supply connector Figure 8 1 System Connections 2 Start the FP5 After the connections are made press the FP5 POWER button to turn the power on If the unit ...

Page 138: ... Figure 8 2 Connection Settings Next the dialog box below will be displayed From the Connect using N pull down menu select the COM port which is in use Check the COM port number with Device Manager Figure 8 3 Checking the COM Port Number Settings Next the dialog box in Figure 8 4 will be displayed so select the data transfer conditions listed below Data transfer rate 9600 bps 19200 bps 38400 bps 5...

Page 139: ...er menu to check the transfer rate and make sure they match Figure 8 4 COM Port Settings When HyperTerminal starts correctly the main window will open If communications are established then a will be displayed when the Enter key on the host machine is pressed This completes the preparation for using communications commands Caution Press the Enter key once after FP5 has started Alternatively send a...

Page 140: ...cutes the programming GUI File menu Checksum command files Displays the information concerning the program file that was downloaded to the FP5 fpga_up Updates the FPGA hex Uploads the program file in Intel HEX format hlp Displays a list of available commands with simple descriptions lod Downloads the program file prm Displays the information concerning the PR5 file and ESF file that were downloade...

Page 141: ...s Executes the Erase command gid Obtains the on chip debug security ID get for the target device gob Obtains the information of option byte get for the target device gos Obtains the information of flash option get for the target device gsc Obtains the information of security get for the target device idc Executes the Set OCD Security ID command opb Executes the Set Option bytes command prg Execute...

Page 142: ...ote Description of the function Describes the function of the command Example of usage Presents an example of using the command Note The symbols used to describe the input format are defined below Notation Description Characters within single quotation marks Characters that must be input as displayed Characters within angle brackets Information that must be provided Characters within parentheses O...

Page 143: ...ing mode to signature verification con command and termination of the flash memory programming mode dcon command The initial value is automatic on If this command is executed without an option the current status is displayed automatic on or manual off The default setting is automatic on on The con command and dcon command are executed automatically off The con command and dcon command are executed...

Page 144: ... displayed If the serial connector is connected then the data transfer rate will be displayed If a USB connector is used then the USB version will be displayed USB HS USB 2 0 USB FS USB 1 1 The default data transfer rate is 9600 bps 9600 Changes the data transfer rate to 9600 bps 19200 Changes the data transfer rate to 19200 bps 38400 Changes the data transfer rate to 38400 bps 57600 Changes the d...

Page 145: ...are version FPGA version serial number FP5 mode Program area information area divisions valid programming areas maximum size of program file information code area data area Program file information file name creation date size checksum PR5 file and ESF file information in all programming areas PR5 file names PR5 file checksums ESF file checksums Automatic connection information Buzzer information ...

Page 146: ...If there are eight sections before the command is executed OK INFO New configuration has been set INFO Progarea data is not valid any more Number of Program areas 4 Active Program Area 0 Size of Program Areas Code Data Area 0 0x400000 0x020000 Area 1 0x400000 0x020000 Area 2 0x400000 0x020000 Area 3 0x400000 0x020000 Area Filename Date Time Range CRC 0 unknown data 1 unknown data 2 unknown data 3 ...

Page 147: ...x020000 Area 2 0x400000 0x020000 Area 3 0x400000 0x020000 Area Filename Date Time Range CRC 0 sample hex 2006 02 24 21 13 000000 007FFF 61D5F67C 1 unknown data 2 unknown data 3 unknown data Checking Progareas No invalid data found Area Parameter file PR5 CRC ESF CRC 0 78F1166 C8005840 D0401B9D 1 invalid 2 invalid 3 invalid AutoCon is off Sound is on AutoPowerOff is disabled Security state is Inact...

Page 148: ...ations software If using HyperTerminal select Transfer T Transfer text file T and then select the PR5 file Example of usage Command Status Status LED Message display Screen output Display after execution of the command before downloading BUSY BUSY Now loading Display during downloading BUSY BUSY Display after normal ending of the download PASS Returns to the display before executing the command PA...

Page 149: ...ations software If using HyperTerminal select Transfer T Transfer text file T and then select the ESF file Example of usage Command Status Status LED Message display Screen output Display after execution of the command before downloading BUSY BUSY Now loading Display during downloading BUSY BUSY Display after normal ending of the download PASS Returns to the display before executing the command PA...

Page 150: ... 16 bit subtraction calculation method k0s_sp Division method original start The starting address is specified in hexadecimal If a PR5 file that supports data flash is downloaded then the code area and data area can be specified end Specifies the end address in hexadecimal If a PR5 file that supports data flash is downloaded then the code area and data area can be specified Example of usage Comman...

Page 151: ... FP5 is displayed check The checksum of all programming areas stored in the program file from START to END is recalculated with the 32 bit CRC method and cross checked with the checksum stored in the FP5 during download Example of usage Command Screen output Files Area Filename Date Time Range CRC 0 sample hex 2006 02 24 21 13 000000 007FFF 61D5F67C 1 unknown data 2 unknown data 3 unknown data fil...

Page 152: ...play Screen output Display after executing the command before downloading Press y to continue Press n to cancel Off BUSY Are you sure you want to update the FPGA y n Display after pressing y Off BUSY Preparing storage OK Now loading Display during download Off BUSY Display after end of normal download Press y to continue Press n to cancel Off BUSY Refer to 1 below fpga_up Display after pressing y ...

Page 153: ... number of bytes are designated as options start address The starting address is designated as a hexadecimal number If a PR5 file that support data flash has been downloaded then the code area and data area are designated length The number of bytes is designated as a hexadecimal number If a PR5 file that support data flash has been downloaded then the code area and data area are designated Example...

Page 154: ...cord file progarea Change Progam area files Show downloaded HEX SREC files in FP5 memory prm Show Parameter file PRM SET information conf Show Modify FP5 configuration security Show Modify FP5 Security settings brt Set baudrate to host fcks Calculate file checksum FP5 memory fill Fill memory ver Show firmware version res Reset FP5 pwr_off Switch OFF FP5 immediately set auto Power OFF sound Enable ...

Page 155: ...n this option is enabled and the lod command is executed the PG FP5 downloads data 512 bytes at a time without erasing its internal flash memory Note however that the download error ERROR NAND flash Illegal Write Bit 0 1 occurs if there is data other than FFh in the data being downloaded fname filename Designates the file name of the program file that is downloaded The maximum number of characters...

Page 156: ...that were downloaded to the FP5 Input format prm Description of the function Displays the information concerning the PR5 file and ESF file PR5 file name PR5 checksum ESF file checksum that were downloaded to all the programming areas of the FP5 Example of usage Command Screen output prm Area Parameter file PR5 CRC ESF CRC 0 78F1166 C8005840 D0401B9D 1 invalid 2 invalid 3 invalid ...

Page 157: ...gramming area PR5 file ESF file and program file can be deleted If there are no options then the current valid programming area is displayed clear Clears the data in the valid programming area PR5 file ESF file and program file 0 Changes the valid programming area to 0 1 Changes the valid programming area to 1 2 Changes the valid programming area to 2 3 Changes the valid programming area to 3 Exam...

Page 158: ...urns off the power supply immediately auto After the designated time has elapsed automatic power supply off is enabled Once this is designated even if the automatic power supply turns off it will still be enabled if set to ON off After the designated time has elapsed automatic power supply off is disabled time Designates the automatic power supply off time The time can be 1 to 35791394 in minutes ...

Page 159: ... P 5 F P 5 5 F P 5555 Firmware Version Vx xx Board H W Vx FPGA Vx Serial No xxxxxxxxxx Standard mode unsecured 8 4 16 security command Confirms the security state that can be set by the FP5 Manager command Input format security Description of the function Confirms the security state that can be set by the FP5 Manager command Example of usage Command Screen output security When password protection ...

Page 160: ... to the programming GUI Programmer menu Self Test command Example of usage Command Screen output selftest CAUTION Remove any plugs from Target and Remote Connector before starting Any hardware attached to those connectors may be damaged by this test CAUTION Target and Remote connector unplugged If yes press s to start the test s FPGA Test PASS Power Supply Test PASS Target and Remote Interface Tes...

Page 161: ...nd Sets the buzzer Input format sound off on Description of the function Sets the buzzer Enabled or disabled is optionally designated If no option is designated the current setting is displayed off Disables the buzzer on Enables the buzzer Example of usage Command Screen output sound Sound is on sound off Sound is off ...

Page 162: ...es are designated as options start address The starting address is designated as a hexadecimal number If a PR5 file that support data flash has been downloaded then the code area and data area are designated length The number of bytes is designated as a hexadecimal number If a PR5 file that support data flash has been downloaded then the code area and data area are designated Example of usage Comm...

Page 163: ...Description of the function Displays the communication information between the FP5 and target device stored in the FP5 trace memory Up to 1024 lines can be stored The FP5 has ring structure trace memory Example of usage Command Screen output trc See below Debug Output Number Time us Send Rec 0214 0008675924 17 0215 0008678930 02 Total number of transmitted bytes 266282 Total number of received byt...

Page 164: ...Description of the function If the PR5 file has been downloaded to a valid programming area then executing this command will upload the PR5 file Example of usage Command Screen output upprm Press return to start continue output After the command is executed pressing the Return key will start the upload See below FlashProParameterFile CHECKSUM SUM BA9F0491 EOF ...

Page 165: ... Command Screen output upset Press return to start continue output After the command is executed pressing the Return key will start the upload See below FlashproCustomerSettingFile CHECKSUM SUM F7D4A9E7 EOF 8 4 23 ver command Displays the FP5 version Input format ver Description of the function Displays the FP5 version firmware version board hardware version FPGA version and serial number Example ...

Page 166: ...iption of the function Upgrades the firmware After this command is executed the firmware file must be downloaded to the FP5 in ASCII format using communications software If using HyperTerminal select Transfer T Transfer text file T and then select the firmware file After the firmware version has been updated the FP5 will be reset Example of usage Refer to the following pages ...

Page 167: ... Refer to 1 below version_up Display after pressing y Off Selfprogramming Firmware Refer to 2 below 1 OK CAUTION Now the Firmware will be written Please ensure that the correct Firmware Update file has been downloaded the Power is NOT disconnected during this operation the Programmer is NOT reset during this operation Do you want to continue y n 2 FP5 Selfprogramming Vx xx Checking FLMD0 level OK ...

Page 168: ...ecuting the command Chip mode BUSY Blank chk Chip Blank check Chip Display while executing the command Block mode BUSY Blank chk Block Blank check Block sss to eee or Blank check Block 000 Blank check Block 001 Blank check Block eee Display while executing the command Area mode BUSY Blank chk Area Blank check Area 000 Blank check Area 001 Blank check Area eee Display after executing the command Fo...

Page 169: ...cting Display after executing the command When completed normally PASS Returns to the display before executing the command PASS Dxxxxxxx con Display after executing the command When terminated abnormally ERROR ERROR xxx xxxxxxxxxxxxxxxx ERROR Exxx text 8 5 3 dcon command Executes the process to end the flash memory programming mode Input format dcon Description of the function Executes the process...

Page 170: ... Message display Screen output Display while executing the command BUSY See below Display after executing the command When completed normally PASS Returns to the display before executing the command PASS Erase Program operation finished or PASS EPV operation finished ep or epv Display after executing the command When terminated abnormally ERROR ERROR xxx xxxxxxxxxxxxxxxx ERROR Exxx text Erase Prog...

Page 171: ...Skipped Erase Chip Display while executing the command Block mode BUSY Erase Block Blank check Skipped Erase Block sss to eee or Blank check Skipped Erase Block 000 Erase Block 001 Erase Block eee Display while executing the command Area mode BUSY Erase Area Blank check Skipped Erase Area 000 Erase Area 001 Erase Area eee Display after executing the command When completed normally PASS Returns to ...

Page 172: ...ting the Set OCD Security ID command on the Device menu of the programming GUI Example of usage Command Status Status LED Message display Screen output Display after executing the command When completed normally PASS Returns to the display before executing the command Display example OCD ID xxxxxxxxxxxxxxxxxxxxxxxx PASS OCD ID operation finished gid Display after executing the command When termina...

Page 173: ...xecuting the Set Option bytes command on the Device menu of the programming GUI Example of usage Command Status Status LED Message display Screen output Display after executing the command When completed normally PASS Returns to the display before executing the command Display example Option bytes xxxxxxxx PASS Option Bytes operation finished gob Display after executing the command When terminated...

Page 174: ...evice menu of the programming GUI Example of usage Command Status Status LED Message display Screen output Display after executing the command When completed normally PASS Returns to the display before executing the command Display example Security Flag xx Boot Block Number xx FS area xxxx xxxx OCD ID xxxxxxxxxxxxxxxxxxxxxxxx Option Bytes xxxxxxxx PASS Get Option Setting operation finished gos Dis...

Page 175: ...et Security command on the Device menu of the programming GUI Example of usage Command Status Status LED Message display Screen output Display after executing the command When completed normally PASS Returns to the display before executing the command Display example Security Flag xx Boot Block Number xx FS area xxxx xxxx PASS Security operation finished gsc Display after executing the command Whe...

Page 176: ...ting the Set OCD Security ID command on the Device menu of the programming GUI Example of usage Command Status Status LED Message display Screen output Display after executing the command When completed normally PASS Returns to the display before executing the command Display example Set OCD ID PASS OCD ID operation finished idc Display after executing the command When terminated abnormally ERROR ...

Page 177: ...he Set Option bytes command on the Device menu of the programming GUI Example of usage Command Status Status LED Message display Screen output Display after executing the command When completed normally PASS Returns to the display before executing the command Display example Set Option bytes PASS Option bytes operation finished opb Display after executing the command When terminated abnormally ERR...

Page 178: ...Chip 10 20 100 Display while executing the command Block mode BUSY Program Block Addr 0x000000 Program Block sss to eee 10 20 100 or Program Block 000 10 20 100 Program Block 001 Program Block eee Display while executing the command Area mode BUSY Program Area Addr 0x000000 Program Area 000 10 20 100 Program Area 001 Program Area eee Display after executing the command When completed normally PASS...

Page 179: ...rbitrary block of the target device Example of usage Command Status Status LED Message display Screen output Display after executing the command BUSY Read Press return to start continue output Display after pressing the Return key BUSY Read Addr 0x000000 See below Display after Read ends When completed normally PASS Returns to the display before executing the command PASS Read operation finished r...

Page 180: ...evice menu Security command Example of usage Command Status Status LED Message display Screen output Display while executing the command BUSY Set Security Fla Set Security Flags Display after executing the command When completed normally PASS Returns to the display before executing the command PASS Security operation finished scf Display after executing the command When terminated abnormally ERROR...

Page 181: ...ED Message display Screen output Display while executing the command BUSY Signature Display example Device name Dxxxxxxxxx Device data xx xx xx xx Device end addr xxxxxxxx Security Flag xxxx Boot Block Number xxxx Device Version x xx Firmware Version x xx Display after executing the command When completed normally PASS Returns to the display before executing the command PASS Signature operation fi...

Page 182: ...as a hexadecimal number end_address Designates the ending address as a hexadecimal number If the start_address and end_address options are not used then Checksum will be executed for all addresses in the target device Example of usage Command Status Status LED Message display Screen output Display while executing the command BUSY Checksum Display after executing the command When completed normally...

Page 183: ...ify Chip 10 20 100 Display while executing the command Block mode BUSY Verify Block Addr 0x000000 Verify Block sss to eee 10 20 100 or Verify Block 000 10 20 100 Verify Block 001 Verify Block eee Display while executing the command Area mode BUSY Verify Area Addr 0x000000 Verify Area 000 10 20 100 Verify Area 001 Verify Area eee Display after executing the command When completed normally PASS Retu...

Page 184: ...ower Supply Connector The power supply connector is laid out on the host interface side of the FP5 Figure 9 1 Power Supply Connector FP5 Host Interface Side Figure 9 2 Power Supply Connector Pin Assignment Caution Do not connect an AC adapter other than the one for the PG FP5 to the power supply connecter Power supply connector R ...

Page 185: ... the host interface side of the FP5 Figure 9 3 Serial Connector FP5 Host Interface Side Figure 9 4 Serial Connector Pin Assignment 1 5 9 6 Table 9 1 Serial Connector Pin Configuration Serial Connector Signal Name 1 NC 2 RxD 3 TxD 4 NC 5 VSS 6 NC 7 RTS 8 CTS 9 NC Part number of serial connector 9 pin D SUB male connector 070430MB009G200ZU Suyin Connector Corp Serial connector ...

Page 186: ...onnection Figure 9 5 Serial Cable Connection 9 3 USB Connector The mini B type USB connector is laid out on the host interface side of the FP5 Figure 9 6 USB Connector FP5 Host Interface Side Part number of mini B USB connector UX60A MB 5ST made by Hirose Electric Co Ltd 9 3 1 USB cable The USB cable is approximately 2 meters long The cable is equipped with a USB mini B type connector and USB type...

Page 187: ... Connector FP5 Target Connector Side Figure 9 9 Target Connector 15 Pin HD SUB Female Connector Pin Assignment 1 5 10 11 6 15 Table 9 2 Target Connector Pin Configuration Target Connector Signal Name 1 SO TxD 2 SI RxD 3 SCK 4 RESET 5 VDD2 6 FLMD1 7 H S 8 VDD 9 VDD 10 RFU 1 11 VPP 12 FLMD0 13 VDE 14 CLK 15 GND Remark Part number of target connector 15 pin HD SUB female connector 070431FB015S200ZU S...

Page 188: ...mm Pitch Multipurpose Female Connector Outline View from Socket Side 1 3 5 7 9 11 13 15 2 4 6 8 10 12 14 16 Table 9 3 Target Connector Pin Configuration Signal Name 15 Pin HD SUB Male Connector 16 Pin 2 54 mm Pitch Multipurpose Female Connector GND 15 1 RESET 4 2 SI RxD 2 3 VDD Note 3 8 4 SO TxD 1 5 VPP 11 6 SCK 3 7 H S 7 8 CLK 14 9 VDE Note 1 13 10 VDD2 5 11 FLMD1 6 12 RFU 1 Note 1 10 13 FLMD0 12...

Page 189: ...pending on the communication settings Consequently communication errors may occur and causing abnormal operation 9 5 GND Connector The banana jack GND connector is laid out on the target connector side of the FP5 Figure 9 13 GND Connector FP5 Target Connector Side Remark Part number of GND connector banana jack PB4 HIRSCHMANN 9 5 1 GND cable The host cable is a standard shielded GND cable approxim...

Page 190: ...15 pin D SUB female connector is laid out on the target connector side of the FP5 Figure 9 15 GND Connector FP5 Target Connector Side Figure 9 16 Remote connector 15 Pin D SUB Female Connector Pin Assignment Remark Part number of remote connector a 15 pin D SUB female connector 07433FB015S200ZU Suyin Connector Remote connector 15 9 8 1 ...

Page 191: ...able be sure to check the waveforms Basically the power supply and clock for the target device should be supplied from the target system This however excludes some target devices which require supply from the FP5 When outputting the clock from the FP5 if the input specs of the target device are not satisfactory then be sure to shape the waveform Be sure to consider contact quality such as conducti...

Page 192: ...192 of 240 Jul 15 2010 2 3 Target Device Pin Recommended Design RESET Correct connection 2 Target device FP5 RESET RESET Correct connection 3 Target device FP5 RESET RESET Correct connection 4 Target device FP5 RESET RESET JUMPER Correct connection 5 Target device FP5 RESET RESET ...

Page 193: ... shown in the portion below enclosed in the dotted line Example Conflict FP5 output pin Output External device SI RxD Target device VPP Keep the wiring between the FP5 connector and the target device VPP pin as thick and as short as possible Insert neither capacitors nor resistors into the VPP line unless otherwise stated Incorrect circuit VPP FP5 VPP FP5 VPP VPP Target device Target device FLMD0 ...

Page 194: ...troller 2 78K0S Single wire UART Figure 10 2 Circuit Example for 78K0S Single wire UART Note These pins do not need to be shorted when using the FP5 Short them if necessary Note 1 Note 1 Note 2 FLMD1 VCC VCC JUMPER User reset circuit VCC R Connector 7616 5002PL Target device Y C C 2 4 6 8 10 12 14 16 RESET VDD VPP H S VDE FLMD1 FLMD0 NC GND SI RxD SO TxD SCK CLK VDD2 RFU 1 NC 1 3 5 7 9 11 13 15 X1...

Page 195: ...Circuit Example for I 2 C VCC VCC JUMPER User reset circuit VCC R Connector 7616 5002PL Target device Y C C 2 4 6 8 10 12 14 16 RESET VDD VPP H S VDE FLMD1 FLMD0 NC GND SI RxD SO TxD SCK CLK VDD2 RFU 1 NC 1 3 5 7 9 11 13 15 X1 X2 VDD VSS RESET SDA SCL R VPP VCC VCC VCC Connector 7616 5002PL Target device 2 4 6 8 10 12 14 16 RESET VDD VPP H S VDE FLMD1 FLMD0 NC GND SI RxD SO TxD SCK CLK VDD2 RFU 1 ...

Page 196: ...CC R RESET R Note Note Note These pins do not need to be shorted when using the FP5 Short them if necessary 6 V850 Single wire UART Figure 10 6 Circuit Example for V850 Single wire UART FLMD1 VCC VCC JUMPER User reset circuit VCC R Connector 7616 5002PL Target device Y C C 2 4 6 8 10 12 14 16 RESET VDD VPP H S VDE FLMD1 FLMD0 NC GND SI RxD SO TxD SCK CLK VDD2 RFU 1 NC 1 3 5 7 9 11 13 15 X1 X2 FLMD...

Page 197: ...affect the SO TxD RESET and SCK signal lines In either case these signal lines output C MOS level signals When a 78K0R 78K0S Kx1 microcontrollers or the μPD78F9334 is used the SO TxD signal line functions as an open drain output Figure 11 1 SO TxD RESET and SCK Pins 11 2 SI RxD and H S The SI RxD input signal voltages must not exceed the rated maximum voltage Figure 11 2 SI RxD and H S Pins 1 kΩ F...

Page 198: ... normally due to the waveform distortion caused by wiring of clock lines on the target system In such a case add elements such as CMOS buffers to the target system as necessary so as to adjust the waveform Figure 11 3 CLK Pins 11 4 FLMD0 and FLMD1 Figure 11 4 FLMD0 and FLMD1 Pins Noise filter NFL21SP506 33Ω FP5 EMZ6 8 E Signal output Circuit 74LV125 Signal Target System FP5 Target System Signal EM...

Page 199: ...r supply and the external voltage regulator is protected by a transistor Figure 11 5 VDD and VDD2 Pins 11 6 VPP Figure 11 6 VPP Pin Target System VPP FP5 100 nF 3 01kΩ 1kΩ ト ラ ンジスタ FP5_VPP 電圧検出回路 EMZ6 8 E Target System VDDまたはVDD2 FP5 100 nF 1kΩ 1 kΩ ト ラ ンジスタ FP5_VDD または FP5_VDD2 電圧検出回路 EMZ6 8 E 3 01 kΩ 1 kΩ Transistor FP5_VDD or FP5_VDD2 Transistor 1 kΩ VDD or VDD2 1 kΩ Voltage detector Voltage de...

Page 200: ... is not recognized by Plug and Play Cause The USB connector may not be inserted properly into the USB port Action Confirm that the USB connectors are fully inserted into the USB ports of the host machine and the FP5 Alternatively disconnect the USB connector and insert it again after a short time 3 The USB driver file cannot be found at a specified location Cause The programming GUI may not have b...

Page 201: ...ropriate action Cause 2 When NECPCIF is expanded in the Device Manager while the FP5 is connected via a USB port Flash Programmer FP5 is not displayed Alternatively a or is attached Action 2 1 Turn on power to the FP5 while it is connected to the host machine via a USB port right click the driver marked with the or and then click Delete E on the shortcut menu 2 Execute Scan for hardware changes in...

Page 202: ...er s manual of the target device Moreover monitor the actual waveform to confirm that the signal is not distorted and the signal level is correct Cause 2 Connection of pins for other than for the target interface may be incorrect Action 2 Refer to CHAPTER 10 NOTES ON TARGET SYSTEM DESIGN or the user s manual of the target device Cause 3 The PR5 file selected in the Parameter and Setting file area ...

Page 203: ...emented Action 7 With devices that using program files in which use the RESET pin as the input only port P34 is set by the option byte flash memory programming mode cannot be entered if power is supplied to the target system before the target cable is connected to the target system Connect the target cable to the target system and then supply power to the target system as prescribed in the connect...

Page 204: ...warning dialog boxes information dialog boxes or action log window during programming GUI operation Error messages will be displayed on the FP5 message display during standalone operation Figure A 1 Error Warning Dialog Box Figure A 2 Information Dialog Box Figure A 3 Action Log Window Figure A 4 Error Message FP5 Message Display ERROR 012 Synchron failed ...

Page 205: ... does not match the one defined in the INI file Select whether to reset the division factor If reset it is divided into four areas and the contents are deleted E 1108 No invalid Parameter file defined GUI can not work properly The GUI will not operate normally because no valid PR5 file has been defined Set it in the Device Setup dialog box E 1109 No parameter file exists in this project folder Ple...

Page 206: ...n the end address Check the start end address E 1505 Caution End address should not smaller than start address The end address is smaller than the start address Check the start end address E 1506 The file cannot be read The file opened with the HEX Editor is invalid E 1507 No HEX data The program file format may be incorrect E 1508 The file cannot be written Saving of the program file has failed C...

Page 207: ...ta Count error Abort Data Count Check A data count error has occurred in line line number The program file format may be incorrect E 1527 Cannot open temporary file Opening of the temporary file has failed The file may be corrupted E 1528 File Save error Abort Save File Saving the file has failed E 1529 line number Check sum error Continue A checksum error has occurred in line line number The prog...

Page 208: ... Abort Check sum Check An incorrect checksum was detected in line line number in the program file The program file format may be incorrect E 1538 Can not read temporary file Reading of the temporary file has failed The file may be corrupted E 1539 Caution Out of range The specified value is out of the valid range E 1601 Protect error The on chip debug security ID and option byte settings cannot be...

Page 209: ...pdate the Firmware Select whether to update the firmware Click Ok to update the firmware Click Cancel to cancel the operation I 2204 Are you sure you want to update the FPGA Select whether to update the FPGA Click Ok to update the FPGA Click Cancel to cancel the operation I 2207 Do you really want change parameter area format All data will lost after this action Select whether to change the factor...

Page 210: ...r selected parameter files are copied to the destination I 2216 Parameter file name already exists Do you want overwrites the existing file I 2300 Value out of range The set value is out of the valid ranges The valid code flash range is 0 0x400000 The valid data flash range is 0x400000 to 0x420000 I 2302 Please give file range Input the file range No arguments are specified for the range I 2401 Ca...

Page 211: ...in the Option bytes setting box is illegal I 2500 Welcome to FP5 Manager Yes Continue to set FP5 Manager No Return to Standard mode unsecured I 2501 Initialize as shipment condition Warning After initialization all data and parameter settings in FP5 will be deleted I 2601 Buffer is modified Are you sure to close The HEX Editor temporary file has been changed This change is lost when the HEX Editor...

Page 212: ...iled Setting the Oscillator frequency failed Check if the oscillator frequency is allowed If yes contact Renesas Electronics support desk 016 Baudrt set fail Setting the communication baud rate failed Unsupported baud rate specified Please consult the device manual 020 Inv Sig ID Invalid signature ID Check if the correct device is selected 021 Inv Sig Code Invalid signature code Check if the corre...

Page 213: ...073 Wrt Timeset err Write time setting error The parameter file may contain invalid data Contact Renesas Electronics 080 Vrf Timeout Verify timed out There was a communication problem between the FP5 and target device Try the operation again 081 Verify failed Verify failed The data in the target device s flash memory is not the same as in the FP5 090 IVrf Timeout Internal verify timed out There wa...

Page 214: ...03 FP5 int Vdd2 fail FP5 Power failure Please contact Renesas Electronics support desk 404 Targ power fail No VDD applied or Voltage is out of range VDD is supplied from target board but VDD voltage does not match the VDD value in FP5 Setup Check if the VDD power settings are OK 405 Power failure A supply voltage failure has been detected There is possibly a shortcut in the target hardware 590 IDC...

Page 215: ...lationship Between HEX Editor and Saved Program File HEX Editor address 0 1 2 3 4 5 6 7 8 9 A B C D E F ID Tag 400000 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 1 1 0 0 Saved program file address Data Flash ID Tag Data Flash ID Tag 400000h 00 11 22 33 FF FF FF FF 44 55 66 77 FF FF FF FF 400010h 88 99 AA BB 00 00 00 00 CC DD EE FF 00 00 00 00 ...

Page 216: ...0x94ea7b2a 0xe0b41de7 0xe4750050 0xe9362689 0xedf73b3e 0xf3b06b3b 0xf771768c 0xfa325055 0xfef34de2 0xc6bcf05f 0xc27dede8 0xcf3ecb31 0xcbffd686 0xd5b88683 0xd1799b34 0xdc3abded 0xd8fba05a 0x690ce0ee 0x6dcdfd59 0x608edb80 0x644fc637 0x7a089632 0x7ec98b85 0x738aad5c 0x774bb0eb 0x4f040d56 0x4bc510e1 0x46863638 0x42472b8f 0x5c007b8a 0x58c1663d 0x558240e4 0x51435d53 0x251d3b9e 0x21dc2629 0x2c9f00f0 0x28...

Page 217: ...0 60 70 80 90 100 PASS Erase Program operation finished End record file Thu Aug 02 14 12 03 2007 Figure 0 1 Division Original Calculation Specifications define BLOCKSIZ 256 You have to store 1 Block ROM data unsigned char rom_data BLOCKSIZ unsigned char bist_calc int i unsigned short bist bist_temp bist 0 for i 0 i BLOCKSIZ i bist_temp bist 0x1 bist_temp bist_temp 8 bist_temp 9 bist_temp 11 bist_t...

Page 218: ... 5 V Note V VDD VDD2 VPP IO Output current 500 mA II Input current 0 5 V VI VDD 0 5 V 20 mA FLMD0 FLMD1 RESET SI RxD SO TxD SCK H S CLK IO Output current 0 3 V VO VDD 0 5 V 35 mA TA Operating ambient temperature 0 to 40 C Tstg Storage temperature 15 to 60 C Note Must be less than 6 8 V Caution Product quality may suffer if the absolute maximum rating is exceeded even momentarily for any parameter ...

Page 219: ...igh IOH 100 μ A VDD 0 2 VDD V VOH2 Output voltage high VDD 3 0V IOH 8 mA 2 1 2 6 V FLMD0 FLMD1 RESET SO TxD SCK CLK VOH3 Output voltage high VDD 4 5V IOH 16 mA 3 1 3 7 V IIL Input voltage low VDD 0 30 V SI RxD H S IIH Input voltage high VDD 0 75 V Note The setting value in the Vdd V box and Vdd2 V box on the Advanced tab of the Device Setup dialog box 2 2 Pin name Symbol Parameter or Conditions MI...

Page 220: ...μ s tPLHVD Rise time VDD 3 3 V IOH 200 mA 700 μ s VDD VDD2 tSTBVD VDD VDD2 stabilization time 200 ms VPP tPHLVP Rise time 5 μ s tPLHMD Rise time 20 ns tPHLMD Fall time 20 ns tWHMD High level width Note 50 Note μ s FLMD0 tWLMD Low level width Note 50 Note μ s Note The minimum value MIN and the maximum value MAX are determined depend on parameter file MIN 1 μ s MAX 999 10 9 μ s tPLHVD VDD VDD2 VPP F...

Page 221: ... C 0 pF 20 ns RESET tDRS Reset release maximum delay time Note ns Note tRPE tRP 2 FLMD0 100 μ s tRP Device firmware FLMD0 Count start time tRPE Device firmware FLMD0 Count finish time The maximum number of FLMD pulses is 15 For the characteristics of tRP tRPE and FLMD0 pulses refer to the parameter specifications in the manual of the target manual tDRS RESET VDD FLMD0 tRP tRPE tPLHRS 0 8 x VDD ...

Page 222: ... output characteristics TA 0 to 40 C C 0 pF unloaded condition Pin name Symbol Parameter or Conditions MIN TYP MAX Unit tCKCY Clock output frequency 1 20 MHz tWHCK High level width 10 0 490 ns tWLCK Low level width 10 0 490 ns tPLHCK Rise time 3 4 16 ns CLK tPHLCK Fall time 4 2 12 ns tCKCY tWLCK tWHCK tPLHCK tPHLCK CLK output ...

Page 223: ...bol Parameter or Conditions MIN TYP MAX Unit tSCCY Serial clock output frequency 9 8 5000 kHz tWHSC High level width 85 50000 ns tWLSC Low level width 85 50000 ns tPLHSC SI setup time to SCK 80 ns tPHLSC SI hold time from SCK 0 ns tDSC Delay time from SO output 20 ns SCK Transfer rate in UART 9600 1000 kbps tSCCY tWLSC tWHSC tPLHSC tPHLSC SCK output SI input SO output Input data Output data tDSC ...

Page 224: ...e 0 5 to 6 0 V Output current 0 V VO 3 6 V 35 mA IO Output current 0 5 V VO 0 V 50 mA CONN BUSY PASS ERROR CANCEL ENTER NEXT VRF START CLEAR IIK Input current VI 0 V 20 mA Caution Product quality may suffer if the absolute maximum rating is exceeded even momentarily for any parameter That is the absolute maximum ratings are rated values at which the product is on the verge of suffering physical da...

Page 225: ...N TYP MAX Unit Output voltage high IOH 8 mA 2 3 2 9 V VOH Output voltage high IOH 50 μA 3 0 3 3 V Output voltage low IOL 8 mA 0 5 0 8 V CONN BUSY PASS ERROR VOL Output voltage low IOH 50 μA 0 0 1 V VIH Input voltage high 2 2 V CANCEL ENTER NEXT VRF START CLEAR VIL Input voltage low 1 1 V IOH Output current high 8 mA CONN BUSY PASS ERROR IOL Output current low 8 mA CANCEL ENTER NEXT VRF START CLEAR...

Page 226: ...ONN BUSY PASS ERROR tPHL Fall time IO 8 mA 5 ns CANCEL ENTER NEXT VRF START CLEAR tPLIN Low level width of the input signal 50 ms tPPOCN Time from switching on the FP5 POWER button until the rise of the CONN signal 8 s tPCNPO Time from switching off the FP5 POWER button until the fall of the CONN signal 1 s tPCNIN Time from the rise of the CONN signal until the input signal is acknowledged 1 ms FP...

Page 227: ...START or ENTER signal until the rise of the BUSY signal 50 ms tPBUIN Time from the fall of the BUSY signal until the CLEAR signal can be input 1 ms tPCLPE Time from the fall of the CLEAR signal until the fall of the PASS or ERROR signal 50 ms tPPEIN Time from the fall of the PASS or ERROR signal until the VRF START or ENTER signal can be input 1 ms BUSY tPBUIN tPCLPE tPINBU PASS ERROR ENTER START ...

Page 228: ... time IO 8 mA 5 ns BANK0 BANK1 BANK2 VRF START CLEAR tPLIN Low level width of input signal 50 ms tPPOCN Time from turning on the power of the FP5 until the rise of the CONN signal 8 s tPCNPO Time from turning off the power of the FP5 until the fall of the CONN signal 1 s tPCNIN Time from the rise of the CONN signal until the input signal is acknowledged 1 ms FP5_POWER button CONN tPLIN tPHL tPLH t...

Page 229: ...ms tPINBU Time from the fall of the VRF START or ENTER signal until the rise of the BUSY signal 100 ms tPBUIN Time from the fall of the BUSY signal until the CLEAR signal can be input 5 ms tPCLPE Time from the fall of the CLEAR signal until the fall of the PASS or ERROR signal 50 ms tPPEBA Time from the fall of the PASS or ERROR signal until the BANK signal can be input 10 ms BUSY tPINBU tPBAIN BA...

Page 230: ...l time IO 8 mA 5 ns CANCEL ENTER NEXT VRF START CLEAR tPLIN Low level width of input signal 50 ms tPPOCN Time from turning on the power of the FP5 until the rise of the CONN signal 15 s tPCNPO Time from turning off the power of the FP5 until the fall of the CONN signal 1 s tPCNIN Time from the rise of the CONN signal until the input signal is acknowledged 1 ms FP5_POWER button CONN tPLIN tPHL tPLH...

Page 231: ...ise of the BUSY signal When the input signal is input after having changed the program area 5 ms tPINBU Time from the fall of the VRF START or ENTER signal until the rise of the BUSY signal When the input signal is input without changing the program area 50 ms tPBUIN Time from the fall of the BUSY signal until the CLEAR signal can be input 1 ms tPCLPE Time from the fall of the CLEAR signal until t...

Page 232: ...PG FP5 APPENDIX D ELECTRICAL SPECIFICATIONS OF REMOTE INTERFACE R20UT0008EJ0400 Rev 4 00 Page 232 of 240 Jul 15 2010 BUSY tPINBU tPBAIN NEXT tPPENE ENTER START VRF tPBUIN tPCLPE PASS ERROR CLEAR ...

Page 233: ...ice area CHAPTER 5 EXAMPLE OF OPERATION USING PROGRAMMING GUI 7 2 Remote Connector Pins Change of the value1 ms 50 ms CHAPTER 7 USAGE THE REMOTE CONNECTOR Table 8 1 List of FP5 Control Commands Deletion of the remote command Change of the description of the ver command 8 4 6 fcks command Change of the input format length end 8 5 7 read command Change of the description of function CHAPTER 8 USAGE ...

Page 234: ...nished Figure 3 16 Version Confirmation After FPGA Update Is Finished Change of figures CHAPTER 3 SOFTWARE INSTALLATION Figure 4 4 Main Window Change of figure 4 3 Menu Bar Change of description 4 3 1 File menu 1 Hex Editor command Change of description 3rd edition Figure 4 11 Checksum Result If Downloaded PR5 File Is for Target Device That Does Not Support Data Flash Figure 4 12 Checksum Result I...

Page 235: ...n 4 6 Programming Parameter Window Change of description CHAPTER 4 PROGRAMMING GUI USAGE Series of operations described in this chapter Change of the description Figure 5 5 Main Window Figure 5 6 Setup Command Figure 5 16 Downloading of PR5 File ESF File and Program File Figure 5 17 Autoprocedure E P Command Figure 5 18 Autoprocedure E P Command Execution Result Change of figures 8 System shutdown...

Page 236: ...re 4 45 Get Flash options Command Figure 4 64 Device Setup Dialog Box Advanced Tab Figure 4 68 Flash options Area Figure 4 70 Security flag settings Area 4 3 3 Device menu 14 Setup command c 5 Security flag settings area Addition of Disable FSW re setting CHAPTER 4 PROGRAMMING GUI USAGE CHAPTER 5 EXAMPLE OF OPERATION USING PROGRAMMING GUI Change of Figure 5 15 Device Setup Dialog Box Advanced Tab ...

Page 237: ...m C 2 DC Characteristics TA 0 to 40 C Change of the specifications of the ILIL and ILIH APPENDIX C ELECTRICAL SPECIFICATIONS OF TARGET INTERFACE 4th edition D 1 Absolute Maximum Ratings TA 0 to 40 C D 2 DC Characteristics TA 0 to 40 C C 0 pF Unloaded Condition Deletion of the GND item APPENDIX D ELECTRICAL SPECIFICATIONS OF REMOTE INTERFACE ...

Page 238: ...PG FP5 User s Manual Publication Date Rev 1 00 Nov 16 2007 Rev 4 00 Jul 15 2010 Published by Renesas Electronics Corporation ...

Page 239: ... 204 205 AZIA Center No 1233 Lujiazui Ring Rd Pudong District Shanghai 200120 China Tel 86 21 5877 1818 Fax 86 21 6887 7858 7898 Renesas Electronics Hong Kong Limited Unit 1601 1613 16 F Tower 2 Grand Century Place 193 Prince Edward Road West Mongkok Kowloon Hong Kong Tel 852 2886 9318 Fax 852 2886 9022 9044 Renesas Electronics Taiwan Co Ltd 7F No 363 Fu Shing North Road Taipei Taiwan Tel 886 2 81...

Page 240: ...PG FP5 R20UT0008EJ0400 ...

Reviews: