Renesas PG-FP6 V1.06 User Manual

Renesas PG-FP6 V1.06 User Manual

Flash memory programmer
Table of Contents

Advertisement

Quick Links

Cover
PG-FP6 V1.06
Flash Memory Programmer
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 Corporation without notice. Please review the latest information published
by Renesas Electronics Corporation through various means, including the Renesas Electronics
Corporation website (http://www.renesas.com).
User's Manual
Rev.8.00 Oct 2021

Advertisement

Table of Contents
loading

Summary of Contents for Renesas PG-FP6 V1.06

  • Page 1 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 Corporation without notice. Please review the latest information published by Renesas Electronics Corporation through various means, including the Renesas Electronics Corporation website (http://www.renesas.com).
  • Page 2 Renesas Electronics disclaims any and all liability for any damages or losses incurred by you or any third parties arising from the use of any Renesas Electronics product that is inconsistent with any Renesas Electronics data sheet, user’s manual or other Renesas Electronics document.
  • Page 3 Unit Products The following usage notes are applicable to all Microprocessing unit and Microcontroller unit products from Renesas. For detailed usage notes on the products covered by this document, refer to the relevant sections of the document as well as any technical updates that have been issued for the products.
  • Page 4: Preface

    PG-FP6 V1.06 Preface Preface Thank you for purchasing the PG-FP6. The PG-FP6 is a flash memory programmer for MCUs from Renesas Electronics. If you have any questions about the PG-FP6, contact your local distributor. You can download the latest manuals from the Renesas Tools homepage (https://www.renesas.com/pg-fp6).
  • Page 5: Important

    This product is a device to support the development of systems that uses MCUs from Renesas Electronics. This product is a tool that erases, writes and verifies programs on a Renesas Electronics on- chip flash memory MCU on the target system.
  • Page 6 Renesas or to a third party. (3) This user’s manual and this product are copyrighted, with all rights reserved by Renesas. This user’s manual may not be copied, duplicated or reproduced, in whole or part, without prior written consent from Renesas.
  • Page 7: Precautions For Safety

    PG-FP6 V1.06 Precautions for Safety Precautions for Safety This chapter describes the precautions which should be taken in order to use this product safely and properly. Be sure to read and understand this chapter before using this product. Contact us if you have any questions about the precautions described here.
  • Page 8 PG-FP6 V1.06 Precautions for Safety WARNING Warnings for Power Supply: If the power cable of the power adapter that comes with the product does not fit the receptacle, do not alter the power cable and do not plug it forcibly. Failure to comply may cause electric shock and/or fire.
  • Page 9 PG-FP6 V1.06 Precautions for Safety CAUTION Caution on the Power Adapter: Use only the supplied dedicated power adapter for this product. Do not use the power adapter for other equipment. Caution on Turning on the Power: Observe the following specified order for the power-on and power-off procedures of the user system and this product.
  • Page 10 After use the equipment cannot be disposed of as household waste, and the WEEE must be treated, recycled and disposed of in an environmentally sound manner. Renesas Electronics Europe GmbH can take back end of life equipment, register for this service at “http://www.renesas.eu/weee”.
  • Page 11: Table Of Contents

    PG-FP6 V1.06 Contents Contents Preface ..........................4 Important ................................5 Precautions for Safety ............................7 Contents ................................. 11 Terminology ..............................16 Replacing Terms ............................18 1. Overview ........................19 Features ............................... 19 Supported MCUs ..........................19 FP6 System Configuration ........................20 Optional Products ..........................
  • Page 12 PG-FP6 V1.06 Contents 4.6.2 Connecting the FP6 to the host PC .................... 67 4.6.3 Connecting the target system ..................... 67 4.6.4 Starting up the FP6 Terminal ..................... 68 4.6.5 Setting up a programming environment ..................69 4.6.6 Executing the [Start] command ....................71 4.6.7...
  • Page 13 8. Encryption Utility Program ..................125 Exit Code ............................125 Command-line Syntax........................125 Start Options ............................125 9. Renesas Flash Programmer Utility Program ............... 126 Exit Code ............................126 Command-line Syntax........................126 List of Commands ..........................127 Start Options ............................127 10.
  • Page 14 11.15 RH850 type 1 (2-wire UART or CSI communications) ............... 149 11.16 RH850 type 2 (2-wire UART or CSI communications) ............... 150 11.17 Renesas Synergy (UART communications) ..................150 11.18 RE (UART communications) ......................151 11.19 RA (UART communications) ......................152 12.
  • Page 15 PG-FP6 V1.06 Contents Appendix C. Equivalent Circuits of the Target Interface ..........176 Appendix D. Electrical Specifications of the Remote Interface ........177 Absolute Maximum Ratings (T =0 to 40°C) ..................177 DC Characteristics (T =0 to 40°C, C=0pF (Unloaded Condition)) ............. 177 AC Characteristics (T =0 to 40°C, C=0pF (Unloaded Condition)) .............
  • Page 16: Terminology

    DDI file (only supported for SuperH products) d. RPI file e. RPE file <RH850 family, R8C family, Renesas Synergy family, RA family and RE family> a. Intel HEX format HEX file b. Motorola S-record format HEX file c. RPI file (not supported for R8C products) d.
  • Page 17 MCU. TSIP Dedicated hardware secure IP (Trusted Secure IP) for managing encryption keys. For details, contact a Renesas Electronics sales office. ID Tag Data for programming in the data flash memory of some V850 target devices. For details, refer to the user’s manual of the target device.
  • Page 18: Replacing Terms

    PG-FP6 V1.06 Replacing Terms Replacing Terms Some terms used in this application should be replaced as shown in the tables below, depending on the MCU to be used. When an RL78 MCU is to be used: • Term in This Application...
  • Page 19: Overview

    PG-FP6 V1.06 1. Overview 1.Overview The FP6 is a tool that is used to erase, write, and verify programs on a Renesas Electronics on-chip flash memory MCU on the target system. Features Standalone programming • Programming through the dedicated FP6 Terminal GUI under PC control •...
  • Page 20: Fp6 System Configuration

    For example, if you place an order in Japan, you cannot purchase a product intended for Europe and the USA. Please purchase the product from a Renesas Electronics Corporation representative (responsible for sales) or distributor in the region where it is to be used.
  • Page 21: Optional Products

    PG-FP6 V1.06 1. Overview Optional Products We provide useful optional products (separately sold) for use with the FP6. 14-pin to 16-pin conversion adapter for the E1 emulator (type name: QB-F14T16-01) • 20-pin conversion adapter for the PG-FP6 (type name: RTE0T00001FWRB0000R) •...
  • Page 22: List Of Specifications

    PG-FP6 V1.06 1. Overview List of Specifications Table 1.2 List of Specifications Category Items Specifications Hardware Operating power Supplied via the power adapter (5 V, 2 A): recommended • specifications supply • USB-bus power supply (VBUS 4.5 V min./500 mA max.) Operating Temperature: 5°C to 35°C (no condensation)
  • Page 23: Formats Of Program Files

    PG-FP6 V1.06 1. Overview Formats of Program Files For a HEX file to be readable by the FP6, it must have the correct format and satisfy the following conditions. If a program file with a non-supported format is read, an error will occur.
  • Page 24: Regulatory Compliance Notices

     Authorized representative & Manufacturer Name: Renesas Electronics Corporation Address: TOYOSU FORESIA, 3-2-24, Toyosu, Koto-ku, Tokyo 135-0061, Japan  Person responsible for placing on the market Name: Renesas Electronics Europe GmbH Address: Arcadiastrasse 10, 40472 Dusseldorf, Germany  Trademark and type names Trademark: Renesas...
  • Page 25 PG-FP6 V1.06 1. Overview CAUTION: Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. R20UT4469EJ0800 Rev.8.00 Page 25 of 188 Oct.01.21...
  • Page 26: Fp6 Main Unit: Names And Functions Of Parts

    PG-FP6 V1.06 2. FP6 Main Unit: Names and Functions of Parts 2.FP6 Main Unit: Names and Functions of Parts This chapter gives the names and functions of the parts on the FP6 main unit. FP6 Control Panel Indicators and buttons are placed on the top of the FP6.
  • Page 27: Fp6 Connectors

    PG-FP6 V1.06 2. FP6 Main Unit: Names and Functions of Parts FP6 Connectors The power-supply connector, serial port, and USB connector are placed on the host interface side of the FP6. The target connector, GND connector, and remote connector are placed on the target connector side of the FP6.
  • Page 28 PG-FP6 V1.06 2. FP6 Main Unit: Names and Functions of Parts Security slot Power switch Figure 2.5 Power Switch R20UT4469EJ0800 Rev.8.00 Page 28 of 188 Oct.01.21...
  • Page 29 PG-FP6 V1.06 2. FP6 Main Unit: Names and Functions of Parts (1) Power-supply connector Connect the power-supply connector to the power adapter for your region. For details on the power- supply connector specifications, refer to chapter 10, Connectors and Cables.
  • Page 30: Software Installation

    PG-FP6 V1.06 3. Software Installation 3.Software Installation This chapter explains how to install software. Obtaining Software Download the PG-FP6 software from the following Web page. https://www.renesas.com/pg-fp6 Note: We recommend the use of the latest version of software to assure the correct operation of the FP6.
  • Page 31: Notes On Installation

    (11) To change the folder of the installed tools, uninstall all software related to CS+ (integrated development environment from Renesas), the FP6 Terminal, and the USB driver, and install them again. (12) In the environment where CS+, the FP6 Terminal, and the USB driver for the FP6 are installed, the FP6 Terminal and the USB driver for the FP6 are included in the target software of the CS+ integrated uninstaller.
  • Page 32: Uninstallation

    PG-FP6 software Use [Add or Remove Programs] on the Control Panel to uninstall the FP6 Terminal and the USB driver. The names are [PG-FP6] and [Renesas USB Driver x86 for PG-FP6] (or [Renesas USB Driver x64 for PG-FP6]), respectively. R20UT4469EJ0800 Rev.8.00 Page 32 of 188 Oct.01.21...
  • Page 33: Usage Of The Fp6 Terminal

    PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.Usage of the FP6 Terminal Main Window The main window of the FP6 Terminal that has been started up is shown below. Figure 4.1 Main Window Table 4.1 Main Window Name Description...
  • Page 34 PG-FP6 V1.06 4. Usage of the FP6 Terminal (B) Toolbar The frequently used menu items can be executed by clicking on the buttons. For details on the toolbar, see section 4.5, Toolbar. (C) Console window This window shows the execution result and log of commands.
  • Page 35: Creating A New Setting

    PG-FP6 V1.06 4. Usage of the FP6 Terminal Creating a New Setting 4.2.1 [Create New Setting] dialog box Selecting [File]-[New Setting File…] from the menu bar opens the [Create New Setting] dialog box, as shown below. Figure 4.2 [Create New Setting] Dialog Box (A) Target device Select the family, group, and type name of the MCU of the target device.
  • Page 36: Setup] Dialog Box

    PG-FP6 V1.06 4. Usage of the FP6 Terminal [Setup] Dialog Box Figure 4.3 [Setup] Dialog Box (A) [Download to FP6] button Clicking on this button applies the changes made in the [Setup] dialog box to the setting file, and closes the [Setup] dialog box.
  • Page 37: Program Files] Tabbed Page

    PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.3.1 [Program Files] tabbed page The [Program Files] tabbed page allows you to select the files to be written to the target device. Figure 4.4 [Program Files] Tabbed Page (A) Endian Select the endian according to the data of the program file. This item is not displayed when the target device does not support switching of the endian.
  • Page 38 PG-FP6 V1.06 4. Usage of the FP6 Terminal (C) [Add] button This opens a dialog box for opening a file to be added to the list of files. If a binary file or user key file is selected in this dialog box, the [Offset Address] dialog box opens to allow specifying the programming start address.
  • Page 39: Operation Settings] Tabbed Page

    PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.3.2 [Operation Settings] tabbed page The [Operation Settings] tabbed page allows you to change settings related to the operation of flash memory. Remark: Some items may not be displayed or the values of some items may not be changeable depending on the selected target device or program file.
  • Page 40 PG-FP6 V1.06 4. Usage of the FP6 Terminal Program Flash Options • This command makes settings of flash options such as lock bits, OTP, flash access window, option bytes, and security. These settings correspond to those configured on the [Block Settings] and [Flash Options] tabbed pages.
  • Page 41 PG-FP6 V1.06 4. Usage of the FP6 Terminal  Verify in the MCU Data will be sent to the MCU with a verify command, and the target device will perform verification. Since the range of comparison may be extended depending on the specifications of the verify command, a verify error may occur if filling of 0xFF is not performed.
  • Page 42: Block Settings] Tabbed Page

    PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.3.3 [Block Settings] tabbed page The [Block Settings] tabbed page allows you to set blocks to be handled. Caution: If the selected file is HCUHEX or RPI, the [Block Settings] tabbed page is not displayed. The blocks to be handled are processed as all blocks (chip mode) with the lock bits and OTP is processed according to the content of the RPI file if this is the file type.
  • Page 43 PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.3.3.2 Case of other device types Figure 4.8 [Block Settings] Tabbed Page (Case of Other Device Types) (A) Information on area blocks Specify the target blocks for erasure, programming, and verification. Cautions: 1.
  • Page 44: [Flash Options] Tabbed Page

    PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.3.4 [Flash Options] tabbed page The [Flash Options] tabbed page allows you to specify flash options for the target device. Remark: Only those items the target device supports are shown. For the meanings and details of the settings of the individual items, refer to the user's manual of the target device in use.
  • Page 45 PG-FP6 V1.06 4. Usage of the FP6 Terminal  “Prohibit inside the range”: Programming or erasing of blocks within the range from the start block to the end block is prohibited. “Disable rewriting” •  “No”: Making changes within the access window is not disabled.
  • Page 46 (L) DLM Keys Specify the DLM key file for use in DLM authentication which is to be set for the target device. For details on how to generate DLM keys, refer to chapter 9, Renesas Flash Programmer Utility Program. “Set Option”...
  • Page 47  “Set”: The setting of boundaries is enabled. “Renesas Partition Data File” • Use the Renesas Partition Data File to make the settings of “Secure [KB]” and “NSC [KB]” on boundaries. “Secure [KB]” • Enter the size of the secure area in KB units.
  • Page 48: Connect Settings] Tabbed Page

    PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.3.5 [Connect Settings] tabbed page The [Connect Settings] tabbed page allows you to fill the information necessary for connecting the MCU. Remark: The items displayed on this page vary with the type of the target device.
  • Page 49 PG-FP6 V1.06 4. Usage of the FP6 Terminal Tool Details • Click on this button to open the [Tool Details] dialog box, which enables setting of the states of the mode pins at the time of connection and of the reset pin at the time of disconnection.
  • Page 50 Points for Caution stated in the Release Note, which can be obtained from the Renesas Tools homepage (https://www.renesas.com/pg-fp6). In addition, specify whether a clock in the target system or that on the FP6 side is the source of the clock signal for supply to the target device.
  • Page 51 FP6 repeats it up to three times if ID code authentication fails. When an RA-family, Renesas Synergy-family, or RE-family device is connected to the FP6, input values to be specified for registers of the target device in order of bits 127 to 0 in byte units. Since the input specification may also differ with the tool, confirm the input specification of the tool you will be using.
  • Page 52: Menu Bar

    PG-FP6 V1.06 4. Usage of the FP6 Terminal Menu Bar 4.4.1 [File] menu 4.4.1.1 [New Project…] This menu item is used to select a new target device and create a new setting file. 4.4.1.2 [Open Project…] This menu item is used to open a setting file which has been created and download it to the FP6.
  • Page 53 PG-FP6 V1.06 4. Usage of the FP6 Terminal (B) [Upload Program File] When a program file is to be uploaded, specify the file format (S-Record or Intel Hex) and select the check box. Although the text box initially shows a file name, the name can be changed.
  • Page 54 PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.4.1.5 [Recently used setting files] This menu item is used to display the setting files that have most recently been created (up to eight filenames). Figure 4.15 [Recently used setting files] Dialog Box 4.4.1.6 [Exit]...
  • Page 55: Programmer] Menu

    PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.4.2 [Programmer] menu 4.4.2.1 [Connection to FP6] This menu item is used to select the port and baud rate for communications between the FP6 Terminal and the FP6 main unit. [Connection to FP6] dialog box •...
  • Page 56 PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.4.2.3 [Logging] This menu item is used to save the communication log for the results of command execution displayed on the console window. Selecting this menu item opens the [Save File] dialog box, in which you can specify the location where the file will be saved and the file name.
  • Page 57 PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.4.2.5 [Self Test] This menu item is used for self-testing of the FP6. [Self Test] dialog box • After self-testing of the FP6 hardware has completed, the following dialog box will appear to show the result of self-testing of the FP6 hardware.
  • Page 58 PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.4.2.6 [Programmer Setting] This menu item is used to make security settings, such as disabling uploading or modification of FP6 settings, and change the operation mode of the FP6 main unit. [FP6 Options] dialog box •...
  • Page 59 PG-FP6 V1.06 4. Usage of the FP6 Terminal (C) Operation Settings This area is for selecting optional functions that you may wish to use in command execution.  Checksum Comparison When this function is enabled and the checksum (sum) command of the target device is executed, the checksum of the downloaded program file will be displayed.
  • Page 60 PG-FP6 V1.06 4. Usage of the FP6 Terminal [FP6 Security Manager] dialog box • This dialog box allows you to set security facilities or restrictions on the operation of the FP6 main unit and select the encryption of data. Figure 4.22 [FP6 Security Manager] Dialog Box...
  • Page 61 PG-FP6 V1.06 4. Usage of the FP6 Terminal (C) Restrict FP6 Operations This area is for restricting the operation of the FP6. Limit Target Programming Count • The number of times the target device can be programmed is set (0 to 100000).
  • Page 62: Target Device] Menu

    PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.4.3 [Target Device] menu This menu is used to perform operations for the target device, such as erasure or programming. When the selected target device does not support a given function, the corresponding menu item will be hidden. This menu is invalid when the FP6 main unit has not been connected.
  • Page 63 PG-FP6 V1.06 4. Usage of the FP6 Terminal (A) List of areas Specify the area to be read. (B) Information on an area Displays information on an area selected in the list of areas. (C) [Skip blank areas] If this checkbox is selected, blank areas of the target device are to be skipped in the reading of data from memory.
  • Page 64 PG-FP6 V1.06 4. Usage of the FP6 Terminal (B) Use Unique ID authentication When this checkbox is selected, the unique ID authentication feature is used during transition to the RMA state. 4.4.3.11 Checksum This command acquires the checksum of data of flash memory in the target device.
  • Page 65: Help] Menu

    PG-FP6 V1.06 4. Usage of the FP6 Terminal (C) [Save these to new setting file] checkbox Select this checkbox if you wish to save the flash-option data that have been acquired as a new setting file. 4.4.4 [Help] menu 4.4.4.1 [About FP6 Terminal] This menu item shows the version information of the FP6 Terminal.
  • Page 66: Toolbar

    PG-FP6 V1.06 4. Usage of the FP6 Terminal Toolbar The menu items frequently used on the FP6 Terminal are displayed as buttons on the toolbar. Similar to the target menus on the menu bar, some buttons may be hidden depending on the selected operation or type of the target device.
  • Page 67: Example Of Operation Using The Fp6 Terminal

    PG-FP6 V1.06 4. Usage of the FP6 Terminal Example of Operation Using the FP6 Terminal This chapter explains a series of basic FP6 operations using the FP6 Terminal, taking a case where the RL78/G14 is used as the target device as an example.
  • Page 68: Starting Up The Fp6 Terminal

    PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.6.4 Starting up the FP6 Terminal 1. Click on the [Start] menu and select [PG-FP6] to start the FP6 Terminal. 2. When the FP6 Terminal is started correctly and connected to the FP6, the main window is opened.
  • Page 69: Setting Up A Programming Environment

    PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.6.5 Setting up a programming environment 1. When the main window is opened, select [New Project…]. Figure 4.27 [New Project] Menu 2. Create a new setting file. Select the family, group, and type name of the target device, and enter a setting name as shown in Figure 4.28, and click on the [OK] button.
  • Page 70 PG-FP6 V1.06 4. Usage of the FP6 Terminal 3. The [Setup] dialog box will appear. Designate a program file on the [Program Files] tabbed page. Click on the [Browse…] button to select a file. Figure 4.29 Selecting a Program File 4.
  • Page 71: Executing The [Start] Command

    PG-FP6 V1.06 4. Usage of the FP6 Terminal 4.6.6 Executing the [Start] command Execute the [Start] command from the [Target Device] menu. Figure 4.31 [Start] Command When the [Start] command is executed, the [Erase] and [Program] commands are executed in that order for the R5F104PJ.
  • Page 72: System Shutdown

    Note: If an error has occurred in the above steps, refer to chapter 12, Troubleshooting, and appendix A, Messages. Also refer to 4.4.2.5, [Self Test], and perform self-testing. If this does not resolve the problem, see the FAQ (https://www.renesas.com/pg-fp6/faq-en) or access https://www.renesas.com/contact for inquiry.
  • Page 73: Usage In Standalone Mode

    PG-FP6 V1.06 5. Usage in Standalone Mode 5.Usage in Standalone Mode The FP6 has a standalone mode in which the FP6 by itself can execute the [Erase], [Program], and [Start] commands without a host PC. This mode is useful for using the FP6 on the production line during mass production and for upgrading in the field.
  • Page 74 PG-FP6 V1.06 5. Usage in Standalone Mode Main menu Submenu ENTER button Commands > Commands Projects > Projects CANCEL button Utility > Utility ENTER button NEXT button Set LCD Contr. > F/W Version Command RS232C Baud rate execution NEXT button Figure 5.1...
  • Page 75: Standalone Operation Menu

    PG-FP6 V1.06 5. Usage in Standalone Mode Standalone Operation Menu In standalone mode, the programming environment of the target device can be checked and then programs can be written by using the commands explained in this section. 5.2.1 [Commands] menu The [Commands] menu provides various commands required for programming the target device.
  • Page 76: Project] Menu

    PG-FP6 V1.06 5. Usage in Standalone Mode 5.2.2 [Project] menu The [Project] menu is used to check information about switching the active programming area and checking the setting file name, program file name, and CRC value. Table 5.4 [Project] Menu...
  • Page 77: Usage Of The Remote Connector

    PG-FP6 V1.06 6. Usage of the Remote Connector 6.Usage of the Remote Connector This chapter describes the usage of the remote connector. The FP6 can be remotely controlled by connecting the remote connector and external control device. Remote control can be used to operate and check programming and the display of PASS, BUSY or ERROR from the external control device.
  • Page 78: Usage Of Communications Commands

    PG-FP6 V1.06 7. Usage of Communications Commands 7.Usage of Communications Commands This chapter describes how to use communications commands from a host PC to operate the FP6. Starting the Communications Software In order to use communications commands for operation, communications with the FP6 must be established with communications software.
  • Page 79: Command Lists

    PG-FP6 V1.06 7. Usage of Communications Commands When communications software starts correctly, the main window will open. If communications are established, then a “>” will be displayed when the Enter key on the host PC is pressed. This completes the preparation for using communications commands.
  • Page 80 PG-FP6 V1.06 7. Usage of Communications Commands Table 7.2 List of FP6 Device Commands Command Name Description Executes the blank check. Executes the Configuration clear. Executes the processes from “transition to flash memory programming mode” to “signature verification”. dcon Executes the termination of the flash memory programming mode.
  • Page 81: Description Of Commands

    PG-FP6 V1.06 7. Usage of Communications Commands Description of Commands Each of the commands is described using the following format. Command name Presents an overview of the command. Input format Presents the input format for the command Note Description of the function Describes the function of the command.
  • Page 82: Description Of Fp6 Control Commands

    PG-FP6 V1.06 7. Usage of Communications Commands Description of FP6 Control Commands 7.4.1 autocon command This command is used to select whether to automatically or manually connect or disconnect the target device in the following processes, or to refer to the current setting.
  • Page 83: Brt Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.2 brt command Confirms and changes the data transfer rate for serial communications with the host PC. Input format 'brt' ('get' | '9600' | '19200' | '38400' | '57600' | '115200') Description of the function This command can be used with its options to change the data transfer rate for serial communications with the host PC.
  • Page 84: Conf Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.3 conf command Displays a list of the information stored in the FP6. Input format 'conf' Description of the function Displays information on data downloaded to the FP6 and the settings of the FP6.
  • Page 85 PG-FP6 V1.06 7. Usage of Communications Commands R7F701708 92AC1CBE PR5 test-3.es6 A43294EC ESF {invalid} {invalid} {invalid} {invalid} {invalid} {invalid} {invalid} {invalid} AutoCon is on Sound is on EP mode: Standard speed mode is middle. Security state is: Inactive Boot protection: disabled...
  • Page 86: Downprm Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.4 downprm command Downloads the parameter file. Input format 'downprm' <Parameter file data> Description of the function Downloads the parameter file to the FP6 main unit. Before executing the downset command, be sure to execute the downprm command to download the parameter file.
  • Page 87: Fcks Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.6 fcks command Gets a checksum value of the program file that was downloaded to the active programing area of the FP6. Input format 'fcks' (<type> (<start1> <end1> (<start2> <end2> (<start3> <end3> (<start4> <end4> (<start5> <end5>)))))) Description of the function Gets a checksum value of the program file in the active programming area.
  • Page 88: Files Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.7 files command Displays the information concerning the program file, DLM key, and user key that were downloaded to the FP6. Input format 'files' (‘key’) ('check') Description of the function If no options are used, the information (file name, creation date, size, and checksum) concerning the program file downloaded to the FP6 is displayed.
  • Page 89: Hex Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.8 hex command Uploads the program file to the host PC in Intel HEX format. Input format 'hex' (<start1><length1>(<start2><length2>(<start3><length3>(<start4><length4>)))) Description of the function If a program file has been downloaded to an active programming area, executing this command will upload the program file in Intel HEX format.
  • Page 90: Hlp Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.9 hlp command Lists available commands with brief descriptions. Input format 'hlp' Description of the function Lists available commands with brief descriptions. Example of usage Example of Communication Software Terminal Display >hlp -------------- Control commands --------------...
  • Page 91: Lod Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.10 lod command Downloads the program file, DLM key, and user key to the active programming area of the FP6. Input format 'lod' ('add') ('key' <type> (<address>)) (fname="<filename>") ('ftime="<date and time>") Description of the function Downloads the program file, DLM key, and user key to an active programming area.
  • Page 92 PG-FP6 V1.06 7. Usage of Communications Commands Example of usage Command Status Status LED Message Display Screen Output Display after execution of the BUSY *** BUSY *** Preparing storage ..PASS command (before downloading) Now loading... Display during downloading BUSY *** BUSY ***...
  • Page 93: Prm Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.11 prm command Displays the information concerning the parameter file and setting file that were downloaded to the FP6. Input format 'prm' Description of the function Displays the information concerning the parameter file and setting file (parameter file name, parameter file checksum, setting file checksum, and setting file name) that were downloaded to all the programming areas of the FP6.
  • Page 94: Progarea Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.12 progarea command Confirms and changes information on the active programming areas and deletes data from the programming areas. Input format 'progarea' ('clear' '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7') | ('0' | '1' | '2' | '3' | '4' | '5' | '6' | '7') Description of the function The active programming area can be changed by designating a numerical option.
  • Page 95: Res Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.13 res command Resets FP6. Input format 'res' Description of the function Resets and restarts the FP6 main unit. Example of usage Example of Communication Software Terminal Display >res Starting FP6... Firmware Version Vx.xx.xx Board H/W Vx Serial No.:xxxxxxxxxx...
  • Page 96: Selftest Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.14 selftest command Executes a diagnostic test. Input format 'selftest' Description of the function Executes a self-test to diagnose hardware faults. Example of usage Example of Communication Software Terminal Display >selftest ***** CAUTION ***** Remove any plugs from Target- and Remote-Connector before starting.
  • Page 97: Serno Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.15 serno command Sets the unique code for embedding in the program file. Input format 'serno' <start address> <pattern> Description of the function Sets the unique code for embedding in the program file. This command becomes available when the unique code function is enabled by the FP6 Security Manager setting.
  • Page 98: Set_Auth_Id Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.16 set_auth_id command Changes the authentication ID code to a desired value. Input format 'set_auth_id' <type> <id> Description of the function When the authentication ID code is changed from the value in the settings file, this command is used to specify the type of authentication ID code for which the value is to be set as the desired ID code.
  • Page 99: Sound Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.17 sound command 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.
  • Page 100: Speed_Mode Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.18 speed_mode command Adjusts the waiting time and timeout time for use in communications with the target device. Input format 'wait_mode' ('middle' | 'low' | 'high' ) Description of the function With devices of the V850 (except for V850E2) and 78K (except for 78K0S) family as the targets, this command adjusts the waiting time and timeout time in communications with the target device according to the following options.
  • Page 101: Srec Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.19 srec command Uploads the program file in Motorola S format. Input format 'srec' (<start1><length1>(<start2><length2>(<start3><length3>(<start4><length4>)))) Description of the function If a program file has been downloaded to an active programming area, executing this command will upload the program file in Motorola S format.
  • Page 102: Trc Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.20 trc command Displays the communication information between the FP6 and target device. Input format 'trc' Description of the function Displays the communication information between the FP6 and target device. Up to 4096 lines can be stored.
  • Page 103: Upprm Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.21 upprm command Uploads the parameter file. Input format 'upprm' Description of the function If the parameter file has been downloaded to an active programming area, executing this command will upload the parameter file.
  • Page 104: Ver Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.4.23 ver command Displays the FP6 version. Input format 'ver' Description of the function Displays the FP6 version (firmware version, board hardware version, and serial number). Example of usage Example of Communication Software Terminal Display >ver...
  • Page 105: Description Of Fp6 Device Commands

    PG-FP6 V1.06 7. Usage of Communications Commands Description of FP6 Device Commands 7.5.1 bln command Executes the blank check. Input format 'bln' Description of the function Executes blank checking for the flash memory of the target device. The area specified in operation mode is checked.
  • Page 106: Clr Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.2 clr command Executes “Configuration clear”. Input format 'clr' Description of the function Executes “Configuration clear”. Remark: For details of the “Configuration clear”, refer to the user’s manual of the MCU. Example of usage Example of Communication Software Terminal Display >clr...
  • Page 107: Dlm Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.5 dlm command Refers to the DLM state and causes a transition of the state. Input format 'dlm' (<type>) ('unique' <authentication code>) Description of the function Refers to the DLM state of the target device and causes a transition of the state.
  • Page 108: Ep Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.6 ep command Executes the [Start] command. Input format 'ep' or 'epv' Description of the function Executes the [Start] command. Example of usage Command Status Status LED Message Display FP6 Response Message Display while executing the...
  • Page 109: Ers Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.7 ers command Executes the Erase command. Input format 'ers' Description of the function Erases the target flash memory. The range specified in operation mode is to be erased. If this command is executed with the “Erase Chip” specified, initialization of flash options is also executed.
  • Page 110: Gdi Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.9 gdi command Gets the information of blank check and flash option. Input format 'gdi' Description of the function Obtains the information of blank check and flash options. Example of usage Example of Communication Software Terminal Display >gdi...
  • Page 111: Ged Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.10 ged command Gets the information of endian. Input format 'ged' Description of the function Gets the information of endian. Example of usage Example of Communication Software Terminal Display >ged Get Endianness Little Endian PASS Get Endianness operation finished.
  • Page 112: Glb Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.12 glb command Gets the lock bit. Input format 'glb' Description of the function Gets the lock bit. Example of usage Example of Communication Software Terminal Display >glb LockBits : CF1: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF CF2: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...
  • Page 113: Gof Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.14 gof command Gets the information of OFS. Input format 'gof' Description of the function Gets the information of OFS. Remark: For details of OFS, refer to the user’s manual of the MCU.
  • Page 114: Got Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.16 got command Gets the information of OTP. Input format 'got' Description of the function Gets the information of OTP. Remark: For details of OTP, refer to the user’s manual of the MCU.
  • Page 115: Gtm Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.18 gtm command Gets the information of Trusted Memory. Input format 'gtm' Description of the function Gets the information of Trusted Memory. Remark: For details of Trusted Memory, refer to the user’s manual of the MCU.
  • Page 116: Opb Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.20 opb command Sets the option bytes. Input format 'opb' Description of the function Sets the option bytes. Example of usage Example of Communication Software Terminal Display >opb Set Option Bytes PASS Option Bytes operation finished.
  • Page 117: Pfo Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.22 pfo command Sets the flash options collectively. Input format 'pfo' Description of the function Sets the flash options collectively. Example of usage Example of Communication Software Terminal Display >pfo Set Flash Option PASS Program Flash Option operation finished.
  • Page 118: Prg Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.23 prg command Executes programming. Input format 'prg' Description of the function Executes programming. When filling with 0xFF is disabled, programming is performed to the locations where program file data exist. In this case, data is programmed with the minimum alignment unit of the MCU.
  • Page 119: Read Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.24 read command Reads data of the flash memory in the target device. Input format 'read' ('skipblank') ('hex' | 'srec') ('all' | <start_address> <end_address>) Description of the function Reads data of the flash memory in the target device and outputs the data in the specified format.
  • Page 120: Rsc Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.25 rsc command Executes the Security Release command. Input format 'rsc' Description of the function Executes the Security Release command. Remark: For details of the Security Release command, refer to the user’s manual of the MCU.
  • Page 121: Sed Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.27 sed command Executes the endian setting. Input format 'sed' Description of the function Executes the endian setting. Example of usage Example of Communication Software Terminal Display >sed Set Endianness PASS Set Endianness operation finished.
  • Page 122: Sig Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.29 sig command Executes the [Signature read] command. Input format 'sig' Description of the function Executes the [Signature read] command. Example of usage Example of Communication Software Terminal Display >sig Device name: D70FXXXX Device data: 10 DF 40 Device Version: 2.00...
  • Page 123: Spd Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.31 spd command Disables the serial programming. Input format 'spd' Description of the function Disables the serial programming for the MCU. Example of usage Example of Communication Software Terminal Display >spd Set Serial Programming Disable PASS Set SerProgDis operation finished.
  • Page 124: Sum Command

    PG-FP6 V1.06 7. Usage of Communications Commands 7.5.33 sum command Executes the Checksum command. Input format 'sum' Description of the function Executes the Checksum command and gets checksum values in the MCU. Example of usage Example of Communication Software Terminal Display >sum...
  • Page 125: Encryption Utility Program

    PG-FP6 V1.06 8. Encryption Utility Program 8.Encryption Utility Program RPE.exe, which is bundled with this product, can be used to encrypt or decrypt program files. Remark: RPE.exe is stored in the PackageFiles folder immediately below the folder where software for the PG-FP6 has been installed.
  • Page 126: Renesas Flash Programmer Utility Program

    Encryption with the use of user factory programming keys (UFPKs) as DLM keys and user keys • Generation of random UFPKs and initialization vectors (IVs) • Output of UFPK files for the Renesas Key Wrapping Service • Generation of Renesas key files •...
  • Page 127: List Of Commands

    PG-FP6 V1.06 9. Renesas Flash Programmer Utility Program List of Commands The following table gives descriptions of each command. Table 9.2 List of Commands Command Description genufpk Generates a UFPK file. When generation was successful, the generated UFPK is displayed in the console.
  • Page 128 File path Specifies a UFPK file used in encryption. wufpk File path Specifies a W-UFPK file obtained from the Renesas Key Wrapping Service. Hex data • When the userkey option is not specified Specifies the DLM key data. The data size is 16 bytes.
  • Page 129: 10.Connectors And Cables

    PG-FP6 V1.06 10. Connectors and Cables 10.Connectors and Cables 10.1 Power-Supply Connector The power-supply connector is laid out on the host interface side of the FP6. Power-supply connector Figure 10.1 Power-Supply Connector Figure 10.2 Pin Assignments of the Power-Supply Connector Note: Do not connect a power adapter other than the one for the PG-FP6 to the power-supply connecter.
  • Page 130: Serial Connector

    PG-FP6 V1.06 10. Connectors and Cables 10.2 Serial Connector The serial connector (9-pin D-sub male connector) is laid out on the host interface side of the FP6. Serial port Figure 10.3 9-Pin D-Sub Serial Connector Figure 10.4 Pin Assignments of the Serial Connector Table 10.1 Pin Configuration of the 9-Pin D-Sub Serial Connector...
  • Page 131: Serial Cable Connected To The 9-Pin D-Sub Serial Connector

    PG-FP6 V1.06 10. Connectors and Cables 10.2.1 Serial cable connected to the 9-pin D-sub serial connector A serial cross cable is additionally required. The connectors on both sides are 9-pin D-sub female connectors. The following shows the connection. Figure 10.5 Connection of the Serial Cable 10.3...
  • Page 132: Target Connector

    PG-FP6 V1.06 10. Connectors and Cables 10.4 Target Connector The target connector is laid out on the right side of the FP6. Target connector Figure 10.8 Target Connector (Target Connector Side of the FP6) Note: Part number of the target connector (15-pin D-sub female connector): D02-M15SAG-20L9E (manufactured by Japan Aviation Electronics Industry, Limited) Figure 10.9 Pin Assignments of the Target Connector (15-Pin D-Sub Female Connector)
  • Page 133: Target Cable (14-Pin Type)

    PG-FP6 V1.06 10. Connectors and Cables 10.4.1 Target cable (14-pin type) The target cable (14-pin type) is a standard shielded cable and is approximately 42 centimeters long. The target cable is equipped with a 15-pin D-sub male connector and a 14-pin 2.54-mm pitch multipurpose female connector.
  • Page 134: 14-Pin To 16-Pin Conversion Adapter For The E1 Emulator

    PG-FP6 V1.06 10. Connectors and Cables Table 10.3 Pin Configuration of the Target Connector (14-Pin Type) Signal Name 15-Pin D-Sub Male Connector 14-Pin 2.54-mm Pitch Multipurpose Female Connector (PG-FP6) SCK/IO4 CLK/IO5 FLMD0/IO0 SI/RxD SO/TxD1/IO3 FLMD1 TxD2/HS RESET Not used * ...
  • Page 135: 20-Pin Conversion Adapter For The Pg-Fp6

    PG-FP6 V1.06 10. Connectors and Cables 10.4.3 20-pin conversion adapter for the PG-FP6 When the CoreSight 20-pin connector is used on the target system, use the 20-pin conversion adapter for the PG-FP6. When the 10-pin connector is used on the target system, use the 20-pin to 10-pin conversion cable to match it.
  • Page 136: Gnd Connector

    PG-FP6 V1.06 10. Connectors and Cables 10.5 GND Connector The banana-jack GND connector is laid out on the target connector side of the FP6. GND connector Note: Part number of the GND connector (banana jack): PB4 (manufactured by HIRSCHMANN) Figure 10.13 GND Connector (Target Connector Side of the FP6) R20UT4469EJ0800 Rev.8.00...
  • Page 137: Gnd Cable

    PG-FP6 V1.06 10. Connectors and Cables 10.5.1 GND cable The GND cable is approximately one meter long. The cable is equipped with a banana jack and a spade terminal. Note: The FP6 and target system may be damaged if there are differences in potential between the grounds of the FP6 and of the target system.
  • Page 138 PG-FP6 V1.06 10. Connectors and Cables Table 10.5 Pin Functions of the Remote Interface Input/ Pin Name Function Active Number Output Level Output CONN Indicates that the remote interface is connected. When High level the power of the FP6 is ON, the CONN is always valid.
  • Page 139: 11.Examples Of Connections With Microcontrollers

    PG-FP6 V1.06 11. Examples of Connections with Microcontrollers 11.Examples of Connections with Microcontrollers The following shows examples of interface circuits. Refer to the recommended design for the connection of pins for the MCU. The pin names might differ depending on the target device. For details about the actual pin names, refer to the user’s manual of each target device.
  • Page 140: And V850 (Csi Communications)

    PG-FP6 V1.06 11. Examples of Connections with Microcontrollers 11.2 78K and V850 (CSI communications) Notes: 1. These pins do not need to be short-circuited unless the FP6 is used with the E1 or E20. 2. In case of using the alternate-function pin with a pull-up resistor, connect the pin to FLMD1 of the target connector.
  • Page 141: And V850 (Csi-H/S Communications)

    PG-FP6 V1.06 11. Examples of Connections with Microcontrollers 11.3 78K and V850 (CSI-H/S communications) Notes: 1. These pins do not need to be short-circuited unless the FP6 is used with the E1 or E20. 2. In case of using the alternate-function pin with a pull-up resistor, connect the pin to FLMD1 of the target connector.
  • Page 142: 78K0S (Single-Wire Uart Communications)

    PG-FP6 V1.06 11. Examples of Connections with Microcontrollers 11.4 78K0S (Single-wire UART communications) Note: These pins do not need to be short-circuited when using the FP6. Short-circuit them if necessary. Figure 11.4 Example of a Circuit for 78K0S (Single-Wire UART) 11.5...
  • Page 143: 78K0 (Toolcx And Tooldx Communications)

    PG-FP6 V1.06 11. Examples of Connections with Microcontrollers 11.6 78K0 (TOOLCx and TOOLDx communications) Note: These pins do not need to be short-circuited when using the FP6. Short-circuit them if necessary. Figure 11.6 Example of a Circuit for 78K0 (TOOLCx and TOOLDx) 11.7...
  • Page 144: V850E2 (Csi Communications)

    PG-FP6 V1.06 11. Examples of Connections with Microcontrollers 11.8 V850E2 (CSI communications) Notes: 1. These pins do not need to be short-circuited unless the FP6 is used with the E1 or E20. 2. In case of using the alternate-function pin with a pull-up resistor, connect the pin to FLMD1 of the target connector.
  • Page 145: Rl78 (Single-Wire Uart Communications, Vdd = Evdd)

    PG-FP6 V1.06 11. Examples of Connections with Microcontrollers 11.9 RL78 (Single-wire UART communications, VDD = EVDD) Note: These pins do not need to be short-circuited unless the FP6 is used with the E1, E20, E2, or E2 Lite. Figure 11.9 Example of a Circuit for RL78 Family (VDD = EVDD) 11.10 RL78 (Single-wire UART communications, VDD ≠...
  • Page 146: Rx And Superh (Sci Communications)

    PG-FP6 V1.06 11. Examples of Connections with Microcontrollers 11.11 RX and SuperH (SCI communications) Notes: 1. These pins do not need to be short-circuited unless the FP6 is used with the E1, E20, E2, E2 Lite, or E8a. 2. Connect the mode setting pins of operating mode to any of the IO0 to IO5 pins. The signal settings for IO0 to IO5 pins can be set in the [Mode Pins Setting] dialog box on the [Connect Setting] tab in the [Setup] dialog box.
  • Page 147: 11.12 R8C

    PG-FP6 V1.06 11. Examples of Connections with Microcontrollers 11.12 R8C Note: These pins do not need to be short-circuited unless the FP6 is used with the E1, E20, or E8a. Figure 11.12 Example of a Circuit for R8C Family 11.13 RX (FINE communications) Notes: 1.
  • Page 148: Rh850 Type 1 (1-Wire Uart Communications)

    PG-FP6 V1.06 11. Examples of Connections with Microcontrollers 11.14 RH850 type 1 (1-wire UART communications) Notes: 1. These pins do not need to be short-circuited unless the FP6 is used with the E1, E20, or E2. 2. In case of using the alternate-function pin with a pull-up resistor, connect the pin to IO1 of the target connector.
  • Page 149: Rh850 Type 1 (2-Wire Uart Or Csi Communications)

    PG-FP6 V1.06 11. Examples of Connections with Microcontrollers 11.15 RH850 type 1 (2-wire UART or CSI communications) Notes: 1. These pins do not need to be short-circuited unless the FP6 is used with the E1, E20, or E2. 2. In case of using the alternate-function pin with a pull-up resistor, connect the pin to IO1 of the target connector.
  • Page 150: Rh850 Type 2 (2-Wire Uart Or Csi Communications)

    Figure 11.16 Example of a Circuit for RH850 Family (2-wire UART or CSI communications) (Case of RH850/E1x) 11.17 Renesas Synergy (UART communications) Notes: 1. The value of each resistor should be in the range from 4.7 KΩ to 10 KΩ.
  • Page 151: Re (Uart Communications)

    PG-FP6 V1.06 11. Examples of Connections with Microcontrollers 11.18 RE (UART communications) The following shows the conversion of each signal when a 14-pin target cable and 20-pin conversion adapter are connected to the 15-pin D-sub connector of the PG-FP6. Table 11.1 List of Signal Connections for RE Family...
  • Page 152: Ra (Uart Communications)

    PG-FP6 V1.06 11. Examples of Connections with Microcontrollers 11.19 RA (UART communications) The following shows the conversion of each signal when a 14-pin target cable and 20-pin conversion adapter are connected to the 15-pin D-sub connector of the PG-FP6. Table 11.2 List of Signal Connections for RA Family...
  • Page 153: 12.Troubleshooting

    PG-FP6 V1.06 12. Troubleshooting 12.Troubleshooting This chapter covers frequently asked questions (FAQ). 12.1 For frequently asked questions, refer to the following support portal (FAQ): https://www.renesas.com/pg-fp6/faq-en * Using the self-testing function, the user can find out the reason why the FP6 does not operate normally, such as a defect in the FP6, or problems in other hardware.
  • Page 154: When An Error Produces The Message '023 Inv. Sig. Addr

    PG-FP6 V1.06 12. Troubleshooting Cause 5: Power might not be being supplied normally to the target device. Action 5: (1) Check the power supply setting. (2) If the power is being supplied from the FP6, the power might not be sufficient. In such cases, supply power from the target system.
  • Page 155 PG-FP6 V1.06 12. Troubleshooting Cause 2: Settings of the target system and FP6 may not match. Action 2: (1) Baud rate: Check the operating frequency of the target device to see if the baud rate exceeds the allowable communications rate and if the baud rate is appropriate.
  • Page 156: 13.Points For Caution

    PG-FP6 V1.06 13. Points for Caution 13.Points for Caution This chapter gives some notes on rewriting the memory in the target device. 13.1 Checking before Connection Applies to: All MCUs • Connection of the target device in the cases listed below may damage the tool in use or the target system due to conflicts between signals.
  • Page 157: Wide Voltage Mode

    PG-FP6 V1.06 13. Points for Caution 13.5 Wide Voltage Mode Applies to: 78K0R family • If you wish to enable wide voltage mode, select the [Wide Voltage] check box on the [Connect Setting] tabbed page of the [Setup] dialog box. Since the FP6 ignores any wide voltage setting in a HCUHEX file, this is the case regardless of whether you are using an HCUHEX file.
  • Page 158: Verification After Protecting The Mcu

    PG-FP6 V1.06 13. Points for Caution 13.8 Verification after Protecting the MCU Applies to: RH850, RX64M, RX71M, RX66T, RX72T • Setting the following protection functions of the MCU restricts the verification function.  ID code protection Proceeding with verification (“Verify by reading the device”) without issuing a reset after the ID code protection bit has been set (written) will cause a protection error.
  • Page 159: 14.Maintenance And Warranty

    Failure or damage attributable to modifications, repairs, adjustments, or other acts made to the product by other than Renesas Electronics Corporation. (3) Consumables (e.g., sockets and adapters) are not covered by the aforementioned repair. In the above cases, contact your local distributor. If your product is being leased, consult the leasing company or the owner.
  • Page 160: How To Make Request For Repair

    PG-FP6 V1.06 14. Maintenance and Warranty (3) Expiration of the repair period When a period of one year has elapsed after production of a given model ceased, repairing products of that model may become impossible. (4) Carriage fees for sending your product to be repaired Carriage fees for sending your product to us for repair are at your own expense.
  • Page 161: Appendix A. Messages

    PG-FP6 V1.06 Appendix A. Messages Appendix A. Messages This chapter explains the messages. Messages Defined in the FP6 Terminal Message Description E0000001 Operation with a file failed. The file name exceeds the available number of characters or includes characters that are not usable in the OS, or the permission settings for the specified file or folder may not allow the operation.
  • Page 162 PG-FP6 V1.06 Appendix A. Messages Message Description E0009001 Not enough memory for this operation. Processing cannot be continued since there is not enough memory in the host PC. E0009002 An unexpected error occurred. Reinstall the FP6 Terminal. E0009003 E3000008 This file is corrupt.
  • Page 163: Error Messages Produced By The Fp6 Main Unit

    PG-FP6 V1.06 Appendix A. Messages Error Messages Produced by the FP6 Main Unit The following describes the error messages produced by the FP6 main unit. The first rows of the Message column are messages displayed in the message display of the main unit. The second and subsequent rows of the Message column are messages displayed in the FP6 Terminal.
  • Page 164 PG-FP6 V1.06 Appendix A. Messages Message Possible Workaround Inv. Sig. ID An attempt was made to connect a target device which differs from that when the settings file was created. Create a new settings file or use the correct settings file with the target Invalid signature device.
  • Page 165 PG-FP6 V1.06 Appendix A. Messages Message Possible Workaround Write timeout A timeout occurred when a problem in communications between the target device and the FP6 arose for some reason. Check the connection to the target device and confirm that the Communication target device has not been reset.
  • Page 166 PG-FP6 V1.06 Appendix A. Messages Message Possible Workaround SCF Comm err This error code and message are displayed when programming of flash options in the target device was attempted but failed. Communication Possible causes of the error (failure to program) include: failure or timeout.
  • Page 167 FP6 main unit might be damaged. Run a self-test. If this does not resolve the problem, contact a Renesas Electronics sales representative or distributor. FP6 int Vcc fail The FP6 main unit might be damaged. Contact a Renesas Electronics sales representative or distributor. Power failure.
  • Page 168 PG-FP6 V1.06 Appendix A. Messages Message Possible Workaround SLB Comm err An error occurred during execution of the ‘slb’ command. A block for which the lock bit has already been set might be disabled in the target device. To disable the lock bit, do not use Communication the ‘slb’...
  • Page 169 Nos. 094, 108, 587, 590, 591, or 592 Communication might have occurred. failure or timeout. FP6 Power err The FP6 main unit might be damaged. Contact a Renesas Electronics sales representative or distributor. Power Failure detected. LCD Timeout The FP6 main unit might be damaged.
  • Page 170: Error Messages Produced By The Fp6 Main Unit That Are Only Displayed In The Terminal

    PG-FP6 V1.06 Appendix A. Messages Error Messages Produced by the FP6 Main Unit that are Only Displayed in the Terminal The following describes the error messages produced by the FP6 main unit that are only displayed in the USB- or serial-connected terminal.
  • Page 171: List Of Security And Safety Functions Of The Target Device That May Affect The Operation Of The Programmer

    PG-FP6 V1.06 Appendix A. Messages List of Security and Safety Functions of the Target Device that May Affect the Operation of the Programmer The following lists the security and safety functions of the target device that may affect the error messages with descriptions that include security functions.
  • Page 172: Appendix B. Supplementary Information

    PG-FP6 V1.06 Appendix B. Supplementary Information Appendix B. Supplementary Information This chapter covers supplementary information referred to by the user’s manual of the FP6. 32-Bit CRC Method The generator polynomial used for this table is x^32+x^26+x^23+x^22+x^16+x^12+x^11+x^10+x^8+x^7+x^5+x^4+x^2+x^1+x^0 according to Autodin/Ethernet/ADCCP protocol standards...
  • Page 173: Division Method

    PG-FP6 V1.06 Appendix B. Supplementary Information crc_accum= 0xFFFFFFFF; /* Init Pattern */ for (i= 0, rd_ptr= 16; i < length; i++) /* Check flash read buffer and fill if needed */ if (rd_ptr == 16) Memory_Read (address, 16, data); rd_ptr= 0;...
  • Page 174: 16-Bit Crc Method

    PG-FP6 V1.06 Appendix B. Supplementary Information 16-Bit CRC Method /* The generator polynomial used for this table is: */ /* x^16+x^12+x^5+x^0 according to CCITT-16 standard. */ /* Binary: 0x1021 */ const uint16_t CRC16_Tab [256]= { 0x0000,0x1021,0x2042,0x3063,0x4084,0x50A5,0x60C6,0x70E7, 0x8108,0x9129,0xA14A,0xB16B,0xC18C,0xD1AD,0xE1CE,0xF1EF, 0x1231,0x0210,0x3273,0x2252,0x52B5,0x4294,0x72F7,0x62D6, 0x9339,0x8318,0xB37B,0xA35A,0xD3BD,0xC39C,0xF3FF,0xE3DE, 0x2462,0x3443,0x0420,0x1401,0x64E6,0x74C7,0x44A4,0x5485,...
  • Page 175 PG-FP6 V1.06 Appendix B. Supplementary Information /* Check flash read buffer and fill if needed */ if (rd_ptr == 0) Memory_Read (address, 4, data); rd_ptr= 4; address+= 4; byte= (crc_accum >> 8) ^ data [--rd_ptr]; crc_accum= (crc_accum << 8) ^ CRC16_Tab [byte];...
  • Page 176: Appendix C. Equivalent Circuits Of The Target Interface

    PG-FP6 V1.06 Appendix C. Equivalent Circuits of the Target Interface Appendix C. Equivalent Circuits of the Target Interface This chapter shows equivalent circuits of the target interface. Figure C.1 Equivalent Circuits of the Target Interface R20UT4469EJ0800 Rev.8.00 Page 176 of 188...
  • Page 177: Appendix D. Electrical Specifications Of The Remote Interface

    PG-FP6 V1.06 Appendix D. Electrical Specifications of the Remote Interface Appendix D. Electrical Specifications of the Remote Interface This chapter gives the electrical specifications of the remote interface. Absolute Maximum Ratings (T =0 to 40°C) Pin name Symbol Parameter or Conditions...
  • Page 178: Ac Characteristics (T =0 To 40°C, C=0Pf (Unloaded Condition))

    PG-FP6 V1.06 Appendix D. Electrical Specifications of the Remote Interface AC Characteristics (T =0 to 40°C, C=0pF (Unloaded Condition)) D.3.1 Standard mode Pin name Symbol Parameter or Conditions MIN. TYP. MAX. Unit CONN Rise time(I =8mA)   BUSY Fall time (I =8mA) ...
  • Page 179 PG-FP6 V1.06 Appendix D. Electrical Specifications of the Remote Interface Pin name Symbol Parameter or Conditions MIN. TYP. MAX. Unit Time from the fall of the VRF, START,   PINBU or ENTER signal until the rise of the BUSY signal Time from the fall of the BUSY signal ...
  • Page 180: Bank Mode

    PG-FP6 V1.06 Appendix D. Electrical Specifications of the Remote Interface D.3.2 Bank mode Pin name Symbol Parameter or Conditions MIN. TYP. MAX. Unit CONN Rise time (I =8mA)   BUSY Fall time (I =8mA)   PASS ERROR BANK0 Low-level width of input signal ...
  • Page 181 PG-FP6 V1.06 Appendix D. Electrical Specifications of the Remote Interface Pin name Symbol Parameter or Conditions MIN. TYP. MAX. Unit Time from the fall of the BANK signal   PBAIN until the VRF or START signal can be input Time from the fall of the VRF, START ...
  • Page 182: Simple Mode

    PG-FP6 V1.06 Appendix D. Electrical Specifications of the Remote Interface D.3.3 Simple mode Pin name Symbol Parameter or Conditions MIN. TYP. MAX. Unit CONN Rise time (IO=8mA)   BUSY Fall time (IO=8mA)   PASS ERROR CANCEL Low-level width of input signal ...
  • Page 183 PG-FP6 V1.06 Appendix D. Electrical Specifications of the Remote Interface Pin name Symbol Parameter or Conditions MIN. TYP. MAX. Unit Time from the fall of the NEXT signal   PBAIN until the VRF or START signal can be input Time from the fall of the VRF, START or ...
  • Page 184 PG-FP6 V1.06 Appendix D. Electrical Specifications of the Remote Interface PINBU BUSY NEXT PPENE PBAIN ENTER START PASS ERROR PCLPE PBUIN CLEAR R20UT4469EJ0800 Rev.8.00 Page 184 of 188 Oct.01.21...
  • Page 185: Appendix E. Electrical Specifications Of The Target Interface

    PG-FP6 V1.06 Appendix E. Electrical Specifications of the Target Interface Appendix E. Electrical Specifications of the Target Interface This chapter gives the electrical specifications of the target interface. Absolute Maximum Ratings (T =0 to 40°C) Pin name Symbol Parameter or Conditions...
  • Page 186: Dc Characteristics (T A =0 To 40°C)

    PG-FP6 V1.06 Appendix E. Electrical Specifications of the Target Interface DC Characteristics (T =0 to 40°C) Pin name Symbol Parameter or Conditions MIN. TYP. MAX. Unit Output voltage, high  Output voltage, high (I = 100 mA) – 5% + 5% Input current, high ...
  • Page 187 PG-FP6 V1.06 User’s Manual Publication Date: Rev.8.00 Oct.01.21 Published by: Renesas Electronics Corporation...
  • Page 188 Backcover PG-FP6 V1.06 R20UT4469EJ0800...

This manual is also suitable for:

Pg-fp6

Table of Contents