Home
Renesas Flash Programmer V2.05 Flash memory programming
Contents
1. 57 3A MONU Bali ci 58 537 EB Bt me 58 34 2 An a a iaaa e aa Aaea 58 3 4 3 Microcontroller menu ss cssssscssssscsssscessascessnscsqunsentns 59 344 HeID Men Ur ii 60 DD TOO Dr 60 3 6 Workspace Tree Panel 2 italia 61 3 7 Project Settings Panel oiii eoe Eo nr INE ua au E Rete o sec DE Soa Ecc does Eu AV 63 30 OU DU Panel ee ES 63 3 9 Status of Eseo E PTT TTT TTT 63 CHAPTER 4 SCRIPT EXECUTION FUNCTION sssss 64 41 4 2 4 3 4 4 4 5 4 6 SIT QM second aras ol M H 64 Start and CNM e E 64 SONDI IIl pa 65 SCHDUCOMIWMANOS sz SEEN sado uo buadi E E 65 LO WING is 68 How to Handle Dialog Boxes Opened while the Program is Running 68 Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE CHAPTER1 BASIC OPERATION BASIC MODE This chapter describes the operation method by using the RX as the target microcontroller as an example to help you understand a series of basic operations with the basic mode of RFP This chapter covers how to start the system execute the Program command and write the target microcontroller e Series of operations described in this chapter The operating conditions are as follows Target microcontroller R5F562TAA RX62T
2. 2 2 2 Create a new workspace dialog box This dialog box is used to create a new workspace 1 2 3 4 5 6 Figure 2 3 Create a new workspace Dialog Box Create new workspace l x Device Name COM eco Device Generic Boot Device V850E4A3 JUPDAF3B a e E UPD70F3474A For CSIBO HS UARTAD Microcontroller list box Select All Generic Boot Device V850 RL78 or 78K to narrow down the microcontrollers that can be selected in the Using Target Microcontroller list box Filter box Enter a character string that matches the character strings displayed in the Using Target Microcontroller list box to narrow down the microcontrollers that can be selected in the Using Target Microcontroller list box Using Target Microcontroller list box Select the target microcontroller to be used Workspace Name box Enter the workspace name in this box Project Name box Enter the project name Folder box opecify 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 Clicking the button displays the next dialog box Clicking the or the X button terminates RFP R20UT2908EJ0202 Rev 2 02 Page 20 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 2 2 3 Communica
3. K net O Clicking the button displays the next dialog box Clicking the or the X button returns you to the Communication Interface dialog box Remark This dialog box is displayed only when RFP starts up for the first time It won t be displayed for the second time and on After a restart of RFP it is displayed only for the first time and not for the second time and on R20UT2908EJ0202 Rev 2 02 Page 24 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 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 10 Select USB Device Dialog Box xi 1 USB device located Cancel Clicking the button displays the next dialog box Clicking the or the X button returns you to the Communication Interface dialog box Remark This dialog box is displayed only when RFP starts up for the first time It won t be displayed for the second time and on After a restart of RFP it is displayed only for the first time and not for the second time and on 4 A query for the target microcontroller is performed Figure 2 11 Query Generic Device Dialog Box Query Generic Device X Query Generic Device X xf Adjustment of Baud Rate xf Adjustment of Baud Rate 4 Sending Supported Devices Inquiry 4 Sending Supported Devices Inquiry 4f Selecting Device R600 Series Selectin
4. 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 0200 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 O 2015 Renesas Electronics Corporation All rights reserved Colophon 4 0 Renesas Flash Programmer V 2 05 LENESA
5. Target system Renesas Starter Kit for RX62T Tool used E1 Interface 2 wire UART Communication speed setting 1 562 500 bps Frequency 12 50 MHz main clock x 8 multiplication peripheral clock x 4 multiplication Power supply E1 5 0 V USB VBUS 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 Installation 2 3 4 System connection Connection of target system 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 PC using a USB cable 3 Connection of target system Connect the target cable of the tool used to the target system Remark Connect the target system before supplying Voo power from the target system R20UT2908EJ0202 Rev 2 02 Page 7 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE 4 Creation of workspace 15 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 a
6. B sample1 hex Device Name R600 Series E El sampleZ hex Base Device Generic Boot Device eR sample rx Device Information File Path d ip samplesample_rsSAX600 Series ict i E sample1 mot B E Communication Interface El sampleZ mot B Tool Mame E1 Bl sample3 mot Connection 2 mire UART E Clock Clock Type External Resonator or Clock Input Frequency MHz 2 5000 Clock Mode 0 CEM 8 CKP 4 E Baud Hate Device Hame Mame of the selected device i 3 Workspace Treel panel 4 Project Settings panel 5 Output panel F R20UT2908EJ0202 Rev 2 02 Page 57 of 71 Jul 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 2 4 1 for details of each menu Figure 3 3 File Menu Renesas Flash Programmer Supp Tool Microcontroller Help kh Create a new workspace 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 Microco
7. 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 connection 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 045B amp PID 0025 6 amp 3234B9D9 amp 08 amp 3 Wait Waits for the specified time Connect to the device Disconnect from the device lt time gt specifies the wait time unit msec range 1 2147483647 R20UT2908EJ0202 Rev 2 02 Page 66 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER4 SCRIPT EXECUTION FUNCTION Blank check blankcheck area e 1117 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 specifies 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 stoponw
8. OxFFFFEFFF OxFFFFDFFF OxFFFFCFFF OxFFFFBFFF OXFFFFAFFF OxFFFF9FFF OXFFFFSFFF OxFFFFZFFF OxFFFF3FFF OxFFFEFFFF OxFFFEBFFF OxFFFEZFFF Unknown Unknown Unknown Unknown Unknown Unknown Unknown Unknown Unknown Unknown Unknown Unknown Unknown Locking Select All Unlock Unlock ha Cancel gramming Selects whether to display the Select Blocks dialog box before pro or verification when Block Programming Mode is selected True Enabled False Disabled Selects whether to erase all blocks before programming True Enabled False Disabled Selects whether to execute readback verification after programming True Enabled False Disabled R20UT2908EJ0202 Rev 2 02 Jul 01 2015 LENESAS Page 47 of71 Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE Checksum After Selects whether to obtain the checksum of the device after programming Disabled Security after Selects whether to set security after programming Disabled File Over Warning Selects whether to display the warning dialog when the program file exceeds the ROM size of the flash Disabled Remark The checksum is the eight lower order digits of the result of adding the values of all bytes in the flash memory 9 Mode Pins At Disconnect category This category displays or is used to select Reset Pin As Low Reset Device and Mode Pins Information Reset Pin As Selects whether to set the reset pin at
9. Recommended Use Default f User Specified 155250 bps 0 0 Error rate 0 1 on emulator 1 Communication Speed Recommended list box If the Use Default check box is selected 38400 is selected If the check box is cleared one of the recommended baud rates can be selected 2 User Specified box When E1 E20 is selected a non standard communication speed can be entered The displayed error takes into account the peripheral clock of the microcontroller communication speed calculation formula and the characteristics of E1 E20 Clicking the button displays the previous dialog box Clicking the button displays the next dialog box Clicking the or the X button terminates RFP R20UT2908EJ0202 Rev 2 02 Page 28 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 2 9 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 tab Selecting a tab changes the categories in which settings are displayed Figure 2 17 Project Settings Dialog Box Project Settings i X Device Name RX5EDO Series Base Device Generic Boot Device Device Information File Path C UserstoolgiApp Data Local Temp Tool Name Connection Clock Clock Type Extemal Resonator or Clock Input Frequency MHz Clock Mode CKM CKP For details about each item see 2 4 3 1
10. 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 can have multiple program files maximum of 64 one of which is available for programming and verification The program file node available for programming and verification is displayed bold and marked by Double clicking one of other nodes makes it available for programming and verification Selecting User Boot Area from the context menu of a program file node displays the project node bold and marks the program file node with B a Context menu of program file nodes Right clicking a program file node displays its context menu Table 3 4 Context Menu of P
11. output panel or in the Progress report dialog box Figure 2 48 Button otart 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 2 9 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 Ta Immediately after start of the command or when the clear button of the output panel is clicked BUSY During the command execution R20UT2908EJ0202 Rev 2 02 Page 54 of 71 Jul 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 Operation on User Flash Data programmed at the following positions OXFFFCODOO OxFFFFFFFF Size Ox00040000 256 E programmed in b seconds Operation on Data Flash Data programmed at the following positions OxO01 00000 O 00107FFF Size Ox00008000 32 E programmed in 1 seconds Image written to device D isconnecting Disconnected a Output Panel Context Menu Right clicking the output panel displays a context me
12. 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 Information Mode Pins at Disconnection FI Mode Pins at Disconnection iob Pin Outputs E Pin Setting Ri High WARNING Incorrect settings could damage your hardware Cancel Pin Outputs check box Selects the pin to control the mode pin of the target microcontroller from 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 ioO to io5 pins to High or Low A selected check box is High and a cleared check box is Low This setting is effective only when the I O direction is Output Remark For the io0 to io5 pins of E1 and E20 refer to Common APPENDIX B Figure B 1 E1 and E20 Pins RX R20UT2908EJ0202 Rev 2 02 Page 48 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 10 ID Code Authentication category This category is used to specify ID code ID Code Changes the ID code for authentication Authentication e Changing the ID code xi ID Code Cancel ID Code box Enter the ID code Import 51 button The Open dialog box is open
13. Pin at Connection dialog box Figure 1 4 Power Supply Dialog Box R20UT2908EJ0202 Rev 2 02 Page 9 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE 5 Set the Pin Outputs check boxes and Pin Setting High check boxes For R5F562TAA set io2 of El to High for the MDO pin and set io3 of E1 to Low for the MD1 pin Clicking the button displays the Confirmation dialog box Figure 1 5 Mode Pin at Connection Dialog Box Mode Pins at Connection Mode Pins at Connection ioh Pin Outputs Pin Setting High WARNING Incorrect settings could damage your hardware Remark Processing the io pins is done to set the operating mode of the RX to the boot mode For the RX62T control must be applied to set the MDO pin to the high level and the MD1 pin to the low level This can be done by connecting any of pins from ioO to io5 of the E1 E20 and making the required settings in the Mode Pins at Connection dialog box For the io0 to io5 pins of El refer to Common APPENDIX B Figure B 1 E1 and E20 Pins RX 6 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 Q1010002 Ea RFP mill now attempt ko connect to your device ee Please ensure the board is connected powered and in Boot mode Cancel 7 The name and
14. V2 05 CHAPTER2 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 25 Tool Menu Renesas Flash Programmer Support Help Change ko Full mode 1 Unique Code Setting Selecting this option displays the Unique Code Setting dialog box in which you make settings for imbedding unique codes Save the project file that has been created For the items in the dialog box refer to Common Chapter 4 Figure 2 26 Unique Code Setting Dialog Box xi Ok f Enabled Disabled Cancel File Location Gode File DArfpYsample testizample ruc File Start Paint 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 C Overwrite f Abort 2 Change to Full mode Selecting this option switches the mode from basic to full Save the project file that has been created For the full mode features refer to Chapter 3 Caution This menu is grayed out when a device is connected To enable this menu execute Disconnect To Device R20UT2908EJ0202 Rev 2 02 Page 35 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 2 4 3 Microcontroller menu The following pull down menu appears by selecting the Microcontroller menu This menu is
15. above still does not resolve the problem see the FAQ at http www renesas com support or contact Renesas via the Renesas website http www renesas com contact R20UT2908EJ0202 Rev 2 02 Page 17 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE CHAPTER 2 FUNCTION DETAILS BASIC MODE This chapter describes function details of the commands windows and dialog boxes of the basic mode of RFP 2 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 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 Power Supply Mode Pin at Connection Frequency and Communication Speed dialog boxes are skipped depending on the selected connection method Figure 2 1 Dialog Boxes Displayed in the Startup Wizard Welcome Create a new workspace Welcome See 2 2 1 Open a created Create a new workspace workspace Y See 2 2 2 m Open workspace Communication Interface See 2 2 11 See 2 2 3 i Power Su
16. allows you to specify and check advanced information about programming Leave the initial values for other settings Clicking the button saves the project file and displays the main window Figure 1 12 Project Settings Dialog Box Other Settings Tab Project Settings x E Basic Mode Option Auto Disconnect True E Command Options Write Mode Minimum programming mode Set Pragram Verify Blocks Program erty Blocks Select Blacks Dialog Before Pragram V True All Erase Before Program False Verify After Program False Checksum After Program False File Over Warning False Mode Pins At Disconnection Reset Pin As Low True Reset Device False Mode Pins Information Pin Direction O 00 Pin Level 0200 E ID Code Authentication R20UT2908EJ0202 Rev 2 02 Page 13 of 71 Jul 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 13 Main Window Renesas Flash Programmer Supported Version x File Tool Microcontroller Help Microcontroller JRXBO0 Series IV User Data area User Boot area Browse Command Program Line size received 56 Generic Device Query complete Clock Frequency External Resonator or Clock 12 50008 Hz Clock Mode 0 CEM 8 and CEP 4 Connecting to device R8600 Series on El b
17. operation of the All Erase command is subject to the setting of Erasure Permission of the User Boot Area Options category in the Other Settings tab of the Project Settings dialog box For details see 2 4 3 11 f lt 12 gt User Boot Area Options category 5 Program command This command is used to write the program file selected in the program file area to the flash memory When programming is complete the result is displayed The operation options related to the Program command are according to the settings of All Erase Before Program Verify After Program Checksum After Program Security After Program and File Over Warning in the Command Options category of the Other Settings tab in the Project Settings dialog box For details see 2 4 3 11 f 88 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 compare data read from the flash memory with the program file selected in the program file area and indicate the result R20UT2908EJ0202 Rev 2 02 Page 38 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 7 Read command This command reads the specified flash
18. 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 14 Security Setting Flash Shield Window category This category is used to set security Set Security Specifies whether to set the flash shield window Start of flash shield block Inputs the starting block of the flash shield window number End of flash shield block Inputs the ending block of the flash shield window number R20UT2908EJ0202 Rev 2 02 Page 51 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 2 4 4 Help menu Selecting the Help menu displays the following pull down menu Figure 2 42 Help Menu j Renesas Flash Programmer Supported Version File Tool Microcontroller version Information Microcontroller ley ee 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 Renesas Flash Programmer V2 03 00 31 July 2013 2013 Renesas Electronics Corporation 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 Microcontroller Area Microcontroller JRXBO0 Seres R20UT2908EJ0202 Rev 2 02 Page 52 of 71 Jul 01 2015 ENESAS R
19. 1 f Project Settings dialog box Clicking the Modify button opens the Communication Interface dialog box Clicking the button saves the project file and opens the main window Clicking the or the X button terminates RFP Remark The button is disabled while it is connected with the target controller To enable it select the Microcontroller menu and select Disconnect To Device then select Project Settings from the Microcontroller menu to display the Project Settings dialog box R20UT2908EJ0202 Rev 2 02 Page 29 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 2 2 10 Open latest workspace If you select Open latest workspace in the Welcome dialog box the main window is displayed with the settings for the workspace used last time Figure 2 18 Open latest workspace Create new workspace Basic mode C Full made D ip sample sample rvs C Open workspace ext Cancel 2 2 11 Open workspace If you select Open workspace in the Welcome dialog box the Open File dialog box is displayed Figure 2 19 Open workspace Create new workspace f Basic mode C Full mode C Open latest workspace D tip sample sample rvs Next Cancel R20UT2908EJ0202 Rev 2 02 Page 30 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE Figure 2 20 Open File D
20. 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 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 in a command or an error is generated while a command is being executed the result code 1 is returned immediately and execution of the RFP is terminated As a note If 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 open
21. C D 4 mu 0 lt C 2 D LENESAS Renesas Flash Programmer V2 05 Flash memory programming software User s Manual RX100 RX200 RX600 Except 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 http www renesas com Renesas Electronics WWW renesas com Rev 2 02 Jul 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 in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information Renesas Electronics has used reasonable care in preparing the information included in this document but Renesas Electronics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Re
22. Help menu Clicking the Help menu displays the following pull down menu Refer to 2 4 4 for details of each menu Figure 3 6 Help Menu Renesas Flash Programmer Supported Version File Tool Microcontroller A 9 S i E kal sample mi 1 1m version Information Import License 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 2 4 3 for details of each command Figure 3 7 Tool Bar mid d 9d TIES I er ER 1 2 3 4 5 6 7 8 9 10 11 12 Table 3 1 Tool Bar e Executes the Program command Executes the Verify command Opens a wizard type dialog box for changing the project basic settings n jc je O O m H l m ee y Remark This button is invalid when the device is connected to a target microcontroller Select Disconnect To Device to enable the button R20UT2908EJ0202 Rev 2 02 Page 60 of 71 Jul 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 delet
23. RRBUU Series fcf E Communication Interface Tool Mame El Connection 2 wire UART E Glock Glock Type External Resonator or Clock Input Frequency MHz 12500000 Glock Mode li GEM E GEF 4 MM 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 lf 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 Erase complete Processing file D shes ssample mot User Flash No Data Loaded Operation on Data Flash Data programmed at the following positions OxOO1OO000 Ox00107FFF Size OxOOOOBODO 32 E programmed in 1 seconds Image written to device Y 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 Table 3 5 Status Bar Displays AAA Immediately after startup or when Clear is selected in the context menu of the output panel During the command execution When the command has terminated normally When the command has terminated abnormally R20UT2908EJ0202 Rev 2 02 Page 63 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER4 SCRIPT EXECUTION FUNCTION CHAPTER4 SCRIPT EXECUTION FUNCTION This chapter explains the script execution function
24. S Renesas Electronics Corporation R20UT2908EJ0202
25. ash Programmer V2 05 RH850 RX700 Include RX64M R20UT2909E E1 Emulator ROE000010KCEO00 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 Term replacement When the RX100 RX200 is used some terms in this manual should be replaced as shown in the table below To be replaced with Flash shield window Area protection USB Direct USB interface mode Set Security Access window program All trademarks and registered trademarks are the property of the respective owner CONTENTS CHAPTER 1 BASIC OPERATION BASIC MODE e 7 CHAPTER 2 FUNCTION DETAILS BASIC MODE 18 2 INIO NCIION eee T 18 2 2 claim vc 18 224 Welcome dialog DOX oii i Ero crum I a rede i a a 19 2 2 2 Create a new workspace dialog box cocoooooccocccocoocconccononcconocononccnncnnnnos 20 2 2 3 Communication Interface dialog DOX ooocccccooccocococconccnoconconononcnnnnoos 21 2 2 4 Power Supply dialog box essssssscesssssssssessssnsssstt 22 2 2 5 Mode Pin at Connection dialog bOX ssssesssssss 23 2 2 6 Connection and Query dialog box ssssss
26. ash options mo Set Project Erase Blo d rad iiic Generic Device Query complete Input Frequency External Resonator or Clock 12 500000MHz Clock Mode O CEM 8 and CEF Connecting to device R8600 Series on ET by 2 wire LIART Initiating BOOT sequence Sending selection of clock mode Selection of Clock Made Clock selected code O Changing baud rate to 1562500bps Set baud rate value 1562500bps Connection complete Clear Output Panel lt 2 gt After clicking the button execute the Program command for R5F562TAA 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 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 R20UT2908EJ0202 Rev 2 02 Page 16 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE Figure 1 16 Program Command Execution Resul
27. ayed The Power Supply Mode Pins at Connection Frequency and Communication Speed dialog boxes are skipped according to the selected connection method Figure 3 1 Flow of Dialog Boxes Until the Program is Activated Welcome See 2 2 1 Create a new workspace Open a created Create a new workspace workspace See 2 2 2 esee Communication Interface See 2 2 11 See 2 2 3 Open last workspace See 2 2 10 Power Supply 1 See 2 2 4 Mode Pins at Connection t See 2 2 5 Connection and Query See 2 2 6 Frequency 1 See 2 2 7 Communication Speed See 2 2 8 Project Settings See 2 2 9 See 3 3 R20UT2908EJ0202 Rev 2 02 Page 56 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER3 FUNCTION DETAILS FULL MODE Or a main window is opened 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 3 3 Main Window The main window consists of the following items Figure 3 2 Main Window 2 Tool bar Renesas Flash Programmer Supported ersicn Al ES File Tool Microcontroller Help ELA RAE gt ej E sample B 3 sample rl 8 E Device Information File
28. cked Unlocked Iv Absolute Image Unlocked Unlocked Unlocked Unlocked Unlocked Unlocked Unlocked Unlocked Unlocked R20UT2908EJ0202 Rev 2 02 Jul 01 2015 LENESAS Page 39 of 71 Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE The blocks with boxes under the Region column checked are read Absolute Image checkbox Checked When the read data are saved to a file the data are saved at the address in flash memory from which the data were read out Not checked When the read data are saved to a file the data are saved in the address range starting from address 00h Clicking Select All selects all blocks for reading Clicking Select Written selects all blocks that have been programmed for reading Clicking Read leads to reading of the selected blocks and saving of the contents in a file when the process ends normally Clicking Cancel or x closes the dialog box without performing reading Figure 2 32 Address Tab of the Read Dialog Box Tree Address Start Address HE User Boot Flash eeranono Data Flash End Address HE EEEEEEEE Length HEX Start Address OxFFFA0000 m End Address UxFFFFFFFF ono Size fhO K e Absolute Image T Specify each reading target area by entering the start address and the end address or by entering the start address and the data length Absolute Image checkbox Checked When the read
29. data are saved to a file the data are saved at the address in flash memory from which the data were read out Not checked When the read data are saved to a file the data are saved in the address range starting from address 00h Clicking Read leads to reading of the data from the specified address range and saving of the contents in a file when the process ends normally Clicking Cancel or x closes the dialog box without performing reading 8 Set Security command This command is used to set security of the target microcontroller When the Set Security command is executed the contents that are set in the Security Setting Flash Shield Window category in the Other Settings tab of the Project Settings dialog box are reflected to the target microcontroller For details of settings including the security settings see 2 4 3 11 f lt 14 gt Security Setting Flash Shield window category R20UT2908EJ0202 Rev 2 02 Page 40 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 9 Checksum command This command reads the checksum calculated in the target microcontroller and displays it on the output panel Checksums are calculated as follows Calculation method 32 bit sum method Calculation scope The user area the user boot area and the data area Figure 2 33 Output Panel after Execution of Checksum Command Getting the checksum of the device Checksum of the f
30. e 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 radiatio
31. ed 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 RFP exe d rfo sample testisample rsc ECHO OFF ECHO Rusult Code ErrorLevel PAUSE R20UT2908EJ0202 Rev 2 02 Page 64 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER4 SCRIPT EXECUTION FUNCTION 4 3 Script file This section describes a script file file extension file format file and example 1 File extension SC 2 File format File format text format Newline CR LF The only supported character code is ASCII one byte Unicode two bytes is not supported 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 dArfpisample test sample log workspace d rfp sample test sample sample rws programfile d hex sample mot userdata serial e1 9jm000129 connect checksum 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 b
32. ed when an ID code file 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 2 For a device with control code enter the value at the first byte of the effective data bytes Example When Effective data bytes 16 Control code H 45 ID code H 010203 H 04050607 H 08090A0B H OCODOEOF ID Code 450102030405060708090A0B0CODOEOF e Output to file The Save As dialog box is opened and the name of an ID code file in the RFP ID Code Files rid format to be created is 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 in the project file file Enables the option Disables the option R20UT2908EJ0202 Rev 2 02 Page 49 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER2 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 f
33. ed to select the pin to control the mode pin of the target microcontroller from ioO to io5 pins Figure 2 40 Mode Pins Dialog Box Made Fins at Connection inb Md 13 loz io rol Pin Outputs B row lW p p 0x14 Pin Setting High BE wo p p 0x04 WARNING Incorrect settings could damage your hardware Cancel Remark For the io0 to io5 pins of E1 and E20 refer to Common APPENDIX B Figure B 1 E1 and E20 Pins RX For details about each item see 2 2 5 Clicking the button displays the previous dialog box Clicking the button saves the workspace file and returns you to the Project Settings dialog box Clicking the or the button returns you to the Project Settings dialog box R20UT2908EJ0202 Rev 2 02 Page 44 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER2 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 Figure 2 41 Project Settings Dialog Box Project Settings x h Device Name RX5EDO Series Base Device Device Information File Path LX Users toolgi App Data Local Temp Tool Mame Connection Clock Clock Type Input Frequency MHz Clock Made CKM CKP L m l m E Communication Speed Specified By Basic Settings tab 1 Dev
34. 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 Confirmation dialog box Condition The Confirmation dialog box is displayed when the program file exceeds the capacity of the flash ROM at the time of writing Action by user Change the setting of File Over Warning to False in the Flash Program Options category under the Other Settings tab in the Project Settings dialog box R20UT2908EJ0202 Rev 2 02 Page 68 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 User s Manual RX100 RX200 RX600 Except RX64M Publication Date Rev 2 02 Jul 01 2015 Published by Renesas Electronics Corporation 434 NE S AS SALES OFFICES Renesas Electronics Corporation 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
35. elow Symbol Description 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 R20UT2908EJ0202 Rev 2 02 Page 65 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER4 SCRIPT EXECUTION FUNCTION Table 4 1 Script Commands Specify a log file log filename Specifies a log file For more details see 4 5 filename the full path of the log file If the full path contains spaces use double quotation marks to enclose the full path Specify a workspace 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 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 specifies the user boot area 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
36. enesas 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 IV User Data area sample mot Browse User Boot area Browse Figure 2 46 Open File Dialog Box Open File EE Look in 3 he o E T HELL sample mat My Recent Documents E Deskto p My Documents gr hy Computer LU My Network File name sample mot Files of type Program files hes mat s rec Cancel A 2 7 Command Area The command area displays the command selected on the Microcontroller menu Figure 2 47 Command Area Command Program R20UT2908EJ0202 Rev 2 02 Page 53 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 2 8 Start Button This button executes the command selected on the Microcontroller menu The execution progress is displayed on the
37. g 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 Renesas Fl
38. g Device R600 Series Sending Glock Mode Inquiry Sending Glock Mode Inquiry 4 Selecting Clock Mode O 4f Selecting Clock Mode O Sending Other Inquiries 4f Sending Other Inquiries Cancel LIK Cancel Clicking the button displays the next dialog box Clicking the or the X button returns you to the Communication Interface dialog box 5 For some microcontrollers the Select Device dialog box opens at the time of query by Select Device Select a device from the Select a device box Figure 2 12 Select Device Dialog Box Select a device RX600 Series LittleEndian R20UT2908EJ0202 Rev 2 02 Page 25 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 2 2 7 Frequency dialog box This dialog box is used to set clock supply and multipliers for the main clock and peripheral clock Figure 2 13 Frequency Dialog Box xi Edemal Resonator or Clock 12 5000 MHz 1 Clock supply area This area is used to select the communication speed at the port Figure 2 14 Clock supply Area Edema Resonator or Clock 17 5000 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 s
39. gs 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 E1 is selected The Mode Pins dialog box is displayed when E1 or E20 and 2 wire UART is selected Figure 2 35 Flow of Setting Change with the Modify Button Communication Interface Frequency Communication Speed Power Supply Mode Pins Project Settings 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 Interface 2wieUART gt For details about each item see 2 2 3 Clicking the button displays the next dialog box Clicking the or the X button returns you to the Project Settings dialog box R20UT2908EJ0202 Rev 2 02 Page 42 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE b Frequency dialog box This dialog box is used to set clock supply and multiplication ratios for the main clock and periphe
40. ialog Box Open File X Fj 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 R20UT2908EJ0202 Rev 2 02 Page 31 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 2 3 Main Window The main window consists of the following items Figure 2 21 Main Window Renesas Flash Programmer Supported Version File Tool Microcontroller Help 2 Microcontroller area Microcontroller IV User Data area sample mot Browse User Boot area 7 Browse Mi Command Program 85 Program File area 45 Command area 6 Status bar 7 Output panel 8 Clear Output Panel button El Clear Output Panel R20UT2908EJ0202 Rev 2 02 Page 32 of 71 Jul 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 22 File Menu Renesas Flash Programmer 5
41. ice Information category 2 Communication Interface category 3 Clock category 4 Communication Speed category 5 Target Power category 6 Mode Pins At Connection category Other Settings tab 7 Basic Mode Option category 8 Command Options category 9 Mode Pins At Disconnection category 10 ID Code Authentication category 11 Timeout Option category 12 User Boot Area Options category 13 Lock Bit category 14 Security Setting Flash Shield Window category Clicking the button displays the Communication Interface dialog box Clicking the button saves the project file and returns you to the main window Clicking the or the X button returns you to the main window R20UT2908EJ0202 Rev 2 02 Page 45 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 1 Device Information category This category displays information about the microcontroller such as Device Name Base Device and Device Information File Path Displays the base device of the device Device Information File Path Displays the parameter file path of the device 2 Communication Interface category This category displays Tool and Connection Tool Name Displays the communication tool between the target board and host PC Displays the connection method between the target board and host PC lt 3 gt Clock category This ca
42. 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 script command 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 4 6 How to Handle Dialog Boxes Opened while the Program is Running According to the settings dialog boxes might be displayed while the program is running How to deal with the various dialog boxes is covered below 1 ID code dialog box Condition When the ID code set in a project and that written in the microcomputer do not match the ID Code dialog box is displayed on connection of the microcomputer Action by the user Enter the ID code written in the microcomputer to the ID Code dialog box in the ID Code Authentication category under the Other Settings tab in the Project Settings After that set Auto Authentication to True Block Locking dialog box Condition The Block Locking dialog box is displayed on disconnection of a microcomputer that supports lock bits Action by user Select
43. ing and program file operations such as adding deleting and programming Figure 3 8 Workspace Tree Panel E sample KK _ _ m 1 Er 3 sample rl 8 3 El sample1 hex B 3 sample rx 2 3 AS 2 E samplet mot B 3 pi samplez motiB ies B sample3 mot 1 Workspace node This node represents the workspace currently opened You cannot open multiple workspaces The workspace tree has only one workspace node as its root node a Context menu of the workspace node Right clicking the workspace node displays its context menu Table 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 R20UT2908EJ0202 Rev 2 02 Page 61 of 71 Jul 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 the multiple projects maximum of 64 at a time The project that can be manipulated and edited is displayed bold and marked by Double clicking one of other project nodes makes it available for manipulation and edition a Context menu of project nodes Right clicking a project node displays its context menu
44. lash 0x03FC0000 User Flash Checksum of the flash OX003FCO000 User Boot Flash Checksum of the flash 0x0048AAC4 Data Flash Remark 32 bit addition is the eight lower digit of the result of adding the value of all bytes in the flash memory 10 Get Flash options command This command is used to read the contents of the flash options settings of the target microcontroller The read results are reflected to the Security Setting Flash Shield Window category in the Other Settings tab of the Project Settings dialog box and displayed When this command is executable the flash options settings can be verified by executing this command before executing the Set Security command For details of flash options settings see 2 4 3 11 f 14 Security Setting Flash Shield window category Figure 2 34 Get Flash options Command xi The setting state of a target microcontroller is as follows If you want to feedback them to the project settings press OK button Security Setting Flash Shield Window Set Security True Start of flash shield block number 5 0xFFFFEBFF End of flash shield block number 10 0xFFFFD400 1 E Cancel R20UT2908EJ0202 Rev 2 02 Page 41 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 11 Set Project When Project Settings is selected the Project Settings dialog box is displayed and you can check and change project settin
45. memory block Executing the Read command opens the Save As dialog box Figure 2 30 Save As Dialog Box Save As x Save In Ohe s o m E 3 My Recent Documents Deskto p o My Documents mr hy Computer File name d Mv Network Save as type sample mat m 5 Record Files mat Cancel Li 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 Save specifies the file name closes the dialog box and opens the Read dialog box The dialog box has the Tree tab and the Address tab Selecting either of them determines how you specify the item to be read Clicking Cancel or x closes the dialog box without specifying the file name Figure 2 31 Tree Tab of the Read Dialog Box Tree Address R 600 Series Er User Flash OxFFFCOOOO OxFFFFFODO OkFFFFEDOO OXFFFFDODD OxFFFFCOOO OxFFFFBOOO OxFFFF A000 OxPPPPS000 UxFFFFau OxFFFFAOOO UxFFFFOOOO OxFFFECOOO OxFFFESO00 OxFFFEMOOO OxFFFFFFFF OxFFFFFFFF xFFFFEFFF DxFFFFCFFF OxFFFFBFFF OxFFFFAFFF DxFFFFSFFF OxFFFFBFFF OxFFFFZFFF OxFFFF3FFF OxFFFEFFFF OxFFFEBFFF OxFFFEZFFF 4k EIST s Spi NC 4k TE TE 4k 4k 15k 16 E 16 K 16 K 16 K Written Mo No TERRE TTT Mo Mo No No No No No No No No l LI nlo cke d l Select All anced Select written Unlo
46. n displays the Communication Speed dialog box Figure 1 9 Frequency Dialog Box xi Multiplier for the main clock or perip Clock Mode R20UT2908EJ0202 Rev 2 02 Page 11 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE 10 Clear the Use Default check box and select 1562500 from the Communication Speed Recommended list box Clicking the button displays the Project Settings dialog box Figure 1 10 Communication Speed Dialog Box Communication Speed 11 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 11 Project Settings Dialog Box Basic Settings Tab Project Settings Device Name RXBDU Series Base Device Generic Boot Device Device Information File Path CUserstoolai sAppData V acal Temp Tool Mame E1 Connection 2 wire UART Clock Clock Type Extemal Resonator or Clock Input Frequency MHz 12 500000 Clock Mode O CKM CKP Communication Speed Communication Speed Specified By RFP Recommended R20UT2908EJ0202 Rev 2 02 Page 12 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE 12 The Other Settings tab in the Project Settings dialog box
47. n 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 milita
48. nd then click the button to open the Create new workspace dialog box Figure 1 1 Welcome Dialog Box Welcome El Full mode C Open latest workspace D rip sample sample rvs C Open workspace 2 ln 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 specify 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 x Microcontroller All Filter FO Using Target Microcortroler ICONO RX RXTOOFINE RX200 FINE VB5DE MA3 Device version ES2 0 or later T V A VB50E SJ3 H For CSIBO HS UARTAD DE SJ3 H For CSIB3 HS UARTAD VB5DE SJ3 H For CSIBO HS UARTAD R20UT2908EJ0202 Rev 2 02 Page 8 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE 3 Select E1 in the Tool list box For R5F562TAA 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 45 Select the Power target from the emulator check box and then select 5 0 V USB VBUS for Supply voltage Clicking the button displays the Mode
49. nesas Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of 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 us
50. nesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE Figure 2 28 Tree Tab of Erase Dialog Box xi Tree Address E RX600 Series E User Flash OxFFFCOOOO OxFFFFFOOO OxFFFFEOOO OXFEFFDOOO OxFFFFFFFF OxFFFFFFFF OxFFFFEFFF xFFFFDFFF DxFFFFAOOO OXPFFFS000 Unknown OXPFFFS000 Unknown OXPFFF4000 Unknown DxFFFFOOOO Unknown DxFFFECOOO Unknown DxFFFEBOOO p Unknown OxFFFE4000 X Unknown Clicking the button selects 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 button returns you to the main window without erasing a block Figure 2 29 Address Tab of the Erase Dialog Box erase eee xi Tree Address Start Address HEX as enono Data Hash End Address HEX ffffffff Length HEX 40000 Specify each erasing target area by entering the start address and the end address or by entering the start address and the data length Clicking Erase leads to erasing of the data from the specified address range Clicking Cancel or x closes the dialog box without performing erasing R20UT2908EJ0202 Rev 2 02 Jul 01 2015 Au Page 37 of 71 lt ENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 4 All Erase command This command is used to erase all blocks of the flash memory The
51. ng 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 mass production process do not use the power supply function of E1 Instead supply the power suitable for the microcontroller specifications from the target system The supply voltage from E1 is dependent on the USB power performance of the host PC so the accuracy cannot be guaranteed Clicking the button displays the next dialog box Clicking the or the X button returns you to the Communication Interface dialog box R20UT2908EJ0202 Rev 2 02 Page 22 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 2 2 5 Mode Pin at Connection dialog box This dialog box is used to select the pin to control the mode pin of the target microcontroller from ioO to io5 pins of E1 E20 Figure 2 7 Mode Pin at Connection Dialog Box Mode Pins at Connection inb i i io iol inl Pin Outputs I Iv a m Uxi4 Pin Setting 5i pej Uxi 4 High WARNING Incorrect settings could damage your hardware aei Pin Outputs check box Select the pin to control the mode pin of the target microcontroller from io0 to io5 pins A selected check box is output and a cleared check box is input Pin Setting High check box Set the level of the selected io0 to io5 pins to High or L
52. ntroller Help E Unique Code Setting a Change to Basic mode R20UT2908EJ0202 Rev 2 02 Page 58 of 71 Jul 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 Refer to 2 4 3 for more information on commands other than Connect to Device Remark The Set Project option is deselected while the target microcontroller is connected To enable the option select Disconnect from Device from the Microcontroller pull down menu Figure 3 5 Microcontroller Menu Renesas Flash Programmer Supported Yers File Tool Microcontroller 1 mj 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 1 Connect To Device This menu item connects to the device If the Power target from the emulator checkbox of the Power Supply dialog is selected the power supply starts R20UT2908EJ0202 Rev 2 02 Page 59 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER3 FUNCTION DETAILS FULL MODE 3 4 4
53. nu 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 output panel Save Saves the entire text on the output panel to a file The Open File dialog box opens where you Can specify any filename for the file saved 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 R20UT2908EJ0202 Rev 2 02 Page 55 of 71 Jul 01 2015 ENESAS 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 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 displ
54. or Erase sec Specifies the timeout for erasing the device Timeout for Blank Check sec Specifies the timeout for checking if the device is blank Timeout for Program sec Specifies the timeout for writing data to the device Timeout for Read sec Specifies the timeout for reading data from the device 12 User Boot Area Option category This category is used to specify whether or not to include the user boot area in the scope of erasure Permission of erasure Specifies whether to include the user boot area in the scope of erasure 13 Lock Bit category This category is used to specify lock bit related settings such as Connect Option Disconnect Option and Lock Blocks At Disconnect Disconnect Selects whether to set block lock when disconnecting from the device id e Displays the setting dialog e Do Nothing Lock Changes the lock state of the block when disconnecting from the device Blocks At Disconnect Block Locking Double click on Lock each block Lock the R600 Series area or Unlock the Lock each block area to select them Locked Unlocked Unlocked Unlocked Unlockes Unlocked Unlock at Unlocked disconnect Unlocked A Goes Ze Lock bit of the 2e Unlocked block is locked gt Locked TIT mu Unlocked LOCK at af disconnect The lock bit setting at disconnection is changed to Locked or Unlocked R20UT2908EJ0202 Rev 2 02 Page 50 of 71 Jul
55. ow A selected check box is High and a cleared check box is Low This setting is effective only when the I O direction is Output Remark For the ioO to io5 pins of E1 and E20 refer to Common APPENDIX B Figure B 1 E1 and E20 Pins RX Clicking the button displays the next dialog box Clicking the or the X button returns you to the Communication Interface dialog box R20UT2908EJ0202 Rev 2 02 Page 23 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 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 01010002 x RFP mill now attempt ko connect to your device tf diu Please ensure Ehe board is connected powered and in Boot made Cancel Clicking the button displays the next dialog box Clicking the or the X button returns you to the Communication Interface dialog box 2 When E1 or E20 is selected the Select Emulator dialog box is displayed The name and serial number of the detected USB device are displayed Select it Figure 2 9 Select Emulator Dialog Box Select Emulator a X 1 Emulatar located 3 E
56. pply See 2 2 4 Open latest workspace Mode Pin at Connection See 2 2 5 See 2 2 10 Connection and Query See 2 2 6 Frequency See 2 2 7 Communication Speed See 2 2 8 Project Settings See 2 2 9 See 2 3 R20UT2908EJ0202 Rev 2 02 Page 18 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE Or a main window is opened 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 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 C Full mode Open latest workspace D rfpssample ssample rwus 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 Clicking the button displays the next dialog box Clicking the or the X button terminates RFP R20UT2908EJ0202 Rev 2 02 Page 19 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE
57. ral clock Figure 2 37 Frequency Dialog Box xi Edemal ResonatororClock 12 500000 Multiplier for the main clock or peripheral clock Clock Mode c i For details about each item see 2 2 7 Clicking the button displays the previous dialog box Clicking the button displays the next dialog box Clicking the or the button returns you to the Project Settings dialog box c Communication Speed dialog box This dialog box is used to set communication speed Figure 2 38 Communication Speed Dialog Box Communication Speed X For details about each item see 2 2 8 Clicking the button displays the previous dialog box Clicking the button displays the next dialog box Clicking the or the button returns you to the Project Settings dialog box R20UT2908EJ0202 Rev 2 02 Page 43 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE d Power 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 X Be careful of power supply limitation of the emulator Supply voltage 0C 33V 50V USB VEUS For details about each item see 2 2 4 Clicking the button displays the previous dialog box Clicking the button displays the next dialog box Clicking the or the button returns you to the Project Settings dialog box e Mode Pins dialog box This dialog box is us
58. ritten if the area specified with area is not blank terminate the script execution function stoponblank if the area specified with area is blank terminate the script execution feeds OS Erase erase tess i Executes the erase command blocks specifies using either one of the following options Using block numbers Example 0 1 4 7 Using block names Example EBO EB1 EB4 EB7 written all written blocks will be erased device all blocks will be erased Program Executes the program command Set security Executes the set security 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 it is VID 045B amp PID 00251683234B9D98083 Generic Boot USB Direct Properties El E General Driver Details ci Generic Boot USB Direct USB VID DABBRPID 00254749 E 25485053 Cl zz Device Manager File Action wiew um es Bm A se WO di H Sres volu ESE System devic Uninstall B Universal Sel Scan for hardware changes R20UT2908EJ0202 Rev 2 02 Page 67 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER4 SCRIPT EXECUTION FUNCTION 4 5 Log file Execute the 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
59. rogram 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 selected for programming and verification Selects an area from the selected program file User Data Area Specifies the area for programming and verification as the User Data Area 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 when the project is selected for manipulation and edition and the program file is selected for programming and verification Autoprocedure E P Not used R20UT2908EJ0202 Rev 2 02 Page 62 of 71 Jul 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 Figure 3 9 Project Settings Panel Basic Settings Other Settings E Device Information Device Hame FB Series Baze Device Generic Boot Device Device Information File Path Drfpxsamplessamplex
60. ry 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 is the responsibility of the buyer or distributor of Renesas Electronics products who distributes disposes of or otherwise places the product with a third party to notify such third party in advance of the contents and conditions set forth in this document Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of Renesas Electronics products This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics 2012 4 How to Use This Manual Target Readers This manual is intended for users who are using the flash programmer in designin
61. s seeessssssnsssseso 24 2 2 7 Frequency dialog bOox s sssssssseessssssscessssnasssetesnnnssoj 26 2 2 8 Communication Speed dialog DOX cccccooooccocccoconcconccononcconononancconcnonnns 28 2 2 9 Project Settings dialog bOxX W 9 sssseessssssss 29 2 2 10 Open latest workspace sesssscesssssssscesssssssssesnsnnnssserennnnsio 30 2 2 11 Oben WOTKSDACO us lenne RI Ber Evae E nue PvE Da Spe E Ped v eu Des Rd cu 30 23 MANI WIACOW dali 32 7A MI i re t rr TO REFr TETTE TELE 33 241 TEHE MON icon iia ia di 33 24 2 TOON MEA on E e a o 35 2 4 9 Mi rocontroller Menu cis ita li lid ada 36 2 4 4 AAA e E OU SP a A 52 2 9 IMICIOCONIOIEF A 6A ia ii 52 26 Program Fle Area umo di 53 217 IGOMMAna Al OA Ee EEe oaoPe oooeo TR oO o EhEhoo E 53 29 Start BUON E E E E a 54 WEE CI LII D o 54 2 10 Output Panel E ce a une dulo kus deviis dueta ke nu vuo e Gu 55 211 Clear Output Panel BUON iii ee Edad o dcbet Suko uda la Sova cues Roa cos kukavtounak a i vubuuoa 55 CHAPTER 3 FUNCTION DETAILS FULL MODE 56 3 INIOQUCIUON sxoseo eis eiu os cd KEE 56 32 k A TT 56 33 MMAIIDWVINGUOW so ranon
62. serial number of the detected Emulator are displayed Select it The serial number is printed on the chassis Clicking the button establish connection with the device and displays the Query Generic Device dialog box Figure 1 7 Select Emulator Dialog Box xi 1 Emulator located R20UT2908EJ0202 Rev 2 02 Page 10 of 71 Jul 01 2015 LENESAS LIK Cancel Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE 8 A query for the target microcontroller is performed Clicking the button displays the Frequency dialog box Figure 1 8 Query Generic Device Dialog Box xi xi Adjustment of Baud Rate w Adjustment of Baud Rate Sending Supported Devices Inquiry Sending Supported Devices Inquiry Selecting Device R600 Series Selecting Device R000 Series Sending Glock Mode Inquiry Sending Clock Mode Inquiry SY Selecting Clock Mode o Selecting Glock Mode EIE RE a Sending Other Inquiries Sending Other Inquiries LIK Cancel Cancel lt 9 gt Enter 12 50 in the Frequency box in the Clock supply area The Internal External list box displays the result of the query External Resonator or Clock Select 8 from the CKM list box in the Multiplier for the main clock or peripheral clock area Select 4 from the CKP list box The Clock Mode list box displays the result of the query 0 Clicking the butto
63. tegory displays clock related information such as Clock Type Input Frequency Clock Mode CKM and CKP lt 4 gt Communication Speed category This category displays communication speed related information such as Communication speed Specified By Communication speed Value bps and Use Default Value Communication speed Specified By Displays the communication speed based on the Recommended Speeds or User Specified Communication speed Value bps Displays the communication speed with the device Use Default Displays if the recommended default communication speed is used or not lt 5 gt Target Power category This category displays Power Supply of the target device Supply Power Displays the power supply for the target device lt 6 gt Mode Pins at Connection category This category displays the state of the mode pin to start the device in the boot mode when it is connected Mode Pin Information Displays the state of the mode pin to start the device in the Boot mode at connection R20UT2908EJ0202 Rev 2 02 Page 46 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 7 Basic Mode Option category This category is used to select whether or not to automatically disconnect after execution Selects whether to disconnect automatically after execution Auto Disconnect False 8 Command Options category False Disabled This category is
64. tion Interface dialog box This dialog box is used to select the tool used and display the connection method between the selected tool and the target microcontroller Figure 2 4 Communication Interface Dialog Box Communication Interface X Tool hd 2 TR RR E wire UART 3 x Back Cancel 1 Tool image panel An image of the tool selected in the Select Tool list box is displayed Figure 2 5 Tool Image Panel 2 Tool list box Select the tool to be used e E1 e E20 e USB Direct e COMx 3 Interface list box The connection method between the selected tool and the target microcontroller is displayed e 2 wire UART when RX is selected e FINE when RX100 FINE and RX200 FINE are selected e USB when USB Direct is selected Clicking the button displays the next dialog box Clicking the or the X button terminates RFP R20UT2908EJ0202 Rev 2 02 Page 21 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 2 2 4 Power Supply dialog box This dialog box is used to specify the power supply used for writing to the target microcontroller Figure 2 6 Power Supply Dialog Box Power Supply AQ eee xi Be careful of power supply limitation of the emulator e Power target from the emulator Supply voltage C 33 Power target from the emulator check box Select this check box if supplying power from the emulator Clear this check box if supplyi
65. ts Renesas Flash Programmer Supported Yersion IO File Tool Microcontroller Help kAierocontroller IRXBOO Series M User Data area sample mot Browse P User Boot area Browse Command Program Start Operation on User Flash Data programmed at the following positions O FFFCODOO OsSFFFFFFFF Size 000040000 256 E programmed in amp seconds Operation on Data Flash Data programmed at the following positions 0007 00000 0x0010FFF Size 000008000 z 7 IAE E IT EU ald Image written to device D isconnecting Disconnected Clear Output Panel 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 3 Disconnect the target cable from the target system Remark When supplying Vpp power to the target system turn off the power before removing the target cable Furthermore if Auto Disconnect in the Basic Mode Options 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 f an 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
66. upp Tool Microcontroller Help 1 gt Create a new workspace 2 i open a workspace 3 Exit 1 Create a new workspace The Create a new workspace dialog box is displayed Create a new workspace Save the project file that has been created For the items in the dialog box refer to 2 2 2 Figure 2 23 Create new workspace Dialog Box Create new workspace X For CSIBU HS UARTAO For CSIB2 HS UARTAD For CSIBU HS UARTAD Workspace Mame sample Project Name sample Folder Dio Browse R20UT2908EJ0202 Rev 2 02 Page 33 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer V2 05 CHAPTER2 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 11 Figure 2 24 Open File Dialog Box x j gt l Local Disk D rfp sample Organize New folder e Til Ej 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 R20UT2908EJ0202 Rev 2 02 Page 34 of 71 Jul 01 2015 ENESAS Renesas Flash Programmer
67. 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 to Device and Set Project commands are not assigned to the button Figure 2 27 Microcontroller Menu Renesas Flash Programmer Supported Vers File Tool Microcontroller Disconnect From Device NO Blank Check 3 Erase 4 All Erase 5 Program 6 verify 7 Read 8 Sek Security 9 Checksum Set Option Bytes 10 Get Flash options 1 1 UR Set Project 1 Disconnect To Device This command is used to disconnect from the device and shut off the power supply if the Power target from the emulator check box is selected in the Power Supply dialog box 2 Blank Check command This command executes blank check on all flash memory blocks 3 Erase command This command erases the specified flash memory block Executing the Erase command opens the Erase dialog The blocks whose checkboxes are selected will be erased The Erase command is executed in accordance with the settings of Erasure Permission of the User Boot Area Options category in the Other Settings tab of the Project Settings dialog box Refer to 2 4 3 11 f 12 User Boot Area Options category for details R20UT2908EJ0202 Rev 2 02 Page 36 of 71 Jul 01 2015 ENESAS Re
68. used to select Write Mode Readback Verification All Erase Before Program Request Checksum and File Over Warning Selects the unit of data for programming or verification Write Mode Set Program Verify Blocks Select Blocks Dialog Before Program Verify All Erase Before Program Verify After Program Block Programming Mode Minimum Programming Mode Tree Region Executes programming or verification in block units If there is available space in a block the space is filled with FFH Executes programming or verification in the minimum units This 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 If there is available space in the minimum processing unit the space is filled with FFH Specifies a block to be programmed or verified in the Select Blocks dialog box when Block Programming Mode is selected Select Blocks l Start End Written Generic Boot Device 9 User Flash EBO OxFFFCOOOO OxFFFFFOOO OxFFFFEOOO OxFFFFDOOO OxFFFFCOOO OxFFFFBOOO OxFFFFAOOO OxFFFF9000 OxFFFFS000 OxFFFF4000 OxFFFFOOOO OxFFFECOOO OxFFFEBOOO OxFFFE4OOO OxFFFFFFFF OxFFFFFFFF
69. witching 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 clock supplied to the target microcontroller R20UT2908EJ0202 Rev 2 02 Page 26 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER 2 FUNCTION DETAILS BASIC MODE 2 Multiplier for the main clock or peripheral clock area Set the clock mode CKM and CKP Figure 2 15 Multiplier for the main clock or peripheral clock Area Multiplier for the mam clock or peripheral clock LEM Clock Mode CEP Clock Mode list box Select a value CKM list box Select a multiplication ratio of the main clock CKP list box Select a multiplication ratio of the peripheral clock Remark For available multiplication ratios refer to the user s manual of the target microcontroller Clicking the button displays the previous dialog box Clicking the button displays the next dialog box Clicking the or the X button terminates RFP R20UT2908EJ0202 Rev 2 02 Page 27 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER2 FUNCTION DETAILS BASIC MODE 2 2 8 Communication Speed dialog box This dialog box is used to set communication speed Figure 2 16 Communication Speed Dialog Box Communication 5peed C Communication Speed
70. y 2 wire LIART Initiating BOOT sequence Sending s lection of clock mode Selection of Clock Made Clock selected code O Changing baud rate ta 1562500bps Set baud rate value 1562500bps Connection complete Clear Output Panel R20UT2908EJ0202 Rev 2 02 Page 14 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE 2 Select sample mot in the Open File dialog box and then click the button to open the main window Figure 1 14 Open File Dialog Box Open File Look in CO hex L fs My Recent Documents O EZ k ha p gt My Documents EL Pr hy Computer a IN klu KOTE File name sample mot Cancel E Files of type Program files hee mot s rec R20UT2908EJ0202 Rev 2 02 Page 15 of 71 Jul 01 2015 LENESAS Renesas Flash Programmer V2 05 CHAPTER1 BASIC OPERATION BASIC MODE 6 Execute the Program command i 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 15 Main Window Renesas Flash Programmer Supported Yersion f ioj x File Tool Microcontroller Help Disconnect From Device Blank Check Erase I Useri Browse l All Erase 7 IDWZE le E verify Read Set Security Checksum Set option Bytes Get Fl
Download Pdf Manuals
Related Search
Related Contents
ModelSim Designer Tutorial Power Acoustik Electronics Car Video System power acoustik User's Manual i6 user manual DEVELOPMENT OF CONTINUOUS WAVE AND MODE LOCKED Enhanced visual signaling for an adverse condition detector File - GSM Outdoors MANUAL DEL USUARIO Elica CIAK ST GR/A/56 User Manual - SkylinkNet Alarm System Samsung 70'' Moniteur LCD 700TSn-2 Ecran tactile +PC Manuel de l'utilisateur Copyright © All rights reserved.
Failed to retrieve file