Home
Renesas Flash Programmer V2.05 Flash memory programming
Contents
1. The Save As dialog box is opened and the name of an ID code file for setting in the RFP ID Code Files rid format to be created is specified Disconnection Selects whether to set the ID Code for setting when disconnecting from the device Option e Set ID Code e Do Nothing lt 18 gt Command Protection Security category This category is used to set command protection Disable Erase Selects whether to enable the Erase command Disable Program Selects whether to enable the Program command Disable Read Selects whether to enable the Read command R20UT2909EJ0201 Rev 2 01 Page 51 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 4 4 Help menu Selecting the Help menu displays the following pull down menu Figure 2 42 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 button closes this dialog box Figure 2 43 Version Information Dialog Box ME Renesas Flash Programmer V2 03 00 31 July 2013 2 Import License For details of this menu item see the manual accompanying this product 2 5 Microcontroller Area This area displays the selected target microcontroller Figure 2 44 M
2. 6 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 lt 7 gt Basic Mode Option category This category is used to set the basic mode option Auto Disconnect Selects whether to disconnect automatically after execution Disabled lt 8 gt Command Options category This category is used to set the operation options Write Mode Selects the unit of data for programming or verification Block Programming Executes programming or verification in block units If there is Mode available space in a block the space is filled with FFH Minimum Executes programming or verification in the minimum units This Programming Mode setting applies only to the area containing the program file data If no data is contained in the minimum processing unit of a program file this setting is not applied to the file If data including FFH is contained in the minimum processing unit of a program file this setting applies to the file The minimum processing unit is defined for each area of the microcomputer lf there is available space in the minimum processing unit the space is filled with FFH Set Program Verify Specifies a block to be programmed or verified in the Select Blocks dialog box when Blocks Block Programming Mode is selected Se
3. dialog DOX cooooccooccocoocconccononccononononcconcnonancnns 26 2210 Query dial g DOX a Aa eka kado 26 2 2 11 Project Settings dialog DOX omic 27 2 2 12 Open latest workspace sesss ceessessssssssssnnsssennnnasssernnnnntoj 28 2 2 13 ODeNWONKSpace ui ide 28 2 3 MAIN NINO W os 30 2 4 Men Bar isna A aos 31 2441 A kn AAO 31 24 2 TOON MENU ddr 33 243 Microcontroller Men iii ied RN ao Ge koe l AS 34 ZAR HEID MEA ea a MG sasa 52 2 5 Microcontroller Alegana e a E THI 52 26 Program Fie Area cia a 53 21 CGOmmand Area ici 53 20 Start BUHO iieii elko ate e al a aa Ko o fu ud o du E AN 54 29 GAUS Bal eco ankad a sk unan a coi usu o anao cedi 54 2 10 Output Pane RETE EEE TTT TTT TET TF LE 55 2 11 Clear Output Panel BUMOM ica ia 55 CHAPTER 3 FUNCTION DETAILS FULL MODE s ss sssssssssssssssssncs 56 3 1 INTO o U CIO Nc ias 56 3 2 otaning Uca ecciicadi s 56 3 3 WANED NV INOW oro ns cated cenit a aes dioncaahanetah a E E a aa E E a E aA 58 34 IN AAA mn 0 a 59 3 kd AA a ee NIO ON o TOS vr to 59 34 2 A Km Kn a nlos o du oe passo Sau 59 3 4 3 Microcontroller menu sssscesssssssssscsssscessascessascennnsentos 60 344 BED mennie lidia 60 S9 TOO Barna 61 3 6 FWOrKSpaGe Tree Pare lacie a au ae eee BENO do aka bud Du 62 32 Project Settings Panel O uua
4. oa Lock Bit State Esar au au OOO oer E I RX64M Group e area or Unloc laek each block the area to select e nlocked them Lock bit of the ME aie block is pe E E FB Unlocked unlocked bo EE BB Unlocked 2 it EBA Unlocked Unlock at 5 Locked disconnect Lock bit of the gt E EB6 Unlocked block is locked A E Locked bo koi EB Unlocked Lock at lka kre disconnect The lock bit setting at disconnection is changed to Locked or Unlocked R20UT2909EJ0201 Rev 2 01 Page 49 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 135 OTP category This category is used to make OTP related settings Disconnect Selects whether to set the OTP when disconnecting from the device e Displays the setting dialog e Do Nothing SetOTP At Changes the OTP settings when disconnecting from the device Disconnection SetOTP Double click on Set OTP State OTP State t Disconn ii R7F701035 each block Set the area Unset the H ki Code Flash 1 Set each block area to select them Unset Unset OTP is unset Unset E Unset de Unset at nset l Set disconnect OTP is set Unset na Set at Unset Linzet disconnect sss ancel The OTP setting at disconnection is changed to Set or Unset lt 14 gt Option Bytes category This category is used to set option bytes Enable Extended Selects whether to Extended
5. 2 34 Get Flash options Command Confirm Q1010009 t R20UT2909EJ0201 Rev 2 01 Apr 01 2015 The setting state of a target microcontroller is as follows If vou want to feedback them to the project settings press OK button Security Setting Erase command protection Invalid Write command protection Invalid Read command protection Invalid ID Code Setting High 8 Bytes FEFFEFREFEFFEFEEF Low 8 Bytes FFFFFFFFFFFFFFFF Option Bytes Setting OPBTO xFFFFFFFF OPETI xFFFFFFFF OPETJ xFFFFFFFF OPETZ xFFFFFFFF OFS Setting OFSO OxFFFFFFFF OFSI OxFFFFFFFF Cancel LENESAS Page 39 of 73 Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 11 Set Project When Set Project 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 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 2 35 The Communication Speed dialog box is not displayed when USB Direct is selected The Power Supply dialog box is displayed when El is selected The Mode Pins dialog box is displayed when RX and E1 or E20 and 2 wire UART is selected Figure 2 35 Flow of Setting Change with the Modify Butto
6. 2 4 1 for details of each menu Figure 3 3 File Menu Renesas Flash Programmer Supp Tool Microcontroller Help Create a new workspace ES Open a workspace Exit 3 4 2 Tool menu Selecting the Tool menu displays the pull down menu as shown in the figure below Refer to 2 4 2 for details of each menu Figure 3 4 Tool Menu Renesas Flash Programmer Supporte File Microcontroller Help P Unique Code Setting z Change to Basic mode R20UT2909EJ0201 Rev 2 01 Page 59 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER3 FUNCTION DETAILS FULL MODE 3 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 For details of the commands other than Connect to Device refer to 2 4 3 1 1 Connect To Device Figure 3 5 Microcontroller Menu Renesas Flash Programmer Supported Yers File Tool Microcontroller La Connect to Device Disconnect From Device Blank Check Erase All Erase Program Verify Read Set Security Checksum Set Option Bytes Get Flash options Set Project This menu item connects to the device lf the
7. RX64M Group on El by Z wire UART Connection complete lt 2 gt Select sample mot in the Open File dialog box and then click the button to open the main window Figure 1 15 Open File Dialog Box Open File My Recent Documents eskto p o My Documents pr My Computer a kiu Network File name sample mat Program files hex mot 3 rec Files of type R20UT2909EJ0201 Rev 2 01 Page 14 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE 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 button Figure 1 16 Main Window Renesas Flash Programmer Supported Yersion 1 ioj x Eile Tool Microcontroller Disconnect From Device Blank Check Erase All Erase Browse Browse Verify Read Set Security Checksum Set Optiori Bytes Get Flash options User Boot 4 Ei Set Project User Boot Area number of blocks 1 Data Flash block size 64 byte Data Flash number of blocks 1024 Getting Other Information Setting Endian Generic Device Query complete Input Frequency External Resonator or Clock 16 000000MHz Peripheral Clock Frequency 60 O00000KMH z Connecting to device HXE64M Group on ET by 2 wire UA
8. Supply dialog box This dialog box is used to set power supply for the target system Figure 2 39 Power Supply Dialog Box Power Supply mi supply voltage EE sa E SY ISE BUS For details about each item see 2 2 4 e Mode Pins dialog box This dialog box is used to select and control the pins that control the mode pins of the target microcontroller from among pins io0 to io5 of the emulator Figure 2 40 Mode Pins Dialog Box Mode Pins Refer to 2 2 5 for more information on each item in the dialog box Clicking the button saves the project file and returns you to the Project Settings dialog box R20UT2909EJ0201 Rev 2 01 Page 42 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 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 Some items may be disabled depending on the settings Figure 2 41 Project Settings Dialog Box Project Settings l E Device Information Device Name E4M Group Baze Device Generic Boot Device Device Information File Path C Userstoolg4opD ata Local Temp Security Mode Command Protection Endian Little E ridiari Communication Interface Tool Name El Connection 2 wire UA AT Clock Input Frequency MHz Communication Speed Communi
9. in the ID Code Authentication category under the Other Settings tab in the Project Settings After that set Auto Authentication to True Block Locking dialog box lt Condition gt The Block Locking dialog box is displayed on disconnection of a microcomputer that supports lock bits lt Action by user gt Select either Set Locks Unlocks or Do Nothing for Disconnect Option in the Lock Bit category below the Other Settings tab in the Project Settings dialog box Set OTP dialog box lt Condition gt The Set OTP dialog box is displayed on disconnection of a microcomputer that supports OTP lt Action by user gt Select either Set OTP or Do Nothing for Disconnect Option in the OTP category below the Other Settings tab in the Project Settings dialog box Confirmation dialog box lt Condition gt The Confirmation dialog box is displayed when the program file exceeds the capacity of the flash ROM at the time of writing lt Action by user gt 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 R20UT2909EJ0201 Rev 2 01 Page 70 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 User s Manual RH850 RX700 Include RX64M Publication Date Rev 2 01 Apr 01 2015 Published by Renesas Electronics Corporation LENESAS SALES OFFICES Renesas Electronics Co
10. 0 Select USB Device Dialog Box A xi 1 USB device located VID C45REPID DAS Er ie Cancel 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 2 2 7 Endian Mode dialog box Select the endian mode for the project Select Little Endian or Big Endian Figure 2 11 Endian Mode Dialog Box Endian Mode X select the endian mode of device f Little Endian Bie Endian Cancel R20UT2909EJ0201 Rev 2 01 Page 24 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 2 8 Frequency dialog box This dialog box is used to set the input frequency and the CPU frequency Figure 2 12 Frequency Dialog Box xi 1 Clock supply Intemal Edemal Extemal Resonator or Clock Input Frequency 16 000000 MHz 1 Clock supply area This area is used to display the clock type and set the input frequency Figure 2 13 Clock supply Area Edemal Resonator or Clock Y 16 000000 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 sw
11. 00 Fax 65 6213 0300 Renesas Electronics Malaysia Sdn Bhd Unit 1207 Block 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 India Pvt Ltd No 777C 100 Feet Road HALII Stage Indiranagar Bangalore India Tel 91 80 67208700 Fax 91 80 67208777 Renesas Electronics Korea Co Ltd 12F 234 Teheran ro Gangnam Gu Seoul 135 080 Korea Tel 82 2 558 3737 Fax 82 2 558 5141 2015 Renesas Electronics Corporation All rights reserved Colophon 4 0 Renesas Flash Programmer V 2 05 LENESAS Renesas Electronics Corporation R20UT2909EJ0201
12. 15 Au Page 35 of 73 lt ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 4 All Erase command This command is used to erase all blocks of the flash memory The result is displayed when the command finishes 5 Program command This command is used to write the program file selected in the program file area to the flash memory The operation options related to the Program command are according to the settings of Command Options category of the Other Settings tab in the Project Settings dialog box For details see 2 4 3 11 f lt 8 gt Command 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 Command Options category in the Other Settings tab of the Project Settings dialog box to True 6 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 verification method depends on whether a prohibition setting for readout from a microcontroller is enabled or disabled The operation options related to the Verify command are according to the settings of Command Options category of the Other Settings tab in the Project Settings dialog box For details see 2 4 3 11 f 8 Command Options category 7 Read command This com
13. 908E Renesas Flash Programmer V2 05 RH850 RX700 Include RX64M E1 Emulator ROE000010KCE00 E20 Emulator ROE000200KCTOO R20UT0398E Caution 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 trademarks and registered trademarks are the property of the respective owner CONTENTS CHAPTER1 BASIC OPERATION BASIC MODE sssss sss ssssssssssssssssssus 6 CHAPTER 2 FUNCTION DETAILS BASIC MODE s s sss sss sss 17 2 INIO UNCIION poSo o ara beeen OA 17 2 2 SIGKUNOU a a a 17 224 Welcome T dialoG DOX ek ee a Salu ual 19 2 2 2 Create new workspace dialog box seeeennnnnnnii 19 2 2 3 Communication Interface dialog DOX ooooccccoooccococonconccnanoncononononnnnoos 21 2 2 4 Power Supply dialog box s essssssscesssssssssessssnsssstt 22 2 2 5 Mode Pins at Connection dialog box i isielnnnneeees 23 2 2 6 Connection and query dialog DOX cccoooooccocccccoccconocononccnnconnnancnncnnnnos 23 2 2 7 Endian Mode dialog box s s sssssesscessssssessssssssssssssso 24 2 20 Frequency dialog DOX ss oir a ka hee 25 2 2 9 Communication Speed
14. Data programmed at the following positions 00000100000 0CD0010FFFF Size 00010000 64 K programmed in seconds 7 System shutdown 1 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 2 gt Remove the USB cable from the tool used lt 3 gt 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 Furthermore if Auto Disconnect in the Basic Mode Option category in the Other Settings tab of the Project Settings dialog box is set to False remove the target system after executing Disconnect To Device Caution Ifan error occurs during the above procedure see Common CHAPTER 4 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 support or contact Renesas v a the Renesas website http www renesas com contact R20UT2909EJ0201 Rev 2 01 Page 16 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE CHAPTER2 FUNCTION DETAILS BASIC MODE This chapter describes function details of the commands windows and dialog boxes of the basic mode of RFP 21 Introduction Make sure th
15. E T D A 0 lt A D LENESAS Renesas Flash Programmer V2 05 Flash memory programming software User s Manual RH850 RX700 Include RX64M 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 hitp www renesas com Renesas Electronics www renesas com Rev 2 01 Apr 2015 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 1n 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 El
16. ION BASIC MODE 55 Pins to control the Mode Setting Pins of the target microcontroller can be selected from among pins io0 to io5 of the E1 and E2 For the evaluation board the Pin Outputs box is checked and the Pin Setting High box is not checked for the io2 and io3 pin so that the pin is at the low level The io3 pin is connected to the MD pin and the io2 pin is connected to UB pin Clicking the button displays the Confirmation dialog box Remark For more information on pins from ioO to io5 of the E1 and E20 refer to Common Appendix B Figure B 1 E1 and E20 pins RX Figure 1 5 Mode Pins at Connection Dialog Box Mode Pins at onnection X Mode Fins at Connection i05 id loa PE ia iol Pin Outputs D ea Rd C M ixi4 Pin Setting High 7 r E Mm E Mm 0x00 WARNING Incorrect settings could damage your hardware ones lt 6 gt Check that the board is connected powered and in Boot mode Clicking the button displays the Select Emulator dialog box Figure 1 6 Confirmation Dialog Box Confirmation Q1010007 RFP mill now attempt to connect to your device Mi E Please ensure the board is connected powered and in Boot mode E Cancel R20UT2909EJ0201 Rev 2 01 Page 9 of 73 Apr 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE 7 The name and serial number of the detected emulator are displayed Select it The serial numbe
17. 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 Common CHAPTER 2 INSTALLATION and install in the host PC 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 Vpp power from the target system R20UT2909EJ0201 Rev 2 01 Page 6 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE 4 Creation of workspace lt 1 gt On the taskbar click the 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 button to open the Create new workspace dialog box Figure 1 1 Welcome Dialog Box Welcome El Fulmode C Open latest workspace D rip sample sample rvs C Open workspace lt 2 gt In the Using Target Microcontroller list box select Group RX Device Name Generic Boot Device Enter any text string such as sample in this case in the Workspace Name box and specif
18. K programmed in 2 seconds image written to device a nak lt 8 gt Clear Output Panel button Microcontroller area Displays the selected target microcontroller R20UT2909EJ0201 Rev 2 01 Page 30 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 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 2 4 1 File menu The following pull down menu appears by selecting the File menu Figure 2 21 File Menu Renesas Flash Programmer Supp Tool Microcontroller Help 1 Create a new workspace 2 ES Open a workspace 3 Exit 1 Create a new workspace The Create 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 2 2 2 Figure 2 22 Create new workspace Dialog Box Create new workspace R20UT2909EJ0201 Rev 2 01 Page 31 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 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 2 2 12 Figu
19. M wren ne command has terminated normally ss ERROR When the command has terminated abnormally R20UT2909EJ0201 Rev 2 01 Page 65 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER4 SCRIPT EXECUTION FUNCTION CHAPTER4 SCRIPT EXECUTION FUNCTION This chapter explains the script execution function 4 1 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 and the write command can be executed from the command prompt or user applications Note Processing automatically proceeds in response to clicking on button in the Confirmation dialog box Note however depending on the settings a dialog box might be shown while the program is running see section 4 6 4 2 Start and exit The script execution starts by the following method In the case of 1 the main window of the version installed recently starts 1 Double clicking a script file 2 Dragging and dropping a script file onto RFP exe 3 Typing RFP exe followed by the name of a script file at the command prompt and so on then executing it 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 i
20. Option Byte Option Byte The values of OPBTn n 0 to 12 can be entered The values of OPBTn n 0 to 7 can be entered Enters option bytes FFFFFFFF Enters any value lt 15 gt ICU category This category is used to set the ICU Disconnect Option Selects whether to set the ICU when disconnecting from the device Do nothing Does nothing Set Sets the ICU lt 16 gt Set Device Security category This category is used to set device security Set Security At Selects whether to set the device security when disconnecting from the device Disconnection e Command Protection Mode e ID Authentication Mode e Disable Serial Programming e Do Nothing R20UT2909EJ0201 Rev 2 01 Page 50 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 175 Set ID Code category This category is used to specify ID code for setting ID Code Setting Enters the ID code for setting e Changing the ID code xi ID Code Cancel ID Code box Box for entry of the ID code Import button The Open dialog box is opened when an ID code file for setting in the RFP ID Code File rid format is selected the ID code read from the file will be input to the ID Code dialog box Notes If the input has fewer bytes than the number of effective data bytes the RFP automatically pads the value with OxFF from the beginning of the field e lt Output to file
21. Power target from the emulator checkbox of the Power Supply dialog is selected the power supply starts 3 4 4 Help menu Clicking the Help menu displays the following pull down menu Refer to 2 4 4 for details of each menu R20UT2909EJ0201 Rev 2 01 Apr 01 2015 Renesas Flash Programmer Supported Yersion File E sample Figure 3 6 Help Menu Tool Microcontroller YETA version Information Import License ral LENESAS Page 60 of 73 Renesas Flash Programmer V2 05 CHAPTER3 FUNCTION DETAILS FULL MODE 3 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 3 7 Tool Bar PEATA E EPEAN 1 2 3 4 5 6 7 8 9 10 11 12 Table 3 1 Tool Bar o rs Lim Executes the Verity command Executes the Read command S y Executes the Checksum command S 10 Executes the Set Option Bytes command S 11 Executes the Get Flash Options command Opens a wizard type dialog box for changing the project basic settings 12 Remark This button is invalid when the device is connected to a target microcontroller Select Disconnect from Device t
22. RT Connection complete ku aj Clear Output Panel lt 2 gt After clicking the button execute the Program command Remark When the Program command is executed programming is performed after the block to be programmed is erased To erase all blocks set All Erase Before Program in the Command 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 Remarks 1 When necessary connect the tool to be used to the target system and then execute the Program command 2 When supplying Vpp 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 Program command R20UT2909EJ0201 Rev 2 01 Page 15 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE Figure 1 17 Program Command Execution Results Renesas Flash Programmer Supported Version l Oj xj File Tool Microcontroller Help Microcontroller Rx64M Group 1 1 1 14 M User Data area kamplemot 14 User Boot area ELLEN Command Program Operation on Code Hash 1 Data programmed at the following positions IXFFCOODOD kFFFFFFFF Size 000400000 4096 K programmed in 7 seconds Operation on Data Flash
23. Rev 2 01 Page 57 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER3 FUNCTION DETAILS FULL MODE 3 3 Main Window The main window consists of the following items Figure 3 2 Main Window 2 Tool bar Renesas Flash Programmer Supported Yersicn File Tool Microcontroller Help wala amp 40 8 at sample Basic Settings Other Settings Er ji sample E Device Information sample mot Device Name HXE4M Group EE e motiB i Base Device Generic Boot Device i sample Device Information File Path O p samplesamplesAb4h Group fcf Security Mode Command Protection Endiani Little Erdian Communication Interface sample2 mot Tool Name El Connection 2 wire UART Clock Input Frequency MHz 16 000000 Communication Speed Communication Speed bps 000000 E Target Power lt 3 gt Workspace Treel panel lt 4 gt Project Settings panel lt 5 gt Output panel The main window consists of the following items R20UT2909EJ0201 Rev 2 01 Page 58 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER3 FUNCTION DETAILS FULL MODE 3 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 3 4 1 File menu The following pull down menu appears by selecting the File menu Refer to
24. alog box is used to select the tool used and the connection method between the selected tool and the target microcontroller Figure 2 4 Communication Interface Dialog Box Communication Interface I xj Tool hi 2 ele 2 wire UART y 3 aa Cancel 1 Tool image panel An image of the tool selected in the Tool list box is displayed Figure 2 5 Tool Image Panel 2 Tool list box Select the tool to be used e El e E20 e USB Direct e COMx 3 Interface list box Displays the connection method between the selected tool and the target microcontroller e 1 wire UART when using RH850 gt e 2 wire UART e USB when using USB Direct of RX gt R20UT2909EJ0201 Rev 2 01 Page 21 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 2 4 Power Supply dialog box This dialog box is used to specify the power supply to the target system Figure 2 6 Power Supply Dialog Box Power Supply i x Be careful of power supply limitation of the emulator Supply voltage C 3 3 5 0 V USB YBUS 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 USB VBUS Caution E1 supports the power supply function ln the mas
25. 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 Common APPENDIX B Figure B 1 E1 and E20 Pins RX R20UT2909EJ0201 Rev 2 01 Page 47 of 73 Apr 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 105 ID Code Authentication category This category is used to specify ID code ID Code Changes the ID code for authentication e lt Changing the ID code ID Code Cancel Authentication ID Code box Enter the ID code Import DI button The Open dialog box is opened when an ID code file for authentication in the RFP ID Code File rid format is selected the ID code read from the file will be input to the ID Code dialog box Notes 1 If the value of each input field is less than effective data bytes RFP automatically input OxFF from the beginning of the field For RX devices input the value in this order ID1 ID2 ID16 Example When Effective data bytes 16 ID code ID1 01h ID2 02h ID3 03h ID4 04h ID5 05h ID6 06h ID7 07h ID8 08h ID9 09h ID10 0Ah ID11 0Bh ID12 0Ch ID13 0Dh ID14 0Eh ID15 0OFh ID16 10h gt ID Code 0102030405060708090A0BOCODOEOF 10 e lt Output to file gt The Save As dialog box is opened and the name of an ID code file for authentication in the RFP ID Code Files rid format to be created i
26. ash Programmer V2 05 CHAPTER3 FUNCTION DETAILS FULL MODE Figure 3 1 Flow of Dialog Boxes Until the Program is Activated OKO See 2 2 1 Create a new workspace Create new workspace See 2 2 2 Open workspace Generic Device Query Format Open File Communication Interface See 2 2 13 See 2 2 3 Power Supply See 2 2 4 Mode Pins at Connection See 2 2 5 Connection and Query See 2 2 6 Mode See 2 2 7 Frequency See 2 2 8 Communication Speed See 2 2 9 See 2 2 10 Project Settings See 2 2 11 50003 Or a main window is opened by the following method In the case of 1 the main window of the version installed Open latest workspace See 2 2 12 recently opens 1 Double clicking a workspace file 2 Dragging and dropping a workspace file onto RFP exe 3 Typing RFP exe followed by the name of a workspace file at the command prompt and so on then executing it Remarks 1 The following buttons common to all the dialog boxes operate as follows Clicking the OK Next gt or button opens the next dialog box Clicking the button opens the previous dialog box Clicking the or the X button closes the dialog box 2 The Power Supply Mode Pin at Connection Endian Mode Frequency and Communication Speed dialog boxes are skipped depending on the selected connection method R20UT2909EJ0201
27. at the RFP package is installed For how to install the RFP package see Common CHAPTER 2 RFP INSTALLATION Before starting RFP make sure that the debugger and utility are not running 2 2 Starting up On the taskbar click the 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 project can be set up by the generic device query format By this format the device information file is created through a query to the microcontroller R20UT2909EJ0201 Rev 2 01 Page 17 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE Figure 2 1 Dialog Boxes Displayed in the Startup Wizard OKO See 2 2 1 Create a new workspace Create new workspace See 2 2 2 Open workspace Generic Device Query Format Open File Communication Interface See 2 2 13 See 2 2 3 Power Supply See 2 2 4 Mode Pins at Connection See 2 2 5 Connection and Query See 2 2 6 Open latest workspace See 2 2 12 Mode See 2 2 7 Frequency See 2 2 8 Communication Speed See 2 2 9 See 2 2 10 Project Settings See 2 2 11 Goo 23 Or a main window is op
28. cation Speed bps 000000 Target Power Supply Power El Supply _3 3 x Basic Settings tab 1 2 lt 3 gt lt 4 gt lt B gt Device Information category Communication Interface category Clock category Communication Speed category Target Power Supply category Mode Pins At Connection category Other Settings tab lt gt lt 8 gt 9 10 11 125 13 145 lt 15 gt lt 16 gt lt 17 gt lt 18 gt Basic Mode Option category Command Options category Mode Pins At Disconnection category ID Code Authentication category Timeout Option category Lock Bit category OTP category Option Bytes category ICU category Set Device Security category Set ID Code category Command Protection Security category R20UT2909EJ0201 Rev 2 01 Apr 01 2015 LENESAS Page 43 of 73 Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE Clicking the Modify button displays the Communication Interface dialog box Clicking the button saves the project file and returns you to the main window Remark The button is disabled while it is connected with the target controller To enable it select the Microcontroller menu and select Disconnect from Device then select Set Project from the Microcontroller menu to display the Project Settings dialog box 1 Device Information category This category displays info
29. e multiple projects maximum of 64 at a time The project that can be manipulated and edited is 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 3 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 Merge Program File Merges data in all program files added to the selected project and outputs the result as a single program file The program file is in Motorola S format HEX format data record S3 end record S7 Note that data in ranges beyond the memory area of the MCU will not be output 3 Program file nodes A program file node represents a program file of a project A project allows multiple program files maximum of 64 to be registered one of which is available for programming and verification The program file node available for programming and verification is marked by Double clicking one of other nodes makes it available for programming and v
30. ecifies the user boot area R20UT2909EJ0201 Rev 2 01 Page 67 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER4 SCRIPT EXECUTION FUNCTION Specify an ID code file idcodefile filename Specifies an ID code file for authentication When multiple files are specified the command is only effective for the last file to be specified Note that the command leads to the ID code settings in a project file being ignored filename Use double quotation marks in cases where the full pathname of the program file is specified or the filename includes a space Specify the serial number Specifies the serial number of the tool used lt connection gt specifies the connection method e1 e20 usb e1 specifies E1 e20 specifies E20 usb specifies USB Direct serial id When E1 or E20 is selected the serial number marked on the chassis Example 9jm000129 When USB Direct is selected the USB port number Example VID 045B8 PID 00251683234B9D98083 Wait Waits for the specified time lt time gt specifies the wait time unit msec range 1 2147483647 Connect to the device Disconnect from the device Blank check blankcheck areas lt option gt Executes the blankcheck command area specifies the area user data userboot all user specifies the user area data specifies the data area userboot specifies the user boot area all s
31. ectronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of 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
32. ened by the following method In the case of 1 the main window of the version installed recently opens 1 Double clicking a workspace file 2 Dragging and dropping a workspace file onto RFP exe 3 Typing RFP exe followed by the name of a workspace file at the command prompt and so on then executing it Remarks 1 The following buttons common to all the dialog boxes operate as follows Clicking the OK Next gt or button opens the next dialog box Clicking the button opens the previous dialog box Clicking the or the X button closes the dialog box 2 The Power Supply Mode Pin at Connection Endian Mode Frequency and Communication Speed dialog boxes are skipped depending on the selected connection method R20UT2909EJ0201 Rev 2 01 Page 18 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 2 1 Welcome dialog box This dialog box is used to make a selection about a workspace Figure 2 2 Welcome Dialog Box Welcome Basic mode Full mode Open latest workspace E Arfo sample sample rms Open workspace ext Cancel 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 2 2 2 Create new workspace dialog box This dialog box is used to create a n
33. erification Selecting User Boot Area from the context menu of a program file node marks the project node with B a Context menu of program file nodes Right clicking a program file node displays its context menu Table 3 4 Context Menu of Program File Nodes 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 set as the active program file User Boot Area Specifies the area for programming and verification as the User boot Area Program Executes the Program command with the selected program file and area This menu item is enabled only for the active program file R20UT2909EJ0201 Rev 2 01 Page 63 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER3 FUNCTION DETAILS FULL MODE 3 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 2 4 3 11 f Project Settings dialog for details on the commands other than Erase Before Program Figure 3 9 Project Settings Panel Basic Settings Other Settings E Device Information cl Device Name E4M Group Base Device Generic Boot Device Device Informatio
34. ew workspace Figure 2 3 Create new workspace Dialog Box Create new workspace x Device verson ESZ Dit Device verso 52 oid Vee Jmn 850E 144 l MM R20UT2909EJ0201 Rev 2 01 Page 19 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 1 Microcontroller list box Select All or Generic Boot Device V850 RL78 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 3 Using Target Microcontroller list box Select the target microcontroller to be used Selecting Generic Boot Device sets up the project in the generic device query format 4 Workspace Name box Enter the workspace name in this box 5 Project Name box Enter the project name 6 Folder box Specify a folder in which to create the workspace file Enter the path in the Folder box or click the button to display the Select Folder dialog box and then specify the folder R20UT2909EJ0201 Rev 2 01 Page 20 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 2 3 Communication Interface dialog box This di
35. f Basic mode Full mode Open latest workspace D riptsampleksample DE Next Cancel R20UT2909EJ0201 Rev 2 01 Page 28 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE Figure 2 19 Open File Dialog Box z Open File x Ej sample rws File name sample rws Select a workspace file and then click the button The main window is displayed with the settings for the specified workspace Clicking the or the X button closes the Open File dialog box and returns you to the Welcome dialog box R20UT2909EJ0201 Rev 2 01 Page 29 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 3 Main Window The main window consists of the following items Figure 2 20 Main Window Renesas Flash Programmer Supported Version File Tool Microcontroller Help IO x lt 2 gt Microcontroller area Microcontroller RAS4hM Group iY Ler Data area TT User Boot area Command Program 35 Program File area sample mot LI OIE lt 4 gt Command area lt 5 gt Start button PASS Flash 1 6 Status bar t the following positions xFFCO0000 kFFFFFFFF Size 000400000 4096 K programmed in 7 seconds 3 lt 7 gt Output panel Operation on Data Flash Data programmed at the following po 00000100000 OXDO1OFFFF Size la 64
36. gning and developing a system that employs a Renesas Electronics microcontroller equipped with on chip flash memory Purpose This manual is intended to give users an understanding of the basic specifications and correct use of the Renesas flash programmer Organization This manual includes the following sections e Basic operation Basic mode e Function details Basic mode e Function details Full mode e Script execution function How to Read This Manual lt is assumed that the readers of this manual have general knowledge of electricity logic circuits and microcontrollers Conventions 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 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 Document name Document number Renesas Flash Programmer V2 05 Common R20UT2906E Renesas Flash Programmer V2 05 RL78 78K V850 R20UT2907E Renesas Flash Programmer V2 05 RX100 RX200 RX600 Except RX64M R20UT2
37. gs dialog box Figure 1 11 Query Generic Device Dialog Box Query Generic Device Ny xi ance R20UT2909EJ0201 Rev 2 01 Page 11 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE lt 12 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 Figure 1 12 Project Settings Dialog Box Basic Settings Tab Project Settings El R20UT2909EJ0201 Rev 2 01 Apr 01 2015 Device Information Device Name Base Device Device Information File Path Security Mode Endian Communication Interface Tool Name Connection Clock Input Frequency MHz Communication Speed Communication Speed bps Target Power Supply Power E4M Group Generic Boot Device C Userstoolg4opD ata Local Temp Command Protection Little Endian El 2 mire LIART 16 000000 2000000 El Supply 3 LENESAS Page 12 of 73 Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE 13 The Other Settings tab in the Project Settings dialog box allows you to specify and check advanced information about programming The values displayed here are the initial values of each item Clicking the button saves the project file and displays the main
38. icrocontroller Area Microcontroller Rxo4M Laro LUDI R20UT2909EJ0201 Rev 2 01 Page 52 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 6 Program File Area This area displays the selected program file Clicking the button in the User Data area or the button in the User Boot area opens the Open File dialog box 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 Remark If you want to write both areas by using a program file that contains the user data area and user boot area check the User Data area and User Boot area and select the same program file on and button Figure 2 45 Program File Area W User Data area sample mot Browse User Boot area Browse Figure 2 46 Open File Dialog Box Open File Look ir E hex y m My Recent Documents Deskto p sample mobi 2 My Documents mr My Computer a kiu Network File name sample mot Cancel Files of type Program files hes mot rec fi 2 7 Command Area The command area displays the command selected on the Microcontroller menu Figure 2 47 Command Area Command Program R20UT2909EJ0201 Rev 2 01 Page 53 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 8 Star
39. ile when the process ends normally Clicking the or the X button closes the dialog box without performing reading 8 Checksum command This command executes the checksum of the flash memory and program file on all the areas in the flash memory and displays the results on the output panel after execution Checksum can be calculated either by the 32 bit addition or 32 bit CRC method selected For details refer to 2 4 3 11 f lt 8 gt Remark This command cannot be executed without selecting the program file Checksums are calculated as follows Calculation method 32 bit addition method Calculation scope All the areas user area the user boot area and the data area Figure 2 32 Output Panel after Execution of Checksum Command Calculating device checksum Flash Checksum Ox3FBCE2BF Code Flash 1 Flash Checksum 0x007F8000 User Boot Area Flash Checksum Ox007FBBA5 Data Flash Remark 32 bit addition displays the eight lower digits of the result of adding the value of all bytes in the flash memory Checksums are calculated as follows Calculation method 32 bit CRC method Calculation scope All the areas user area the user boot area and the data area Figure 2 33 Output Panel after Execution of Checksum Command Calculating device checksum Flash Checksum 0x371B4DD7 Code Flash 1 Flash Checksum 0x42A83D27 User Boot Area Flash Checksum OxE24C5217 Data Flash Remark 32 bit CRC method displays the eigh
40. ion resistance design Please 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 mili
41. itching 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 Input Frequency list box Enter the frequency of the clock supplied to the target microcontroller R20UT2909EJ0201 Rev 2 01 Page 25 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 2 9 Communication Speed dialog box This dialog box is used to set communication speed Figure 2 14 Communication Speed Dialog Box Communication Speed 1 Communication speed list box Select the communication speed 2 2 10 Query dialog box Execute a query to the target microcontroller Figure 2 15 Query Generic Device Dialog Box Query Generic Device Ny xi Ds imi R20UT2909EJ0201 Rev 2 01 Page 26 of 73 Apr 01 2015 ENESAS Renesas Flash Programme rV2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 2 11 Project Settings dialog box This dialog box is used to check and change the project settings It has the Basic Settings tab and Other Settings tabs Selecting a tab changes the categories in which settings are displayed Figure 2 16 Project Settings Dialog Box Project Settings x Device Information Device Name Base Device Device Information File Path Security Mode Endian Communication Interface Tool Name Connec
42. le sample log workspace dArfpisamplelsamplelsample rws programfile d hex sample mot userdata serial el 9jm000129 connect verify disconnect 4 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 Characters within angle brackets lt gt Information that must be provided Characters within square brackets Optional information Slash Options where only one option must be selected Table 4 1 Script Commands Function Script command Specify a log file Specifies a log file For more details see 4 5 lt filename gt 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 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 Specify a program file programfile filename area 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 area specifies the area userdata userboot userdata specifies the user and data area userboot sp
43. lect Blocks I x Tee Region Start End E RX64M Group E E Code Flash 1 OxFFCO0000 OXFFFFFFFF OXFFFFEOOO Unknown OXFFFFCOOO OXFFFFAOOO Treme OxFFFF8000 pe eee OxFFFF6000 Unknown OXFFFF4000 Unknown OXFFFF2000 is OXFFFFOO0O Pa OxFFFE8000 ikoj OxFFFEOOOO c OXFFFD8000 Unknown OxFFFDO000 Unknown OXFFFC8000 PR Lok Caca Select Blocks Dialog Selects whether to display the Select Blocks dialog box before programming or Before verification when Block Programming Mode is selected Program Verify Enabled All Erase Before Selects whether to erase all blocks before programming Program Enabled R20UT2909EJ0201 Rev 2 01 Page 45 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE Verify After Program Selects whether to execute verification after programming True Enabled Program Enabled After Program Enabled Clear Configuration Selects whether to clear configuration after erasing all data by using All Erase or other After All Erase means Caution If this function and All Erase Before Program are enabled executing Program command does not clear configuration between erasure and programming File Over Warning Selects whether to display the warning dialog when the program file exceeds the ROM size of the flash Checksum Type Selects the calculation method for checksum CRC method Calculates the checksum using the 32 bit CRC method Addition Calc
44. ll Save the project file that has been created For the full mode features refer to CHAPTER 3 Caution This menu is grayed out when a device is connected To enable this menu execute Disconnect from Device R20UT2909EJ0201 Rev 2 01 Page 33 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 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 button Note that Disconnect from Device and Set Project commands are not assigned to the button Figure 2 26 Microcontroller Menu Renesas Flash Programmer Supported Yers File Tool Microcontroller 1 Disconnect From Device 2 Blank Check 3 Erase 4 All Erase 5 Program 6 Verify 7 Read Set Security 8 Checksum 9 Set Option Bytes 1 0 Get Flash options 1 LE Set Project 1 Disconnect from 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 2 Blank Check command This command executes blank check on all areas of the flash memory The result is displayed per area when the command complete
45. mand is used to read the specified block of the flash memory Executing the Read command opens the Save As dialog box Note that no data is saved when the FFH is read Figure 2 29 Save As Dialog Box Save As EEI Save im O hes Oe ir My Recent Documents Desktop My Documents hy Computer lla r File name sample mot unge Save as type S Record Files mot Cancel Placez i Enter a filename in the File name box A saving format S Record File mot is specified in the Save as type list box Clicking button specifies the file name closes the dialog box and opens the Read dialog box The dialog box has the Tree tab and the Address tabs Selecting either of them determines how you specify the item to be read Clicking the or the X button closes the dialog box without specifying the file name R20UT2909EJ0201 Rev 2 01 Page 36 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE Figure 2 30 Tree Tab of Read Dialog Box E E Rx64M Group Code Flash 1 OxFFCOOOOO DOxFFFFEOOO DQxFFFFADOO DxFFFFBOOO DxFFFFOOOO DxFFFFAOOO OxFFFF 2000 OxFFFFOOOO OxFFFESO00 OxFFFEOOOO OxFFFOS000 OxFFFDOOOO OxFFFCS000 OxFFFF 1FFF OixFFFEFFFF OixFFFE FFF OxFFFODFFFF OixFFFO AFF OixFFFCFFFF The blocks with boxes under the Region column checked are read Absolute Image check box Checked When the read data are sa
46. n Communication Interface Frequency Communication Speed Power Supply Mode Pins Project Settings Remark The following buttons common to all the dialog boxes operate as follows Clicking the OK Next gt or button opens the next dialog box Clicking the button opens the previous dialog box Clicking the or the X button closes the dialog box 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 and the target microcontroller Figure 2 36 Communication Interface Dialog Box Communication Interface X Tool z Interface 2 wire UART 4 Back Cancel For details about each item see 2 2 3 R20UT2909EJ0201 Rev 2 01 Page 40 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE b Frequency dialog box This dialog box is used to set the input frequency and the CPU frequency Figure 2 37 Frequency Dialog Box Frequency For details about each item see 2 2 8 c Communication Speed dialog box This dialog box is used to set the communication speed Figure 2 38 Communication Speed Dialog Box Communication Speed APA For details about each item see 2 2 9 R20UT2909EJ0201 Rev 2 01 Page 41 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE d Power
47. n File Path DO fpvsarnple sampleNHXX64M Group fot Security Mode Command Protection Endian Little Endian Communication Interface Tool Hame El Connection 2 wire UA RT E Clock Input Frequency MHz 16 000000 E Communication Speed Communication Speed bps 2000000 E Target Power lt 1 gt Command Options category Operation options can be set Erase Before Selects whether to erase the blocks automatically before programming the blocks that Program have already been programmed Automatic Automatically erases the blocks Interactive Displays the confirmation dialog box before erasure None Does not erase the blocks before programming 3 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 2000 lines can be displayed If the text exceeds 2000 lines lines will be deleted starting from the first line Refer to 2 10 for details Figure 3 10 Output Panel E R20UT2909EJ0201 Rev 2 01 Page 64 of 73 Apr 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER3 FUNCTION DETAILS FULL MODE 3 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 3 11 Status Bar gt Table 3 5 Status Bar Displays Immediately after startup or when Clear is selected in the context menu of the output panel MM
48. n 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 there is no script file rsc or a file that is not a script file not an rsc file is specified the script execution function ends and the Welcome dialog box is opened If an error occurs due to an incorrect command in the script or while a command is being executed the Welcome dialog box will not 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 m Example A batch file sample bat example START d rfo ws RFP exe d rfo sample sample rsc ECHO OFF ECHO Rusult Code ErrorLevel PAUSE 4 3 Script file This section describes a script file file extension file format file and example 1 File extension FSC 2 File format File format text format Newline CR LF The only supported character code is ASCII one byte Unicode two bytes is not supported R20UT2909EJ0201 Rev 2 01 Page 66 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER4 SCRIPT EXECUTION FUNCTION 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 samp
49. o Dankas cece eae oel pauza olo ae ua kos cee ates UNa kaa kuu oa 64 3 0 QUIPUL Panel incidan TETTE TEL E 64 3 9 ez UI Bai aa 65 CHAPTER 4 SCRIPT EXECUTION FUNCTION sss sss ssssessscs 66 AA O REE Ee EE TI ETI PP o 66 A2 Sarn and Xul aa 66 AS OOMNDIUNIO anian a a aa aa aa r aea ea Aa 66 AA SCHOO U COMMING EET E E E italia 67 AS SEO MO 69 4 6 How to Handle Dialog Boxes that Open while the Program is Running 70 Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE CHAPTER1 BASIC OPERATION BASIC MODE This chapter describes the operation method by using the RX64M as the target microcontroller as an example to help you understand a series of basic operations with the basic mode of RFP 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 R5F564ML RX64M Target system Evaluation board Tool used El Interface 2 wire UART Generic Boot Device Power supply User power supply 3 3 V Frequency Input clock high speed oscillator 16 0 MHz Communication speed setting 2000000 bps Endian Little Endian Object to be programmed Program file area minimum unit programming mode Other settings Initial value The steps described in this chapter are as follows 1
50. o enable the button cm OO Oe Se ope k R20UT2909EJ0201 Rev 2 01 Page 61 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER3 FUNCTION DETAILS FULL MODE 3 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 3 8 Workspace Tree Panel E 3 sample i BI sample mot E BI samplel mot B A sample e raaCNnC7 2 E sample2 mot l 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 3 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 R20UT2909EJ0201 Rev 2 01 Page 62 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER3 FUNCTION DETAILS FULL MODE 2 Project nodes A project node represents a project within the workspace You can manipulate and edit one of th
51. ormation on pins from io0 to io5 of the E1 and E20 refer to Common Appendix B Figure B 1 E1 and E20 pins RX 2 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 Caution The connection is maintained after querying the device until the disconnection processing is executed 1 Confirm before connecting to the target microcontroller Figure 2 8 Confirmation Dialog Box Confirmation Q1010007 x 4 RFP mill now attempt to connect to your device AE Please ensure the board is connected powered and in Boot mode Cancel R20UT2909EJ0201 Rev 2 01 Page 23 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 When Ei 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 2 9 Select Emulator Dialog Box Select Emulator qu x Emulator located Emulator located 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 3 When USB Direct is selected the Select USB Device dialog box is displayed The detected USB port number is displayed Select it Figure 2 1
52. pecifies all the area If data or userboot is specified for a microcontroller that does not have a data area or user boot area the result code 1 is returned option specifies the action stoponwritten stoponblank stoponwritten if the area specified with area is not blank terminate the script execution function stoponblank if the area specified with lt area gt 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 EBOJEB1 EBA EBB written all written blocks will be erased device all blocks will be erased Executes the program command R20UT2909EJ0201 Rev 2 01 Page 68 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER4 SCRIPT EXECUTION FUNCTION Executes the verify command Geden 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 PC with a USB cable In the following case itis VID 045B8 PID 00251683234B9D9808 3 Generic Boot USB Direct Properties Ki E General Driver Details oe r Genenc Boot USB Direct E Device Manager OF x File Action view J z H Storage volu System devic Uninstall SS Universal Sel Scan for hardware changes 4 5 Log file Execute the
53. r is printed on the chassis Clicking the button establishes connection and query with the device and displays the Endian Mode dialog box In the case of RH850 Endian Mode Dialog Box does not open Figure 1 7 Select Emulator Dialog Box Select Emulator x F mulator located EEE EET Cik aa El SJMOOOI 29 8 Select the Little Endian optional button Clicking the button displays the Frequency dialog box Figure 1 8 Endian Mode Dialog Box Endian Mode x select the endian mode of device f Little Endian Bie Endian Cancel 9 The response to the inquiry in the Clock supply area is External Resonator or Clock in the Internal External list box and 16 000000 in the Input Frequency box indicating the 16 MHz fixed high frequency on chip oscillator Clicking the button displays the Communication Speed dialog box Figure 1 9 Frequency Dialog Box x Edemal Resonator or Clock 16 000000 MHz R20UT2909EJ0201 Rev 2 01 Page 10 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE lt 10 gt Select 2000000 from the Communication Speed list box Clicking the button displays the Query Generic Device dialog box Figure 1 10 Communication Speed Dialog Box Communication Speed o 2000000 lt 11 gt Query the target microcontroller Clicking the button displays the Project Settin
54. re 2 23 Open File Dialog Box Open File Organize New folder f e sample rws File name sample rws 3 Exit Exit terminates RFP RFP can also be terminated by clicking the 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 R20UT2909EJ0201 Rev 2 01 Page 32 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 4 2 Tool menu Selecting the Tool menu displays the pull down menu as shown in the figure below Figure 2 24 Tool Menu Renesas Flash Programmer Support Microcontroller Help e 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 For the items in the dialog box refer to Common CHAPTER 3 Figure 2 25 Unique Code Setting Dialog Box Cx f Enabled Disabled Cancel File Location Code File DArfpXsample testftsampleruc File Start Point f Restart on Session Continue From Previous User Specified Start Index blank for file start Final Index blank for file end E Uxabedet Q0000 1 Oxabedet QU0003 Data Overwrite i Overwrite f Abort 2 Change to Full mode Selecting this option switches the mode from basic to fu
55. rmation 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 Device Information File Path Displays the parameter file path of the device Security Mode Display the security mode of device The entry is blank when a device is not connected Endian Display the endian mode of project TM Identification Data Displays the TM Identification Data of the device This item is left blank if a device is not connected or Trusted Memory is disabled lt 2 gt Communication Interface category This category displays Tool and Connection Tool Name Displays the communication tool between the target board and host PC C Connection Displays the connection method between the target board and host PC lt 3 gt Clock category This category displays clock related settings Input Frequency MHz Displays the input clock of the device 45 Communication Speed category This category displays communication speed related settings Communication Speed bps Displays the communication speed with the device 5 Target Power Supply category This category displays Power Supply of the target device Supply Power Displays the power supply for the target device R20UT2909EJ0201 Rev 2 01 Page 44 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE
56. rporation http www renesas com Refer to http www renesas com for the latest and detailed information Renesas Electronics America Inc 2801 Scott Boulevard Santa Clara CA 95050 2549 U S A Tel 1 408 588 6000 Fax 1 408 588 6130 Renesas Electronics Canada Limited 9251 Yonge Street Suite 8309 Richmond Hill Ontario Canada L4C 9T3 Tel 1 905 237 2004 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 6503 0 Fax 49 211 6503 1327 Renesas Electronics China Co Ltd Room 1709 Quantum Plaza No 27 ZhiChunLu Haidian District Beijing 100191 P R China Tel 86 10 8235 1155 Fax 86 10 8235 7679 Renesas Electronics Shanghai Co Ltd Unit 301 Tower A Central Towers 555 Langao Road Putuo District Shanghai P R China 200333 Tel 86 21 2226 0888 Fax 86 21 2226 0999 Renesas Electronics Hong Kong Limited Unit 1601 1611 16 F Tower 2 Grand Century Place 193 Prince Edward Road West Mongkok Kowloon Hong Kong Tel 852 2265 6688 Fax 852 2886 9022 Renesas Electronics Taiwan Co Ltd 13F No 363 Fu Shing North Road Taipei 10543 Taiwan Tel 886 2 8175 9600 Fax 886 2 8175 9670 Renesas Electronics Singapore Pte Ltd 80 Bendemeer Road Unit 406 02 Hyflux Innovation Centre Singapore 339949 Tel 65 6213 02
57. s 3 Erase command This command is used to erase the specified block of the flash memory Executing the Erase command opens the Erase dialog box The blocks whose checkboxes are selected will be erased R20UT2909EJ0201 Rev 2 01 Page 34 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 E E Rx64M Group Code Flash 1 Figure 2 27 Tree Tab of Erase Dialog Box OxFFCOOOOO DOxFFFFEOOO DxEFFFAOOO DxFFFFBOOO DxFFFFOOOO DxFFFFAOOO OxFFFF 2000 OxFFFFOOOO OxFFFESO00 OxFFFEOOOO OxFFFOS000 OxFFFOOOO0 OxFFFCS000 OxFFFF 1FFF OixFFFEFFFF OixFFFE FFF OxFFFODFFFF OixFFFO AFF OixFFFCFFFF CHAPTER2 FUNCTION DETAILS BASIC MODE Clicking the button selecis all blocks for erasure Clicking the button selects all blocks that have been programmed for erasure Clicking the button selects the specified block for erasure Clicking the or the X button returns you to the main window without erasing a block Figure 2 28 Address Tab of Erase Dialog Box Start Address HEX conooo End Address HEX IITTITITE Length HEX 100000 Specify the erasing target area by entering the start address and the end address or by entering the start address and the data length Clicking the button leads to erasing of the data from the specified address range Clicking the or the X button closes the dialog box without performing erasing R20UT2909EJ0201 Rev 2 01 Apr 01 20
58. s 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 PC so the accuracy cannot be guaranteed R20UT2909EJ0201 Rev 2 01 Page 22 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 2 5 Mode Pins at Connection dialog box This dialog box is used to select and control the pins that control the mode pins of the target microcontroller from among pins 00 to 105 of the E1 or E20 Figure 2 7 Mode Pins at Connection Dialog Box Mode Pins at Connection E X Mode Fins at Connection ich mid loa loz la 1 iol Pin Outputs Ni D M Wo C m 0xi4 Pin Setting High 7 NNN Mm ml mMm 0x00 WARNING Incorrect settings could damage your hardware Cancel Pin Outputs check box Select the pin or pins from among io0 to io5 to control the mode pins of the target microcontroller Placing a checkmark in the box sets the pin as an output and removing a checkmark sets the pin as an input Pin Setting High check box This box is used to set the level of the pin selected from among io0 to io5 to high or low Placing a checkmark sets the level to high while removing the checkmark seis the level to low This setting is effective only when the I O direction of the pin is output Remark For more inf
59. s specified Automatic This option selects whether or not to send the ID code automatically on ID code authentication authentication True Enables automatic verification of the ID code False The ID Code dialog box is opened on connection to a device to which an ID code has been written Save to the project This option selects whether or not to save the ID code for authentication in the project file file Enables the option Disables the option R20UT2909EJ0201 Rev 2 01 Page 48 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 11 Timeout Option category This category is used to specify Timeout for Erase Timeout for Blank Check Timeout for Program and Timeout for Read 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 12 gt Lock Bit category This category is used to specify lock bit related settings Disconnect Selects whether to set the lock bit in block units when disconnecting from the device option e Displays the setting dialog e Do Nothing Lock Changes the lock state of the block when disconnecting from the device Blocks At Block Locking Double click on Lock Disconnect
60. specify a log file script command log filename 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 mmm Start Script Version Script Workspace DD Mon YY HH MM SS mmm lt script command gt Characters in the output panel DD Mon YY HH MM SS mmm End Script 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 R20UT2909EJ0201 Rev 2 01 Page 69 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER4 SCRIPT EXECUTION FUNCTION 4 6 Howto Handle Dialog Boxes that Open 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 lt Action by the user gt Enter the ID code written in the microcomputer to the ID Code dialog box
61. t 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 2 48 Button Start Figure 2 49 Progress report Dialog Box Progress report Processing MEAR If button is clicked during the button is effective the command being executed is aborted 29 Status Bar The status bar shows the progress as a color and with a message when a command selected on the Microcontroller menu is executed Figure 2 50 Status Bar Table 2 1 List of Status Bar Display p Ta Immediately after start of the command or when the clear button of the output panel is clicked BUSY During the command execution R20UT2909EJ0201 Rev 2 01 Page 54 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 10 Output Panel The output panel displays the execution status of the command selected on the Microcontroller menu in text Up to 2000 lines can be displayed If the text exceeds 2000 lines lines will be deleted starting from the first line Figure 2 51 Output Panel a Output Panel Context Menu Right clicking the output panel displays a context menu Table 2 2 Output Panel Context Menu Copies the text selected on the output panel to the clip board Select All Selects the entire text on the output panel Clears the entire text and the status bar display of the ou
62. t digits of the result of CRC32 function calculation For details of calculation refer to Figure B 2 32 bit CRC Calculation Specifications in Appendix B Supplementary Document 9 Set Option Bytes command This command is used to set the option bytes of the target microcontroller When the Set Option Bytes command is executed the contents that are set for OPBTn in the Option Bytes category in the Other Settings tab of the Project Settings dialog box are reflected to the target microcontroller For details see 2 4 3 11 f lt 13 gt Option Bytes category R20UT2909EJ0201 Rev 2 01 Page 38 of 73 Apr 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 10 Get Flash options command This command is used to read and display the contents of the flash option settings of the target microcontroller When the button is clicked the read results are reflected to the Set ID Code Command Protection Security Option Bytes and OFS categories in the Other Settings tab of the Project Settings dialog box and displayed When this command is executable the flash option settings can be verified by executing this command before executing the Set Security At Disconnection Set Option Bytes or Set ID Code At Disconnection command For details see 2 4 3 11 f 145 Option Bytes category 16 Set Device Security category and lt 17 gt Set ID Code category Figure
63. tary including but not limited 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 1s 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 1f 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 How to Use This Manual Target Readers This manual is intended for users who are using the flash programmer in desi
64. tion Clock Input Frequency MHz Communication Speed Communication Speed bps Target Power Supply Power E4M Group Keneric Boot Device C Userstoolg4opD ata Local Temp Command Protection Little Endian El 2 wire LIART 2000000 El Supply 3 3 For details about each item see 2 4 3 11 f Project Settings dialog box Clicking the button opens the Communication Interface dialog box Clicking the button saves the project file and opens the main window Remark The Modify button is disabled while it is connected with the target controller To enable it select the Microcontroller menu and select Disconnect from Device then select Set Project from the Microcontroller menu to display the Project Settings dialog box R20UT2909EJ0201 Rev 2 01 Apr 01 2015 Page 27 of 73 LENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 2 12 Open latest workspace If you select Open latest workspace in the Welcome dialog box the main window is displayed with the settings for the workspace used last time Figure 2 17 Open latest workspace Create new workspace f Basic mode Full mode D sriptsamples sample ws Open workspace ext Carcel 2 2 13 Open workspace If you select Open workspace in the Welcome dialog box the Open File dialog box is displayed Figure 2 18 Open workspace Create new workspace
65. tput 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 2 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 2 52 Clear Output Panel Button Clear Output Panel R20UT2909EJ0201 Rev 2 01 Page 55 of 73 Apr 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER3 FUNCTION DETAILS FULL MODE CHAPTER3 FUNCTION DETAILS FULL MODE This chapter describes function details of the commands windows and dialog boxes of the full mode of RFP 3 1 Introduction Make sure that the RFP package is installed For how to install the RFP package see Common CHAPTER 2 RFP INSTALLATION Before starting RFP make sure that the debugger and utility are not running 3 2 Starting up On the taskbar click the 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 project can be set up by the generic device query format The device information file is created through a query to the microcontroller R20UT2909EJ0201 Rev 2 01 Page 56 of 73 Apr 01 2015 ENESAS Renesas Fl
66. ulates the checksum using the 32 bit addition method method Remark The 32 bit addition method displays the eight lower order digits of the result of adding the values of all bytes starting from address 00h The 32 bit CRC method displays the eight digits of the result of CRC32 function calculation For details of calculation refer to Common Appendix B Figure B 2 32 bit CRC Method Calculation Specifications R20UT2909EJ0201 Rev 2 01 Page 46 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 9 Mode Pins At Disconnection category This category is used to make mode pin related settings Reset Pin As Selects whether to set the reset pin at Low level when disconnecting from the device Low True The reset pin is set to low level False The reset pin is set to high impedance Reset Device Selects whether to reset the device when disconnecting from the device Disabled Mode Pins Specifies the mode pin state when resetting the device nomenon Mode Pins at Disconnection X Mode Pins at Disconnection ich ad ia Pin Outputs Pin Setting High Fl l Fi Gancel Pin Outputs check box Selects the pin to control the mode pin of the target microcontroller from 00 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
67. use in products or systems that 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 radiat
68. ved 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 the Select All button selects all blocks for reading Clicking the Select Written button selects all blocks that have been programmed for reading Clicking the button leads to reading of the selected blocks and saving of the contents in a file when the process ends normally Clicking the or the X button closes the dialog box without performing reading Figure 2 31 Address Tab of Read Dialog Box R20UT2909EJ0201 Rev 2 01 Apr 01 2015 Start Address HEX conooo End Address HEX fttrtttt Length HEX 100000 4 Absolute Image Page 37 of 73 LENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE Specify the reading target area by entering the start address and the end address or by entering the start address and the data length Absolute Image check box 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 the button leads to reading of the data from the specified address range and saving of the contents in a f
69. window Figure 1 13 Project Settings Dialog Box Other Settings Tab Basic Settings Other Settings E Basic Mode Option Auto Disconnect E Command Options rite Mode Set Program verify Blocks Select Blocks Dialog Before Program All Erase Before Program Verity After Program Checksum After Program Clear Configuration After All Erase File Over Warning Checksum Type Mode Pins At Disconnection Reset Pin As Low Reset Device R20UT2909EJ0201 Rev 2 01 Project Settings x True Minimum programming mode Program erty Blocks True False False False False False CAC method True False Page 13 of 73 Apr 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE 5 Selection of program file 1 Clicking the button in the User Data area of the program file area displays the Open File dialog box Figure 1 14 Main Window Renesas Flash Programmer Supported Version iol x Fie Tool Microcontroller Help Microcontroller Rx64M Group SS Vv User Data area NN TT MET Ms Boot e NE Browse Command Program o 1 1 1 11 User Boot Area block size 32768 byte User Boot Area number of blocks 1 Data ash block size 64 byte Data Hash number of blocks 1024 Getting Other Information Generic Device Query complete Input Frequency Extemal Resonator or Clock 16 000000MHz Peripheral Clock Frequency 60 Hz Connecting to device
70. y any folder in the Folder box Clicking the button displays the Communication Interface dialog box Figure 1 2 Create new workspace Dialog Box Create new workspace g x Using Target Microcortroler Group Device Name a RX Generic Boot Device ETU RXIOOFINE Genero Boot Device mamma Genere Demos oso Genere Boot Deve o Device version ES2 0 or later Device verson ES2 Dorta vesoeus S d PS soci womwe For CSIB3 HS UARTA R20UT2909EJ0201 Rev 2 01 Page 7 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE 3 Select E1 in the Tool list box For R5F564ML the selection in the Interface list box is fixed to 2 wire UART Clicking the button displays the Power Supply dialog box Figure 1 3 Communication Interface Dialog Box Communication Interface N x Tool Interface 2 wire UART cees 45 Do not select the Power target from the emulator check box Clicking the button displays the Mode Pins at Connection dialog box In the case of RH850 Mode Pins at Connection Dialog Box does not open Figure 1 4 Power Supply Dialog Box Power Supply x Be careful of power supply limitation of the emulator supply voltage C 33Y C 50 V USB YBUS Cancel R20UT2909EJ0201 Rev 2 01 Page 8 of 73 Apr 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERAT
Download Pdf Manuals
Related Search
Related Contents
User Guide - Orebrobildiagnos.se analizzatore di massa corporea body composition analyzer 仕様書(PDF:296KB) Jet Tools PDS-12CS User's Manual Arria V Avalon-MM Interface for PCIe Solutions User Guide "取扱説明書" DB10018T-02 - Sta-Rite CAN CONNECT to manual - Cooking Appliances Australia Copyright © All rights reserved.
Failed to retrieve file