Home
Renesas Flash Programmer flash memory programming software
Contents
1. Group Device Name Information Generic Boot Device V850E MA3 UPD 70F31344 Device version ES2 0 or later V850E MA3 UPD70F3134B Device version EG ZO or later W85OEAIAS UPD70F3184 W85DE IA4 UPD70F3186 V850E SJ3 H UPD70F3474 For CSIBO CSIBO HS UARTAO V850E SJ3 H UPD 70F3474 For CSIB3 CSIB3 HS UARTAO V850E SJ3 H UPD 70F 34744 For CSIBO CSIBO HS UARTAO V850E SJ3 H UPD 70F 34744 For CSIB3 CSIB3 HS UARTAO V850E SJ3 H UPD 70F3474B For CSIBO CSIBO HS UARTAO V850E SJ3 H UPD 0F3474B For CSIB3 CSIB3 HS UARTAO 4 Workspace Name Lange 5 p Project Name Last 6 Folder Dae Browse Next Cancel Microcontroller list box Select All Generic Boot Device V850 RL78 or 78K to narrow down the microcontrollers that can be selected in the Using Target Microcontroller list box Filter box Enter a character string that matches the character strings displayed in the Using Target Microcontroller list box to narrow down the microcontrollers that can be selected in the Using Target Microcontroller list box Using Target Microcontroller list box Select the target microcontroller to be used Workspace Name box Enter the workspace name in this box Project Name box Enter the project name Folder box Specify a folder in which to create the workspace file Enter the path in the Folder box or click the Browse
2. R20UT0599EJ0400 Rev 4 00 Page 126 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 10 SCRIPT EXECUTION FUNCTION RX Checksum checksum Executes the checksum command The USB port number is information shown in the device manager when the Generic USB Boot device is connected to the host machine with a USB cable In the following case itis VID 045B8 PID 00251683234B9D98083 Generic Boot USB Direct Properties RH xi General Driver Details co Generic Boot USB Direct USBWID 045B8PID DO25 7631E 2848408 Device Manager Mm x File Action View Help 7 mea emaga Renesas USB Development Tools SUUnu vide opiate trer Zee Storage volu Disable System devic Uninstall Universal Set Scan for hardware changes 10 5 Log file Execute the specify a log file script command log lt filename gt by the script command to create a specified log file and to save the script commands and the characters in the output panel to the log file in the text format If a log file with the same name already exists when a new log file is tried to be created the existing log file is opened and new log entries are appended after the last line 1 Log file format DD Mon YY HH MM SS mmn lt script command gt Characters in the output panel DD day two digits Mon month three characters YY year two digits HH hou
3. Mode Pins at Connection See 6 2 5 Connection and Query t See 6 2 6 Frequency See 6 2 7 Baud Rate See 6 2 8 Project Settings See 6 2 9 Main window See 8 3 R20UT0599EJ0400 Rev 4 00 Page 109 of 168 2012 06 29 Renesas Flash Programmer CHAPTER8 FUNCTION DETAILS FULL MODE RX 8 3 Main Window On the taskbar click the Start button point to All Programs Renesas Electronics Utilities Programming Tools Renesas Flash Programmer Vx xx and then click Renesas Flash Programmer Vx xx The Welcome dialog box will open Follow the instructions that appear in the wizard When setup is finished the main window is displayed Figure 8 2 Main Window lt 2 gt Tool bar Renesas Flash Programmer Supported Yersion File Tool Microcontroller Help oa u sample 128 sample rl78 A sample1l hex 5 sample2 hex Efi sample rx 7 2 samplel mot B A sample2 mot B E sample3 mot 3 Workspace Treel panel E Device Information File Device Name B Device Information File Path d rfp samplesample_rx AX600 Series fc A Communication Interface Tool Name Connection E Clock Clock Type Freq Clock CKM CKP A Baud Rate Device Name Name of the selected device 45 Project Settings panel 55 Output panel 6 Status bar The main window consists of the following items
4. Start Line size received 256 Generic Device Query complete Clock Frequency External Resonator or Clock 12 5000MHz Clock Mode 0 CKM 8 and CKP 4 Connecting to device RX600 Series on E1 by Boot mode Initiating BOOT sequence Sending selection of clock mode Selection of Clock Mode Clock selected code 0 Changing baud rate to 1562500bps Set baud rate value 1562500bps Connection complete Clear Output Panel R20UTO0599EJ0400 Rev 4 00 2012 06 29 Page 32 of 168 Renesas Flash Programmer CHAPTER A BASIC OPERATION BASIC MODE RX lt R gt lt R gt lt 2 gt Select sample mot in the Open File dialog box and then click the Figure 4 14 Open File Dialog Box Open File Look in lo hex O F p E e My Recent Documents E Desktop Gi Mu Documents KI BE My Computer mn a My Network Places d SS Program files hex mot s rec R20UTO0599EJ0400 Rev 4 00 2012 06 29 Open sample mot b button to open the main window RIES Page 33 of 168 Renesas Flash Programmer CHAPTER4 BASIC OPERATION BASIC MODE RX 6 Execute the Program command 1 Click the Microcontroller menu and select the Program command A check mark is then placed on the left of the command and the command is assigned to the Start button Rs Figure 4 15 Main
5. R20UT0599EJ0400 Rev 4 00 Page 88 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX lt R gt b Frequency dialog box This dialog box is used to set clock supply and multiplication ratios for the main clock and peripheral clock lt R gt Figure 6 30 Frequency Dialog Box Clock supply Internal External Exemal Resonator or Clock z Frequency 12 5000 MHz M Multiplier for the main clock or peripheral clock Clock Mode fo zj SC e S CKP 4 x lt Back Cancel For details about each item see 6 2 7 Clicking the Back button displays the previous dialog box Clicking the Next gt button displays the next dialog box Rs Clicking the Cancel or the X button returns you to the Project Settings dialog box lt R gt c Baud Rate dialog box This dialog box is used to set baud rate lt R gt Figure 6 31 Baud Rate Dialog Box Baud Rate Recommended 1562500 aa bps TC Use Default 7 User Specified m Cancel For details about each item see 6 2 8 Clicking the Back button displays the previous dialog box Clicking the Next gt button displays the next dialog box lt R gt Clicking the Cancel or the X button returns you to the Project Settings dialog box R20UT0599EJ0400 Rev 4 00 Page 89 of 168
6. Rs This category is used to select whether or not to automatically disconnect after execution Auto Disconnect Selects whether to disconnect automatically after execution True Enabled False Disabled 8 Flash Program Options category Rs This category is used to select Readback Verification All Erase Before Program Request Checksum and File Over Warning Readback Selects whether to execute readback verification after programming Verification True Enabled False Disabled All Erase Before Selects whether to erase all blocks before programming Program True Enabled False Disabled Request Selects whether to obtain the checksum of the device after programming Checksum True Enabled False Disabled File Over Warning Selects whether to display the warning dialog when the program file exceeds the ROM size of the flash True Enabled False Disabled Remark The checksum is the the flash memory eight lower order digits of the result of adding the values of all bytes in R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 93 of 168 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX Rs 9 Mode Pins at Disconnect category This category displays or is used to select Reset Pin As Low Reset Device and Mode Pins Information Reset Pin As Selects whether to set the reset pin at Low level when disconnecting from the device lt R g
7. Clock Type Clock is supplied to the device via internal or external clock Frequency MHz Displays the input frequency of the device Clock Mode Displays the clock mode of the device CKM Displays the multiplication or frequency dividing of the main clock CKP Displays the multiplication or frequency dividing of the peripheral clock lt R gt lt 4 gt Baud Rate category This category displays baud rate related information such as Baud rate Specified By Baud rate Value bps and Use Default Value Baud rate Specified By Displays the baud rate based on the Recommended Speeds or User Specified Baud rate Value bps Displays the communication speed with the device Use Default Value Displays if the recommended default communication speed is used or not lt 5 gt Target Power Supply category lt R gt This category displays Power Supply of the target device Power Supply Displays the power supply for the target device lt R gt lt 6 gt Mode Pins at Connection category This category displays the state of the mode pin to start the device in the boot mode when it is connected Mode Pin Information Displays the state of the mode pin to start the device in the Boot mode at connection R20UT0599EJ0400 Rev 4 00 Page 92 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX 7 Basic Mode Option category
8. button to display the Select Folder dialog box and then specify the folder Clicking the Next button displays the next dialog box Clicking the Cancel or the X button terminates RFP R20UT0599EJ0400 Rev 4 00 Page 71 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX R 6 2 3 Communication Interface dialog box This dialog box is used to select the tool used and display the connection method between the selected tool and the target microcontroller lt R gt Figure 6 4 Communication Interface Dialog Box Communication Interface Ea Tool Interface Boot mode E 1 Tool image panel An image of the tool selected in the Select Tool list box is displayed Figure 6 5 Tool Image Panel 2 Tool list box Select the tool to be used eEl e E20 e USB Direct Rs e COMx 3 Interface list box The connection method between the selected tool and the target microcontroller is displayed e Boot mode Clicking the Next button displays the next dialog box Clicking the Cancel or the X button terminates RFP R20UT0599EJ0400 Rev 4 00 Page 72 of 168 2012 06 29 lt R gt lt R gt lt R gt lt R gt lt R gt Renesas Flash Programmer CHAPTER 6 FUNCTION DETAILS BASIC MODE RX 6 2 4 Power Supply dialog box This dialog box is used to speci
9. button saves the workspace file and returns you to the Project Settings dialog box Cancel or the X button returns you to the Project Settings dialog box Page 90 of 168 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX Rs f Project Settings dialog box This dialog box is used to check and change the project settings lt has the Basic Settings tab and Other Settings tab Selecting a tab changes the categories in which settings are displayed lt R gt Figure 6 34 Project Settings Dialog Box Project Settings ES Basic Settings Other Settings A Device Information File Device Name RX600 Series Base Device Generic Boot Device Device Information File Path d rfp sample sample RX600 Series fcf A Communication Interface Tool Name E Connection Boot mode A Clock Clock Type External Resonator or Clock Frequency MHz Clock Mode 0 CKM 8 CKP 4 E Baud Rate Baud Rate Specified By RFP Recommended Device Name Name of the selected device Modify Cancel Basic Settings tab lt R gt lt 1 gt Device Information File category lt R gt lt 2 gt Communication Interface category lt R gt 3 Clock category lt R gt lt 4 gt Baud Rate category lt 5 gt Target Power Supply category lt R gt 6 Mode Pins at Connect category Other Settings tab lt 7 gt Basic Mode Option category 8 Flash
10. o is le ene ee ie eee 81 6 3 M n WiINdOW soc aca a a aa ea a vundas eer ero so uo os ek Sie ace een aa 83 6 4 Meny EE 84 6 4 1 EHe TUE 84 6 4 2 Tool Meni nan a E allan auta sa AT 86 6 4 3 Microcontroller menu 87 6 44 Help menU 5 e7 ss erre oo ARRERA wd seats EARN KEE PA ER ANKORAA EAIN ca AARRE AR AARIS SATa 98 6 5 Microcontroller Arean inaandaa narea anaana daa paene SEENEN DEE ENEE 98 6 6 Programm Fil A A seren Euro EE vos daare raaa adaa r eaeoe ta 99 6 7 Leo IR CT eseo p eve sereno ereto Lobe nenna nnmnnn nnmnnn nenna egan oO nnmnnn mennan nnmnnn nennen ena 99 6 8 Start BUOM aeaaaee A NEI NL NN NNR No 100 EH Status GREAT rTrTRETTTTTTTTT TETTE TTT TTT 100 6 10 Output Panel ee Ee ven knne ENEE EEN DESS ee 101 6 11 Clear Output Panel Button sssssesnnnnennnnannnnaannnnannnnnennnaannnnnnnnnnnnnranan 102 CHAPTER 7 FUNCTION DETAILS FULL MODE RL78 78K V850 103 TEV INIWOdUCIlON 5 23 5 1233 reme es Sh coe aera un evo Voj surdo rena E oe e rtut vio kubuguseWettaboazuvos 103 Lo Stalino ET E 103 Ted Mait le EEN 104 Te Mehul EE 105 744 File MenuU A LIAL 105 7 4 2 VoolNMeNU aen opan prr era kdo 106 7 4 3 Microcontroller menu ee eeeaeeeeeeaaeeeeeeaaaeeeseeaaeeeeeenaeeeeneaas 107 744 Help menu gu ii a eA ta E 108 TB OOl at costs earo Edo va tua eta lao kaa td elana ETT
11. Description 1 Menu bar Displays the selectable menus 8 4 25 Tool bar Displays buttons for frequently used commands 8 5 3 Workspace Tree panel Displays the workspace in a tree form 8 6 45 Project Settings panel Displays the project settings 8 7 55 Output panel Displays the command execution output 8 8 6 Status bar Displays the command execution status in colors and text 8 9 R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 110 of 168 Renesas Flash Programmer CHAPTER 8 FUNCTION DETAILS FULL MODE RX 8 4 Menu Bar The menu bar consists of File Tool Microcontroller and Help When a menu is selected the pull down menu is displayed where the items can be selected Some items may be disabled depending on the settings 8 4 1 File menu The following pull down menu appears by selecting the File menu Refer to 6 4 1 for details of each menu Figure 8 3 File Menu Renesas Flash Programmer Supp Tool Microcontroller Help p Create a new workspace E7 Open a workspace Exit 8 4 2 Tool menu Selecting the Tool menu displays the pull down menu as shown in the figure below Refer to 6 4 2 for details of each menu Figure 8 4 Tool Menu Renesas Flash Programmer Supporte File Tool Microcontroller Help E FF Unique Code Setting u Change to Basic mode R20UT0599EJ0400 Rev 4 00 Page 111 of 168 2012 06 29 Renesas Flash Programm
12. Code File Darfpisample test sample ruc File Start Point Restart on Session C Continue From Previous User Specified Start Index blank for file start Final Index blank for file end Fee UJ ae Start Of File End Of File Data Overwrite C Overwrite Abort 2 Change to Full mode Selecting this option switches the mode from basic to full in the main window Save the project file that has been created For the full mode features refer to Chapter 7 R20UTO0599EJ0400 Rev 4 00 Page 50 of 168 2012 06 29 Rs Rs lt R gt lt R gt Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 5 4 3 Microcontroller menu The following pull down menu appears by selecting the Microcontroller menu This menu includes commands mainly related to writing to the flash memory such as setting up erasing and writing to the flash memory and verifying the written program If you select a command the check mark is displayed at the left of the command and the command is assigned to the Start button The flash memory area subject to manipulation by each command is specified by using the Operation mode parameter under Target in the Other settings tag of the Project Settings dialog box Figure 5 20 Microcontroller Menu Renesas Flash Programmer Supported Yerg File Tool Microcontroller Help Disconnect to Device 1 Mood Blank
13. lt R gt Figure 3 11 Autoprocedure E P Command Execution Results Renesas Flash Programmer Supported Yersion Pie EZ File Tool Microcontroller Help Microcontroller bert 46 User Data area sample hex Browse User Boot area E Command Autoprocedure E P st Browse Start Autoprocedure E P PASS Fees nd Sutoprocedure E P Disconnect Clear Output Panel 7 System shutdown 1 Disconnect the target cable from the target system Remark When supplying Vpo power to the target system turn off the power before removing the target cable lt 2 gt Unless there are other target microcontrollers to be programmed click the File menu and select the Exit command to close RFP Because all settings made so far will be saved to a project file they can be reused after RFP is restarted 35 Remove the USB cable from the tool used lt R gt Caution If an error occurs during the above procedure see CHAPTER 12 TROUBLESHOOTING and APPENDIX A MESSAGES Also see the user s manual of the tool used and execute diagnostic tests If the above still does not resolve the problem see the FAQ at http www renesas com supp or contact Renesas via the Renesas website hitp www renesas com contact R20UT0599EJ0400 Rev 4 00 Page 24 of 168 2012 06 29 Renesas Flash Programmer CHAPTER4 BASIC OPERATION BASIC MODE RX lt R gt CHAP
14. The project that has been created is saved 2 Project nodes A project node represents a project within the workspace You can manipulate and edit one of the multiple projects maximum of 64 at a time The project that can be manipulated and edited is displayed bold and marked by Double clicking one of other project nodes makes it available for manipulation and edition a Context menu of project nodes Right clicking a project node displays its context menu Table 7 3 Context Menu of Project Nodes Set Project Active Makes the selected project available for manipulation and edition The project that has been manipulated and edited is saved Delete Project Deletes the selected project from the list The project file itself is not deleted This menu item is enabled when the project is not being manipulated or edited Add Program File Adds a program file to the selected project The Open File dialog box opens for adding a program file R20UT0599EJ0400 Rev 4 00 Page 106 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 7 FUNCTION DETAILS FULL MODE RL78 78K V850 3 Program file nodes A program file node represents a program file of a project A project can have multiple program files maximum of 64 one of which is available for programming and verification The program file node available for programming and verification is displayed bold and marked by 9 Double clicking on
15. programmed any more Description This warning message appears when the boot block area overwrite protection security flag is set to warn the programmer that it will not be possible to clear a flag W1001016 Caution The latest program file exists Program file is forced to update W1001023 Message If Disable Block Erase is specified and a security command is executed the Security Release command cannot be executed and the target security setting cannot be cleared again R20UT0599EJ0400 Rev 4 00 Page 148 of 168 2012 06 29 Renesas Flash Programmer APPENDIX A MESSAGES lt R gt A 4 Messages Displayed in Fatal Error Selection and Warning Dialog Boxes RX E1010001 Access to the project file failed Description This error is displayed when the project file cannot be accessed The file might be corrupted Remake the project file Description This error is displayed when the device specification query fails for some reason Make sure that the settings for the RFP and the target board are correct Description This error is displayed when connection to the microcontroller fails for some reason Make sure that the settings for the RFP and the target board are correct E1010010 Message The following file does not have valid data in the flash memory area all H FF Or the data lies outside the flash memory area E1010011 No data to compare Description This error is displayed when the file to compare does not have any da
16. 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX d Power Supply dialog box This dialog box is used to set power supply for the target system Figure 6 32 Power Supply Dialog Box Power Supply Eg IV Power target from the emulator Supply voltage 33V 5 0 lt Back 3 Cancel For details about each item see 6 2 4 lt Back Next gt Cancel button displays the previous dialog box button displays the next dialog box or the X button returns you to the Project Settings dialog box e Mode Pins dialog box This dialog box is used to select the pin to control the mode pin of the target microcontroller from ioO to io5 Figure 6 33 Mode Pins Dialog Box Mode Pins EN Mode Pins at Connection io5 oi oi io2 oi oi Pin Outputs a mi mu JV TT 014 Pin Setting High J uJ v TTC zs Did WARNING Incorrect settings could damage your hardware Cancel Remark For the ioO to io5 pins of E1 and E20 refer to Figure B 3 E1 and E20 Pins RX in APPENDIX B For details about each item see 6 2 5 lt R gt lt R gt Clicking the Clicking the lt R gt Clicking the lt R gt pins lt R gt Clicking the lt R gt Clicking the Clicking the lt R gt R20UTO0599EJ0400 Rev 4 00 2012 06 29 lt Back button displays the previous dialog box Finish
17. 5 11 Clear Output Panel Button Clicking the Clear Output Panel button will delete all the text displayed on the output panel The status bar is also cleared Figure 5 41 Clear Output Panel Button Clear Output Panel R20UT0599EJ0400 Rev 4 00 Page 68 of 168 2012 06 29 lt R gt lt R gt Renesas Flash Programmer CHAPTER 6 FUNCTION DETAILS BASIC MODE RX CHAPTER 6 FUNCTION DETAILS BASIC MODE RX This chapter describes function details of the commands windows and dialog boxes of the basic mode of RFP for RX 6 1 Introduction Make sure that the RFP package is installed For how to install the RFP package see CHAPTER 2 RFP INSTALLATION Before starting RFP make sure that the debugger and utility are not running 6 2 Starting up On the taskbar click the Start button point to All Programs Renesas Electronics Utilities Programming Tools Renesas Flash Programmer Vx xx and then click Renesas Flash Programmer Vx xx The Welcome dialog box will open Follow the instructions that appear in the wizard When setup is finished the main window is displayed The Power Supply and the Mode Pin at Connection dialog boxes are skipped depending on the selected connection method Figure 6 1 Dialog Boxes Displayed in the Startup Wizard Welcome Create a new ee Create a new eseas See 6 2 2 Communication Interface See 6 2 3 Power Supply See 6
18. Frequency and the Power Supply dialog boxes are skipped if it is not necessary to change the setting Figure 5 1 Dialog Boxes Displayed in the Startup Wizard Welcome See 5 2 1 Create a new m ool Create a new workspace See 5 2 8 Open a created workspace Open the workspace Communication Interface used last time See 5 2 3 See 5 2 7 Frequency See 5 2 4 Power Supply See 5 2 5 Project Settings See 5 2 6 Main window See 5 3 R20UT0599EJ0400 Rev 4 00 Page 36 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 5 2 1 Welcome dialog box This dialog box is used to make a selection about a workspace Rs Figure 5 2 Welcome Dialog Box Basic mode Full mode C Open latest workspace D rfp sample sample rws Open workspace R To create a new workspace select Create new workspace and also select Basic Mode or Full Mode To open the workspace used last time select Open latest workspace To open a created workspace select Open workspace Clicking the Next button displays the next dialog box Clicking the Cancel or the X button terminates RFP R20UTO0599EJ0400 Rev 4 00 Page 37 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 5 2 2 Create new workspace dialog box This dialog b
19. Project Settings dialog for details Figure 7 9 Project Settings Panel Basic Settings Other Settings E Device Information Fie File name R5F100LE pr5 File versior AN A Target Interface UART chO Lommunication transter rate 1 000 000bp Supply oscillator Target Frequency MHz Internal OSC Multiply rate 1 00 Supply power EM A Using Tool jol name El File name Show a device information file which corresponds to a target microcontroller R20UT0599EJ0400 Rev 4 00 Page 107 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 7 FUNCTION DETAILS FULL MODE RL78 78K V850 7 8 Output Panel The output panel displays the execution status of the command selected on the Microcontroller menu or the tool bar in text Up to 500 lines can be displayed If the text exceeds 500 lines lines will be deleted starting from the first line Refer to 5 10 for details Figure 7 10 Output Panel 50 60 70 80 90 100 PASS Autoprocedure E P PASS oe End Autoprocedure E P Disconnect 7 9 Status Bar The status bar shows the progress as a color and with a message when a command selected on the Microcontroller menu or the tool bar is executed Figure 7 11 Status Bar Table 7 5 Status Bar Displays Immediately after start of the command or when Clear is selected in the context menu of the output panel During the command execut
20. and then turn on the power and execute the Program command R20UTO0599EJ0400 Rev 4 00 Page 34 of 168 2012 06 29 Renesas Flash Programmer CHAPTER4 BASIC OPERATION BASIC MODE RX lt R gt Figure 4 16 Program Command Execution Results Renesas Flash Programmer Supported Yersion UL x File Tool Microcontroller Help Microcontroller RX600 Series s S E User Data area samplemot Browse l User Boot area DE Browse Command Progam Start PASS Operation on User Flash Data programmed at the following positions OxFFFCOOOO OxFFFFFFFF Size 0x00040000 256 K programmed in 6 seconds Operation on Data Flash Data programmed at the following positions Ox00100000 Ox00107FFF Size 0x00008000 32 K programmed in 1 seconds Image written to device Disconnecting Disconnected Clear Output Panel 7 System shutdown lt 1 gt Unless there are other target microcontrollers to be programmed click the File menu and select the Exit command to close RFP All settings made so far will be saved to a project file lt R gt lt 2 gt Remove the USB cable from the tool used lt 3 gt Disconnect the target cable from the target system lt R gt Remark When supplying Vpo power to the target system turn off the power before removing the target cable Furthermore if Auto Disconnect in the Flash Program Options category in the Other Settings tab of the Project Setti
21. Change of description in 6 2 Starting up Change of Figure 6 1 Dialog Boxes Displayed in the Startup Wizard 70 Change of description in 6 2 1 Welcome dialog box Change of Figure 6 2 Welcome Dialog Box 71 Change of description in 6 2 2 Create a new workspace dialog box Change of Figure 6 3 Create a new workspace Dialog Box 72 Change of the title and description in 6 2 3 Communication Interface dialog box Change of Figure 6 4 Communication Interface Dialog Box 73 Change of the title and description in 6 2 4 Power Supply dialog box Change of Figure 6 6 Power Supply Dialog Box 74 75 76 Change of the title and description in 6 2 5 Mode Pin at Connection dialog box Change of Figure 6 7 Mode Pin at Connection Dialog Box Change of description in 6 2 6 Connection and Query dialog box Change of Figure 6 8 Confirmation Dialog Box Change of Figure 6 10 Select USB Device Dialog Box Change of Figure 6 12 Select Device Dialog Box 77 Change of the title and description in 6 2 7 Frequency dialog box Change of Figure 6 13 Frequency Dialog Box Change of Figure 6 14 Clock supply Area 79 Change of the title 6 2 8 Baud Rate dialog box Change of Figure 6 16 Baud Rate Dialog Box 80 Change of the title and description in 6 2 9 Project Settings dialog box Change of Figure 6 17 Project Settings Dialog Box 81 Change of the t
22. Checksum Autoprocedure E P Set Option Bytes Set OCD Security ID Signature Read Get Flash options Set Project Selecting Set Project opens a wizard type dialog box for Page 104 of 168 Renesas Flash Programmer CHAPTER 7 FUNCTION DETAILS FULL MODE RL78 78K V850 7 4 4 Help menu Clicking the Help menu displays the following pull down menu Refer to 5 4 4 for details of each menu Figure 7 6 Help Menu Renesas Flash Programmer Supported version File Tool Microcontroller Help a 9 el version Information 1 Import License fl Ej i u LI 7 5 Tool Bar The tool bar lists the buttons for the commands of the Microcontroller menu Clicking any of the buttons executes the corresponding command Some buttons become enabled or disabled depending on the settings When an HCUHEX file is selected it is used as the master data disabling the Program Read and Set Security commands Placing the mouse cursor over a tool bar button displays a tooltip Refer to 5 4 3 for details of each command Figure 7 7 Tool Bar 1 2 3 4 5 6 7 8 9 10 11 12 13 Table 7 1 Tool Bar 1 Executes the Blank Check command 2 Executes the Erase command 3 Executes the Program command 4 Executes the Verify command 5 Executes the Read command 6 Executes the Set Security command 7 Executes the Checksum command
23. LENESAS d D Vi C I Renesas Flash Programmer Flash memory programming software 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 Renesas Electronics www renesas com Rev 4 00 Jun 2012 10 11 12 Notice Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information Renesas Electronics has used reasonable care in preparing the information included in this document but Renesas Electronics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas Electronics does not assume an
24. PASS displayed and erasure is not performed Erase skipped is R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 51 of 168 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 3 Program command This command is used to write the program file selected in the program file area to the flash memory The progress of programming is displayed on the output panel When programming is complete the result is displayed The command options after the Program command has finished executing depend on the settings of the Verify lt R gt after Program Security after Program and Checksum after Program parameters under Command Options in the Other Settings tab of the Project Settings dialog box For details see 5 4 3 13 d lt 9 gt Command Options category 4 Verify command This command is used to verify that the data written to the flash memory is the same as the data in the program file selected in the program file area The progress of verifying is displayed on the output panel When verifying is complete the result is displayed 5 Read command This command is used to read data on the flash memory and save it as a file When this command is executed the Save As dialog box is displayed Enter any file name in the File name box select the folder in which to store the file and then save the program data that has been read Select the file
25. The USB driver might not have been installed normally Action See CHAPTER 2 RFP INSTALLATION and reinstall the USB driver 3 The tool is connected to the host machine but the power LED on the tool is not turned on Cause The USB port of the tool or the host machine might have a defect Action Check a defect of the tool using the diagnostic tool for the tool used If a defect is found consider repair lf there is no defect try connecting the tool to another machine 4 The Add New Hardware Wizard screen appears when tool is connected with the host machine Cause If the USB connector of the tool is inserted into a port that differs from the one used during installation the tool might be recognized as a new hardware item Action Select Search for a suitable driver for my device recommended and install the USB driver R20UT0599EJ0400 Rev 4 00 Page 133 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 12 TROUBLESHOOTING 12 2 Problems During Operation This section describes the troubleshooting for problems that may occur during operation Remark For causes and actions for the messages displayed in the internal error fatal error selection and warning dialog boxes and output panel see APPENDIX A MESSAGES 1 One of the following errors is displayed on the output panel Error E1000001 E1 E20 MINICUBE2 COMx communication time out Error E1000009 E1 E20 MINICUBE2 COMx communication error Cause 1
26. dialog box displays the Other Settings tab screen of the Project Settings dialog box Figure 3 6 Basic Settings Tab of the Project Settings Dialog Box Project Settings x E Device Information File File name R5FIOOLE pro File version V1 11 D Target ite UART chO 6 1 000 000bps Target Internal OSC 1 00 Supply power 5 0V E Using Tool Tool name El Multiply Device Information File Modify Complete Cancel lt 7 gt The Other Settings tab of the Project Settings dialog box allows you to view and set advanced details of writing data Chip is the default value for Operation mode under the Target category and the default value for Blank Check before Erase in the Command Options category is Valid Clicking the Complete button saves the project file and displays the main window R20UT0599EJ0400 Rev 4 00 Page 20 of 168 2012 06 29 Renesas Flash Programmer CHAPTER3 BASIC OPERATION BASIC MODE RL78 78K V850 lt R gt Figure 3 7 Other Settings Tab of the Project Settings Dialog Box Operation mode Chip d Vpuons Disable Block Erase Invalid Disable Program Invalid Disable boot block cluster reprogramming Invalid End of boot block number 003 Start of flash shield block number 000 End of flash shield block number 063 E Target Microcontroller Target microcontroller name ink chacina crue vais l Verify a
27. whenever a checksum calculation mode is specified for Check sum type If Range of the Program file is selected for Range the corresponding addresses are specified for Start address of Code Flash and End address of Code Flash and Start address of Data Flash and End address of Data Flash and further input is disabled When the checksum is calculated areas to which data is not written are filled in with Oxff Some items in this category might not be displayed for some microcontrollers With the 16 bit arithmetic subtraction mode the lower 4 digits of the result from which a value is subtracted from O0h in 1 byte units are displayed With the 32 bit CRC mode the 8 digit result of CRC32 function calculation is displayed For details about the arithmetic specifications see Figure B 2 32 bit CRC Calculation Specifications R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 60 of 168 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 lt R gt lt 6 gt Target category This category is used to select the operation mode and other details about the interface between the tool and the microcontroller Operation mode Select the unit in which the flash memory is accessed Chip The flash memory is accessed in chip units Block Code Flash The code flash memory is accessed in block units Block Data Flash The data flash memory is accessed in block units Bloc
28. 2 Multiplier for the main clock or peripheral clock area Set the clock mode CKM and CKP Figure 6 15 Multiplier for the main clock or peripheral clock Area M Multiplier for the main clock or peripheral clock CKM E DI CKP 4 DI T Clock Mode Clock Mode list box Select a value CKM list box Select a multiplication ratio of the main clock CKP list box Select a multiplication ratio of the peripheral clock Remark For available multiplication ratios refer to the user s manual of the target microcontroller Clicking the lt Back button displays the previous dialog box Clicking the Next gt button displays the next dialog box Clicking the Cancel or the X button terminates RFP R20UT0599EJ0400 Rev 4 00 Page 78 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX Rs 6 2 8 Baud Rate dialog box This dialog box is used to set baud rate lt R gt Figure 6 16 Baud Rate Dialog Box Baud Rate xi C Baud Rate Recommended 38400 I bps Ze User Specified 156250 J Use Default 0 0 Error rate n emulator A we o 1 Baud Rate Recommended list box If the Use Default check box is selected 38400 is selected recommended baud rates can be selected 2 User Specified box lt Back Cancel H the check box is cleare
29. 2 4 Mode Pin at Connection See 6 2 5 E and Ge See 6 2 1 Open a created workspace Open workspace See 6 2 11 Open latest workspace See 6 2 10 Main window See 6 3 R20UT0599EJ0400 Rev 4 00 Page 69 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX 6 2 1 Welcome dialog box This dialog box is used to make a selection about a workspace Rs Figure 6 2 Welcome Dialog Box Basic mode Full mode Open latest workspace D ifp sample sample rws Open workspace lt R gt To create a new workspace select Create new workspace and then select Basic mode or Full mode To open the workspace used last time select Open latest workspace To open a created workspace select Open workspace Clicking the Next button displays the next dialog box Clicking the Cancel or the X button terminates RFP R20UTO0599EJ0400 Rev 4 00 Page 70 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX 6 2 2 Create a new workspace dialog box This dialog box is used to create a new workspace lt R gt 1 2 3 lt R gt 4 lt R gt 5 6 Figure 6 3 Create a new workspace Dialog Box 1 _ Microcontroller A E 2 p Fiter 3 Using Target Microcontroler
30. 24 25 26 27 28 29 30 31 32 33 34 35 36 37 nn indicates an unused pin R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 158 of 168 Revision Record 1 7 Description Rev Date Page Summary 1 00 Apr 18 2011 First edition issued 2 00 Sep 15 2011 3 4 Addition and deletion of description in How to Use This Manual 8 Change of description in CHAPTER 1 OVERVIEW 9 Addition of Note and change of Remark in 1 4 System Overview 10 Change of description for Interface in 1 5 1 Hardware environment 11 Addition of 1 6 Handling of HCUHEX Files 12 Change of folder organization after RFP is installed in 2 2 Installation 14 Change of description in 3 2 Starting up RFP 17 Change of description in 3 2 2 Create a new workspace dialog box 17 Change of description in 3 2 3 Select Communication Interface dialog box 18 Change of description in 3 2 4 Setting Oscillator dialog box 18 Change of description and Figure 3 6 Setting Power Supply Dialog Box in 3 2 5 Setting Power Supply dialog box 19 Change of description and Figure 3 7 Information Settings Dialog Box in 3 2 6 Information Settings dialog box 23 Change of description in 3 4 Menu Bar 23 Change of Figure 3 12 File Menu and addition of 1 Create a new workspace command to 3 4 1 File menu 25 Addition of Caution to 3 4 2 Microcontroller menu 29 Addition of Caution and change of Figure 3 20 I
31. Check Userr Erase eer All Erase 3 gt Program 4 ORT Verify 5 Read 6 gt Set Security 7 gt Checksum 3 gt Autoprocedure E P Set Option Bytes 9 1 0 Set OCD Security ID 11 Signature Read 12 Get Flash options 13 L Set Project Caution When an HCUHEX file has been selected the HCUHEX file is handled as master data As a result the Program Read Set Security Set Option Bytes and Set OCD Security ID commands become unavailable 1 Blank Check command This command is used to check whether the flash memory is blank If the flash memory has already been erased PASS is displayed If the flash memory has not yet been erased Error E1002008 Not Blank is displayed If this error is displayed erase the entire area of the flash memory in the target microcontroller before starting programming 2 Erase command This command is used to erase the flash memory The progress of erasing is displayed on the output panel When erasing is complete the result is displayed Whether to perform the Blank Check command before executing this command depends on the setting of the Blank Check before Erase parameter under Command Options in the Other settings tab of the Project Settings dialog box If this command is executed for the flash memory that has already been erased with Blank Check before Erase enabled
32. Program Options category lt R gt lt 9 gt Mode Pins at Disconnect category lt 10 gt Lock Bit category lt 11 gt ID Option category lt 12 gt Timeout Option category lt R gt lt 13 gt User Boot Area Options category lt R gt Clicking the Modify button displays the Communication Interface dialog box Clicking the OK button saves the project file and returns you to the main window Clicking the Cancel or the X button returns you to the main window R20UTO0599EJ0400 Rev 4 00 Page 91 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX Rs 1 Device Information File category This category displays information about the microcontroller such as Device Name Base Device and Device Information File Path Device Name Displays the device name Base Device Displays the base device of the device Rs Device Information File Path Displays the parameter file path of the device lt R gt lt 2 gt Communication Interface category This category displays Tool and Connection Name of Tool Displays the communication tool between the target board and host PC Connection Displays the connection method between the target board and host PC lt R gt lt 3 gt Clock category This category displays clock related information such as Clock Type Frequency CKM and CKP
33. R gt Basic Settings tab lt 1 gt Device Information File category lt 2 gt Target category lt 3 gt Using Tool category lt 4 gt Power Supply Options category Other Settings tab lt 5 gt Program File category lt 6 gt Target category lt 7 gt Flash Options category lt 8 gt Target Microcontroller category lt 9 gt Command Options category lt R gt Clicking the Modify button displays the Communication Interface dialog box Clicking the Complete button saves the project file and returns you to the main window Clicking the Cancel or the X button returns you to the main window R20UTO0599EJ0400 Rev 4 00 Page 58 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 Rs 1 Device Information File category This category displays information about device information files such as the file name and file version File name Displays the device information file name File version Displays the version of the device information file lt R gt lt 2 gt Target category This category displays or allows you to select specifics such as the connection method communication transfer rate and supplied clock about the interface between the tool and the microcontroller Interface Displays the connection method Communication transfer rate Displays the communication speed Supplied
34. RX R 6 2 7 Frequency dialog box This dialog box is used to set clock supply and multipliers for the main clock and peripheral clock lt R gt Figure 6 13 Frequency Dialog Box Frequency E 7 Clock supply Internal E sternal External Resonator or Clock Frequency 1250 MHz M Multiplier for the main clock or peripheral clock CKM 8 si CKP 4 Clock Mode 0 X lt Back Cancel 1 Clock supply area This area is used to select the communication speed at the port Figure 6 14 Clock supply Area lt R gt r Clock supply Internal E sternal Exemal Resonator or Clock Frequency 1250 MHz Internal External list box Displays the type of clock supplied to the target microcontroller External Resonator or Clock Clock or clock resonator for a microcontroller that does not support the clock switching function External Clock Clock for a microcontroller that supports the clock switching function External Resonator Clock resonator for a microcontroller that supports the clock switching function Internal Clock On chip oscillator for a microcontroller that supports the clock switching function lt R gt Frequency list box Enter the frequency of the clock supplied to the target microcontroller R20UT0599EJ0400 Rev 4 00 Page 77 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX
35. SJ3 H UPD 70F 34744 For CSIBO CSIBO HS UARTAO V850E SJ3 H UPD 70F 34744 For CSIB3 CSIB3 HS UARTAO V850E SJ3 H UPD 70F3474B For CSIBO CSIBO HS UARTAO V850E SJ3 H UPD 70F3474B For CSIB3 CSIB3 HS UARTAO Workspace Name Project Name sample Folder vo Browse R20UTO0599EJ0400 Rev 4 00 Page 26 of 168 2012 06 29 Renesas Flash Programmer CHAPTER A BASIC OPERATION BASIC MODE RX lt R gt lt 3 gt Select E1 in the Tool list box For R5F562TAA the selection in the Interface list box is fixed to Boot mode Clicking the Next gt button displays the Power Supply dialog box lt R gt Figure 4 3 Communication Interface Dialog Box Communication Interface Rs 45 Select the Power target from the emulator check box and then select 5 0 V for Supply voltage Clicking the OK button displays the Mode Pin at Connection dialog box lt R gt Figure 4 4 Power Supply Dialog Box R20UTO0599EJ0400 Rev 4 00 2012 06 29 Page 27 of 168 Renesas Flash Programmer CHAPTER4 BASIC OPERATION BASIC MODE RX 5 Set the Pin Outputs check boxes and Pin Setting High check boxes For R5F562TAA set io2 of E1 to High for the MDO pin and set io3 of E1 to Low for the MD1 pin Clicking the OK button displays the Confirmation dialog box lt R gt Figure 4 5 Mode Pin at Connection Dialog Box Mode Pins at Co
36. The USB cable might not be connected properly or the USB driver might not have been installed normally Action 1 See 4 1 Problems During Startup and take an appropriate action Cause 2 The installed USB driver is not displayed in the Device Manager Alternatively the or x is prefixed Action 2 1 With RFP connected to the host machine right click the driver marked with the or x and then click Uninstall lt 2 gt Execute Scan for hardware changes in the Device Manager 3 Reinstall the USB driver by Plug and Play Cause 3 The tool might not have been recognized when connected via a USB hub Action 3 Try the following 15 Disconnect the USB cable and then reconnect it lt 2 gt Connect the USB connector to another port on the USB hub 3 If the above measures do not resolve the problem do not use the USB hub but directly connect the USB connector to the USB port of the host machine main unit R20UT0599EJ0400 Rev 4 00 Page 134 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 12 TROUBLESHOOTING 2 The following message is displayed in the output panel and the flash memory programming mode cannot be entered Error E1002001 No response from Target Microcontroller FLMD Error E1002002 No response from Target Microcontroller RESET Error E1002003 No response from Target Microcontroller FREQ Cause 1 If MINICUBE2 is used the
37. When supplying power from the tool used select a voltage of 3 3 V or 5 0 V Caution E1 and MINICUBE2 support the power supply function In the mass production process do not use the power supply function of E1 or MINICUBE2 Instead supply the power suitable for the microcontroller specifications from the target system The supply voltage from E1 and MINICUBE2 is dependent on the USB power performance of the host machine so the accuracy cannot be guaranteed R20UT0599EJ0400 Rev 4 00 Page 43 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 Rs 2 Additional Settings area This area is used to set power supply options Wide Voltage Mode check box Select whether to use wide voltage mode or full speed mode lf this check box is selected commands are executed in wide voltage mode If this check box is cleared commands are executed in full speed mode This check box becomes available when a microcontroller that supports this feature is selected For details about wide voltage mode and full speed mode see the user s manual of the target microcontroller Caution When an HCUHEX file is read the HCUHEX file is handled as master data As a result the settings specified in the HCUHEX file are applied and this check box is unavailable lt R gt Input Voltage box Input the voltage supplied to the target microcontroller Clicking the Back button displays the previous
38. Xxxx the full path of a script file If the full path contains spaces use double quotation marks to enclose the full path d Example A batch file sample bat example START RFP exe d rfp sample test sample rsc ECHO OFF ECHO Rusult Code ErrorLevel PAUSE R20UT0599EJ0400 Rev 4 00 Page 124 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 10 SCRIPT EXECUTION FUNCTION RX 10 3 Script file This section describes a script file file extension file format file and example 1 File extension SC 2 File format File format text format Newline CR LF 3 Format The first line log command optional The second line The third line and after workspace command arbitrary script command The lines starting with are comment lines and will be skipped 4 Example Sample script file log d rfo sample test sample log workspace d rfp sample test sample sample rws programfile dAhexisample mot userdata serial e1 9jm000129 connect checksum disconnect 10 4 Script commands This section describes script commands in a script file The command interpreter is case insensitive The symbols used to describe the script commands are defined below Symbol Description Characters within angle brackets Information that must be provided Characters within square brackets Optional information Slash Options where only one optio
39. active program file filename the full path of the workspace file If the path contains spaces use double quotation marks to enclose the path Specify a program file programfile filename Specifies a program file When multiple files are specified the last file is active filename the full path of the program file If the path contains spaces use double quotation marks to enclose the path R20UT0599EJ0400 Rev 4 00 Page 121 of 168 2012 06 29 Renesas Flash Programmer CHAPTER9 SCRIPT EXECUTION FUNCTION RL78 78K V850 Wait wait time Waits for the specified time lt time gt specifies the wait time unit msec range 1 2147483647 Blank check blankcheck Executes the blankcheck command Erase erase Executes the erase command Program program Executes the program command Verify verify Executes the verify command Security setting security Executes the security setting command Checksum checksum Executes the checksum command Program after erasure ep Executes the program command after erasure Signature read signature Executes the signature read command 9 5 Log file Execute the specify a log file script command log lt filename gt by the script commands to create a specified log file and to save the script commands and the characters in the output panel to the log file in th
40. box Clicking the Modify button opens the Communication Interface dialog box Clicking the OK button saves the project file and opens the main window Clicking the Cancel or the X button terminates RFP Remark The Modify button is disabled while it is connected with the target controller To enable it select the lt R gt Microcontroller menu and select Disconnect To Device then select Project Settings from the Microcontroller menu to display the Project Settings dialog box R20UT0599EJ0400 Rev 4 00 Page 80 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX 6 2 10 Open latest workspace If you select Open latest workspace in the Welcome dialog box the main window is displayed with the settings for R the workspace used last time Figure 6 18 Open latest workspace Rs Welcome gi e Basic mode Eull mode 6 2 11 Open workspace If you select Open workspace in the Welcome dialog box the Open File dialog box is displayed lt R gt Figure 6 19 Open workspace fe Basic mode E Eull mode R20UTO599EJ0400 Rev 4 00 Page 81 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX Figure 6 20 Open File Dialog Box Open File Look in sample sample 4 My Recent Documents f Desktop My Documents My Compu
41. code file Start from the beginning of the file option button The lines from the first to the last are specified When the RFP restaris it starts at the first line Start at the last position start end positions can be specified option button Specifies the start end positions When the RFP restaris it starts at the last position Next position blank if it is the beginning of the file box The next position is displayed The unique code is displayed under the box End position blank if it is the end of the file box The end position is displayed The unique code is displayed under the box 4 Data Overwrite area Selects the action from the option buttons when data other than FFh exists in the area in the loaded program file where the unique code is to be embedded that means a conflict exists If Overwrite is selected the unique code will overwrite If Abort is selected the error message Exxxxxxx is displayed and the command is aborted When the OK button is pressed the settings are saved temporarily and the dialog box closes When the Cancel button or the button is pressed the settings are discarded and the dialog box closes 11 3 Unique code file This section describes a unique code file file extension file format format and example 1 File extension D UC 2 File format File format text format Newline CR LF 3 Format The first line format The second line area The
42. due to bad Flash memory Description The security setting might have been changed from Disabled to Enabled This setting only allows the chip to be erased Some microcontrollers do not allow security settings to be added Erase the chip and then perform all settings at once There might have been a failure to configure security due to bad Flash memory Description The specified command might have failed to execute because the security of the target microcontroller has already been configured Although some security flags can be cleared by erasing with Chip mode others cannot See the microcontroller s manual for details E1002014 Check sum verification failed The data programmed to the target microcontroller might be different from the program file Message Retry status over Description The command operation has exceeded the specified number of retries The microcontroller E1002015 might be defective Message Illegal status from Microcontroller Description The status code returned from the microcontroller is invalid not a designated code There E1002016 might be a runaway process Check the operating environment and try running the command again The communication port might be unstable due to external factors Message HEX file exceeds target device flash range Description The address range of the downloaded program file exceeds the range specified for Operation E1002018 mode in the Target category M
43. format from Intel Hex files hex or Motorola S record files rec s in the Save as type list box Figure 5 21 Save As Dialog Box Save As Save in hex My Recent Documents Ls Desktop My Documents My Computer Lo File name sample My Network Save as type Intel Hex files hex Clicking the Save button saves the program data as a file and closes the dialog box Clicking the Cancel or the X button closes the dialog box without saving the program data as a file 6 Set Security command This command is used to specify the security settings for the target microcontroller When this command is lt R gt executed the settings specified in the Flash Options category in the Other Settings tab of the Project Settings dialog box will be applied to the target microcontroller For details about the security settings see 5 4 3 13 d lt 7 gt Flash Options category R20UT0599EJ0400 Rev 4 00 Page 52 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 7 Checksum command This command is used to read the checksum calculated in the target microcontroller and displays it in the output panel lt R gt Remark The checksum read by this command differs from the one displayed in the Program File category in the Other Settings tab of the Project Settings dialog box For details about the Program File category see 5 4 3 13 d
44. illegal character lt gt or from the workspace name E1093002 The project with the same name already exists Description This error occurs if a project with the same name already exists in the currently opened workspace when a project is tried to be added in the Full mode Action by user Change the project name Or delete the existing project with the same name if necessary R20UT0599EJ0400 Rev 4 00 Page 142 of 168 2012 06 29 Renesas Flash Programmer APPENDIX A MESSAGES 2 2 E1093003 A program file with the same name exists Description This error occurs if a program file with the same name already exists in the currently opened project when a program file is tried to be added in the Full mode Action by user Change the program file name Or delete the existing program file with the same name if necessary Q1091004 File already exists Overwrite Description This message is used for various dialog boxes when the dialog box has a field to specify a filename Action by user Yes The command is executed The file is overwritten No The command is canceled The file is not overwritten and the focus will be returned to the original dialog box R20UT0599EJ0400 Rev 4 00 Page 143 of 168 2012 06 29 Renesas Flash Programmer APPENDIX A MESSAGES A 3 Messages Displayed in Fatal Error Selection and Warning Dialog Boxes RL78 78K V850 1 5 lt R gt E1000001 Message E1 E20 MINICUBE2 CO
45. interface incorporated in the host machine select COMx as the tool used Any value from 1 to 256 can be specified for x lt R gt USB Direct USB Direct is a method to write in the microcontroller in the USB boot mode by using the USB interface port of the host machine When writing data by using the USB interface of the host machine select USB Direct as the tool used User data area Target area of the flash memory to which the program file is written For the RL78 78KO 78KOR and V850 Code flash and data flash For the RX User mat and data mat User boot area Target area of the flash memory to which the program file is written For the RL78 78K0 78KOR and V850 None For the RX User boot mat Basic mode This mode is mainly for writing in mass production and the focus is on basic rewriting processing lt R gt Full mode The full mode is mainly for the use of microcontrollers in development and lt R gt facilitates the control of multiple projects and the checking of setting information Related documents When using this manual also refer to the following documents The related documents indicated in this publication may include preliminary versions However preliminary versions are not marked as such Documents related to development tools Renesas Flash Programmer Flash Memory Programming Software This manual E1 Emulator ROE000010KCE00 E20 Emulator ROEO00200OKCTOO R20UTO398E QB M
46. is read the HCUHEX file is handled as master data As a result the settings of Blank Check before Erase Security after Program Set Option Bytes after Program and Set OCD Security ID after Program cannot be changed Remarks 1 The results of executing the command in accordance with the specified options are shown in the output panel 2 Some items in this category might not be displayed depending on the type of microcontrollers R20UT0599EJ0400 Rev 4 00 Page 64 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 R 5 4 4 Help menu Clicking the Help menu displays the following pull down menu lt R gt Figure 5 31 Help Menu Renesas Flash Programmer Supported Version File Tool Microcontroller Version Information Microcontroller Import License 1 Version Information This is used to open the Version Information dialog box below and display the RFP version Clicking the OK button closes this dialog box Figure 5 32 Version Information Dialog Box Renesas Flash Programmer V1 01 01 21 Jun 2011 2011 Renesas Electronics Corporation lt R gt 2 Import License For details of this menu item see the manual accompanying this product 5 5 Microcontroller Area This area displays the selected target microcontroller Figure 5 33 Microcontroller Area Microcontroller R5F1 OOLE R20UTO0599EJ0400
47. lt 7 gt Program File category The checksum is calculated as follows e When using RL78 78K V850E1 or V850ES Method Subtraction 16 bit arithmetic lt R gt Range Area specified in the Command Options category in the Other Settings tab of the Project Settings dialog box Figure 5 22 Output Panel After Checksum Command Execution When Using RL78 78K V850E1 or V850ES Checksum Code flash 0x2A8E Checksum PASS Remark With the 16 bit arithmetic subtraction mode the lower 4 digits of the result from which a value is subtracted from 00h in 1 byte units are displayed e When using V850E2 Method 32 bit CRC lt R gt Range Area specified by the Operation mode parameter under Command Options in the Other Settings tab of the Project Settings dialog box Figure 5 23 Output Panel After Checksum Command Execution When Using V850E2 Checksum Code flash 0xD1CA2956 Checksum PASS Remark With the 32 bit CRC mode the 8 digit result of CRC32 function calculation is displayed For details about the arithmetic specifications see Figure B 2 32 bit CRC Calculation Specifications R20UT0599EJ0400 Rev 4 00 Page 53 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 lt R gt lt R gt lt R gt 8 Autoprocedure E P command This command is used to execute the Erase and Program commands in succession for the flash memory The pro
48. oscillator Displays the type of clock source supplied to the microcontroller Target The clock is supplied from the target system Programmer The clock is supplied from the tool used Frequency MHz Displays the frequency of the clock supplied to the microcontroller Multiply rate Displays the multiply rate of the clock supplied to the microcontroller Supply power Displays the voltage supplied to the microcontroller Target The voltage is supplied from the target system 3 3 V A voltage of 3 3 V is supplied from the tool used 5 0 V A voltage of 5 0 V is supplied from the tool used X xx V The voltage is supplied from the target system Remark Power Supply is displayed when a power related setting is made Rs 3 Using Tool category This category displays information about the tool used such as the name and firmware version Tool name Displays the name of the tool used Firmware version Displays the version of the MINICUBE2 firmware Remark The Firmware version view is updated whenever a command on the target microcontroller finishes executing lt R gt lt 4 gt Power Supply Options category This category displays the power supply options such as wide voltage mode of the command executed on the flash memory Wide voltage mode Select whether to write in wide voltage mode Valid Data is written in wide voltage mode Invalid Data is no
49. the Erase command opens the Erase dialog The blocks whose checkboxes are selected will be erased The Erase command is executed in accordance with the settings of Erasure Permission of the User Boot Area Options category in the Other Settings tab of the Project Settings dialog box Refer to 6 4 3 5 f 13 User Boot Area Options category for details R20UT0599EJ0400 Rev 4 00 Page 112 of 168 2012 06 29 Renesas Flash Programmer CHAPTER8 FUNCTION DETAILS FULL MODE RX Figure 8 6 Erase Dialog Box Za End SES Loc Select AI RX600 Series e E E El User Flash OxFFFCOOOO OxFFFFFFFF EBO OxFFFFFOOO OxFFFFFFFF QEBi OxFFFFEOOO OxFFFFEFFF OxFFFFDOOO OxFFFFDFFF OxFFFFCOOO OxFFFFCFFF OxFFFFBOOO OxFFFFBFFF OxFFFFAODOO OxFFFFAFFF OxFFFFOOOO OxFFFFOFFF OxFFFFBOOO OxFFFF8FFF OxFFFF4000 OxFFFF7FFF OxFFFFOOOO OxFFFF3FFF OxFFFECOOO OxFFFEFFFF OxFFFEBOOO OxFFFEBFFF OxFFFE4000 OxFFFE7FFF Select Written Clicking the Select AN button selects all blocks for erasure Clicking the Select Written button selects all blocks that have been programmed for erasure Clicking the Erase button selects the specified block for erasure Clicking the Cancel or button returns you to the main window without erasing a block 5 Program command This command writes the program file selected in the program file area into the flash memory The prog
50. the value of the address of the written program Operation is dependent on the control code If you forgot the configured ID code basically you cannot read write or erase the microcontroller with a serial writer E1014033 Message Setting Lock Bit Invalid response E1014037 Message Erasing Block Erase error Description This error is displayed when data erasure of the flash memory of the microcontroller was executed but failed Possible causes of the error failure to erase include 1 Power supply voltage to the microcontroller is not applied properly power supply from E1 power supply from the target board 2 The microcontroller cannot operate properly because of the pin settings 3 The microcontroller has been damaged for some reason and 4 Communication between the microcontroller and the PC failed so the command was not executed Check the items 1 through 4 above Proper communication may not be expected when a USB RS232C converter a self made cable a self made extension cable for connection with E1 E20 or the like is used 3 7 R20UT0599EJ0400 Rev 4 00 Page 151 of 168 2012 06 29 Renesas Flash Programmer APPENDIX A MESSAGES 4 7 lt R gt E1014045 Writing Data Address error E1014046 Writing Data Write error Description This error is displayed when programming to the microcontroller cannot be done for some reason It may be due to a wrong pin setting or power supply not being supplied
51. third line address The fourth line size The fifth line index data The sixth line and after index number and unique code The lines starting with are comment lines and will be skipped R20UT0599EJ0400 Rev 4 00 Page 131 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 11 UNIQUE CODE EMBEDDING FUNCTION 4 Example Sample unique code file format hex area user flash address 0xf000 size 6 index data 000001 abcdef000001 000002 abcdef000002 000003 abcdef000003 11 4 Unique code definition This section describes the unique code definition described in a unique code file The command interpreter is case insensitive Table 11 1 Unique Code Definition Function Unique code definition Description Specify the format format hex ascii Specifies the format of the unique code hex hexadecimal format lt ascii gt ASCII format 0x21 0x7e Specify the area area user flash data flash user boot flash Specifies the area of the flash memory user flash User area data flash Data area user boot flash User boot area Specify the address address address Specifies the start address of the area where the unique code will be embedded filename hexadecimal format starting with Ox or H Specify the size size size Specifies the size of the area where the unique code will be embedded size the size in bytes is specified
52. to All Programs Renesas Electronics Utilities Programming Tools Renesas Flash Programmer Vx xx and then click Renesas Flash Programmer Vx xx The Welcome dialog box will open Follow the instructions that appear in the wizard When setup is finished the main window is displayed lt R gt Figure 5 14 Main Window lt 1 gt Menu bar Renesas Flash Programmer Supported Version oxi File Tool Microcontroller Help lt 2 gt Microcontroller area Microcontroller R5F100LE User Data area sample hex Browse Wu Command Autoprocedure E P 3 Program File area Clear Dutput Panel The main window consists of the following items Description Menu bar Displays the selectable menus Microcontroller area Displays the selected target microcontroller Rs Program File area Displays the selected program file Command area Displays the selected command Start button Executes the selected command Status bar Displays the command execution status in colors and text Output panel Displays in detail what is executed by the command Clear Output Panel button Clears the output panel display R20UT0599EJ0400 Rev 4 00 Page 47 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 5 4 Menu Bar lt R gt The menu bar consists of File Tool Microcontroller and Help When a m
53. 0UTO0599EJ0400 Rev 4 00 2012 06 29 Page 86 of 168 Rs lt R gt lt R gt lt R gt lt R gt lt R gt lt R gt Renesas Flash Programmer CHAPTER 6 FUNCTION DETAILS BASIC MODE RX 6 4 3 Microcontroller menu The following pull down menu appears by selecting the Microcontroller menu This menu is used for selection and setting of commands such as disconnection from a device all erase and program lf you select a command the check mark is displayed at the left of the command and the command is assigned to the Start button Note that Disconnect to Device and Set Project commands are not assigned to the Start button 1 2 3 4 Figure 6 27 Microcontroller Menu Renesas Flash Programmer Supported vers File Tool Microcontroller Help 1 gt Disconnect to Device Micros Blank Chect M User Erase 2 BEEN All Erase 3 J lag i Comn Verify Program 4 gt SIR Set Securit hecksum Autoprocedure E P Set Option Bytes Set OCD Security ID Signature Read Get Flash options 5 8 Set Project Disconnect To Device This command is used to disconnect from the device and shut off the power supply if the Power target from the emulator check box is selected in the Power Supply dialog box All Erase command This command is used to erase all blocks of the flash memory The progress of erasing is displ
54. 168 2012 06 29 Renesas Flash Programmer CHAPTER4 BASIC OPERATION BASIC MODE RX 4 Creation of workspace lt R gt lt 1 gt On the taskbar click the Start button point to All Programs Renesas Electronics Utilities Programming Tools Renesas Flash Programmer Vx xx and then click Renesas Flash Programmer Vx xx The Welcome dialog box will open Select Create new workspace select Basic mode and then click the Next button to open the Create new workspace dialog box lt R gt Figure 4 1 Welcome Dialog Box Welcome xi C Bilmece C Open latest workspace D ifp sample sample TAS C Open workspace lt R gt lt 2 gt In the Using Target Microcontroller list box select Generic Boot Device Enter any text string such as sample in this case in the Workspace Name box and specify any folder in the Folder box Clicking the Next button displays the Communication Interface dialog box lt R gt Figure 4 2 Create new workspace Dialog Box Microcontroller All Filter Using Target Microcontroler Generic Boot Device V850E MA3 UPD 70F31344 Device version ES2 0 or later V850E MA3 UPD70F31348 Device version ES2 0 or later W85DE IAJ UPD70F3184 WB85DE IA4 UPD70F3186 V850E SJ3 H UPD70F3474 For CSIBO CSIBO HS UARTAO V850E SJ3 H UPD70F3474 For CSIB3 CSIB3 HS UARTAO V850E
55. 2 gt Microcontroller area Microcontroller area Displays the selected target microcontroller Program File area Displays the selected program file Command area Displays the selected command Start button Executes the selected command Status bar Displays the command execution status in colors and text Output panel Displays in detail what is executed by the command Clear Output Panel button Clears the output panel display R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 83 of 168 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX 6 4 Menu Bar lt R gt The menu bar consists of File Tool Microcontroller and Help When a menu is selected the pull down menu is displayed where the items can be selected Some items may be disabled depending on the settings 6 4 1 File menu The following pull down menu appears by selecting the File menu lt R gt Figure 6 22 File Menu Renesas Flash Programmer Supp File Tool Microcontroller Help 1 LI Create a new workspace 2 E7 open a workspace 3 Exit 1 Create a new workspace The Create a new workspace dialog box is displayed Create a new workspace Save the project file that has been created For the items in the dialog box refer to 6 2 2 Rs Figure 6 23 Create new workspace Dialog Box Microcontroller All Filter Using Target Microcontrole
56. 45454500000000 Lower 8 bytes 0x0000000000000000 ID code confirmation successful Connection established 23 Apr 12 12 30 20 647 verify Verifying Verified successfully 23 Apr 12 12 30 24 365 disconnect Disconnecting Disconnected R20UT0599EJ0400 Rev 4 00 Page 128 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 10 SCRIPT EXECUTION FUNCTION RX 10 6 How to Handle Dialog Boxes Opened while the Program is Running According to the settings dialog boxes might be displayed while the program is running How to deal with the various dialog boxes is covered below 1 ID code dialog box Condition When the ID code set in a project and that written in the microcomputer do not match the ID Code dialog box is displayed on connection of the microcomputer Action by the user Enter the ID code written in the microcomputer to the ID Code dialog box in the ID Option category under the Other Settings tab in the Project Settings After that check the box Enable the Automatic Reference to ID Code Confirmation dialog box Condition The Confirmation dialog box is displayed when bits are locked on connection of a microcomputer that supports lock bits Action by user Select Lock Blocks allow to program or delete or Do Nothing for Disconnect Option in the Lock Bit category below the Other Settings tab in the Project Settings dialog box Lock Blocks dialog box Conditi
57. 5c 0x774bb0eb 0x4 040d56 Ox4bc510e1 0x46863638 0x42472b8f 0x5c007b8a 0x58c1663d 0x558240e4 0x51435d53 0x251d3b9e 0x21dc2629 0x2c9 00f0 0x285e1d47 0x36194d42 0x32d850f5 0x3 9b762c 0x3b5a6b9b 0x0315d626 0x07d4cb91 0x0a97ed48 0x0e56f0ff 0x1011a0fa Oxl4d0bd4d 0x19939b94 0x1d528623 0xf12f560e Oxf5ee4bb9 Oxf8adod60 Oxfc6c70d7 Oxe22b20d2 Oxe6ea3d65 Oxeba9lbbc Dxef68060b 0xd727bbb6 Oxd3e6a601 Oxdea5b80d48 Oxda649d6 Oxc423cd6a 0xc0e2d0dd Oxcdalf604 Oxc960ebb3 Oxbd3e8d7e 0xb9ff90c9 Oxb4bcb610 Oxb07daba7 Oxae3afba2 Oxaafbe615 Oxa7b8c0cc 0xa379dd7b 0x9b3660c6 Ox9ff77d71 0x92b45ba8 0x9675461f 0x8832161a 0x8cf30bad 0x81b02d74 0x857130c3 0x5d8a9099 0x594b8d2e 0x5408ab 7 0x50c9b640 Ox4e8ee645 0x4a4ffbf2 0x470cdd2b O0x43cdc09c 0x7b827d21 0x7 436096 0x7200464 0x76c15bf8 0x68860b d 0x6c47164a 0x61043093 0x65c52d24 0x119b4be9 0x155a565e 0x18197087 Oxlcd86d30 0x029f3d35 0x065e2082 0x0b1d065b O0x0fdclbec 0x3793a651 0x3352bbe6 0x3e119d3 0x3ad08088 0x2497d08d 0x2056cd3a 0x2d15ebe3 0x29d4f654 0xc5a92679 Oxcl683bce Oxcc2b1d17 Oxc8ea00a0 Oxd6ad50a5 Oxd26c4d12 Oxdf2f6bcb Oxdbee767c Oxe3alcbcl Oxe760d676 Oxea23f0af Oxeee2ed18 Oxf0abbdld O0xf464a0aa 0xf9278673 Oxfde69bc4 0x89b8fd09 O0x8d79e0be 0x803ac667 Ox84fbdbd0 0x9abc8bd5 0x9e7d9662 0x933eb0bb 0x97ffad0c Oxafb010b1 Oxab710d06 Oxa6322bdf Oxa2 33668 Oxbcb4666d 0xb8757bda 0xb5365d03 O0xb1 f740b4 Ir u32 CR
58. 8 78K V850 17 CHAPTER 4 BASIC OPERATION BASIC MODE RX sssseeeo 25 CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 36 5 1 Tu ee e EE 36 due BUT cro euro ako ta eono uran SE EE ee Ee pT RS een ee 36 5 221 Welcome dialog DOX 20 2 cece cece cece e eee eter eee eaaeae cess ee eeeseaaaaeeeeeeeseeensanaeeeeees 37 5 2 2 Create new workspace dialog box 38 5 2 3 Communication Interface dialog box 39 5 2 4 Frequency dialog box 40 5 2 5 Power Supply dialog bOx cccccccececeeeceeeeeeeeceeeeeceaeeeeeaeeeeeeesecaeeesaeeseeeseeeees 43 5 2 6 Project Settings dialog box 45 5 2 7 Open latest WorkSpace miiie aan aa aaa aaa taaa da aaa aiaa aR 45 5 2 8 Openworkepace cece eeeeeeeeeeee cee eeceaeeeeeeeseeeeeseaaeeseaaeseeeeeseeessaeeeeeeeeeneess 46 5 3 MaN WINdOW s r o Forte aaa ledi suan aaae p saad aa aaa aaa dcastesd eu gtenceccadaeeshustecaadduatudseceencdevees 47 b 4 MENU bat ee EE 48 544 File menui NENNEN ENEE NB MALAL AAA 48 5 4 2 Vool MENU eer Ar Kee Kr aa saat cadena 50 5 4 3 Microcontroller menu 51 544 Help menu te eae AEA Lee Kee te Ate 65 5 5 Microcontroller Area 0 cesecsseeeceeeeeeeeeeeeeee cee ee ee en se neaeeeeeeee sane eaeeesesesnseneaseaeeeseseeeeeeeenanenes 65 5 6 Program kFile Area s ss szzezecvostooo ue gege DESEN 66 5 7 Command Are
59. 8 Executes the Autoprocedure E P command 9 Executes the Set Option Bytes command 10 Executes the Set OCD Security ID command 11 Executes the Signature Read command 12 Executes the Get Flash options command 13 Opens a wizard type dialog for changing the project basic settings R20UT0599EJ0400 Rev 4 00 Page 105 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 7 FUNCTION DETAILS FULL MODE RL78 78K V850 7 6 Workspace Tree Panel This panel displays the tree format representation of the workspace elements workspace nodes project nodes and program file nodes allowing you to make project operations such as adding and deleting and program file operations such as adding deleting and programming Figure 7 8 Workspace Tree Panel E Uu sample K 1 E A sample e 2 A sample1 hex 5 Yt 3 A sample2 hex Efi sample2 A sample1 hex 5 A sample2 hex 1 Workspace node This node represents the workspace currently opened You cannot open multiple workspaces The workspace tree has only one workspace node as its root node a Context menu of the workspace node Right clicking the workspace node displays its context menu Table 7 2 Context Menu of the Workspace Node Add Project This menu item opens the Create a new workspace dialog for adding a project in the workspace The newly added project becomes available for manipulation and edition
60. C accum Qxfffffff void Gen_CRC_Sum_Char u08 c 832 i Ignore SPACE CR LF LE e enk e 4 l e ME TIL e en return x Perform CRC sum algorithm use table for better speed i CRC accum gt gt 24 u32 cl amp Oxff CRC accum CRC accum lt lt 8 CRC32 Tab i R20UT0599EJ0400 2012 06 29 Rev 4 00 Page 157 of 168 Renesas Flash Programmer APPENDIX B SUPPLEMENTARY INFORMATION Figure B 3 E1 and E20 Pins RX Pin No Pin Name Pin Name 14 pin Compatible Pin Name 38 pin 1 i04 i04 io1 2 GND GND io2 3 io5 io5 io0 4 io0 Io 5 SEND SEND UCONNECT connected to GND of the target board 6 iol io1 io3 io3 8 UVCC whether 3 3V or 5 0V is UVCO i03 supplied or whether power is supplied to the target can be detected 9 UVCC2 whether 3 3V or 5 0V is UVCC2 RESET supplied or whether power is supplied to the target can be detected 10 io2 io2 11 RECEIVE RECEIVE SEND 12 GND GND 13 RESET RESET 14 UCONNECT connected to GND of the UCONNECT connected to GND of the UVCC target board target board 15 io4 16 17 UVCC2 18 19 RECEIVE 20 21 io5 22 23
61. Change of description in 2 2 1 Notes on installation 15 Change of description in 2 4 Updating RFP and Firmware Addition of Figure 2 1 Updating Firmware 16 to 22 Addition of CHAPTER 3 BASIC OPERATION RL78 78K V850 23 to 33 Addition of CHAPTER 4 BASIC OPERATION RX 43 Change of description in 5 2 6 Information Settings dialog box 46 Change of description in 5 4 Menu Bar 50 Change of description in 5 4 2 8 Autoprocedure E P command 54 Addition of Remarks in 5 4 2 13 d Information Settings dialog box 61 Change of description in 5 6 Program File Area Addition of Figure 5 31 Open File Dialog Box 64 to 93 Addition of CHAPTER 6 FUNCTION DETAILS RX 96 Addition of description in 7 2 Problems During Operation 98 to 100 Addition of 4 and 5 in 7 2 Problems During Operation 101 Addition of CHAPTER 8 CAUTIONS 109 Addition of A 4 Dialog Boxes RX 114 Addition of Figure B 1 RFP Folder and File Configuration 112 Change of Figure B 2 32 Bit CRC Calculation Specifications 113 Addition of Figure B 3 E1 and E20 Pins RX 4 00 Jun 29 2012 3 6 Change of description in How to Use This Manual 10 Change of description in CHAPTER 1 OVERVIEW Addition of description in 1 1 Features 11 Change of Figure 1 1 RFP Connection Image Addition of Remark in 1 4 System Overview 13 Change of URL for English in 1 6 Handling of HCUHEX Files 14 Change of descripti
62. E R20UT0599EJ0400 Rev 4 00 Page 120 of 168 2012 06 29 Renesas Flash Programmer CHAPTER9 SCRIPT EXECUTION FUNCTION RL78 78K V850 9 3 Script file This section describes a script file file extension file format format and example 1 File extension SC 2 File format File format text format Newline CR LF 3 Format The first line log command optional The second line workspace command The third line and after arbitrary script command The lines starting with are comment lines and will be skipped 4 Example Sample script file log d rfo sample test sample log workspace d rfp sample test sample sample rws programfile d nex sample hex verify 94 Script commands This section describes script commands in a script file The command interpreter is case insensitive The symbols used to describe the script commands are defined below Symbol Description Characters within angle brackets Information that must be provided Table 9 1 Script Commands Function Script command Description Specify a log file log lt filename gt Specifies a log file For more details see 9 5 filename the full path of the log file If the full path contains spaces use double quotation marks to enclose the full path Specify a workspace workspace filename Specifies a workspace file The script execution function uses an active project and an
63. E 108 7 6 Workspace Tree Panel s s3 eci sex cus boon deeed gege ege Eed ee ceudaaatedudaces teuhacaneduedeed aiiai aan 109 ZC Project Settings Ranelt ebessen 110 CR QutputPanel s ee E ona eat laana ias 111 To Status Bar ses RS Ina Na hana a NM A 112 CHAPTER 8 FUNCTION DETAILS FULL MODE RX eco 113 BT MNIOdUEIION 3 3 a EE EE 113 8 2 Staring Up e veon uke eel 113 8 3 Mai Wide egen see eege bedded eeo Enn toad ee eege noobolaziakestenrso oj 114 84 E TR E 115 8441 Elle mMenu encorar NL ALLIGAS LASLA Lao 115 GE EN WR IR reko ra e E a ia aa tado 115 8 4 3 Microcontroller menu ee eeeaeeeeeeaaeeeeeeaaaeeeeeeaaeeeeeeaaeeeeneaas 116 8 4 4 Help imenU 4 so eke Ae tad ane rad 120 8 5 tool soa gecesi ns Ea eaten ned an aed eee dene ents bomo A A E 120 8 6 Workspace Tree Panel ee eeneeeeeeeseeeeeeeaseneaeeeeeseeesaeeseeeeeeeseesennees 121 8 7 Project Settings Panel iesesssnnnnennnnnennnaannnnaannnnennnnaannnnannnnnnnnrennnrannn 122 8 8 Output angel eege EE EES EES re ado i EES 123 8 9 Statue Battes ne 124 APPENDIX A MESSAGES zero nro kkk ku kE kak Ku Ku dE ku ku du So Au eege 146 A1 Message kort isis sss ie IDON A deca A ala 146 A 2 Messages Displayed in Internal Error Fatal Error Selection and Warning Dialog Boxes COMMON ss s
64. File Tool Microcontroller Help B Create a new workspace E7 Open a workspace Exit 7 4 2 Tool menu Selecting the Tool menu displays the pull down menu as shown in the figure below Refer to 5 4 2 for details of each menu Figure 7 4 Tool Menu Renesas Flash Programmer Supporte File Tool Microcontroller Help E sroj Unique Code Setting u Change to Basic mode R20UTO0599EJ0400 Rev 4 00 Page 103 of 168 2012 06 29 Renesas Flash Programmer 7 4 3 Microcontroller menu CHAPTER 7 FUNCTION DETAILS FULL MODE RL78 78K V850 The following pull down menu appears by selecting the Microcontroller menu This menu includes commands mainly related to writing to the flash memory such as setting up erasing and writing to the flash memory and verifying the written program Selecting any command executes that command The flash memory area subject to manipulation by each command is specified by using the Operation mode parameter under Target in the Other Settings tab of the Project Settings dialog box changing the project basic settings Refer to 5 4 3 for details of each command R20UTO0599EJ0400 Rev 4 00 2012 06 29 Figure 7 5 Microcontroller Menu Renesas Flash Programmer Supported Yers File Tool Microcontroller Connect to Device Disconnect to Device EI sampl Blank Check Erase Program verify Read Set Security
65. INI2 On Chip Debug Emulator with Programming Function R20UT0449E MINICUBE2 Diagnosis Tool U18588E Note The related documents listed above are subject to change without notice Be sure to use the latest version of each document for designing etc All ttademarks and registered trademarks are the property of the respective owner CONTENTS CHAPTER A OVERVIEW ss seson sn seess ee EE daaa dadia 10 fN WW dl 10 I 2 Writing QU ait soci cased bess raaa a cad scan rae a aa a des adeucbcadeceedcvatezsesdesncedtesdecehatecseadecetuedecers 10 1 3 Supported Microcontrollers cccccccescceseeeeeeeeeeeeeeeeeeeseseeeeeneeeeseaeseseaeeaseeeeeeeeeseeesaseeeeeeeeeeneas 10 LU WEE e E E 11 1 5 Operating Environments ice a i a iene atl neler eet 12 1 5 1 Hardware environment ccccceceeeeeececeeceeeeeeeeeeecaaeaeceeeeesescaaeaeeeeeeeeeeeeesecaeeeeeeeeneee 12 1 5 2 Sollware envi onMent i E A ULL 12 1 6 Handling of HCUHEX Files s sossennnnennnannnnnaannnhennnnnnnnnaannnnnnnnnnennnannnnnran 13 CHAPTER 2 INSTABLATION r cs muo cao e suo oone eege 14 KN WT EE E 14 2 1 1 Notes on installation 2 iced nieve NL LNS 15 2 2 UnihstallatlON es eooJo ote haven side eed eevee si snood oo ia EE EE ees 16 2 3 Updating RFP and Firmware seeveeeennnnnneennnnnnennnnnnnennnnnnnnennnnnnneennnnnneennnnnneennnnan 16 CHAPTER 3 BASIC OPERATION BASIC MODE RL7
66. Microcontroller FREQ Description There might have been a problem switching to serial programming mode Bad connection between utilizing tool and target microcontroller The clock or power source is not supplied correctly Bad target microcontroller E1002004 Communication failure or timeout Description There might have been a problem establishing normal communications after switching to serial programming mode The clock or power supply is unstable Bad target microcontroller There might be a fault in the communication port E1002005 Synchronization failure for baud rate Action by user See the microcontroller s manual and select a supported baud rate E1002006 Invalid Signature reading The selected device information file does not match the target microcontroller Action by user Specify a correct microcontroller E1002007 Invalid Device Information file version Action by user The level of the selected device information file might be outdated Download the latest RFP R20UT0599EJ0400 Rev 4 00 Page 146 of 168 2012 06 29 Renesas Flash Programmer APPENDIX A MESSAGES 4 5 Description An area already containing data might have been overwritten with different data There might have been a programming failure due to bad Flash memory Description Different data might have been written to the program file and the target microcontroller There might have been a verification failure caused by a lead fault
67. Mx USB Direct communication time out D After being connected to E1 E20 MINICUBE2 COMx USB Direct communication was not escription established and the process timed out Action by user Make sure that the connection to E1 E20 MINICUBE2 COMx USB Direct is properly set up E1000002 MINICUBE2 Firmware version too old The MINICUBE2 s firmware version might be outdated and unable to operate correctly Action by user Access the update service site download the latest firmware and update the utility E1000003 Program File not found Action by user Specify a Program File Description RFP might already be running so execute the RFP command after terminating one of the RFPs Action by user A related tool such as the self diagnostics tool might already be running so execute the RFP command after terminating the tool E1000007 Detection error by 78K0 OCD adapter board Action by user Please remove the 78K0 OCD board It is connected but cannot successfully communicate with the target E1000008 Reading error of Flash Programming Tool information from Project file An error occurred when trying to open the specified project file lt R gt E1000009 Unable to connect E1 E20 MINICUBE2 COMx USB Direct E1 E20 MINICUBE2 COMx Direct could not be connected Action by user Make sure that the connection to E1 E20 MINICUBE2 COMx USB Direct is properly set up E1001001 Invalid Device Information File Action by user Specify a project file th
68. OSC when using the internal oscillation clock of 78KO Clicking the Clicking the Next button displays the next dialog box Cancel or the X button terminates RFP lt R gt 5 2 4 Frequency dialog box This dialog box is used to specify the communication speed and the clock lt R gt Figure 5 6 Frequency Dialog Box 1 gt e Target Device Connection Interface UART cho Interface Speed 2 p Nu Supply Oscillator M Gn Target Frequency Internal OSC MHz Multiply rate fi 00 Back Next Cancel R20UT0599EJ0400 Rev 4 00 2012 06 29 CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 Page 40 of 168 Renesas Flash Programmer 1 Target Device Connection area Rs This area is used to select the communication speed of the connection method Rs Figure 5 7 Target Device Connection Area Target Device Connection Interface UART ch0 Interface Speed lt R gt Interface box The connection method between the tool used and the target microcontroller is displayed Interface Speed list box Select the communication speed for the connection method For the selectable communication speeds see lt R gt the user s manual of the target microcontroller When UART ch0 UART X1 OSC UART EXCLK or UART Int OSC is selected 9 600 bps 19 200 bps 31 250 bps 38 400 bps 57 600 bps 76 800 bps 115 200
69. P exe RFP_COM dll RFP_E1E20 dll RFP USB dll rfpv850 dll rfpv850 ini SetupB dll setupv850 dll setupv850 dll config SRecord dll UCP dll Renesas Flash Programmer V2 xx ADPFiles A Renesas Flash Programmer V2 xx ADPFiles B BfwE20min2_V107 s e1 mini2 v6 sbt e20 mini2 v8 sbt BfwE20FDT s e01 rxsb sbt E1 E20fdt cnf e20 rxsb rxta sbt Renesas Flash Programmer V2 xx Device Device information file Renesas Flash Programmer V2 xx Doc Document storage folder Renesas Flash Programmer V2 xx ja JP Flash ProtC Res dll GenericQuery Hes dl RFP resources dll RFP COM Res dll RFP E1E20 Res dll RFP USB Res dll SetupB Res dll setupv850 resources dll SRecord Res dll UCP Res dll R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 156 of 168 Renesas Flash Programmer APPENDIXB SUPPLEMENTARY INFORMATION Figure B 2 32 bit CRC Calculation Specifications The generator polynomial used for this table is X 32 X 26 X 23 X 22 xX 16 x 12 x 11 x 10 x 8 x 7 XxX 5 Xx 4 XxX 2 x 1 x 0 x according to Autodin Ethernet ADCCP protocol standards x Binary 0x04c11db7 const u32 CRC32 Tab 256 0x00000000 OxO4c11db7 0x09823b6e 0x0d4326d9 0x130476dc 0x17c56b6b 0Oxla864db2 0x1e475005 0x2608edb8 0x22c9f00f Ox2f8ade6d6 Ox2b4bcb61 0
70. R gt 1 9 Notes on installation Multiple versions of RFP can be installed on a single host machine Although we recommend using the latest version of any development tool leaving a previous version on your host machine and then installing the latest version lets you easily switch the development environment You might be asked to reboot your computer after installing the RFP Be sure to close all other applications before rebooting your computer You must have administrator privileges to install the RFP The RFP can only be installed in a folder that is named using ASCII characters Note that the 11 characters lt gt and character strings that begin and end with a space cannot be used The RFP might not operate correctly if installed in a folder that is named using other characters The RFP cannot be installed from a network drive or on a network drive The installer does not specify environment variable paths If these paths are required add them after installation Internet Explorer 6 0 or higher NET Framework and Visual C runtime library must be installed on Windows on which the RFP is installed The following folders created after installation including the files under the folders contain files required for the tools to operate Do not delete them Windows is the 32 bit edition and the system drive is C C Program Files Common Files Renesas Electronics CubeSuite Windows is the 64 bit edition and t
71. Rev 4 00 Page 65 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 5 6 Program File Area This area displays the selected program file Clicking the Browse button opens the Open File dialog box Move to a desired folder and select a program file hex mot s rec Figure 5 34 Program File Area User Data area sample hex Browse User Boot area Browse Figure 5 35 Open File Dialog Box Open File Look in S hex BEE My Recent Documents My Documents My Computer a File name sample hex My Network Files of type Program files hex mot s rec 5 7 Command Area The command area displays the command selected on the Microcontroller menu Figure 5 36 Command Area Command Auto pro cedure E P R20UTO0599EJ0400 Rev 4 00 Page 66 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 5 8 Start Button Clicking the Start button executes the command selected on the Microcontroller menu The execution progress is displayed on the output panel or in the Progress report dialog box Figure 5 37 Start Button Start Figure 5 38 Progress report Dialog Box Progress report E Under Autoprocedure E P Command Processing HERABBBARAE Abort 5 9 Status Bar The status bar shows the progress as a color or with a message
72. TER 4 BASIC OPERATION BASIC MODE RX lt R gt This chapter describes the operation method by using the RX as the target microcontroller as an example to help you understand a series of basic operations with the basic mode of RFP for the RX This chapter covers how to start the system execute the Program command and write the target microcontroller e Series of operations described in this chapter The operating conditions are as follows Target microcontroller R5F562TAA RX62T Target system Renesas Starter Kit for RX62T Tool used E1 Interface Boot mode Communication speed setting 1 562 500 bps lt R gt Frequency 12 50 MHz main clock x 8 multiplication peripheral clock x 4 multiplication lt R gt Power supply E1 5 0 V Lock bit None Other settings Initial value The steps described in this chapter are as follows 1 Installation 2 System connection 3 Connection of target system 4 Creation of workspace 5 Selection of program file 6 Execution of Program command 7 System shutdown 1 Installation See CHAPTER 2 INSTALLATION and install in the host machine 2 System connection Connect the USB connector of RFP to the USB port on the host machine using a USB cable 3 Connection of target system Connect the target cable of the tool used to the target system Remark Connect the target system before supplying Voo power from the target system R20UT0599EJ0400 Rev 4 00 Page 25 of
73. V D Using Tool File name Show a device information file which corresponds to a target microcontroller lt 3 gt Workspace Tree panel lt 5 gt Output panel The main window consists of the following items Description lt 1 gt Menu bar Displays the selectable menus 7 4 lt 2 gt Tool bar Displays buttons for frequently used commands 7 5 lt 3 gt Workspace Tree panel Displays the workspace in a tree form 7 6 lt 4 gt Project Settings panel Displays the project settings 7 7 lt 5 gt Output panel Displays the command execution output 7 8 lt 6 gt Status bar Displays the command execution status in colors and text 7 9 R20UT0599EJ0400 Rev 4 00 Page 102 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 7 FUNCTION DETAILS FULL MODE RL78 78K V850 ZA Menu Bar The menu bar consists of File Tool Microcontroller and Help When a menu is selected the pull down menu is displayed where the items can be selected Some items may be disabled depending on the settings When an HCUHEX file has been selected the HCUHEX file is handled as master data As a result the Program Read Set Security Set Option Bytes and Set OCD Security ID commands become unavailable 7 4 1 File menu The following pull down menu appears by selecting the File menu Refer to 5 4 1 for details of each menu Figure 7 3 File Menu Renesas Flash Programmer Supp
74. Vv E m 0x14 Pin Setting ja ml D ei P TC 0x04 High WARNING Incorrect settings could damage your hardware Pin Outputs check box Select the pin to control the mode pin of the target microcontroller from io0 to ob pins A selected check box is output and a cleared check box is input Pin Setting High check box Set the level of the selected io0 to ob pins to High or Low A selected check box is High and a cleared check box is Low This setting is effective only when the I O direction is Output Remark For the io0 to io5 pins of E1 and E20 refer to Figure B 3 E1 and E20 Pins RX in APPENDIX B Clicking the OK button displays the next dialog box Rs Clicking the Cancel or the X button returns you to the Communication Interface dialog box R20UT0599EJ0400 Rev 4 00 Page 74 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX 6 2 6 Connection and Query dialog box This dialog box is used to perform connection and a query of the target microcontroller and create a device information file Rs Caution The connection is maintained after querying the device until the disconnection processing is executed 1 Confirm before connecting to the target microcontroller lt R gt Figure 6 8 Confirmation Dialog Box Confirmation Q1010002 EN p RFP will now attempt to connect to your device Le J Please ensure the board
75. Window Renesas Flash Programmer Supported Yersion Be es Microcontroller Help Disconnect to Device Micros Blank Check M User Erase Browse All Erase ay T User Browse Ess Com Verify Read Checksum 3 rt Autoprocedure E P Set Option Bytes Set OCD Security ID Signature Read Get Flash options 5SOOOMHz Clock Mode 0 CKM 8 and CKP Connecting l ce t mode Initiating BOOT sequence Sending selection of clock mode Selection of Clock Mode Clock selected code 0 Changing baud rate to 1562500bps Set baud rate value 1562500bps Connection complete Clear Output Panel lt 2 gt After clicking the Start button execute the Program command for R5BF562TAA lt R gt Remark When the Program command is executed programming is performed after the block with data is erased To erase all blocks set All Erase Before Program in the Flash Program Options category in the Other Settings tab of the Project Settings dialog box to True lt 3 gt When execution of the Program command ends normally Image written to device and Disconnected are displayed on the output panel lt R gt Remarks 1 When necessary connect the tool to be used to the target system and then execute the Program command 2 When supplying Voo power to the target system first turn off the power connect the target system for programming
76. a E 66 5 8 Star BUHO Ar bonoro ona a dat aao rec ean To ent ado een laee eect eto 67 59 Status Batista hice di dadao dog ce iin ano E Da Dao inane wiki din dk eae aed 67 5 10 Output Panel ies eu erin enke snme raara a aa cede avi cecenenetedeeesteevenseh successes teyeceeteuseestogeeate 68 5 11 Clear Output Panel ButtOn ccceccesceseeesesneeeneeeeeeeeeescaeseseeeeeseeeseaaeseseeeenseeeseeseseaesaseeeeeeeeeas 68 CHAPTER 6 FUNCTION DETAILS BASIC MODE RX ssessseeeeees 69 64 Initoductlon ss e iso nerek ENEE DEENEN Eege 69 EE Eu due RI EE 69 6 2 1 Welcome dialog box 00 0c cece cece ce ceeeee cee e ee ee eee aces ee eeeeeeesceaaaeeeeeeeeeseesiaeeeeess 70 6 2 2 Create a new workspace dialog box 71 6 2 3 Communication Interface dialog box 72 6 2 4 Power Supply dialog box i isees eenessenn enkknkaanneannkeanneo 73 6 2 5 Mode Pin at Connection dialog box 74 6 2 6 Connection and Query dialog box ccc cece cee eeeeeeeeeeeeeeeeeetaeeeeaeeseneees 75 6 2 7 Frequency dialog box 77 6 2 8 Baud Rate dialog box 2 ccccccccccc cece ceeeee cece eect eee aces ee eeeeeeeeeceaaaeeeeeeeeeeenseaeeeees 79 6 2 9 Project Settings dialog box 80 6 2 10 Open latest WorkSpace cccccceceeeeeeeee ee eeeeeeeee scenes seas eeeeaeeeceeeeseaeeesaeeneaeeseeneees 81 6 2 11 Open workspace
77. al C 2008 SP1 Redistributable Package x86 e Internet Explorer 6 0 or later R20UT0599EJ0400 Rev 4 00 Page 12 of 168 2012 06 29 Renesas Flash Programmer CHAPTER1 OVERVIEW 1 6 Handling of HCUHEX Files An HCUHEX file is re quired for ordering flash memory products whose flash memories are pre written by Renesas Electronics After being generated by the HEX Consolidation Utility HCU operation based on the HCUHEX file must be verified by using the flash memory programmer Because RFP handles the HCUHEX file as master data the user can check the settings specified for writing and option data Some RL78 78K0 78KOR and V850 microcontrollers support HCUHEX files If a m icrocontroller supports HCUHEX files itis written in the user s manual of the microcontroller SH RX and R8C m icrocontrollers do not support HCUHEX files For details see the description on each feature in this manual For details about the HCU see the user s manual of the HCU or the target microcontroller The HCU user s manual is available on the following website e Japanese http japan renesas com hcu lt R gt e English https secure resource renesas com micro tool reg OdsListTool do code 6408lang en Figure 1 2 Example of Using RFP and HCUs i I I I I I I HEXfile PG FP5 parameter file i I I Target system Mode Select Edit mode Ss dagegen d Send the HCUHEX file Verify operation When ordering a flash by usi
78. alled E Search removable media floppy CD HOM J ri Include this location in the search C AWINDOWS At Browse Dorit search will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware e 45 Click the Have Disk button and select hmseusb inf in C Windows inf Found New Hardware Wizard Select the device driver you want to install for this hardware Select the manufacturer and model of your hardware device and then click Next If you ee have a disk that contains the driver you want to install click Have Disk Generic Boot USB Direct Renesas USB1653 USB Boot Mode Device A This driver is not digitally signed Have Disk Tell me why driver signing is important lt Back Cancel R20UT0599EJ0400 Rev 4 00 Page 138 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 12 TROUBLESHOOTING 55 Select Generic Boot USB Direct and click the Next gt button Select the device driver you want to install for this hardware St Select the manufacturer and model of your hardware device and then click Next If you Gen have a disk that contains the driver you want to install click Have Disk Generic Boot USB Direct Renesas USB1653 USB Boot Mode Device A This driver is not digita
79. and detailed information Renesas Electronics America Inc 2880 Scott Boulevard Santa Clara CA 95050 2554 U S A Tel 1 408 588 6000 Fax 1 408 588 6130 Renesas Electronics Canada Limited 1101 Nicholson Road Newmarket Ontario L3Y 903 Canada Tel 1 905 898 5441 Fax 1 905 898 3220 Renesas Electronics Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH U K Tel 44 1628 585 100 Fax 44 1628 585 900 Renesas Electronics Europe GmbH Arcadiastrasse 10 40472 D sseldorf Germany Tel 49 211 65030 Fax 49 211 6503 1327 Renesas Electronics China Co Ltd 7th Floor Quantum Plaza No 27 ZhiChunLu Haidian District Beijing 100083 P R China Tel 86 10 8235 1155 Fax 86 10 8235 7679 Renesas Electronics Shanghai Co Ltd Unit 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 13F No 363 Fu Shing North Road Taipei Taiwan Tel 886 2 8175 9600 Fax 886 2 8175 9670 Renesas Electronics Singapore Pte Ltd 1 harbourFront Avenue 06 10 keppel Bay Tower Singapore 098632 Tel 65 6213 0200 Fax 65 6278 8001 Renesas Electronics Malaysia Sdn Bhd Unit 906 Blo
80. and multiplier of the RFP E1014015 Changing baud rate Invalid multiplication ratio error E1014016 Changing baud rate Invalid response E1014017 Unable to set baud rate value sbps E1014018 Message End of Setting Data Erase error Description This error is displayed when data erasure of the flash memory upon the startup of the microcontroller in the Boot mode was executed but failed Possible causes of the error failure to erase include 1 Power supply voltage to the microcontroller is not applied properly power supply from E1 power supply from the target board 2 The microcontroller cannot operate properly because of the pin settings and 3 The microcontroller has been damaged for some reason Check the items 1 through 3 above R20UT0599EJ0400 Rev 4 00 Page 150 of 168 2012 06 29 Renesas Flash Programmer APPENDIX A MESSAGES lt R gt E1014019 Message End of Setting Data Invalid response Description This error is displayed when an invalid command is received in the state waiting for the data setting complete command Check the product name of the microcontroller on the target board as well as the pin settings E1014020 Checking ID Code Checksum error E1014021 Message Checking ID Code Invalid ID error Description This error is displayed when an ID code different from the one set in the microcontroller to be programmed is entered The ID code is written to a specific address on the ROM Check
81. and the write command can be executed from the command prompt or user applications Note Processing automatically proceeds in response to clicking on the OK button in the Confirmation dialog box Note however that when the firmware of the emulator needs updating this is indicated in the Confirmation dialog box 9 2 Start and exit To start the script execution add a script file as a command option when executing the RFP exe under the install folder of the RFP from the command prompt or user applications Alternatively double click the script file to start the script execution After the script execution starts the script commands in the script file are executed from the first line to the last sequentially When execution of all commands in the script down to the last line is completed the result code 0 is returned on exit from the RFP If there is an error in a command or an error is generated while a command is being executed the result code 1 is returned immediately and execution of the RFP is terminated As a note if the script file is not correct the script execution function terminates and the Welcome Dialog Box will open RFP exe xxxx Xxxx the full path of a script file If the full path contains spaces use double quotation marks to enclose the full path d Example A batch file sample bat example START RFP exe d rfo sample test sample rsc ECHO OFF ECHO Rusult Code ErrorLevel PAUS
82. area from Start address of Code Flash to End Code Flash address of Code Flash is subject to checksum calculation User optional range An area from Start address of Data Flash to End address Data Flash of Data Flash is subject to checksum calculation User optional range The area specified by Start address of Code Flash and Code Flash Data End address of Code Flash and the area specified by Flash Start address of Data Flash and End address of Data Flash are subject to checksum calculation Code Flash Start address of Enter the start address of the code flash memory for which to calculate the checksum End address Code Flash of Enter the end address of the code flash memory for which to calculate the checksum Code Flash Check sum of Displays the results of checksum calculation using the method selected by Check sum type Data Flash Start address of Enter the start address of the data flash memory for which to calculate the checksum End address Data Flash of Enter the end address of the data flash memory for which to calculate the checksum Data Flash Check sum of Displays the results of checksum calculation using the method selected by Check sum type Remarks 1 2 The Updated date view is refreshed whenever a file name is specified for File name The Check sum of Code Flash and Check sum of Data Flash views are refreshed
83. at is compatible with RFP The device information file might be invalid Action by user Restart RFP If this does not resolve the problem reinstall RFP R20UT0599EJ0400 Rev 4 00 Page 144 of 168 2012 06 29 Renesas Flash Programmer APPENDIX A MESSAGES 2 5 E1001002 Not supported Device Information File There might be an unsupported device information file Action by user Access the Version up Service website download the latest firmware and update the device information file by using the utility E1001003 Invalid Program File The file format might be unsupported or an invalid program file might have been specified Action by user Specify a correct program file E1001004 Device Information File not found No device information file has been loaded Action by user The project file cannot be read because the device information file has been changed Create a new project file Restart RFP If this does not resolve the problem reinstall RFP Action by user Check the frequency setting and make sure that the correct clock frequency and divider multiplier values are set E1001013 Value is out of clock range The frequency set to be supplied to the target microcontroller is incorrect Action by user See the microcontroller s manual and set the correct clock frequency and divider multiplier values E1001014 Can t Upload Read Data Description Files cannot be saved while the read command is running The program fil
84. ayed on the output panel The operation of the All Erase command is subject to the setting of Erasure Permission of the User Boot Area Options category in the Other Settings tab of the Project Settings dialog box For details see 6 4 3 5 f 13 User Boot Area Options category Program command This command is used to write the program file selected in the program file area to the flash memory The progress of programming is displayed on the output panel When programming is complete the result is displayed The operation options related to the Program command are according to the settings of Readback Verification All Erase Before Program Request Checksum and File Over Warning in the Flash Program Options category of the Other Settings tab in the Project Settings dialog box For details see 6 4 2 5 f 8 Flash Program Options category Remark When the Program command is executed programming is performed after the block with data is erased To erase all blocks set All Erase Before Program in the Flash Program Options category in the Other Settings tab of the Project Settings dialog box to True Verify command This command is used to verify that the data written to the flash memory is the same as the data in the program file R20UT0599EJ0400 Rev 4 00 Page 87 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX selected in the program fil
85. bps 125 000 bps 128 000 bps 153 600 bps 250 000 bps 500 000 bps 1 000 000 bps When SIO cho or SIO H S is selected 0 25 MHz 0 5 MHz 1 MHz 2 MHz CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 41 of 168 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 2 Supply Oscillator area This area is used to specify the clock to be supplied to the target device Figure 5 8 Supply Oscillator Area Supply Oscillator C On Target Frequency 8 00 v MHz Multiply rate 10 00 On Target check box Specify whether to supply a clock to the target microcontroller by using the clock generated in the target system or the clock generated by the tool used Select the check box to specify the clock generated in the target system Clear the check box to specify the clock generated by the tool used Frequency text box Select the oscillation frequency of the clock supplied to the target microcontroller When using the clock generated in the target system input its oscillation frequency When using the clock generated by the tool used input one of the frequencies below For the selectable frequency see the user s manual for the target microcontroller e 4 00 e 8 00 e 16 00 Multiply rate text box Specify the multiplication ratio of the clock supplied to the target microcontroller If the target microcontroller includes th
86. cation cannot be done if the specified baud rate does not match the actual setting of the target board microcontroller Check the following points This error may be displayed along with Generic device query failed m Check the baud rate Check the operating frequency of the microcontroller to see if the baud rate exceeds the allowable communication rate and if the baud rate is appropriate m Check the clock setting Check if the operating frequency of the microcontroller set in the RFP and the clock of the target board microcontroller match m Check the connection between the target board microcontroller and the PC Proper communication may not be expected when a self made extension cable for connection with E1 E20 is used When E1 E20 is used operation is not guaranteed if an extension cable or the like except an attached cable is used The specified communication speed has more than xxxx error Do you want to continue Q1010003 Message One or more blocks are locked Do you want to disable the lock temporarily to allow the blocks to be programmed erased Q1010004 Unlocking the following blocks The blocks will be erased due to this action Q1010005 Message The size of the xxxx file exceeds the flash ROM size of the xxxx device Do you want to continue downloading The specified communication speed has more than xxxx error Do you want to continue Q1017001 Message RFP will now update the E1 E20 firmware to a newe
87. ce RX600 Series ve Selecting Device RX600 Series Sending Clock Mode Inquiry Sending Clock Mode Inquiry Selecting Clock Mode 0 Y Selecting Clock Mode 0 Sending Other Inquiries v Sending Other Inquiries OK Cancel 2 Gancel lt R gt lt 9 gt Enter 12 50 in the Frequency box in the Clock supply area The Internal External list box displays the result of the query External Resonator or Clock Select 8 from the CKM list box in the Multiplier for the main clock or peripheral clock area Select 4 from the CKP list box The Clock Mode list box displays the result of the query 0 Clicking the Next button displays the Baudrate dialog box lt R gt Figure 4 9 Frequency Dialog Box Clock supply Internal External External Resonator or Clock Frequency 1250 MHz Multiplier for the main clock or peripheral clock Clock Mode R20UTO0599EJ0400 Rev 4 00 Page 29 of 168 2012 06 29 Renesas Flash Programmer CHAPTER4 BASIC OPERATION BASIC MODE RX 10 Clear the Use Default check box and select 1562500 from the Baud Rate Recommended list box lt R gt Clicking the Finish button displays the Project Settings dialog box lt R gt Figure 4 10 Baudrate Dialog Box e Baud Rate Recommended 1562500 DI bps Use Default User Specified m 3 Cancel lt R gt lt 11
88. ck B Menara Amcorp Amcorp Trade Centre No 18 Jin Persiaran Barat 46050 Petaling Jaya Selangor Darul Ehsan Malaysia Tel 60 3 7955 9390 Fax 60 3 7955 9510 Renesas Electronics Korea Co Ltd 11F Samik Lavied or Bldg 720 2 Yeoksam Dong Kangnam Ku Seoul 135 080 Korea Tel 82 2 558 3737 Fax 82 2 558 5141 2012 Renesas Electronics Corporation All rights reserved Colophon 1 1 Renesas Flash Programmer LTENESAS Renesas Electronics Corporation R20UT0599EJ0400
89. cked by executing the Get Flash options command but the settings cannot be applied Click the OK button to close the dialog box Rs Figure 5 25 Items Read by the Get Flash options Command Confirmation Q1001015 xi The security setting state of a target microcontroller is as follows If you want to feedback them to the Target Security Settings press OK button Disable Block Erase Disable Program Invalid Disable Boot block cluster reprogramming Invalid End of Boot block number 003 Start of Flash Shield block number OOO End of Flash Shield block number 063 i OK Cancel R20UT0599EJ0400 Rev 4 00 Page 55 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 R 13 Set Project Selecting Set Project displays the Project Settings dialog box where you can check and change the project settings The dialog box has two tabs Basic Settings and Other Settings Different categories of settings are displayed depending on the tab you select Clicking the Modify button of the Basic Settings tab opens the wizard type dialog box Communication Interface see Figure 5 26 which guides you through the process of changing the settings The Frequency and the Power Supply dialog boxes are skipped if the settings do not need to be changed Rs Figure 5 26 Flow of Setting Modificatio
90. d If the text exceeds 500 lines lines will be deleted starting from the first line Refer to 6 10 for details Figure 8 15 Output Panel Erase complete Processing file D hexsample1 mot User Flash No Data Loaded Operation on Data Flash Data programmed at the following positions Ox00100000 Ox00107FFF Size Ox00008000 32 K programmed in 1 seconds Image written to device l i 8 9 Status Bar The status bar shows the progress as a color and with a message when a command selected on the Microcontroller menu or the tool bar is executed Figure 8 16 Status Bar Table 8 5 Status Bar Displays Immediately after startup or when Clear is selected in the context menu of the output panel During the command execution When the command has terminated normally When the command has terminated abnormally R20UT0599EJ0400 Rev 4 00 Page 119 of 168 2012 06 29 Rs Renesas Flash Programmer CHAPTER9 SCRIPT EXECUTION FUNCTION RL78 78K V850 CHAPTER9 SCRIPT EXECUTION FUNCTION RL78 78K V850 This chapter explains the following items about the script execution function for RL78 78K and V850 e Overview e Start and exit e Script file e Script commands e Log file 91 Overview The script execution function executes the script commands in a script file sequentially without displaying the main window or dialog boxes The RFP can be started up
91. d one of the When E1 E20 is selected a non standard baud rate can be entered The displayed error takes into account the peripheral clock of the microcontroller baud rate calculation formula and the characteristics of E1 E20 Clicking the lt Back button displays the previous dialog box Clicking the Finish button displays the next dialog box Clicking the Cancel or the X button terminates RFP R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 79 of 168 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX Rs 6 2 9 Project Settings dialog box R This dialog box is used to check and change the project settings lt has the Basic Settings tab and Other Settings tab Selecting a tab changes the categories in which settings are displayed lt R gt Figure 6 17 Project Settings Dialog Box Project Settings xi Basic Settings Other Settings Device Information File Device Name RX600 Series Base Device Generic Boot Device Device Information File Path C DOCUME 1 4DMINI TSLOC4LS 1 Communication Interface Tool Name El Connection Boot mode D Clock Clock Type External Resonator or Clock Frequency MHz Clock Mode 0 CKM 8 CKP 4 E Baud Rate Baud Rate Specified By RFP Recommended Device Name Name of the selected device Modify lt R gt For details about each item see 6 4 2 5 f Project Settings dialog
92. dialog box Clicking the Next button displays the next dialog box lt R gt Clicking the Cancel or the X button terminates RFP R20UT0599EJ0400 Rev 4 00 Page 44 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 Rs 5 2 6 Project Settings dialog box Rs This dialog box is used to check and change the project settings The Basic Settings tab and Other Settings tab are provided each of which allowing you to set a different type of setting categories Rs Figure 5 10 Project Settings Dialog Box Project Settings xi Other Settings E Device Information File File name R5F100LE pr5 File version VII E Target Interface UART chO Communication transfer rate 1 000 000bps Target Internal OSC 1 00 DIV E Using Tool Tool name El Device Information File Modify Complete Cancel lt R gt For details about each item of the dialog box see 5 4 3 13 d Project Settings dialog box Clicking the Modify button displays the Communication Interface dialog box Clicking the Complete button saves the project file and displays the main window Clicking the Cancel or the X button terminates RFP 5 2 7 Open latest workspace If you select Open latest workspace in the Welcome dialog box the main window is displayed with
93. dialog box refer to 5 2 8 R20UT0599EJ0400 Rev 4 00 Page 48 of 168 2012 06 29 Renesas Flash Programmer lt R gt Open File 2 My Recent Documents amp My Network lt R gt 3 Exit CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 Figure 5 17 Open File Dialog Box O sample sample File name sample rws Files of type Workspace file for RFP rwws Exit terminates RFP RFP can also be terminated by clicking the X button on the right end of the title bar in the main window When RFP is terminated various settings are saved in the rfp ini file Save the project file that has been created R20UTO0599EJ0400 Rev 4 00 2012 06 29 Page 49 of 168 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 R 5 4 2 Tool menu Selecting the Tool menu displays the pull down menu as shown in the figure below Figure 5 18 Tool Menu Renesas Flash Programmer Support File Microcontroller Help E sro Unique Code Setting Change to Full mode 1 Unique Code Setting Selecting this option displays the Unique Code Setting dialog box in which you make settings for imbedding unique codes Save the project file that has been created For the items in the dialog box refer to Chapter 11 Figure 5 19 Unique Code Setting Dialog Box Unique Code Setting Ea Enabled Disabled File Location
94. displayed when connecting to the device with ID code Notes 1 For a microcontroller with 8 byte ID code leave High 8 Bytes blank or enter OxFF 2 If the value of each input field is less than 8 bytes FDT automatically input OxFF from the beginning of the field 3 For a device with control code enter the value at the first byte of the effective data bytes Example 1 When Effective data bytes 16 Control code H 45 ID code H 010203 H 04050607 H 08090A0B H OCODOEOF gt High Bytes 4501020304050607 Low 8 Bytes O8090A0DBOCODOEOF Example 2 When Effective data bytes 8 Control code H 45 ID code H 010203 H 04050607 gt High 8 Bytes FFFFFFFFFFFFFFFF Low 8 Bytes 4501020304050607 eo 125 Timeout Option category This category is used Timeout for Read to specify Timeout for Erase Timeout for Blank Check Timeout for Program and Timeout At Erase sec Specifies the timeout for erasing the device Timeout At Blank Check sec Specifies the timeout for checking if the device is blank Timeout At Program sec Specifies the timeout for writing data to the device Timeout At Read sec Specifies the timeout for reading data from the device lt 13 gt User Boot Area Optio This category is used n category to specify whether or not to include the user boot area in the scope of erasure Permission of erasure Specifies whether to incl
95. e PLL circuit input the multiplication ratio in accordance with the environment used If the target microcontroller does not include the PLL circuit enter 1 0 For the selectable multiplication ratio see the user s manual for the target microcontroller Clicking the Back button displays the previous dialog box Clicking the Next button displays the next dialog box Clicking the Cancel or the X button terminates RFP R20UT0599EJ0400 Rev 4 00 Page 42 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 lt R gt 5 2 5 Power Supply dialog box R This dialog box is used to specify the power supply and other options used for writing to the target microcontroller Rs Figure 5 9 Power Supply Dialog Box Power Supply E 1 Power supply from the emulator JV Power target from the emulator Supply voltage C 3 3v GG 50 2 Additional Settings F Wide Voltage Mode Input Voltage V Back Next Cancel lt R gt 1 Power supply from the emulator area This area is used to specify the power supply used for writing to the target microcontroller and the VDD value Power target from the emulator check box lt R gt Select this check box if supplying power from E1 Clear this check box if supplying power from the target system lt R gt Supply voltage option button
96. e Program and display microcontroller information such as the end of boot block number reset vector address and start of flash shield block number Disable Chip Erase Used to disable execution of the chip erase command on the flash memory Valid Execution of the chip erase command is disabled Invalid Execution of the chip erase command is enabled Disable Block Erase Used to disable execution of the block erase command on the flash memory Valid Execution of the block erase command is disabled Invalid Execution of the block erase command is enabled Disable Program Used to disable execution of the write command on the flash memory Valid Execution of the write command is disabled Invalid Execution of the write command is enabled Disable Read Used to disable execution of the read command on the flash memory Valid Execution of the read command is disabled Invalid Execution of the read command is enabled Disable boot block Used to disable writing to the boot area cluster reprogramming valid Writing to the boot area is disabled Invalid Writing to the boot area is enabled End of boot block Displays the end of the boot area number Reset vector address Displays the reset vector address of the microcontroller Start of flash shield Select the starting block of the flash shield window block number End of flash shield Select the ending block of the
97. e area Set Project When Project Settings is selected the Project Settings dialog box is displayed and you can check and change project settings You can select Basic Settings tab or Other Settings tab each of which presenting its specific category of settings When the Modify button in the Basic Settings is clicked the Communication Interface dialog box is displayed and you can change the settings in the wizard format refer to Figure 6 28 The Baud Rate dialog box is not displayed when USB Direct is selected The Power Supply dialog box is displayed when E1 is selected The Setting Mode Pins dialog box is displayed when E1 or E20 is selected lt R gt 5 lt R gt Figure 6 28 Flow of Setting Change with the Modify Button lt R gt a Communication Interface dialog box This dialog box is used to select the tool used and the port used for communication between the selected tool lt R gt lt R gt lt R gt lt R gt lt R gt lt R gt and the target microcontroller Figure 6 29 Communication Interface Dialog Box Communication Interface EN Took z Interf ace Boot mode Cancel For details about each item see 6 2 3 Clicking the Next gt button displays the next dialog box lt R gt Clicking the Cancel or the X button returns you to the Project Settings dialog box
98. e be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or systems manufactured by you Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or regulations You should not use Renesas Electronics products or technology described in this document for any purpose relating to military applications or use by the military including but not limi
99. e might be inaccessible e g in use by another program E1001018 Illegal setting data The setting failed due to illegal invalid data Action by user Revise the setting The frequency specified to be supplied to the target microcontroller might be incorrect E1001019 Error of reading the wireless registry The registry key for the wireless unit QB MINI2 RF might be corrupted or not exist Action by user Start the MINICUBE2 RF utility and make the setting E1001020 Message The all flash options of a target microcontroller aren t able to read because a protection error occurs Description This message appears when all Flash option settings could not be acquired because a protection error occurred when executing the command to retrieve the Flash options R20UT0599EJ0400 Rev 4 00 Page 145 of 168 2012 06 29 Renesas Flash Programmer APPENDIX A MESSAGES 3 5 Description There might have been a problem switching to serial programming mode Bad connection between utilizing tool and target microcontroller The clock or power source is not supplied correctly Bad target microcontroller E1002002 No response from Target Microcontroller RESET Description There might have been a problem switching to serial programming mode Bad connection between utilizing tool and target microcontroller The clock or power source is not supplied correctly Bad target microcontroller E1002003 No response from Target
100. e might occur In such a case supply power from the target system Cause 7 For the RX the I O signal setting does not match the wiring of the target system Action 7 Check if the settings in the Mode Pin Settings dialog match the wiring of the target system R20UT0599EJ0400 Rev 4 00 Page 135 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 12 TROUBLESHOOTING 3 The following message is displayed on the output panel and normal communication is not performed in the flash memory programming mode Error E1002004 Communication failure or timeout Cause 1 The clock or power supply might not be stable Action 1 Confirm that the clock or power is stably supplied on the target system Cause 2 Communication might not be stable Action 2 1 Check that there is no noise on the communication line lt 2 gt Confirm that the tool used is properly connected with the target system 3 Confirm that unused pins are properly handled lt 4 gt Confirm that the correct clock and communication rate are selected Stable programming might be achieved by setting a lower value for the clock or communication rate R20UT0599EJ0400 Rev 4 00 Page 136 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 12 TROUBLESHOOTING 4 When the RX is selected the driver for USB boot is not recognized in the Select USB Device dialog box Cause A wrong driver may be recognized as the driver for USB boot Normally Gener
101. e of other nodes makes it available for programming and verification a Context menu of program file nodes Right clicking a program file node displays its context menu Table 7 4 Context Menu of Program File Nodes Set Program File Active Makes the selected program file available for programming and verification Delete Program File Deletes the selected program file from the list The program file itself is not deleted This menu item is enabled when the program file is not selected for programming and verification Area Not used Program Executes the Program command with the selected program file This menu item is enabled when the project is selected for manipulation and edition and the program file is selected for programming and verification Autoprocedure E P Executes the Autoprocedure E P command with the selected program file This menu item is enabled when the project is selected for manipulation and edition and the program file is selected for programming and verification 7 7 Project Settings Panel This panel allows you to view and change the project settings The Basic Setting tab and Other Setting tab are included in this panel each of which displays its specific category of settings when selected Information displayed on this panel is for the project selected for manipulation and edition and the program file selected for programming and verification Refer to 5 4 3 13 d
102. e text format If a log file with the same name already exists when a new log file is tried to be created the existing log file is opened and new log entries are appended after the last line 1 Log file format DD Mon YY HH MM SS mmm lt script command gt Characters in the output panel DD day two digits Mon month three characters YY year two digits HH hour two digits MM minute two digits SS second two digits mmm millisecond three digits R20UTO599EJ0400 Rev 4 00 2012 06 29 Page 122 of 168 Renesas Flash Programmer CHAPTER9 SCRIPT EXECUTION FUNCTION RL78 78K V850 2 Saved log file example 23 Apr 12 13 17 12 223 workspace d rfp sample test sample sample rws 23 Apr 12 13 17 13 602 log d rfp sample_test sample log 23 Apr 12 13 17 13 628 programfile d nex sample hex 23 Apr 12 13 17 14 110 verify Connect Start Verify Verify Code flash 10 20 30 40 50 60 70 80 90 100 PASS Verify PASS sa End Verify Disconnect R20UT0599EJ0400 Rev 4 00 Page 123 of 168 2012 06 29 Rs Renesas Flash Programmer CHAPTER 10 SCRIPT EXECUTION FUNCTION RX CHAPTER 10 SCRIPT EXECUTION FUNCTION RX This chapter explains the following items about the script execution function for RX e Overview e Start and exit e Script file e Script commands e Log file 10 1 Overview The script execu
103. emory products whose flash memories are pre written by Renesas Electronics Notes 1 The program adapter is a product of Naito Densei Machida Mfg Co Lid If you have any questions about the FA adapter board contact Naito Densei Machida Mfg Co Ltd Tel 81 42 750 4172 2 The functions that can be used differ depending on the target microcontroller Program file The program file refers to the file that contains the program to be written to the microcontroller The following program file formats are supported by RFP when writing to an RL78 78KO 78KOR or V850 microcontroller a HEX files in Intel HEX format b HCUHEX files in Intel HEX format c HEX files in Motorola S format d HCUHEX files in Motorola S format The following program file formats are supported by RFP when writing to an RX microcontroller a HEX files in Intel HEX format b HEX files in Motorola S format Caution An empty area will be supplemented with FFH This file is where the RFP settings are saved The settings are saved when RFP is terminated Location of file when using Windows XP C Documents and Settings user name Local Settings Application Data Renesas Flash Programmer RFP version Location of file when using Windows Vista or Windows 7 C Users user name AppData Roaming Renesas Flash Programmer RFP version COM is a serial interface port incorporated in the host machine When writing data to the target system by using the serial
104. en Select Create new workspace select Basic mode and then click the Next button to open the Create a new workspace dialog box lt R gt Figure 3 1 Welcome Dialog Box Welcome ES C Eulmode C Open latest workspace D rfp sample sample rws Open workspace lt 2 gt In the Using Target Microcontroller list box select R5F100LE Enter any text string such as sample in this case in the Workspace Name box and specify any folder in the Folder box lt R gt Clicking the Next button displays the Communication Interface dialog box lt R gt Figure 3 2 Create new workspace Dialog Box Create new workspace EN Microcontroller All he Eiter TO Using Target Microcontroler Device Name Information RL78 613 R5F1OOLE RL78 G13 R5F100LF RL78 G13 R5F100LG RL78 G13 R5F100LH RL78 G13 R5F100LJ RL78 G13 R5F100LK RL 8 G13 R5F1OOLL RL78 G13 R5FIOOMF RL78 G13 R5F100MG RL78 G13 R5F100MH AL 8 G13 ASF 100M Workspace Name ample Project Name ferme Folder pip Browse R20UT0599EJ0400 Rev 4 00 Page 18 of 168 2012 06 29 Renesas Flash Programmer CHAPTER3 BASIC OPERATION BASIC MODE RL78 78K V850 Rs 3 Select E1 in the Communication Interface dialog box For R5F100LE the selection in the Interface list box is fixed to UART chO Clicking the Next button d
105. enu is selected the pull down menu is displayed where the items can be selected Some items may be disabled depending on the settings When an HCUHEX file has been selected the HCUHEX file is handled as master data As a result the Program Read Set Security Set Option Bytes and Set OCD Security ID commands become unavailable 5 4 1 File menu The following pull down menu appears by selecting the File menu Figure 5 15 File Menu Tool Microcontroller Help 1 Create a new workspace 2 gt EF Open a workspace Exit 1 Create a new workspace The Create a new workspace dialog box is displayed Create a new workspace Save the project file that has been created For the items in the dialog box refer to 5 2 2 lt R gt Figure 5 16 Create a new workspace Dialog Box Microcontroller All SS Filter Using Target Microcontroler Device Name Information R5EFIOOLE RL78 G13 R5FIOOLF RL78 G13 RSF100LG RL78 G13 R5F1OOLH RL78 G13 R5FIOOLJ RL78 G13 R5FIOOLK RL78 G13 R5FIOOLL RL78 G13 R5F100MF RL78 G13 R5F1OOMG RL78 G13 RSF100MH RL78 613 R5FIOOMJ Workspace Name sane Project Name kant Folder p 7 Browse Next Cancel lt R gt 2 Open a workspace Selecting this option opens the Open file dialog box in which you can open a workspace created before Save the project file that has been created For the items in the
106. er CHAPTER8 FUNCTION DETAILS FULL MODE RX 8 4 3 Microcontroller menu The following pull down menu appears by selecting the Microcontroller menu You can select a command such as Disconnect To Device All Erase and Program or make settings Selecting any command executes that command Selecting Project Settings opens a wizard type dialog box for changing the project basic settings Figure 8 5 Microcontroller Menu Renesas Flash Programmer Supported Ver File Tool Microcontroller Help 1 p Connect to Device 2 SR sa d Disconnect to Device E sp A Blank Check Lo Erase P Program EO verify 7 E Read a E checksum Autoprocedure E P Ki Set Option Bytes 2 Set OCD Security ID Signature Read Get Flash options 9 PA Set Project 1 Connect To Device This menu item connects to the device If the Power target from the emulator checkbox of the Power Supply dialog is selected the power supply starts 2 Disconnect To Device This menu item disconnects the device connection If the Power target from the emulator checkbox of the Power Supply dialog is selected the power supply stops 3 Blank Check command This command executes blank check on all flash memory blocks The progress is displayed on the output panel during command execution The result is displayed when the command finishes 4 Erase command This command erases the specified flash memory block Executing
107. er when designing and developing a system using a Renesas Electronics on chip flash memory microcontroller This manual is intended to give users an understanding of the basic specifications and correct use of the Renesas flash programmer This manual includes the following sections e Overview e Installation RL78 78K V850 e Basic operation Basic mode RX e Function details Basic mode RL78 78K V850 e Function details Basic mode RX e Function details Full mode RL78 78K V850 e Function details Full mode RX e Script execution function RL78 78K V850 e Script execution function RX e Basic operation Basic mode e Unique code embedding function e Troubleshooting e Cautions e Messages e Supplementary information How to Read This Manual lt is assumed that the readers of this manual have general knowledge of electricity Conventions logic circuits and microcontrollers ln the explanations of the operation of the applications it is also assumed that the readers have sufficient knowledge of Windows For the usage and terminology of Windows see each Windows manual To understand the overall operation of the Renesas flash programmer Read this manual according to the CONTENTS To know the basic specifications usages and usage examples of the hardware See the E1 E20 User s Manual or QB MINI2 User s Manual The mark R shows major revised point
108. essage Not Initialized Description There might have been a failure to acquire working memory on startup or a failure to start a E1009001 thread process Action by user Try changing host machines and starting RFP again Message Illegal parameter Description There might have been a failure to perform normal control due to an unstable USB E1009002 communication port Message Control failed Please restart the Flash programming tool Action by user The tool used might be locked up Disconnect the USB and try connecting again E1009003 R20UT0599EJ0400 Rev 4 00 Page 147 of 168 2012 06 29 Renesas Flash Programmer APPENDIX A MESSAGES 5 5 E1009004 Wait status timeout The microcontroller might be defective Replace it with a good sample E1090001 Unknown error occurred Illegal processing was detected Restart RFP If this does not resolve the problem reinstall RFP Q1001015 Message The security setting state of a target microcontroller is as follows If you want to feedback them to the Target Security Settings press OK button W1001007 Message Caution When Chip Erase is disable chip cannot be erased and programmed any more Description This warning message appears when the CHIP erase protection security flag is set to warn the programmer that it will not be possible to clear a flag W1001008 Message Caution When Boot block cluster reprogramming is disable boot block cannot be erased and
109. eturns you to the Communication Interface dialog box Remark This dialog box is displayed only when RFP starts up for the first time It won t be displayed for the second time and on After a restart of RFP it is displayed only for the first time and not for the second time and on 4 A query for the target microcontroller is performed Figure 6 11 Query Generic Device Dialog Box Query Generic Device x Query Generic Device x v Adjustment of Baud Rate v Adjustment of Baud Rate v Sending Supported Devices Inquiry wn Sending Supported Devices Inquiry Y Selecting Device RX600 Series Y Selecting Device Rx600 Series v Sending Clock Mode Inquiry Sending Clock Mode Inquiry Selecting Clock Mode 0 v Selecting Clock Mode 0 Sending Other Inquiries v Sending Other Inquiries OK Cancel Clicking the OK button displays the next dialog box R Clicking the Cancel or the X button returns you to the Communication Interface dialog box lt R gt 5 For some microcontrollers the Select Device dialog box opens at the time of query by Select Device Select a device from the Select a device box lt R gt Figure 6 12 Select Device Dialog Box Select a device Rx600 Series LittleEndian Cancel R20UTO0599EJ0400 Rev 4 00 Page 76 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE
110. ex is updated to the next index When Verify command or Checksum command finishes normally the index is not updated 11 2 Unique code setting dialog box This dialog box is used to configure the settings for a unique code the enable disable status of the unique code embedding function definition file start end positions of the definition file and the action when there is a conflict with the program file code Figure 11 1 Unique Code Setting Dialog Box Unique Code Setting xi Enabled C Disabled Cancel OK Se File Location 3 File Start Point Code File Darfpisample testsample ruc Ze Restart on Session Start Index blank for file start Start OfFile Continue From Previous User Specified Final Index blank for file end Kee End Of File Data Overwrite C Overwrite Ze Abort 1 Enabled Disabled option button Specifies whether to enable disable the unique code embedding function R20UTO599EJ0400 Rev 4 00 2012 06 29 Page 130 of 168 Renesas Flash Programmer CHAPTER 11 UNIQUE CODE EMBEDDING FUNCTION 2 File Location area Specifies the full path of the unique code file Enter the file name in the File name text box directly or click the Browse button and open the Browse for folder dialog box to specify the file 3 File Start Point area Specifies the start end positions for the indexes described in the unique
111. flash shield window block number OCD Security ID Enter the on chip debug security ID OPBTn Select the option byte Note When an HCUHEX file is read the HCUHEX file is handled as master data As a result the settings specified in the HCUHEX file are applied and the settings in this category cannot be changed Remark Some items in this category might not be displayed for some microcontrollers lt R gt lt 8 gt Target Microcontroller category This category displays information about the microcontroller such as the target microcontroller name and firmware version Target microcontroller name Displays the microcontroller name Firmware version Displays the version of the microcontroller firmware Remark The Target microcontroller name and Firmware version views are refreshed whenever a command finishes executing on the target microcontroller R20UT0599EJ0400 Rev 4 00 Page 62 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 Rs 95 Command Options category This category is used to specify options for commands executed on the flash memory such as Blank Check before Erase Verify after Program and Security after Program Blank Check before EraseN9e Select whether or not to check the status of the flash memory whether or not data has been written before erasing data written to the flash memory Valid Data is era
112. fter Program Invalid Security after Program Invalid Check sum after Program Invalid File name Show the program file to program in a flash memory Cancel R20UT0599EJ0400 Rev 4 00 Page 21 of 168 2012 06 29 Renesas Flash Programmer CHAPTER3 BASIC OPERATION BASIC MODE RL78 78K V850 5 Selection of program file 1 Click the Browse button in User Data area of the program file area to open the Open File dialog box lt R gt Figure 3 8 Main Window Renesas Flash Programmer Supported ersion Ot x File Tool Microcontroller Help Microcontroller berne ti iti S S S User Data area User Boot area Browse Command AutoprocedureEP Start zi Clear Qutput Panel lt 2 gt Select sample hex in the Open File dialog box and then click the Open button to open the main window lt R gt Figure 3 9 Open File Dialog Box Open File Look in 9 hex Eemer My Recent Documents 2 Desktop My Documents My Computer LU File name sample hex D i My Network Files of type Program Wes hey mot mec R20UT0599EJ0400 Rev 4 00 Page 22 of 168 2012 06 29 Renesas Flash Programmer CHAPTER3 BASIC OPERATION BASIC MODE RL78 78K V850 6 Execute the Autoprocedure E P command 1 Click the Microcontroller menu and select the Autoprocedure E P command A chec
113. fy the power supply used for writing to the target microcontroller Figure 6 6 Power Supply Dialog Box Power Supply E Jk Power target from the emulator Supply voltage 33V 5 0V Cancel Power target from the emulator check box Select this check box if supplying power from the emulator Clear this check box if supplying power from the target system Supply voltage option button When supplying power from the tool used select a voltage of 3 3 V or 5 0 V Caution E1 supports the power supply function ln the mass production process do not use the power supply function of E1 Instead supply the power suitable for the microcontroller specifications from the target system The supply voltage from E1 is dependent on the USB power performance of the host machine so the accuracy cannot be guaranteed Clicking the OK button displays the next dialog box Clicking the Cancel or the X button returns you to the Communication Interface dialog box R20UT0599EJ0400 Rev 4 00 Page 73 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX lt R gt 6 2 5 Mode Pin at Connection dialog box This dialog box is used to select the pin to control the mode pin of the target microcontroller from ot to ob pins of E1 E20 Rs Figure 6 7 Mode Pin at Connection Dialog Box Mode Pins at Connection io5 Ind io3 io2 iol iol Pin Outputs p mi Ve
114. gram file User Data Area Selects a user data area User Boot Area Selects a user boot area Program Executes the Program command with the selected program file and area This menu item is enabled when the project is selected for manipulation and edition and the program file is selected for programming and verification Autoprocedure E P Not used 8 7 Project Settings Panel This panel allows you to check and change the project settings The Basic Setting tab and Other Setting tab are included in this panel each of which displays its specific category of settings when selected Information displayed on this panel is for the project selected for manipulation and edition Refer to 5 4 3 13 d Project Settings dialog for details Figure 8 14 Project Settings Panel Basic Settings Other Settings E Device Information File a Device Name RX600 Serie Device Information File Pat d M E Communication Interface Tool Name E Connectio Boot mode E Clock Clock Type External Resonator or Cloc Ck 4 E Baud Rate I Device Name Name of the selected device R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 118 of 168 Renesas Flash Programmer CHAPTER8 FUNCTION DETAILS FULL MODE RX 8 8 Output Panel The output panel displays the execution status of the command selected on the Microcontroller menu or the tool bar in text Up to 500 lines can be displaye
115. gramming Figure 8 13 Workspace Tree Panel E by sample 1 E fA sample_rl78 A samplel hex 5 E sample2 hex E Mm sample n lt 4 2 E sample moi 3 E sample2 mot B E sample3 mot 1 Workspace node This node represents the workspace currently opened You cannot open multiple workspaces The workspace tree has only one workspace node as its root node a Context menu of the workspace node Right clicking the workspace node displays its context menu Table 8 2 Context Menu of the Workspace Node Add Project This menu item opens the Create a new workspace dialog for adding a project in the workspace The newly added project becomes available for manipulation and edition The project that has been created is saved 2 Project nodes A project node represents a project within the workspace You can manipulate and edit one of the multiple projects maximum of 64 at a time The project that can be manipulated and edited is displayed bold and marked by Double clicking one of other project nodes makes it available for manipulation and edition Selecting User Boot Area from the context menu of a program file node displays the project node bold and marks the program file node with B a Context menu of project nodes Right clicking a project node displays its context menu Table 8 3 Context Menu of Project Nodes Set Project Active Makes the selected project available for manip
116. gress of execution is displayed on the output panel When execution is complete the result is displayed The command options after the Autoprocedure E P command has finished executing depend on the settings of the Blank Check before Erase Verify after Program Security after Program and Checksum after Program parameters under Command Options in the Other Settings tab of the Project Settings dialog box For details about these check boxes see 5 4 3 13 d lt 9 gt Command Options category Figure 5 24 Output Panel After Autoprocedure E P Command Execution Connect Start Autoprocedure E P Blank check Code flash Not blank Erase need Erasing Erase Chip PASS Program Code flash 10 20 30 40 50 60 70 80 90 100 PASS Autoprocedure E P PASS End Autoprocedure E P Disconnect 9 Set Option bytes command This command is used to specify the settings for the target microcontroller s option byte When this command is executed the settings specified by the OPBTn parameter in the Flash Options category in the Other Settings tab of the Project Settings dialog box are applied to the target microcontroller For details about the option byte settings see 5 4 3 13 d 7 Flash Options category 10 Set OCD Security ID command This command is used to specify the settings for the ta
117. gt The Basic Settings tab in the Project Settings dialog box allows you to check basic information about programming Clicking the Other Settings tab of the Project Settings dialog box displays the Other Settings tab in the Project Settings dialog box lt R gt Figure 4 11 Project Settings Dialog Box Basic Settings Tab Basic Settings Other Settings H Device Information File Device Name RX600 Series Base Device Generic Boot Device Device Information File Path CADOCUME IADMINITIMLOCALSTI E Communication Interface Tool Name El Connection Boot mode E Clock Clock Type External Resonator or Clock Frequency MHz Clock Mode 0 CKM g CKP E Baud Rate Baud Rate Specified By RFP Recommended Device Name Name of the selected device Cancel R20UT0599EJ0400 Rev 4 00 Page 30 of 168 2012 06 29 Renesas Flash Programmer CHAPTER A BASIC OPERATION BASIC MODE RX lt R gt lt R gt lt 12 gt The Other Settings tab in the Project Settings dialog box allows you to specify and check advanced information about programming For Connect Option and Disconnect Option in the Lock Bit category select Do Nothing Leave the initial values for other settings Clicking the OK button saves the project file and displays the main window Figure 4 12 Project Settings Dialog Box Other Settings Tab Project Settings EN Basic Settings Other Settings A Ba
118. hange the setting Figure 7 1 Dialog Boxes Displayed in the Startup Wizard Welcome See 5 2 1 Create a new m ool Create a new workspace See 5 2 2 Open a created workspace Open workspace See 5 2 8 Open latest workspace See 5 2 7 Communication Interface See 5 2 3 Frequency See 5 2 4 Power Supply See 5 2 5 Project Settings See 5 2 6 Main window See 5 3 R20UT0599EJ0400 Rev 4 00 Page 101 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 7 FUNCTION DETAILS FULL MODE RL78 78K V850 7 3 Main Window On the taskbar click the Start button point to All Programs Renesas Electronics Utilities Programming Tools Renesas Flash Programmer Vx xx and then click Renesas Flash Programmer Vx xx The Welcome dialog box will open Follow the instructions that appear in the wizard When setup is finished the main window is displayed Figure 7 2 Main Window lt 2 gt Tool bar Renesas Flash Programmer Supported Yersion File Microcontroller Help ALD A Tool WS t EE dk es ISL Basic Settings Other Settings l sample1 E Device Information Fie a sample1 hex File name E sample2 hex File versior sample2 E Target Interface UART ch0 E sample1 hex 5 b C uunication transfer rate 000 000bp sample2 hex Ta upp cator arget MHz nternal OSC Supply powe SO
119. hat may pose a direct threat to human life or bodily injury artificial life support devices or systems surgical implantations etc or may cause serious property damages nuclear reactor control systems military equipment etc You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application for Which it is not intended Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for which the product is not intended by Renesas Electronics You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions Further Renesas Electronics products are not subject to radiation resistance design Pleas
120. he following points This error may be displayed along with Generic device query failed m Check the baud rate Check the operating frequency of the microcontroller to see if the baud rate exceeds the allowable communication rate and if the baud rate is appropriate m Check the clock setting Check if the operating frequency of the microcontroller set in the RFP and the clock of the target board microcontroller match m Check the connection between the target board microcontroller and the PC Proper communication may not be expected when a USB RS232C converter a self made cable or the like is used E1015016 Message Unable to locate device Description This error is displayed when a communication problem occurs between the microcontroller and the RFP PC for some reason resulting in a timeout Check the following points This error may be displayed along with Generic device query failed m Check the clock setting Check ifthe operating frequency of the microcontroller set in the RFP and the clock of the target board microcontroller match R20UT0599EJ0400 Rev 4 00 Page 153 of 168 2012 06 29 lt R gt Renesas Flash Programmer APPENDIX A MESSAGES 6 7 lt R gt E1017014 Failed to set mode pin Description This error is displayed when a communication problem occurs between the microcontroller and the RFP PC for some reason resulting in a timeout The RFP allows you to set a baud rate but communi
121. he status bar display of the output panel Save Saves the entire text on the output panel to a file The Open File dialog box opens where you can specify any filename for the file saved 6 11 Clear Output Panel Button Clicking the Clear Output Panel button will delete all the text displayed on the output panel The status bar is also cleared Figure 6 45 Clear Output Panel Button Clear Output Panel R20UTO599EJ0400 Rev 4 00 Page 100 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 7 FUNCTION DETAILS FULL MODE RL78 78K V850 Rs CHAPTER 7 FUNCTION DETAILS FULL MODE RL78 78K V850 This chapter describes function details of the commands windows and dialog boxes of the full mode of RFP for the RL78 78K and V850 7 1 Introduction Make sure that the RFP package is installed For how to install the RFP package see CHAPTER 2 RFP INSTALLATION Before starting RFP make sure that the debugger and utility are not running 7 2 Starting up On the taskbar click the Start button point to All Programs Renesas Electronics Utilities Programming Tools Renesas Flash Programmer Vx xx and then click Renesas Flash Programmer Vx xx The Welcome dialog box will open Follow the instructions that appear in the wizard When setup is finished the main window is displayed The Frequency and the Power Supply dialog boxes are skipped if it is not necessary to c
122. he system drive is C C Program Files Common Files x86 Renesas Electronics CubeSuite To change the folder of the installed tools uninstall all the CubeSuite related software and the programming GUI for RFP and install them again 10 In the environment where the CubeSuite RFP E1 E20 MINICUBE2 and USB driver for USB Boot are installed the RFP E1 E20 MINICUBE2 and USB driver for USB Boot are included in the target software of the CubeSuite integrated uninstaller If you don t want to delete them remove them from the uninstallation targets R20UT0599EJ0400 Rev 4 00 Page 15 of 168 2012 06 29 Renesas Flash Programmer CHAPTER2 INSTALLATION 2 2 Uninstallation lt R gt To uninstall the RFP package RFP USB driver and device information file use Add or Remove Programs or Programs and Features on the Control Panel The CubeSuite integrated uninstaller can also be used to uninstall the RFP package 2 3 Updating RFP and Firmware The firmware is a program embedded in the microcontroller for controlling E1 E20 or MINICUBE2 Updating RFP and the firmware enables the following e Addition of newly supported functions or microcontrollers e Correction of restrictions For RFP and the firmware use of the latest version is recommended to ensure correct operation of E1 E20 and MINICUBE2 lt R gt The latest version of the firmware for RFP and MINICUBE2 and MINICUBE2 Diagnostic Tools can be checked a
123. ial_id gt When E1 or E20 is selected the serial number marked on the chassis Example 9jm000129 When USB Direst is selected the USB port number Example VID_045B amp PID_0025 6 amp 3234B9D9 amp 08 amp 3 Wait wait lt time gt Waits for the specified time lt time gt specifies the wait time unit msec range 1 2147483647 Connect to the device connect Executes the connect to the device command Disconnect from the device disconnect Executes the disconnect from the device command Blank check blankcheck lt area gt lt option gt Executes the blankcheck command areas specifies the area user data userboot all user specifies the user area data specifies the data area userboot specifies the user boot area all specifies all the area option specifies the action stoponwritten stoponblank stoponwritten if the microcontroller is not blank terminate the script execution function stoponblank if the microcontroller is blank terminate the script execution function Erase erase blocks Executes the erase command blocks specifies using either one of the following options Using block numbers Example 0 1 4 7 Using block names Example EBO EB1 EBA EBB written all written blocks will be erased device all blocks will be erased Program program Executes the program command Verify verify Executes the verify command
124. ic Boot USB Direct should be recognized Action Install the correct driver in the following steps Windows XP is used in this example 1 When a wrong driver is recognized Windows Device Manager shows the following state SS IDI x Eile Action View Help Emro p e Storage volumes A System devices Universal Serial Bus controllers Generic USB Hub Intel R 82801DB DBM USB 2 0 Enhanced Host Controller 24CD oller 24C2 nirpller 24C4 ae Ges USB Root Hub ce USB Root Hub Ges USB Root Hub Found New Hardware Wizard This wizard helps you install software for Renesas USB1653 USB Boot Mode Device If your hardware came with an installation CD E or floppy disk insert it now What do you want the wizard to do C Install the software automatically Recommended Click Next to continue lt Back Cancel R20UT0599EJ0400 Rev 4 00 Page 137 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 12 TROUBLESHOOTING 3 Select Don t search will choose the driver to install and click the Next gt button Found New Hardware Wizard Please choose your search and installation options tas S Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be inst
125. ile configuration refer to Figure B 1 RFP Folder and File Configuration in APPENDIX B RFP operation overview The following operations can be performed by using RFP The settings on the host machine are saved in an rfp ini file e Creating saving and reading workspace files e Reading program files and device information files e Target command execution e Checksum calculation for program files Rs e Creating and saving multiple project files in workspace files only full mode e Executing script commands Embedding unique codes R20UT0599EJ0400 Rev 4 00 Page 11 of 168 2012 06 29 Renesas Flash Programmer CHAPTER1 OVERVIEW 1 5 Operating Environment This section explains the following items with respect to the operating environment e Hardware environment e Software environment 1 5 1 Hardware environment 1 Host machine e PC AT compatible e Processor 1 GHz or higher RFP can be used with hyperthreaded and multi core CPUs e Main memory 1 GB or more 2 GB or more when using 64 bit Windows SC 2 GB or more recommended e Display Resolution of 1 024 x 768 or higher and 65 536 or more colors Interface USB 2 0 when using E1 E20 MINICUBE2 USB Direct Serial interface RS 232C when using COMx 2 Tools used e El e E20 e MINICUBE2 1 5 2 Software environment Windows XP 32 bit only e Windows Vista 32 bit and 64 bit e Windows 7 32 bit and 64 bit e Microsoft NET Framework 3 5 SP1 e Microsoft Visu
126. ion When the command has terminated normally li When the command has terminated abnormally R20UT0599EJ0400 Rev 4 00 Page 108 of 168 2012 06 29 Renesas Flash Programmer CHAPTER8 FUNCTION DETAILS FULL MODE RX Rs CHAPTER 8 FUNCTION DETAILS FULL MODE RX This chapter describes function details of the commands windows and dialog boxes of the full mode of RFP for RX 8 1 Introduction Make sure that the RFP package is installed For how to install the RFP package see CHAPTER 2 RFP INSTALLATION Before starting RFP make sure that the debugger and utility are not running 8 2 Starting up On the taskbar click the Start button point to All Programs Renesas Electronics Utilities Programming Tools Renesas Flash Programmer Vx xx and then click Renesas Flash Programmer Vx xx The Welcome dialog box will open Follow the instructions that appear in the wizard When setup is finished the main window is displayed The Frequency and the Power Supply dialog boxes are skipped if it is not necessary to change the setting Figure 8 1 Flow of Dialog Boxes Until the Program is Activated Welcome See 6 2 1 Create a new workspace Open a created Create a new workspace workspace See 6 2 2 Open File See 6 2 11 Communication Interface See 6 2 3 Open last workspace See 6 2 10 Power Supply t See 6 2 4
127. is connected powered and in Boot mode Clicking the OK button displays the next dialog box Rs Clicking the Cancel or the X button returns you to the Communication Interface dialog box 2 When E1 or E20 is selected the Select Emulator dialog box is displayed The name and serial number of the detected USB device are displayed Select it Figure 6 9 Select Emulator Dialog Box Select Emulator x 1 Emulator located Cancel Clicking the OK button displays the next dialog box Rs Clicking the Cancel or the X button returns you to the Communication Interface dialog box Remark This dialog box is displayed only when RFP starts up for the first time It won t be displayed for the second time and on After a restart of RFP it is displayed only for the first time and not for the second time and on R20UTO0599EJ0400 Rev 4 00 Page 75 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX Rs 3 When USB Direct is selected the Select USB Device dialog box is displayed The detected USB port number is displayed Select it R Figure 6 10 Select USB Device Dialog Box Select USB Device 1 USB device located VID 045B8PID 0025 5 amp 1 cb940ef amp 082 Clicking the OK button displays the next dialog box Rs Clicking the Cancel or the X button r
128. isplays the Frequency dialog box Rs Figure 3 3 Communication Interface Dialog Box Tock Interface UART ch0 lt 4 gt Select 1 000 000bps from the Interface Speed list box For R5F100LE the Supply Oscillator area is fixed to Internal OSC Rs Clicking the Next button displays the Power Supply dialog box in the case of E1 R Figure 3 4 Frequency Dialog Box Frequency EN Target Device Connection Interface UART chO Interface Speed Supply Oscillator Vv Gn Target Frequency nternal OSC MHz Multiply rate 1 00 R20UT0599EJ0400 Rev 4 00 Page 19 of 168 2012 06 29 Renesas Flash Programmer CHAPTER3 BASIC OPERATION BASIC MODE RL78 78K V850 Rs Rs Rs Rs Rs 5 Select the Power target from the emulator check box and then select 5 0V for Supply voltage Clicking the Next button displays the Project Settings dialog box Figure 3 5 Power Supply Dialog Box Power Supply xi Power supply from the emulator IV Power target from the emulator Supply voltage 3 3V Additional Settings E wide Voltage Mode Input Yoltage MI 6 The Basic Settings tab of the Project Settings dialog box shows the basic information about writing data Clicking the Other Settings tab of the Project Settings
129. itle and description in 6 2 10 Open latest workspace Change of Figure 6 18 Open latest workspace 6 7 Description Rev Date Page Page 4 00 Jun 29 2012 81 82 Change of description in 6 2 11 Open workspace Change of Figure 6 19 Open workspace 83 Change of description in 6 3 Main Window Change of Figure 6 21 Main Window 84 Change of description in 6 4 Menu Bar 84 85 Change of Description in 6 4 1 File menu Change of Figure 6 22 File Menu Change of Figure 6 23 Create new workspace Dialog Box Change of Figure 6 24 Open File Dialog Box 86 Addition of 6 4 2 Tool menu 87 96 Change of description in 6 4 3 Microcontroller menu Change of Figure 6 27 Microcontroller Menu Change of Figure 6 28 Flow of Setting Change with the Modify Button Change of Figure 6 29 Communication Interface Dialog Box Change of Figure 6 30 Frequency Dialog Box Change of Figure 6 31 Baud Rate Dialog Box Change of Figure 6 32 Power Supply Dialog Box Change of Figure 6 33 Mode Pins Dialog Box Change of Figure 6 34 Project Settings Dialog Box 98 6 4 4 Help menu Change of Figure 6 35 Help Menu Addition of 2 Import License 6 5 Microcontroller Area Change of Figure 6 37 Microcontroller Area 99 6 6 Program File Area Change of Figure 6 38 Program File Area Change of Figure 6 39 Open File Dialog Box 100 Change of Description in 6 9 Status Bar Change of Figu
130. k Code Flash The flash memory is accessed in block Data Flash units Start block number of Code Select the starting block when accessing code flash memory in block Flash units End block number of Code Select the ending block when accessing code flash memory in block Flash units Start block number of Data Select the starting block when accessing data flash memory in block Flash units End block number of Data Select the ending block when accessing data flash memory in block Flash units Supplied Power Displays the voltage supplied to the target microcontroller Note When an HCUHEX file is read the HCUHEX file is handled as master data As a result Chip is selected and this setting cannot be changed Remarks 1 Start block number of Code Flash and End block number of Code Flash are displayed only if Block Code Flash or Block Code Flash Data Flash is selected under Operation mode 2 Start block number of Data Flash and End block number of Data Flash are displayed only if Block Data Flash or Block Code Flash Data Flash is selected under Operation mode R20UT0599EJ0400 Rev 4 00 Page 61 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 lt R gt 7 Flash Options category This category is used to disable execution of commands on the flash memory by selecting settings such as Disable Chip Erase Disable Block Erase or Disabl
131. k mark is then placed on the left of the command and the command is assigned to the Start button Rs Figure 3 10 Main Window Renesas Flash Programmer Supported Yersion OI xi File Tool Microcontroller Disconnect to Device Microg Blank Check Useril Erase All Erase Browse Browse User H Program Comn Verify Read Set Security Checksum Autoprocedure E P r Set Option Bytes Set OCD Security ID Signature Read Get Flash options A Set Project zi Clear Output Panel lt 2 gt After clicking the Start button execute the following commands in the following order for R5F100LE Blank Check command Erase command if there are no blanks and Program command 3 When execution of the Autoprocedure E P command ends normally End Autoprocedure E P i is displayed on the output panel Remarks 1 When necessary insert the target microcontroller microcontroller to be programmed into the program adapter then execute the Autoprocedure E P command 2 When supplying Von power to the target system first turn off the power connect the target system for programming and then turn on the power and execute the Autoprocedure E P command R20UTO0599EJ0400 Rev 4 00 Page 23 of 168 2012 06 29 Renesas Flash Programmer CHAPTER3 BASIC OPERATION BASIC MODE RL78 78K V850
132. le name box A saving format S Record File mot is specified in the Save as type list box Clicking Save specifies the file name closes the dialog box and opens the Read dialog box The dialog box has the Tree tab and the Address tab Selecting either of them determines how you specify the item to be read Clicking Cancel or x closes the dialog box without specifying the file name Figure 8 8 Tree Tab of the Read Dialog Box Tree Address Region Start End Size Written Locking Select AlI E Rl RX600 Series a 2 E User Flash OxFFFCOOOO OxFFFFFFFF EBO OxFFFFFOOO OxFFFFFFFF 4K No Unlocked kk ooj OEB OxFFFFEOOO OxFFFFEFFF 4K No Unlocked OxFFFFDOOO OxFFFFDFFF Unlocked CIE OxFFFFCOOO OxFFFFCFFF 4K No Unlocked J I Absolute Image O EB4 OxFFFFBODO OxFFFFBFFE 4K No Unlocked Ces OxFFFFAOOO OxFFFFAFFF 4K No Unlocked o EB6 OxFFFF9000 OxFFFF9FFF 4K No Unlocked Clg OxFFFF8000 OxFFFFBFFF 4K No Unlocked CES OxFFFF4000 OxFFFF7FFF 16K No Unlocked Cees OxFFFFOOOO OxFFFFSFFF 16K No Unlocked QEB10 OxFFFECOOO OxFFFEFFFE 16K No Unlocked OEB11 OxFFFEBOOO OxFFFEBFFE 16K No Unlocked O EB12 OxFFFEMODO OxFFFEZFFE 16K No Unlocked sl The blocks with boxes under the Region column checked are read Absolute Image checkbox Checked When the read data are saved to a file the data are saved at the address in flash memory from which the data were read out R20UT0599EJ0400 Re
133. lly signed Have Disk Tell me why driver signing is important EEEE lt 6 gt Installation of the driver for USB boot is finished Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for e Generic Boot USB Direct Click Finish to close the wizard lt Back 5 When you forget the ID code of the RX Or when a wrong ID code is entered Action Refer to the address in the program file to which the ID code was set For details refer to the user s manual of the target device When the control code for the ID code is set so that the entire erasure is performed after entering a wrong ID code three times consecutively you can write in the flash memory after another entry into boot mode R20UTO0599EJ0400 Rev 4 00 Page 139 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 13 CAUTIONS CHAPTER 13 CAUTIONS This chapter describes cautions of RFP 13 1 Connecting Two or More E1s or E20s Applies to RX The following restriction applies when two or more E1s or E20s are connected to a single host computer If the USB cable is connected to or disconnected from an E1 or E20 or the power for an E20 is turned on or off during communication the RFP may encounter a communications error or be terminated 13 2 Manipulating the User Boot Mat Applies to RX610 If none of the valid ID codes has been set before a generic boot device is con
134. loses the dialog box without performing reading 8 Checksum command This command reads the checksum calculated in the target microcontroller and displays it on the output panel Checksums are calculated as follows Calculation method 32 bit sum method Calculation scope The user area the user boot area and the data area Figure 8 10 Output Panel after Execution of Checksum Command Getting the checksum of the device Checksum of the flash 0x03FC0000 User Flash Checksum of the flash OxO0O3FC000 User Boot Flash Checksum of the flash 0x0048AAC4 Data Flash Remark 32 bit addition is the eight lower digit of the result of adding the value of all bytes in the flash memory R20UT0599EJ0400 Rev 4 00 Page 115 of 168 2012 06 29 Renesas Flash Programmer CHAPTER8 FUNCTION DETAILS FULL MODE RX 9 Set Project Selecting Set Project opens a wizard type dialog box that guides you through the process of changing the project basic settings Refer to 6 4 3 5 Project Settings for details Remark Project Settings is invalid when the device is connected to a target microcontroller Select Disconnect To Device from the Microcontroller menu to enable the setting 8 4 4 Help menu Clicking the Help menu displays the following pull down menu Refer to 6 4 4 for details of each menu Figure 8 11 Help Menu Renesas Flash Programmer Supported Yersion File Tool Microcontroller A 9 L1 versio
135. m file has been specified E1011002 Unique code a conflict occurs at Oxxxxx This error is displayed when data already exists where the unique code is tried to be written Unique code invalid header xxxx Unique code invalid area name xxxx Unique code unique code address is outside the xxxx area Unique code unique code acquisition failed Unrecognised code file syntax The project information is not valid E1091002 Check whether the file or folder has been set to read only Description This error occurs when the program fails to save project information Make sure that the folder or file is not read only Description This error occurs when the program fails to parse a file Action by user Specify a project file that is compatible with RFP E1092007 The project information cannot be restored Description This error occurs when the program fails to restore or convert project information It will also occur if the program fails to extract the structure of a project to copy This error is also output if a project file created by a newer RFP than the one currently used is selected This error occurs when a file could not be opened Action by user Make sure that the file exists and is not corrupt Check the access privileges to the file E1091026 Invalid workspace name E1093001 The specified file could not be opened The characters lt gt and cannot be used to specify workspace names Action by user Remove the
136. mode select switch might be specified incorrectly Action 1 Check the target microcontroller and the mode select switch setting Cause 2 If MINICUBE2 is used the 78K0 OCD board might be connected Action 2 Remove the 78K0 OCD board Cause 3 The connection between the target cable and target system might be wrong Action 3 1 If 78K or V850 is used connect the TxD and RxD signals from the target cable with TxD SO and RxD SI of the target microcontroller so that signal input output are consistent Tool used Target microcontroller TxD TxD SO RxD RxD SI 2 The signal lines used for programming must be isolated from other devices using jumper switches or the like otherwise malfunction might occur Cause 4 The wrong microcontroller name might be selected in the Create a new workspace dialog box Action 4 Select the same name as that of the target microcontroller Cause 5 No clock might be able to be supplied to the target microcontroller Action 5 1 Check if the settings in the Supply Oscillator dialog box are correct For the correct settings see the user s manual of the target microcontroller lt 2 gt Check the clock supply on the target system Cause 6 Power might not be supplied normally to the target microcontroller Action 6 1 Check the power supply setting 2 Check that the power is supplied on the target system If the power is supplied from the tool used a power shortag
137. mprove the writing quality e Design circuits as described in the user s manual for the target microcontroller E1 E20 and MINICUBE2 e Use the microcontroller and RFP as described in the user s manual of the target microcontroller RFP E1 E20 and MINICUBE2 e Make sure that the power supplied to the target microcontroller is stable 13 Supported Microcontrollers Microcontrollers supported by RFP are listed on the following websites e Japanese http japan renesas com rfp e English http Awww renesas com rfp R20UT0599EJ0400 Rev 4 00 Page 10 of 200 2012 06 29 Renesas Flash Programmer CHAPTER1 OVERVIEW 14 System Overview An overview of the RFP system is illustrated in the following diagram Figure 1 1 RFP Connection Image Product package RFP Te Targe system Device information file USB cable Target cable USB driver Utility Workspace file lt R gt Project file Program adapter MINICUBE2 Program file Scrip file Unique code file Serial cable RS 232C rfp ini USB cable USB Direct Tage system Note To write data to the target system by using the serial interface incorporated in the host machine a writing circuit is required in the target system See the sample circuit shown on the following websites e Japanese http japan renesas com rfp e English http www renesas com rfp Remark Do not modify or delete the folder and file configuration of the RFP For the folder and f
138. n Information Import License 8 5 Tool Bar The tool bar lists the buttons for the commands of the Microcontroller menu Clicking any of the buttons executes the corresponding command Some buttons become enabled or disabled depending on the settings Placing the mouse cursor over a tool bar button displays a tooltip Refer to 8 4 3 for details of each command Figure 8 12 Tool Bar ss a PL DEAESs SAK S Mi 1 2 3 4 5 6 7 8 9 Table 8 1 Tool Bar 1 Executes the Connect To Device 2 Executes the Disconnect To Device 3 Executes the Blank Check command 4 Executes the Erase command 5 Executes the Program command 6 Executes the Verify command 7 Executes the Read command 8 Executes the Checksum command Opens a wizard type dialog box for changing the project basic settings 9 Remark This button is invalid when the device is connected to a target microcontroller Select Disconnect To Device to enable the button R20UT0599EJ0400 Rev 4 00 Page 116 of 168 2012 06 29 Renesas Flash Programmer CHAPTER8 FUNCTION DETAILS FULL MODE RX 8 6 Workspace Tree Panel This panel displays the tree format representation of the workspace elements workspace nodes project nodes and program file nodes allowing you to make project operations such as adding and deleting and program file operations such as adding deleting and pro
139. n byte settings are not applied after writing is complete Set OCD Security ID after Program Select whether or not to apply the on chip debug security ID specified in the Flash Options category after writing to the flash memory is complete Valid The on chip debug security ID is applied after writing is complete Invalid The on chip debug security ID is not applied after writing is complete R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 63 of 168 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 Reset Pin as Low Select whether or not to set the reset pin to the low level when disconnecting the device Valid The reset pin is set to low level Invalid The reset pin is set to high impedance Program file size monitor Halts execution of programming command if the program file size function exceeds the programmable range Valid If the address range of the downloaded program file exceeds the range specified for Operation mode in the Target category and the Program Verify or Autoprocedure E P command is executed the error message Error E1002018 HEX file exceeds target device flash range is displayed on the output panel and command execution is halted Invalid The message Truncate the HEX File is displayed on the output panel and command execution continues Note When an HCUHEX file
140. n must be selected Table 10 1 Script Commands Function Script command Description Specify a log file log lt filename gt Specifies a log file For more details see 9 5 filename the full path of the log file If the full path contains spaces use double quotation marks to enclose the full path Specify a workspace workspace filename Specifies a workspace file The script execution function uses an active project and an active program file filename the full path of the workspace file If the path contains spaces use double quotation marks to enclose the path R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 125 of 168 Renesas Flash Programmer CHAPTER 10 SCRIPT EXECUTION FUNCTION RX Specify a program file programfile filename lt area gt Specifies a program file When multiple files are specified the last file is active filename the full path of the program file If the path contains spaces use double quotation marks to enclose the path areas specifies the area userdata userboot userdata specifies the user and data area userboot specifies the user boot area Specify the serial number serial connection serial id Specifies the serial number of the tool used connection specifies the connection method e1 e20 usb e1 specifies E1 e20 specifies E20 usb specifies USB Direct lt ser
141. n the target board may not work properly As a preventive measure use a PC equipped with a RS 232 port or use an E1 E20 emulator that can be connected with a PC via USB Deg umbo SSCSCSC C SCSCS E1015011 Message Unable to close comms Description This error is displayed when the communication port cannot be recognized Check the port setting of your PC Frequently reported cases of this error include the PC has no RS232C port and 1 a commercially available USB RS232C converter is used or 2 a self made conversion circuit board using a USB serial conversion IC is used In both above cases communication control timing is slightly slower because unlike the case using a built in RS 232 port on the PC the port is driven via USB and timing adjustment between the RFP and the microcontroller on the target board may not work properly As a preventive measure use a PC equipped with a RS 232 port or use an E1 E20 emulator that can be connected with a PC via E1015012 Comms is already closed R20UT0599EJ0400 Rev 4 00 Page 152 of 168 2012 06 29 Renesas Flash Programmer APPENDIX A MESSAGES 5 7 Description This error is displayed when a communication problem occurs between the microcontroller and the RFP PC for some reason resulting in a timeout The RFP allows you to set a baud rate but communication cannot be done if the specified baud rate does not match the actual setting of the target board microcontroller Check t
142. n this chapter The operating conditions are as follows Target microcontroller R5F100LE RL78 G13 Target system Program adapter Tool used E1 Rs Interface UART cho Rs Interface speed 1 000 000 bps lt R gt Frequency None internal oscillation clock used Power supply E1 5 0 V Operating mode Chip Flash option Not used Operation option Blank Check before Erase enabled The steps described in this chapter are as follows 1 Installation 2 System connection 3 Connection of target system 4 Creation of workspace 5 Selection of program file 6 Execution of Autoprocedure E P command 7 System shutdown 1 Installation See CHAPTER 2 INSTALLATION and install in the host machine 2 System connection Connect the USB connector of RFP to the USB port on the host machine using a USB cable 3 Connection of target system Connect the target cable of the tool used to the target system Remark Connect the target system before supplying Voo power from the target system R20UT0599EJ0400 Rev 4 00 Page 17 of 168 2012 06 29 Renesas Flash Programmer CHAPTER3 BASIC OPERATION BASIC MODE RL78 78K V850 4 Creation of workspace lt R gt lt 1 gt On the taskbar click the Start button point to All Programs Renesas Electronics Utilities Programming Tools Renesas Flash Programmer Vx xx and then click Renesas Flash Programmer Vx xx The Welcome dialog box will op
143. n with the Modify Button Communication interface Frequency Power supply Project settings lt R gt a Communication Interface dialog box lt R gt This dialog box is used to select the tool used and the interface used for communication between the selected tool and the target microcontroller lt R gt Figure 5 27 Communication Interface Dialog Box Toot 7 Interface UART chO Next Cancel For details about each item see 5 2 3 Clicking the Next button displays the next dialog box Clicking the Cancel or the X button returns you to the main window R20UT0599EJ0400 Rev 4 00 Page 56 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 lt R gt b Frequency dialog box This dialog box is used to specify the communication speed and the clock lt R gt Figure 5 28 Frequency Dialog Box Frequency E M Target Device Connection Interface UART cho Interface Speed M Supply Oscillator M Gn Target Frequency Internal OSC MHz Multiply rate 1 00 Back Next Cancel For details about each item see 5 2 4 Clicking the Back button displays the previous dialog box Clicking the Next button displays the next dialog box Clicking the Cancel or the X button returns you to the main window lt R gt c Power Supply dialog box lt R gt This dialog box is used t
144. nd obtained at the following websites Japanese http japan renesas com rfp English http www renesas com rfp How to check the firmware version and configure and update your system are described below lt R gt For E1 and E20 check that RFP has the correct E1 and E20 firmware versions If the firmware does not match the Renesas Flash Programmer dialog box will open Click the Yes button to update lt R gt Figure 2 1 Updating Firmware Confirmation Q1017001 EN RFP will now update the E1 E20 firmware to a newer version to allow connection to this device current Adaptor Software Level 1 version 1 00 00 000 new version 1 01 00 000 Click OK to continue i Cancel For MINICUBE2 see MINICUBE2 Diagnostic Tools User s Manual U18588E for how to check the firmware version and configure and update your system R20UTO0599EJ0400 Rev 4 00 Page 16 of 168 2012 06 29 Renesas Flash Programmer CHAPTER3 BASIC OPERATION BASIC MODE RL78 78K V850 lt R gt CHAPTER 3 BASIC OPERATION BASIC MODE RL78 78K V850 Rs This chapter describes the operation method by using the RL78 as the target microcontroller as an example to help you understand a series of basic operations with the basic mode of RFP for the RL78 78K and V850 This chapter covers how to start the system execute the Autoprocedure E P command and write the target microcontroller e Series of operations described i
145. nected i e the device is not protected manipulation of the user boot mat gets disabled on completion of the connection To enable manipulation of the user boot mat set a valid ID code before connecting the generic boot device R20UT0599EJ0400 Rev 4 00 Page 140 of 168 2012 06 29 Renesas Flash Programmer APPENDIX A MESSAGES APPENDIX A MESSAGES A 1 Message Format Messages are displayed in the internal error fatal error selection and warning dialog boxes and on the output panel Figure A 1 Internal Error Dialog Box Error C1710002 2 jJ Affile is exists already Do you want to continue i Cancel Figure A 4 Warning Dialog Box Warning W1001008 A Caution When Boot block cluster reprogramming is disable boot block cannot be erased and programmed any more i Cancel Error E 1002001 No response from Target Microcontroller FLMD en End Blank Check Disconnect R20UT0599EJ0400 Rev 4 00 Page 141 of 168 2012 06 29 Renesas Flash Programmer APPENDIX A MESSAGES lt R gt A3 Messages Displayed in Internal Error Fatal Error Selection and Warning Dialog Boxes Common 1 2 C1090002 Failed to read the necessary DLL Action by user Restart RFP If this does not resolve the problem reinstall RFP E1011001 Invalid Program File Description This error is displayed when the program file is invalid Make sure that the file format is supported and a valid progra
146. nfirmation Dialog Box Change of Figure 4 9 Frequency Dialog Box Change of Figure 4 10 Baudrate Dialog Box Change of Figure 4 11 Project Settings Dialog Box Basic Settings Tab Change of Figure 4 12 Project Settings Dialog Box Other Settings Tab Change of Figure 4 13 Main Window Change of Figure 4 14 Open File Dialog Box Change of Figure 4 15 Main Window Change of Figure 4 16 Program Command Execution Results 36 Change of the title and description in CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 Change of description in 5 2 Starting Up Change of Figure 5 1 Dialog Boxes Displayed in the Startup Wizard 37 Change of description in 5 2 1 Welcome dialog box Change of Figure 5 2 Welcome Dialog Box 38 Change of description in 5 2 2 Create new workspace dialog box Change of Figure 5 3 Create new workspace Dialog Box 4 7 Description Rev Date Page Summary 4 00 Jun 29 2012 39 Change of the title and description in 5 2 3 Communication Interface dialog box Change of Figure 5 4 Communication Interface Dialog Box 40 41 Change of the title 5 2 4 Frequency dialog box Change of Figure 5 6 Frequency Dialog Box Change of description and change of Figure 5 7 Target Device Connection Area 43 Change of the title and description in 5 2 5 Power Supply dialog box Change of Figure 5 9 Power Supply Dialog Box 45 Change
147. ng RFP memory product whose flash memory is pre written by Renesas Electronics HCU R20UT0599EJ0400 Rev 4 00 Page 13 of 168 2012 06 29 Renesas Flash Programmer CHAPTER2 INSTALLATION CHAPTER 2 INSTALLATION This chapter describes the following items e Installation e Uninstallation e Updating RFP and firmware 2 1 Installation lt R gt To install the product package RFP USB driver and device information file insert the CD into the host machine to start the installer Install as instructed by the installer program After the product package is installed the folders are organized as follows Dech NProgram Files Folder structure for which installation is specified i Renesas Electronics I l Programming Tools Folder where RFP device information files documents are Flash Programmer V1 01 and utilities are stored NRenesas Flash Programmer V1 02 Refer to Figure B 1 RFP Folder and File i Configuration in APPENDIX B CubeSuite Drivers E SeriesUSB Folder where the USB driver for E1 and E20 is stored MINICUBE2 Folder where the USB driver for MINICUBE2 is stored 32 bit Windows USB Driver x64 Folder where the USB driver for MINICUBE2 is stored 64 bit Windows lt R gt HMSEUSB Folder where the USB driver TYPE A for USB boot is stored l R20UT0599EJ0400 Rev 4 00 Page 14 of 168 2012 06 29 Renesas Flash Programmer CHAPTER2 INSTALLATION 2 1 1 lt
148. ngs dialog box is set to False remove the target system after executing Disconnect To Device lt R gt Caution If an error occurs during the above procedure see CHAPTER 12 TROUBLESHOOTING and APPENDIX A MESSAGES Also see the user s manual of the tool used and execute diagnostic tests If the above still does not resolve the problem see the FAQ at http www renesas com supp or contact Renesas via the Renesas website http www renesas com contact R20UT0599EJ0400 Rev 4 00 Page 35 of 168 2012 06 29 Rs Ro Rs Rs Rs Ro Ro Rs Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 This chapter describes function details of the commands windows and dialog boxes of the basic mode of RFP for the RL78 78K and V850 5 1 Introduction Make sure that the RFP package is installed For how to install the RFP package see CHAPTER 2 RFP INSTALLATION Before starting RFP make sure that the debugger and utility are not running 5 2 Starting up On the taskbar click the Start button point to All Programs Renesas Electronics Utilities Programming Tools Renesas Flash Programmer Vx xx and then click Renesas Flash Programmer Vx xx The Welcome dialog box will open Follow the instructions that appear in the wizard When setup is finished the main window is displayed The
149. nnection io5 io4 iol Pin Outputs Li mi m 0x14 Pin Setting E mi Tm 0x04 High WARNING Incorrect settings could damage your hardware SEH Remark For the io0 to io5 pins of E1 refer to Figure B 3 E1 and E20 Pins RX in APPENDIX B lt 6 gt Check that the board is connected powered and in Boot mode Clicking the button displays the Select Emulator dialog box lt R gt Figure 4 6 Confirmation Dialog Box Confirmation Q1010002 EI 9 RFP will now attempt to connect to your device e J Please ensure the board is connected powered and in Boot mode lt R gt lt 7 gt The name and serial number of the detected Emulator are displayed Select it The serial number is printed on the chassis Clicking the OK button establish connection with the device and displays the Query Generic Device dialog box Figure 4 7 Select Emulator Dialog Box xi 1 Emulator located R20UT0599EJ0400 Rev 4 00 Page 28 of 168 2012 06 29 Renesas Flash Programmer CHAPTER4 BASIC OPERATION BASIC MODE RX 8 A query for the target microcontroller is performed Rs Clicking the OK button displays the Frequency dialog box Figure 4 8 Query Generic Device Dialog Box Query Generic Device x Query Generic Device xj Adjustment of Baud Rate Adjustment of Baud Rate v Sending Supported Devices Inquiry v Sending Supported Devices Inquiry Selecting Devi
150. o specify the power supply and other options used for writing to the target microcontroller lt R gt Figure 5 29 Power Supply Dialog Box Power Supply xi Power supply from the emulator DV Power target from the emulator Supply voltage 3 3V BIM Additional Settings E Wide Voltage Mode Input Yoltage MI Back Next Cancel For details about each item see 5 2 5 Clicking the Back button displays the previous dialog box Clicking the Next button displays the next dialog box Clicking the Cancel or the X button returns you to the main window R20UT0599EJ0400 Rev 4 00 Page 57 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 Rs d Project Settings dialog box Rs This dialog box is used to check and change the project settings The dialog box has two tabs Basic Settings and Other Settings Different categories of settings are displayed depending on the tab you select lt R gt Figure 5 30 Project Settings Dialog Box Other Settings E Device Information File File name R5F100LE pr5 File version 1 11 D Target Interface UART chO ommunication transfer rate 1 000 000bps llator Target Fr MHz Internal OSC 1 00 DIV ier D Using Tool Tool name E Device Information File Modify Complete Cancel lt
151. of the title and description in 5 2 6 Project Settings dialog box Change of Figure 5 10 Project Settings Dialog Box 45 46 Change of the title and description in 5 2 7 Open latest workspace Change of Figure 5 11 Open latest workspace 5 2 8 Open workspace Change of Figure 5 12 Open workspace 47 Change of description in 5 3 Main Window Change of Figure 5 14 Main Window 48 Change of description in 5 4 Menu Bar 48 49 Change of description in 5 4 1 File menu Change of Figure 5 15 File Menu Change of Figure 5 16 Create a new workspace Dialog Box Addition of 2 Open a workspace 50 Addition of 5 4 2 Tool menu 51 64 Change of description in 5 4 3 Microcontroller menu Change of Figure 5 20 Microcontroller Menu Change of Figure 5 25 Items Read by the Get Flash options Command Change of Figure 5 26 Flow of Setting Modification with the Modify Button Change of Figure 5 27 Communication Interface Dialog Box Change of Figure 5 28 Frequency Dialog Box Change of Figure 5 29 Power Supply Dialog Box Change of Figure 5 30 Project Settings Dialog Box 65 5 4 4 Help menu Change of Figure 5 31 Help Menu Addition of 2 Import License 68 Change of description in 5 10 Output Panel 5 7 Description Rev Date Page Page 4 00 Jun 29 2012 69 Change of the tite and description in CHAPTER 6 FUNCTION DETAILS Basic Mode RX
152. on The Lock Blocks dialog box is displayed on disconnection of a microcomputer that supports lock bits Action by user Select either Lock Blocks or Do Nothing for Disconnect Option in the Lock Bit category below the Other Settings tab in the Project Settings dialog box Confirmation dialog box Condition The Confirmation dialog box is displayed when the program file exceeds the capacity of the flash ROM at the time of writing Action by user Change the setting of File Over Warning to False in the Flash Program Options category under the Other Settings tab in the Project Settings dialog box R20UT0599EJ0400 Rev 4 00 Page 129 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 11 UNIQUE CODE EMBEDDING FUNCTION This chapter explains the following items about the unique code embedding function CHAPTER 11 UNIQUE CODE EMBEDDING FUNCTION e Overview e Unique code setting dialog box e Unique code file 11 1 Overview The unique code embedding function embeds a unique code in the specified area in the loaded program file To enable this function describe unique codes and a specified area in the unique code file and configure the setting in the Unique code setting U dialog box A unique code file can specify one specified area and multiple unique codes Each unique code has an index When Program command or Autoprocedure command for RL78 78K V850 only finishes normally the ind
153. on in CHAPTER 2 INSTALLATION Deletion of 2 1 Obtaining Change of description in 2 1 Installation 15 Change of description in 2 1 1 Notes on installation 7 16 Change of description in 2 2 Uninstallation Change of description in 2 3 Updating and Firmware Change of Figure 2 1 Updating Firmware 3 7 Description Rev Date Page Summary 4 00 Jun 29 2012 17 24 Change of the title and description in CHAPTER 3 BASIC OPERATION Basic Mode RL78 78K V850 Change of Figure 3 1 Welcome Dialog Box Change of Figure 3 2 Create new workspace Dialog Box Change of Figure 3 3 Communication Interface Dialog Box Change of Figure 3 4 Frequency Dialog Box Change of Figure 3 5 Power Supply Dialog Box Change of Figure 3 6 Basic Settings Tab of the Project Settings Dialog Box Change of Figure 3 7 Other Settings Tab of the Project Settings Dialog Box Change of Figure 3 8 Main Window Change of Figure 3 10 Main Window Change of Figure 3 11 Autoprocedure E P Command Execution Results 25 35 Change of the title and description in CHAPTER 4 BASIC OPERATION BASIC MODE RX Change of Figure 4 1 Welcome Dialog Box Change of Figure 4 2 Create new workspace Dialog Box Change of Figure 4 3 Communication Interface Dialog Box Change of Figure 4 4 Power Supply Dialog Box Change of Figure 4 5 Mode Pin at Connection Dialog Box Change of Figure 4 6 Co
154. ox is used to create a new workspace lt R gt Figure 5 3 Create new workspace Dialog Box 1 gt Microcontroller All 2 gt Filter 3 Using Target Microcontroler Device Name Information R5F1OOLE RL78 G13 R5F100LF RL78 G13 R5F1OOLG RL78 G13 RSF100LH RL78 G13 RS5F100LJ RL78 G13 R5FIOOLK RL78 613 R5F100LL RL78 G13 R5F100MF RL78 G13 R5F100MG RL78 G13 R5F100MH RAL78 G13 R5F100MJ 4 Workspace Name sample 5 Project Name Lage 6 gt Folder D o Browse Next Cancel 1 Microcontroller list box Select All Generic Boot Device V850 RL78 or 78K to narrow down the microcontrollers that can be selected in the Using Target Microcontroller list box 2 Filter box Enter a character string that matches the character strings displayed in the Using Target Microcontroller list box to narrow down the microcontrollers that can be selected in the Using Target Microcontroller list box lt R gt 3 Using Target Microcontroller list box Select the target microcontroller to be used 4 Workspace Name box Enter the workspace name in this box lt R gt 5 Project Name box Enter the project name in this box R20UTO0599EJ0400 Rev 4 00 Page 38 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 6 Folder box Specify a folder in which
155. quired for writing programs to the flash memory in the target microcontroller These files have the extension prm pr5 or fcf Do not change the data in the device information files If the data is changed RFP might not operate properly Workspace file The workspace is where projects are stored There is always at least one project in the workspace Some workspaces allow multiple projects to be registered In RFP workspace files have the extension rws Project file Project files store the data required to write programs In RFP a project file stores the settings related to the programming environment such as target microcontroller settings and command option specifications In RFP project files have the extension rpj OCD security ID Signature A security feature related to on chip debugging of a microcontroller Information about the microcontroller such as the microcontroller name and firmware version Flash options General term for security settings rewrite protection settings reset vector handling function settings option byte settings and on chip debug security ID settings Option data General term for flash options wide voltage mode and full speed modell HEX file Program file without option data HCUHEX file A program file that integrates option data and that is generated by using the HEX Consolidation Utility HCU which is used to generate ROM code for flash m
156. r Group Device Name Information Generic Boot Device W850E MA3 UPD70F3134A Device version ES2 0 or later V850E MA3 UPD 70F3134B Device version ES2 0 or later V850E A 7 UPD 70F3184 WV85DE 144 UPD70F3186 V850E SJ3 H UPD 70F3474 For CSIBO CSIBO HS UARTAQ V850E SJ3 H UPD70F3474 For CSIB3 CSIB3 HS UARTAQ V850E SJ3 H UPD 70F34744 For CSIBO CSIBO HS UARTAQ W85DE 5J3 H UPD70F3474A For CSIB3 CSIB3 HS UARTAQ V850E 5J3 H UPD70F3474B For CSIBO CSIBO HS UARTAO W85DE 5J3 H UPD 70F3474B For CSIB3 CSIB3 HS UARTAQ Workspace Name sane Project Name Lange Folder upo Browse Next Cancel lt R gt 2 Open a workspace Selecting this option opens the Open File dialog box in which you can open a workspace created before Save the project file that has been created For the items in the dialog box see 6 2 11 R20UT0599EJ0400 Rev 4 00 Page 84 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX lt R gt Figure 6 24 Open File Dialog Box Open File Look in O sample D sample L 2 BE My Recent Documents My Documents a File name sample TIS My Network Files of type Workspace file for DEFI nal Cancel I R 3 Exit Exit terminates RFP RFP can also be terminated by clicking the X button on the right end of the title bar in the main window When RFP is
157. r two digits MM minute two digits SS second two digits mmm millisecond three digits R20UT0599EJ0400 Rev 4 00 Page 127 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 10 SCRIPT EXECUTION FUNCTION RX 2 Saved log file example 23 Apr 12 12 30 14 455 workspace d rfp sample test sample sample rws 23 Apr 12 12 30 18 724 log d rfp sample test sample log 23 Apr 12 12 30 18 739 programfile d nex rx sample mot userdata 23 Apr 12 12 30 18 740 serial e1 9jm000129 23 Apr 12 12 30 18 782 connect External Resonator or Clock 12 5000MHz Clock mode 0 CKM 8 CKP 4 Connected device RX600 Series Tool used E1 Connection method Boot mode No problem with adapter version Current E1 E20 version Adaptor Software Level 0 Version bundled with the RFP 1 00 00 000 In order to execute the RFP version 1 00 00 000 is required No problem with adapter version Current E1 E20 version Adaptor Software Level 1 Version bundled with the RFP 1 01 00 000 In order to execute the RFP version 1 01 00 000 is required E1 E20 configuration data downloaded Starting device boot sequence Connecting at 9600bps Generic Boot device detected Device selection command sent Device selection device selected code 7003 Clock mode selection command sent Clock mode selection clock selected code 0 Baud rate changing to 1562500bps Baud rate changed to 1562500bps ID code Upper 8 bytes 0x45
158. r version to allow connection to this device n current s version s new version s n nClick OK to continue Q1017002 Message RFP will now update the E1 E20 firmware to an earlier version to allow connection to this device n current s version s required version s n nClick OK to continue W1010005 The entered communication speed is out of range Cannot connect at this speed W1010006 Timeout must be set between 1 and 50 seconds R20UT0599EJ0400 Rev 4 00 Page 154 of 168 2012 06 29 Renesas Flash Programmer APPENDIX A MESSAGES 7 7 lt R gt W1010007 The downloaded xxxx file contains data that exceeds the flash ROM size of the xxxx device W1010008 Data cannot be read from the specified address because it is outside the flash area W1010009 Data at Oxxxxx does not match gt file Oxxxxx read Oxxxxxx W1017002 Updating of the firmware has been completed W1017003 Update cancelled Those messages are displayed in the Output Panel only R20UT0599EJ0400 Rev 4 00 Page 155 of 168 2012 06 29 Renesas Flash Programmer APPENDIXB SUPPLEMENTARY INFORMATION APPENDIXB SUPPLEMENTARY INFORMATION Rs Figure B 1 RFP Folder and File Configuration Folder File Renesas Flash Programmer V2 xx Communi dll FeaturelnfoRT cnf FFWE20FDT dll Flash_ProtC dll GenericQuery dll MainFrameAddin dll monpprog s monpprog ver0400 s MultiLanguage dll RComms dll RF
159. range 1 2048 integer Unique code declaration index data Declares the unique code data starts at the next line Index and unique code index unique code Specifies the Index and unique code Maximum 17280 index the index is specified range 0 4294967295 integer unique codes the unique code is specified big endian format with specified format and size R20UT0599EJ0400 Rev 4 00 Page 132 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 12 TROUBLESHOOTING CHAPTER 12 TROUBLESHOOTING This chapter explains how to troubleshoot RFP Remark Using the diagnostic tool the user can find out why RFP does not run normally such as due to a defect in the tool used or problems in other hardware For how to use the diagnostic tool see the user s manual of the tool used 12 1 Problems During Startup This section explains how to troubleshoot problems that might occur in the process from installation to startup 1 When the tool is connected to the host machine via a USB interface the driver is not recognized by Plug and Play Cause The USB connector might not be inserted properly into the USB port of the host machine Action Check that the USB connector is fully inserted into the USB port of the host machine Alternatively disconnect the USB connector and then insert the USB connector again after a while 2 The USB driver file cannot be found at the specified location Cause
160. rd is selected Lee This error is the unable to set baud rate error serial baud rate error too large that occurs when the baud rate is changed In Setting Clock Clock supply and Multiplier for the main clock and peripheral clock must be entered The most frequently reported errors in those settings are regarding the multiplier of the peripheral clock For those clock settings see the hardware manual of the microcontroller Also check the clock of your target board microcontroller E1014013 Changing baud rate Input clock error Description This error is displayed when the input frequency setting in Setting Clock exceeds the operating range of the microcontroller In Device Setting Input clock Multiplier for the main clock and Multiplier for the peripheral clock must be entered The most frequently reported errors in those settings are regarding the multiplier of the peripheral clock For those clock settings see the hardware manual of the microcontroller Also check the clock of your target board microcontroller E1014014 Changing baud rate Operating frequency error Description This error is displayed when the clock setting does not meet the operating frequency specification of the microcontroller Based on the input conditions input frequency and multiplier from the RFP only a range check calculation only for operating frequency is performed in the device side Check the input conditions input frequency
161. re 6 43 Status Bar Addition of Table 6 1 List of Status Bar Display 101 Addition of description in 6 10 Output Panel Change of Figure 6 44 Output Panel 103 112 Addition of CHAPTER 7 FUNCTION DETAILS Full Mode RL78 78K V850 113 124 Addition of CHAPTER 8 FUNCTION DETAILS Full Mode RX 125 128 Addition of CHAPTER 9 SCRIPT EXECUTION FUNCTION RL78 78K V850 129 134 Addition of CHAPTER 10 SCRIPT EXECUTION FUNCTION RX 135 137 Addition of CHAPTER 11 UNIQUE CODE EMBEDDING FUNCTION 7 7 Description Rev Date Page Page 4 00 Jun 29 2012 146 147 Change of the title and description of APPENDIX A Messages A 2 Messages Displayed in Internal Error Fatal Error Selection and Warning Dialog Boxes Common 149 Change of description in A 3 Messages Displayed in Fatal Error Selection and Warning Dialog Boxes RL78 78K V850 154 160 Change of the title and description in A 4 Messages Displayed in Fatal Error Selection and Warning Dialog Boxes RX 161 APPENDIX B SUPPLEMENTARY INFORMATION Change of Figure B 1 RFP Folder and File Configuration Renesas Flash Programmer User s Manual Publication Date Rev 4 00 Jun 29 2012 Published by Renesas Electronics Corporation LENESAS SALES OFFICES Renesas Electronics Corporation http www renesas com Refer to http www renesas com for the latest
162. ress is displayed in the output panel during command execution The result is displayed when the command finishes The Program command is executed in accordance with the settings of Readback Verification All Erase Before Program Request Checksum and File Over Warning of the Flash Program Options category in the Other Settings tab of the List of Settings dialog box Refer to 6 4 3 5 f lt 8 gt Flash Program Options category for details Remark Executing the Program command first erases blocks that have data and then starts writing To erase all blocks specify True for All Erase Before Program of the Flash Program Options category in the Other Settings tab of the Project Settings dialog box 6 Verify command This command verifies the program file selected from the program file area and the data written in the flash memory and displays the verification result 7 Read command This command reads the specified flash memory block Executing the Read command opens the Save As dialog box R20UTO0599EJ0400 Rev 4 00 Page 113 of 168 2012 06 29 Renesas Flash Programmer CHAPTER8 FUNCTION DETAILS FULL MODE RX Figure 8 7 Save As Dialog Box Save As HME Save in lo hex DI Q Si mm My ecent Documents Desktop o My Documents E sr My Computer el tee Keen Zl e My Network Save as type S Record Files mot Cancel Places Enter a filename in the Fi
163. rget microcontroller s on chip debug security ID When this command is executed the settings specified by the OCD Security ID parameter in the Flash Options category in the Other Settings tab of the Project Settings dialog box are applied to the target microcontroller For details about the on chip debug security ID settings see 5 4 3 13 d 7 Flash Options category 11 Signature Read command This command is used to read the target microcontroller s product information such as the microcontroller name and flash memory information The read result is displayed in the output panel R20UT0599EJ0400 Rev 4 00 Page 54 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 12 Get Flash options command This command is used to read the settings for the flash options for the target microcontroller and displays the result Rs under the Flash Options category in the Other Settings tab of the Project Settings dialog box When this command is enabled execute this command before the Set Security command Set Option bytes command or Set OCD Security ID command the settings for the flash option settings can thus be checked For details about the flash option settings see 5 4 3 13 d 7 Flash Options category Caution When an HCUHEX file is read the HCUHEX file is handled as master data As a result the flash options specified in the microcontroller can be che
164. rocontroller menu is executed lt R gt Figure 6 43 Status Bar lt R gt Table 6 1 List of Status Bar Display Immediately after start of the command or when the clear button of the output panel is clicked B USY During the command execution PASS When the command has terminated normally ERROR When the command has terminated abnormally R20UT0599EJ0400 Rev 4 00 Page 99 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX 6 10 Output Panel The output panel displays the execution status of the command selected on the Microcontroller menu in text Up to 500 lines can be displayed If the text exceeds 500 lines lines will be deleted starting from the first line Rs Figure 6 44 Output Panel Operation on User Flash Data programmed at the following positions OxFFFCOOOO OxFFFFFFFF Size 0x00040000 256 K programmed in 6 seconds Operation on Data Flash Data programmed at the following positions Ox00100000 Ox00107FFF Size 0x00008000 32 K programmed in 1 seconds Image written to device Disconnecting Disconnected lt R gt a Output Panel Context Menu Right clicking the output panel displays a context menu lt R gt Table 6 1 Output Panel Context Menu Copy Copies the text selected on the output panel to the clip board Select All Selects the entire text on the output panel Clear Clears the entire text and t
165. rsssnnannnnnnnnannnannnnnannnnnennnnnennnaannnnnnnnnnnnnaanan 147 A 3 Messages Displayed in Fatal Error Selection and Warning Dialog Boxes RL78 78K E 149 AA Messages Displayed in Fatal Error Selection and Warning Dialog Boxes RX 154 APPENDIX B SUPPLEMENTARY INFORMATION s s s essssssssnentanns 161 TLENESAS Renesas Flash Programmer E ev 4 Flash memory programming software 2012 06 29 CHAPTER1 OVERVIEW R Renesas Flash Programmer hereafter referred to as RFP is software that erases writes and verifies programs on the target system or program adapter on which a Renesas Electronics single chip microcontroller with on chip flash memory is mounted by using an E1 emulator hereafter referred to as E1 E20 emulator hereafter referred to as E20 or the on chip debug emulator with programming function QB MINI2 hereafter referred to as MINICUBE2 or a serial interface 11 Features e Writing controlled by the host machine e Graphical user interface GUI specific to writing e Writing settings can be saved in a workspace file e Microcontroller specific information required for writing is included in the product package as a device information file R e Two types of writing operation windows Basic mode and Full mode e Execution of scripts e Embedding of unique codes 1 2 Writing Quality Thoroughly confirm verify and evaluate the following points before using RFP in order to i
166. s The revised points can be easily searched by copying an lt R gt in the PDF file and specifying it in the Find what field Note Footnote for item marked with Note in the text Caution Information requiring particular attention Remark Supplementary information Numeral representation Binary Xxxx or xxxxB Decimal Xxxx Hexadecimal OXXXXX or xxxxH Any character or item on the screen that can be selected or input Name of button Name of commands dialog boxes options or areas on the screen Rs Terminology The meanings of the terms used in this manual are as follows RFP Abbreviation of the flash memory programming software Renesas Flash Programmer E1 E20 Abbreviation of the E1 emulator E20 emulator MINICUBE2 Nickname used for the main unit of QB MINI2 the on chip debug emulator with programming function Tool used General term for the tool used by the customer which is E1 E20 or MINICUBE2 Utility Target microcontroller Software used for self diagnosis of the tool used and to update the MINICUBE2 firmware The Renesas Electronics on chip flash memory microcontroller used by the user Target system Program adapter te 1 User designed board on which the target microcontroller is mounted Conversion adapter used to write programs to the target microcontroller Device information file Device information files contain parameter information re
167. se e Displays a dialog to ask whether to disable e Do Nothing Disconnect Option Selects whether to set block lock when disconnecting from the device e Set e Displays the setting dialog e Do Nothing Lock Blocks At Disconnect Changes the lock state of the block when disconnecting from the device x Lock Bit State State At Disconnect EA RX600 Series a E A User Flash Lock at Q EBO Locked disconnect Unlocked LI EB1 Unlocked Locked Unlocked Unlock at disconnect Unlocked Linlacked zi Got Unlocked Unlocked The lock bit setting at disconnection is changed to Locked or Unlocked For N A the lock function is not supported Unlocked R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 95 of 168 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX Rs Rs Rs Rs lt 11 gt ID Option category This category is used ID Code to specify ID code Changes the ID code ENN xi ID Code High 8 Bytes FFFFFFFFFFFFFFFF Low 8 Bytes FFFFFFFFFFFFFFFF Enable automatically verifying ID et High 8 Bytes box Enters the ID code of the higher 8 bytes Low 8 Bytes box Enters the ID code of the lower 8 bytes Enable automatically verifying ID check box If it is selected auto verification of ID code is enabled If it is cleared the ID Code dialog box is
168. sed after checking the status of the flash memory Invalid Data is erased without checking the status of the flash memory Verify after Program Select whether or not to verify that the data written to the flash memory matches the data in the file specified by the File name parameter under Program File after writing to the flash memory is complete Valid Data match is verified after writing is complete Invalid Data match is not verified after writing is complete Security after ProgramN e Select whether or not to apply the security settings specified in the Flash Options category such as Blank Check before Erase Verify after Program and Security after Program after the writing to the flash memory is complete Valid The security settings are applied after writing is complete Invalid The security settings are not applied after writing is complete Check Sum after Program Select whether or not to read the checksum of the data written to the flash memory after writing is complete Valid The checksun is read after writing is complete Invalid The checksum is not read after writing is complete Set Option Bytes after Program Select whether or not to apply the option byte settings specified in the Flash Options category after writing to the flash memory is complete Valid The option byte settings are applied after writing is complete Invalid The optio
169. sic Mode Option Auto Disconnect A Flash Program Options Readback Verification All Erase Before Program Request Checksum File Over Warning Mode Pins At Disconnection Reset Pin As Low Reset Dev Lock Bit Connect Option Disconnect Option Lock Blocks At Disconnect Do Nothing Do Nothing Lock Blocks Connect Option RFP do by default when connecting to a device with locking ability Project Settings x Basic Settings Other Settings Connect Option Do Nothing Disconnect Option Do Nothing Lock Blocks At Disconnect Lock Blocks ID Option ID Code ID Code High 8 Bytes OxFFFFFFFFFF Timeout Options Timeout for Erase sec 10 Timeout for BlankCheck sec 10 Timeout for Program sec 5 Timeout for Read sec 5 User Boot Options Eraseable Connect Option RFP do by default when connecting to a device with locking ability i Cancel R20UT0599EJ0400 Rev 4 00 Page 31 of 168 2012 06 29 Renesas Flash Programmer CHAPTER A BASIC OPERATION BASIC MODE RX 5 Selection of program file lt 1 gt Clicking the Browse button in the User Data area of the program file area displays the Open File dialog lt R gt Figure 4 13 Main Window Renesas Flash Programmer Supported Yersion File Tool Microcontroller Help Microcontroller RX600 Serie 1 1 M User Data area o PPT Lee MuserBootarea Browse Command Progam 1 1
170. t Low True The reset pin is set to low level Rs False The reset pin is set to high impedance Reset Device Selects whether to reset the device when disconnecting from the device True Enabled False Disabled Mode Pins Specifies the mode pin state when resetting the device Information Mode Pins at Disconnection io5 Ind io3 io iol iol Pin Outputs mi m E Ni LN m 0x00 Pin Setting liu Jul pl r El m 0x00 High WARNING Incorrect settings could damage your hardware Cancel Pin Outputs check box Selects the pin to control the mode pin of the target microcontroller from io0 to io5 pins A selected check box is output and a cleared check box is input Pin Setting High check box Sets the level of the selected io0 to io5 pins to High or Low A selected check box is High and a cleared check box is Low This setting is effective only when the I O direction is Output Remark For the ioO to io5 pins of E1 and E20 refer to Figure B 3 E1 and E20 Pins RX in APPENDIX B R20UT0599EJ0400 Rev 4 00 Page 94 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX 10 Lock Bit category Rs This category is used to specify lock bit related settings such as Connect Option Disconnect Option and Lock Blocks At Disconnect Connect Option Selects whether to disable block lock temporarily when connecting to the device e Disable allow program era
171. t written in wide voltage mode Remark Some items in this category might not be displayed depending on the type of microcontrollers lt 5 gt Program File category This category displays or is used to select information about the specified program file such as the file name date updated and checksum calculation method R20UT0599EJ0400 Rev 4 00 Page 59 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 File name Displays the selected program file name Updated date Displays the date that the program file selected by File name was last modified Type Displays the type of the program file selected in File name HCUHEX is displayed when an HCUHEX file is read HEX is displayed when a HEX file without option data is read Check sum type Select the checksum calculation method for the program file selected by File name Arithmetic check The checksum calculated using 16 bit subtraction sum 16 bit CRC sum 32 bit The checksum calculated using 32 bit CRC Range Select the area from which to calculate the checksum Range of the The area to which the program file selected by File name Program file is assigned is subject to checksum calculation Range of target All flash memory area built into the microcontroller microcontroller specified by the project is subject to checksum calculation User optional range An
172. ta in the ROM address area of the microcontroller E1010012 Verification failed Description This error is displayed when the data in the file to compare does not match the ROM data in the microcontroller Description This error is displayed when saving data failed Make sure that the folder or file is not read only This error is displayed when data cannot be read from the ROM for some reason E1011001 Invalid Program File E1013001 This device is not a generic device E1013002 Selection of Device Checksum error E10130037 Selection of Device Invalid device code error Description This error is displayed when the device code mismatches in the device specification query Make sure that the correct product name for the microcontroller on the target board is selected 1 7 R20UT0599EJ0400 Rev 4 00 Page 149 of 168 2012 06 29 Renesas Flash Programmer APPENDIX A MESSAGES 2 7 lt R gt E1013010 Unable to create temporary file Generic query failed E1014001 Message The device sent an unrecognized reponse xxxx E1014002 Message This device is not a generic device E1014003 The device does not support this command E1014004 Selection of Device Checksum error E1014005 Message Selection of Device Invalid device code error Description This error is displayed if the device code mismatches when connecting to the microcontroller Make sure that the correct product name for the microcontroller on the target boa
173. ted to the development of weapons of mass destruction When exporting the Renesas Electronics products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations It is the responsibility of the buyer or distributor of Renesas Electronics products who distributes disposes of or otherwise places the product with a third party to notify such third party in advance of the contents and conditions set forth in this document Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of Renesas Electronics products This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics 2012 4 Rs Target Readers Purpose Organization How to Use This Manual This manual is intended for users who use the flash programm
174. tems Read by the Get Flash options Command in 12 Get Flash options command 30 Change of description in 3 4 2 13 Settings menu 30 31 Change of description in 3 4 2 13 a Select Communication Interface dialog box 32 Change of description in 3 4 2 13 b Setting Oscillator dialog box 35 36 Change of description and change of Figure 3 26 Setting Power Supply Dialog Box in 3 4 2 13 c Setting Power Supply dialog box 37 to 40 Change of description and change of Figure 3 27 42 Information Settings Dialog Box in 3 4 2 13 d Information Settings dialog box 43 Change of Figure 3 29 Version Information Dialog Box in 3 4 2 1 Version Information command 49 52 Change of description and change of Figure 4 5 Setting Power Supply Dialog Box and URL in 7 System shutdown in CHAPTER 4 EXAMPLE OF OPERATION USING RFP 52 Change of description in 5 2 Problems During Operation 59 60 Change of description in A 2 Messages Displayed in 61 63 Internal Error Fatal Error Selection and Warning Dialog Boxes 2 7 Description Rev Date Page Summary 3 00 Dec 26 2011 4106 Change of description in How to Use This Manual 10 Change of Figure 1 1 RFP Connection Image in 1 4 System Overview 11 Change of description in 1 5 1 Hardware environment and 1 5 2 Software environment 13 Change of description in 2 2 Installation 14
175. ter File name My Network Files of type Select a workspace file and then click the specified workspace Open sample rvs Workspace file for RFP rws j button The main window is displayed with the settings for the Rs Clicking the Cancel or the X button closes the Open File dialog box and returns you to the Welcome dialog box R20UTO0599EJ0400 Rev 4 00 2012 06 29 Page 82 of 168 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX 6 3 Main Window Rs On the taskbar click the Start button point to All Programs Renesas Electronics Utilities Programming Tools Renesas Flash Programmer Vx xx and then click Renesas Flash Programmer Vx xx The Welcome dialog box will open Follow the instructions that appear in the wizard When setup is finished the main window is displayed lt R gt Figure 6 21 Main Window Renesas Flash Programmer Supported Yersion File Tool Microcontroller Help Microcontroller M User Data area sample mot Browse ser Boot area e Browse lt 4 gt Command area LI 2 m CU CS 55 Start button 6 Status bar e 7 Output panel lt 8 gt Clear Output Panel button zi Clear Output Panel The main window consists of the following items Description Menu bar Displays the selectable menus Mm x lt
176. terminated various settings are saved in the rfp ini file Save the project file that has been created R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 85 of 168 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX R 6 4 22 Tool menu Selecting the Tool menu displays the pull down menu as shown in the figure below Figure 6 25 Tool Menu Renesas Flash Programmer Support Microcontroller Help mp Unique Code Setting Change to Full mode 1 Unique Code Setting Selecting this option displays the Unique Code Setting dialog box in which you make settings for imbedding unique codes Save the project file that has been created For the items in the dialog box refer to Chapter 11 Figure 6 26 Unique Code Setting Dialog Box OK Enabled C Disabled ardi File Location Code File Darfpisample test sample ruc File Start Point Restart on Session C Continue From Previous User Specified Start Index blank for file start m StartOf File Final Index blank for file end End Of File Data Overwrite Abort C Overwrite 2 Change to Full mode Selecting this option switches the mode from basic to full Save the project file that has been created For the full mode features refer to Chapter 7 Caution Device This menu is grayed out when a device is connected To enable this menu execute Disconnect To R2
177. the settings for R the workspace used last time Rs Figure 5 11 Open latest workspace Welcome Eg Create new workspace Basic mode Eull mode D rfp sample sample rws Open workspace Next Cancel R20UT0599EJ0400 Rev 4 00 Page 45 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 5 2 8 Open workspace If you select Open workspace in the Welcome dialog box the Open File dialog box is displayed lt R gt Figure 5 12 Open workspace Welcome E C Create new workspace Basic mode Eull mode Open latest workspace D rfp sample sample rws Figure 5 13 Open File Dialog Box Open File Look in sample sample q 2 My Recent Documents Desktop pe My Documents My Computer LO File name sample rws f My Network Files of type Workspace file for DER al i Select a workspace file and then click the Open button The main window is displayed with the settings for the specified workspace Clicking the Cancel or the X button closes the Open File dialog box and opens the Welcome dialog box R20UT0599EJ0400 Rev 4 00 Page 46 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 5 3 Main Window Rs On the taskbar click the Start button point
178. tion function executes the script commands in a script file sequentially without displaying the main window or dialog boxes The RFP can be started up and the write command can be executed from the command prompt or user applications Note Processing automatically proceeds in response to clicking on OK button in the Confirmation dialog box Note however that when the firmware of the emulator needs updating this is indicated in the Confirmation dialog box Alternatively depending on the settings a dialog box might be shown while the program is running see section 10 6 10 2 Start and exit To start the script execution add a script file as a command option when executing the RFP exe under the install folder of the RFP from the command prompt or user applications Alternatively double click the script file to start the script execution After the script execution starts the script commands in the script file are executed from the first line to the last sequentially When execution of all commands in the script down to the last line is completed the result code O is returned on exit from the RFP If there is an error in a command or an error is generated while a command is being executed the result code 1 is returned immediately and execution of the RFP is terminated As a note if the script file is not correct the script execution function terminates and the Welcome Dialog Box will open RFP exe xxxx
179. to create the workspace file Enter the path in the Folder box or click the Browse button to display the Select Folder dialog box and then specify the folder Clicking the Next button displays the next dialog box Clicking the Cancel or the X button terminates RFP lt R gt 5 2 3 Communication Interface dialog box lt R gt This dialog box is used to select the tool used and the connection method used for communication between the selected tool and the target microcontroller lt R gt Figure 5 4 Communication Interface Dialog Box Communication Interface Ii lt 2 nete DATE d a 1 Tool image panel An image of the tool selected in the Tool list box is displayed Figure 5 5 Tool Image Panel R20UTO0599EJ0400 Rev 4 00 Page 39 of 168 2012 06 29 Renesas Flash Programmer 2 Tool list box Select the tool to be used eEl e E20 e MINICUBE2 e COMx Rs 3 Select the method used for communication between the selected tool and the target microcontroller Interface list box selectable methods see the user s manual of the target microcontroller e UART chO when using the UART feature of 78KO 78KOR or V850 e SIO chO when using V850E2 e SIO H S when using the SIO H S feature of V850ES or V850E1 e UART X1 OSC when using the X1 clock of 78KO e UART EXCLK when using the EXCLK input clock of 78K0 e UART Int
180. to the microcontroller properly E1014047 Writing Data Invalid response E1014048 Read Checksum mismatch E1014049 Message Checksum Read Error Description This error is displayed when the sum of the response data of the sum check command is invalid In the protocol of some microcontrollers a sum code 1 byte is added to ensure the integrity of the command data no error if the sum of the command data and the sum code is 0 lower 1 byte This error means the sum of the response data sum code of the sum check command received from the device is not 0 A possible cause is that serial communication between the RFP and the microcontroller is unstable Possible causes of unstable serial communication include improper handling of microcontroller pins TxD RxD pins not pulled up wrong Vcl pin handling and a long communication cable between the PC and the microcontroller target Description This error is displayed when the communication port cannot be recognized Check the port setting of your PC Frequently reported cases of this error include the PC has no RS232C port and 1 a commercially available USB RS232C converter is used or 2 a self made conversion circuit board using a USB serial conversion IC is used In both above cases communication control timing is slightly slower because unlike the case using a built in RS 232 port on the PC the port is driven via USB and timing adjustment between the RFP and the microcontroller o
181. ude the user boot area in the scope of erasure True Included False Not included R20UT0599EJ0400 Rev 4 00 2012 06 29 Page 96 of 168 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX R 6 4 4 Help menu Selecting the Help menu displays the following pull down menu lt R gt Figure 6 35 Help Menu Renesas Flash Programmer Supported Yersion File Tool Microcontroller version Information Microcontroller Import License 1 Version IInformation This is used to open the Version Information dialog box below and display the RFP version Clicking the OK button closes this dialog box fis Figure 6 36 Version Information Dialog Box Renesas Flash Programmer V1 01 01 21 Jun 2011 9 2011 Renesas Electronics Corporation lt R gt 2 Import License For details of this menu item see the manual accompanying this product 6 5 Microcontroller Area This area displays the selected target microcontroller Figure 6 37 Microcontroller Area Microcontroller Pepp Series Rs R20UTO0599EJ0400 Rev 4 00 Page 97 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX 6 6 Program File Area This area displays the selected program file Clicking the Browse button in the User Data area or the Browse button in the User Boot area opens the Open File dialog bo
182. ulation and edition The project that has been manipulated and edited is saved Delete Project Deletes the selected project from the list The project file itself is not deleted This menu item is enabled when the project is not being manipulated or edited Add Program File Adds a program file to the selected project The Open File dialog box opens for adding a program file R20UT0599EJ0400 Rev 4 00 Page 117 of 168 2012 06 29 Renesas Flash Programmer CHAPTER8 FUNCTION DETAILS FULL MODE RX 3 Program file nodes A program file node represents a program file of a project A project can have multiple program files maximum of 64 one of which is available for programming and verification The program file node available for programming and verification is displayed bold and marked by programming and verification Double clicking one of other nodes makes it available for a Context menu of program file nodes Right clicking a program file node displays its context menu Table 8 4 Context Menu of Program File Nodes Set Program File Active Delete Program File Makes the selected program file available for programming and verification Deletes the selected program file from the list The program file itself is not deleted This menu item is enabled when the program file is not selected for programming and verification Area Selects an area from the selected pro
183. v 4 00 Page 114 of 168 2012 06 29 Renesas Flash Programmer CHAPTER8 FUNCTION DETAILS FULL MODE RX Not checked When the read data are saved to a file the data are saved in the address range starting from address ooh Clicking Select All selects all blocks for reading Clicking Select Written selects all blocks that have been programmed for reading Clicking Read leads to reading of the selected blocks and saving of the contents in a file when the process ends normally Clicking Cancel or x closes the dialog box without performing reading Figure 8 9 Address Tab of the Read Dialog Box Tree Address Start Address HEX User Boot Flash coooo Data Flash End Address HEX ERR Length HEX Start Address OxFFFCOODO 40000 End Address OxFFFFFFFF Size 256 K IV Absolute Image Cancel Specify each reading target area by entering the start address and the end address or by entering the start address and the data length Absolute Image checkbox Checked When the read data are saved to a file the data are saved at the address in flash memory from which the data were read out Not checked When the read data are saved to a file the data are saved in the address range starting from address 00h Clicking Read leads to reading of the data from the specified address range and saving of the contents in a file when the process ends normally Clicking Cancel or x c
184. when a command selected on the Microcontroller menu is executed Figure 5 39 Status Bar E Table 5 1 Status Bar Displays After startup or when the Clear Output Panel button is clicked B USY A command is being executed The command finished executing PASS normally The command terminated ERROR abnormally R20UTO0599EJ0400 Rev 4 00 Page 67 of 168 2012 06 29 Renesas Flash Programmer CHAPTER 5 FUNCTION DETAILS BASIC MODE RL78 78K 850 5 10 Output Panel The output panel displays the execution status of the command selected on the Microcontroller menu in text Up to 500 lines can be displayed If the text exceeds 500 lines lines will be deleted starting from the first line Figure 5 40 Output Panel 20 30 40 50 60 70 80 90 100 PASS Autoprocedure E P PASS ss End utoprocedure E P Disconnect lt R gt a Output Panel Context Menu Right clicking the output panel displays a context menu Table 5 2 Output Panel Context Menu Copy Copies the text selected on the output panel to the clip board Select All Selects the entire text on the output panel Clear Clears the entire text and the status bar display of the output panel Save Saves the entire text on the output panel to a file The Open File dialog box opens where you can specify any filename for the file saved
185. x Move to a desired folder and select a program file hex mot s rec Each item can be enabled by selecting the left check box or disabled by clearing it lt R gt Figure 6 38 Program File Area M User Data area sample mot Browse IT User Boot area Browse lt R gt Figure 6 39 Open File Dialog Box Open File KE Look in hex zl Of amp My Recent Documents Desktop o My Documents KE BE My Computer WA UNE SN File name Places sample mot i S ata Si Files of type Program files hex mot s rec 6 7 Command Area The command area displays the command selected on the Microcontroller menu Figure 6 40 Command Area Command Program R20UTO599EJ0400 Rev 4 00 Page 98 of 168 2012 06 29 Renesas Flash Programmer CHAPTER6 FUNCTION DETAILS BASIC MODE RX 6 8 Start Button This button executes the command selected on the Microcontroller menu The execution progress is displayed on the output panel or in the Progress report dialog box Figure 6 41 Button Start Figure 6 42 Progress report Dialog Box Progress report Processing ENEKEZEEZARO If Abort button is clicked during the Abort button is effective the command being executed is aborted 6 9 Status Bar lt R gt The status bar shows the progress as a color and with a message when a command selected on the Mic
186. x350c9b64 Ox31cd8643 0x3c8ea00a 0x384fbdbd Ox4c11db70 0x48d0c6c7 0x4593e0le 0x4152fda9 Ox5fl5adac Ox5bd4b01b 0x569796c2 0x52568b75 0x6a1936c8 Ox6ed82b7f 0x639b0da6 0x675a1011 0x791d4014 Ox7ddc5da3 0x709 7b7a 0x745e66cd 0x9823b6e0 Ox9ce2ab57 0x91lal8d8e 0x95609039 0x8b27c03c Ox8fe6dd8b 0x82a5fb52 0x8664e6e5 Oxbe2b5b58 Oxbaea46ef 0xb7a96036 0xb3687d81 Oxad2f2d84 Oxa9ee3033 Oxad4adl6ea Oxa06c0b5d 0xd4326d90 0xd0 37027 Oxddb056fe 0xd9714b49 Oxc7361b4c 0xc3 706fb Oxceb42022 Oxca753d95 0xf23a8028 Oxf6fb9d9f Oxfbb8bb46 Oxff79a6f1 Oxel3ef6f4 Oxebffeb43 Oxe8bccd9a Oxec7dd02d 0x34867077 0x30476dc0 0x3d044b19 0x39c556ae 0x278206ab 0x23431blc 0x2e003dc5 Ox2ac12072 0x128e9dcf 0x164f8078 Oxlb0ca6al Oxlfcdbb16 0x018aeb13 0x054bf6a4 0x0808d07d OxOcc9cdca 0x7897ab07 0x7c56b6b0 0x71159069 0x75d48dde 0x6b93dddb 0x6f52c06c 0x6211e6b5 0x66d0fb02 0x5e9f46bf 0x5a5e5b08 0x571d7dd1 0x53dc6066 0x4d9b3063 0x495a2dd4 0x44190b0d 0x40d816ba Oxaca5c697 Oxa864db20 0xa527fdf9 Oxale6e04e Oxbfalb04b Oxbb60adfc 0xb6238b25 0xb2e29692 Ox8aad2b2f 0x8e6c3698 0x832f1041 0x87ee0df6 0x99a95d 3 0x9d684044 0x902b669d 0x94eaTb2a Oxe0b41de7 0xe4750050 0xe9362689 Oxedf73b3e 0xf3b06b3b 0x 771768c Oxfa325055 Oxfef34de2 Oxc6bcf05f Oxc27dede8 Oxcf3ecb31 Oxcbffd686 0xd5b88683 0xd1799b34 Oxdc3abded Oxd8fba05a 0x690ce0ee Ox6dcdfd59 0x608edb80 0x644fc637 0x7a089632 0xX7ec98b85 0x738aad
187. y liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document No license express implied or otherwise is granted hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from such alteration modification copy or otherwise misappropriation of Renesas Electronics product Renesas Electronics products are classified according to the following two quality grades Standard and High Quality The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below Standard Computers office equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots etc High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems and safety equipment etc Renesas Electronics products are neither intended nor authorized for use in products or systems t
Download Pdf Manuals
Related Search
Related Contents
Hyundai HLT-37V2 LCD TV Massive Spot light 56430/48/10 LCD1402 istruzioni per l`uso • slide sporgente - slide semincasso 230-240v L`N从 Toshiba 34HFX84 34" TV Instrucciones de funcionamiento Copyright © All rights reserved.
Failed to retrieve file