![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
all information contained in these materials, including products and pro duct 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, i ncluding the renesas electronics corp. website (http://www.renesas.com). renesas flash programmer v2.0 4 flash memory programming software user?s manual : RX100, rx200, rx600 (except rx64x) rev. 1 . 00 mar . 201 4
notice 1. descriptions of circuits, software and other related informat ion in this document are provided only to illustrate the operat ion of semiconductor products and application examples. you are fully re sponsible for the incorporation of these circuits, software, and information in the design of your equipment. renesas el ectronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information. 2. renesas electronics has used reasonable care in preparing th e 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. 3. renesas electronics does not assume any liability for infringeme nt of patents, copyrights, or other intellectual property ri ghts of third parties by or arising from the use of renesas electronics pr oducts or technical information described in this document. no license, express, implied or otherwise, is granted hereby under any patents, copyrights or othe r intellectual property rights o f renesas electronics or others. 4. you should not alter, modify, copy, or otherwise misappropriate any re nesas electronics product, wh ether in whole or in part . renesas electronics assumes no responsibilit y for any losses incurred by you or third parties arising from such alteration, modification, copy or otherwise misappr opriation of renesas electronics product. 5. renesas electronics products are classified according to the following two quality grades: ?standard? and ?high quality?. t he recommended applications for each renesas electronics product depends on the product?s quality grade, as i ndicated below. ?standard?: computers; office equipmen t; communications e quipment; test and measurement equipment; audio and visual equipment; home electronic a ppliances; machine tools; pe rsonal electronic equipment; and industrial robots etc. ?high quality?: transportation equipment (automobiles, trains, ship s, etc.); traffic control syst ems; anti-disaster systems; an ti- crime systems; and safety equipment etc. renesas electronics products are ne ither intended nor authorized for use in products or systems that may pose a direct threat t o human life or bodily injury (artificial life support devices or systems, surgical impl antations etc.), or may cause serious pro perty 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 incurre d by you or third parties arising from the use of any renesas el ectronics product for which the pr oduct is not intended by renesa s electronics. 6. you should use the renesas electronics pr oducts described in this document within the range specified by renesas electronics , especially with respect to the maximum ra ting, operating supply voltage range, movement power volta ge 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. 7. although renesas electronics endeavors to improve the quality and reliability of its produc ts, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate a nd malfunctions under certain use conditions. fu rther, renesas electronics products are not subject to radiation 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 ren esas electronics product, such as safety desi gn for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradati on or any other appropriate meas ures. because the evaluation of microcomputer software alone is very di fficult, please evaluate the safety of th e final products or systems manufactured by you. 8. please contact a renesas electronics sales office for details as to environmental matters such as the environmental compatib ility of each renesas electronics product. please use renesas electronics products in compliance with all a pplicable laws and regulations that regulate the inclusion or use of controlled subs tances, including wit hout limitation, the eu rohs directive. renesas electronics assumes no liability for damages or losses oc curring as a result of your noncompliance with applicable laws and regulations. 9. renesas electronics products and technol ogy may not be used for or incorporat ed into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign la ws or regulations. you should not use renesas electronics products or technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. when exporting the renesas electronics products or technology describe d in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. 10. it is the responsibility of the buyer or distributor of re nesas electronics products, who di stributes, disposes of, or othe rwise places the product with a third party, to notify such third part y in advance of the contents a nd 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 renesa s electronics products. 11. this document may not be reproduced or duplicated in any fo rm, in whole or in part, without prior written consent of renesa s electronics. 12. please contact a renesa s electronics sales office if you have any questi ons regarding the informat ion contained in this doc ument 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 us ing the flash programmer in designing and developing a system that employs a renesas electronics microcontroller equipped with on- chip flash memory . purpose this manual i s 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. ? basic operation (basic mode) ? function details (basic mode) ? function details (full mode) ? script execution function how to read this manual it 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 i n the text. caution : information requiring particular attention remark : supplementary information numeral representation: binary ... xxxx or xxxxb decimal ... xxxx hexadecimal ... 0xxxxx or xxxxh ? ?: any character or item on the screen that c an 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 tool s document name document number renesas flash programmer v2.0 4 common r20u t 2906e renesas flash programmer v2.0 4 rl78, 78k, v850 r20ut 2907e renesas flash programmer v2.0 4 RX100, rx200, rx600(except rx64x) this manual renesas flash programmer v2.0 4 rh850, rx6 4x r20ut 2909e e1 emulator r0e000010kce00 e20 emulator r0e0 00200kct00 r20ut0398e caution the related documents listed above are subject to change without notice. be sure to use the latest version of each docu ment for designing, etc. term replacement when the RX100 is used, some terms in this manual should be replaced as shown in the table below. term to be replaced with flash shield window area protection usb direct usb interface mode get flash options access window read set security access window program all trademarks and registered trademarks are the property of the respective owner. contents chapter 1 basic operation (basic mode) - rx - .......................................... 7 chapter 2 function details (basic mode) - rx - ....................................... 18 2 .1 introduction ............................................................................................................................. 18 2 .2 starting up ............................................................................................................................... 18 2.2.1 [welcome!] dialog box ............................................................................................. 19 2.2.2 [create a new workspace] dialog box .................................................................... 20 2.2.3 [communication interface] dialog box ................................................................... 21 2.2.4 [power supply] dialog box ...................................................................................... 22 2.2.5 [mode pin at connection] dialog box ..................................................................... 23 2.2.6 [connection and query] dialog box ....................................................................... 24 2.2.7 [frequency] dialog box ............................................................................................ 26 2.2.8 [communication speed] dialog box ....................................................................... 28 2.2.9 [ project settings] dialog box ................................................................................... 29 2.2.10 open l atest workspace ............................................................................................ 30 2.2.11 o pen workspace ....................................................................................................... 30 2 .3 main window ........................................................................................................................... 32 2 .4 menu bar ................................................................................................................................. 33 2.4.1 [ f ile] menu ................................................................................................................ 33 2.4.2 [ t ool] menu ............................................................................................................... 35 2.4.3 [ m icrocontroller] menu ............................................................................................ 36 2.4.4 [ h elp] menu ............................................................................................................... 52 2 .5 [ microcontroller ] area ............................................................................................................ 52 2 .6 [ program file ] area ................................................................................................................ 53 2 .7 [command] area ..................................................................................................................... 53 2 .8 start button ............................................................................................................................. 54 2.9 status bar ................................................................................................................................ 54 2.10 output panel ........................................................................................................................... 55 2 .11 clear output panel button ..................................................................................................... 55 chapter 3 function details (full mode) - rx - ......................................... 56 3 .1 introduction ............................................................................................................................. 56 3 .2 starting up ............................................................................................................................... 56 3 .3 main window ........................................................................................................................... 57 3. 4 menu bar ................................................................................................................................. 58 3.4.1 [ f ile] menu ................................................................................................................ 58 3.4.2 [ t ool] menu ............................................................................................................... 58 3.4.3 [ m icrocontroller] menu ............................................................................................ 59 3.4.4 [ h elp] menu ............................................................................................................... 60 3 .5 tool bar ................................................................................................................................... 60 3 .6 [ workspace tree ] panel ......................................................................................................... 61 3 .7 [project settings] panel ......................................................................................................... 63 3.8 output panel ........................................................................................................................... 63 3.9 status bar ................................................................................................................................ 63 chapter 4 script execution function ....................................................... 64 4.1 overview .................................................................................................................................. 64 4.2 start and exit ........................................................................................................................... 64 4.3 script file ................................................................................................................................. 65 4.4 script commands ................................................................................................................... 65 4.5 log file ..................................................................................................................................... 68 4.6 how to handle dialog boxes opened while the program is running .............................. 68 renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 7 of 71 mar. 31, 2014 chapter 1 basic operation (basic mode) - rx - 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 r f p. this chapter covers h ow to start the system, execute the [ p rogram ] command , and write the target microcontroller. ? series of operations described in this chapter: the operati ng conditions are as follows : target microcontroller: r5f562taa ( rx62t ) target system : renesas start er kit for rx62t tool used: e1 interface : 2 wire uart communication speed setting : 1,562,500 bps frequency : 12.50 mhz (main clock 8 multiplication , peripheral clock 4 multiplication) power supply : e1 (5.0 v (usb vbus) ) other settings: initial value th e steps described in this chapter are as follows : (1) installation (2 ) system connection (3 ) connection of target system (4 ) creation of workspace (5 ) s election of program file (6 ) execution of [ p rogram ] command (7 ) system shutdown (1) installation see co mmon 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 syst em . remark connect the target system before supplying v dd power from the target system. renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 8 of 71 mar. 31, 2014 (4 ) creation of workspace <1> on the taskbar, click the start button, point to [all programs], [renesas electronics utilities ], [programming tools], [renesas flash programmer v x . xx ], and then click [renesas flash programmer v x . xx ]. the [welcome!] dialog box will open. select [create new w orkspace.] , select [ b asic m ode], and then click the n ext button to open the [create new workspace] dialog box. figure 1 - 1. [welcome!] dialog box <2> in the [ u sing target microcontroller:] list box, select group: ?rx ? , device name: ?generic boot device?. enter any text string (such as ?sample? in this case) in the [ w orkspace name:] box, and specify any folder in the [fo l d er:] box. clicking the n ext button displays the [communication interface] dialog box. figure 1 - 2 . [create new workspace] dialog box renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 9 of 71 mar. 31, 2014 <3> select ?e1? in the [ t ool:] list box. for r5f562taa, the selection in the [ i nterface ] list box is fixed to ? 2 wire uart ?. clicking the n ext > button displays the [power supply] dialog box. figure 1 - 3 . [communication interface ] dialog box <4> select the [ p ower target from the emulat or] check box, and then select ?5.0 v (usb vbus) ? for [ s upply voltage]. clicking the o k button displays the [mode pin at connection] dialog box. figure 1 - 4 . [power supply] dialog box renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 10 of 71 mar. 31, 2014 <5> set the [pin outputs] check boxes and [pin setting (h igh)] check boxes . for r5f562taa, set io2 of e1 to high for the md0 pin, and set io3 of e1 to low for the md1 pin. clicking the o k button displays the [confirmation] dialog box. figure 1 - 5. [mode pin at connection] dialog box remark : processing t he io pins is done to set the operati n g mode of the rx to the boot mode. for the rx62t, control must be applied to set the md0 pin to the high level and the md1 pin to the low level . this can be done by connecting any of pins from io0 to io5 of the e1/e20 and making the required setting s in the [mode pins at connection] dialog box. for the io0 to io5 pins of e1, 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 ok button displays the [select emulator ] dialog box. figure 1 - 6 . [confirmation] dialog box <7> the name and serial number of the detected emulator are displayed. select it. the serial number is printed on the chassis. clicking the ok button estab lish connection with the device and displays the [query generic device] dialog box. figure 1 - 7. [select emulator] dialog box renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 11 of 71 mar. 31, 2014 <8> a query for the target microcontroller is performed. clicking the ok button displays the [ frequency ] dialog box. fig ure 1 - 8. [query generic device] dialog box <9> enter ?12.50? in the [ f requency:] box in the [clock supply] area. the [ i nternal/external:] list box displays the result of the query ?external resonator or clock? . select ?8? from the [ck m :] list box in the [multiplier for the main clock or peripheral clock] area. select ?4? from the [ck p :] list box. the [c lock mode:] list box displays the result of the query ?0?. clicking the n ext > button displays the [ communication speed ] dialog box. figur e 1 - 9 . [ frequency ] dialog box renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 12 of 71 mar. 31, 2014 <10> clear the [use d efault] check box, and select ?1562500? from the [ communication s peed ( recommended ): ] list box. clicking the finish button displays the [ project settings] dialog box. figure 1 - 10. [ communicat ion speed ] dialog box <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] ta b in the [ project settings] dialog box. figure 1 - 11. [ project settings] dialog box [basic settings] tab renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 13 of 71 mar. 31, 2014 <12> the [other settings] tab in the [ project settings] dialog box allows you to specify and check advanced information about programming. leave the initial values for other settings. clicking the ok button saves the project file and displays the main window. figure 1 - 12. [ project settings] dialog box [other settings] tab renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 14 of 71 mar. 31, 2014 (5) selection of program file <1> clicking the b rowse? 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 v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 15 of 71 mar. 31, 2014 <2> select ?sample. mot ? in the [open file] dialog box, and then click the o pen b utton to open the main window. figure 1 - 14. [open file] dialog box renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 16 of 71 mar. 31, 2014 (6) execute the [ p rogram] command <1> click the [microcontroller] menu and select the [ p rogram] command. a check mark is then placed on the left of the command, and the command is assigned to the start button. figure 1 - 15 . main window <2> after clicking the start button, execute the [ p rogram] command for r5f562taa. remark when the [ p rogram] command is executed, programming is performed after the block with data is era sed. 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.? <3> when execution of the [ p rogram] command ends normally, ?image written to device? a nd ?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 [ p rogram] command. 2. when supplying v dd 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 [ p rogram] command. renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 17 of 71 mar. 31, 2014 figure 1 - 16. [ p rogram] command execution results (7 ) system shutdown <1 > unless there are other target microcontrollers to be programmed, click the [ f ile] menu and select the [e x it] command to close rfp. a ll settings made so far will be saved to a project file. < 2 > remove th e usb cable from the tool used. <3> disconnect the target cable from the target system. remark when supplying v dd 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 ] d ialog box is set to ?false,? remove the target system after executing [disconnect to device]. caution if an error occur s during the above procedure, see common chapter 4 troubleshooting and appendix a messages. also see the user?s manual of the tool us ed and execute diagnostic tests. if the above still does not resolve the problem, see the faq (at http://www.renesas.com/supp ort / ), or contact renesas via the renesas website: http://www.renesas.com/contact/ . renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 18 of 71 mar. 31, 2014 chapter 2 function details (b asic m ode ) - rx - this chapter describes function details of the commands, windows, and dialog boxes of the basic mode of r f p. 2 .1 introduction make sure that the rfp package is installed. for how to install the rfp pack age , 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 start button, point to [all programs], [renesas electronics utilities ], [programming t ools], [renesas flash programmer v x . xx ], and then click [renesas flash programmer v x . 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 [create a new workspace] [communication interface] [welcome!] (see 2 .2.2 ) [open workspace] main window (see 2 .2.11 ) (see 2 .2.3 ) (see 2 .2.1 ) (see 2 .3 ) create a new workspace open latest workspace open a created workspace (see 2 .2.10 ) [connection and query] [mode pin at connection] [frequency] [ communication speed ] (see 2 .2.5 ) (see 2 .2.6 ) (see 2 .2.7 ) (see 2 .2.8 ) [project settings] (see 2 .2.9 ) [power supply] (see 2 .2.4 ) renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 19 of 71 mar. 31, 2014 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 th e 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 to create a new workspace, select [ create new w orkspace .] , and then select [ ba sic m ode] or [ f ull mo de]. to open the workspace used last time, select [ open l atest workspace .]. to open a created workspace, select [ o pen workspace . ]. clicking the n ext button displays the next dialog box. clicking the c ancel or the x button termin a t e s r f p. renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 20 of 71 mar. 31, 2014 2 .2.2 [create a new workspace] dialog box this dialog box is used to create a new workspace. figure 2 - 3. [create a new workspace] dialog box (1) [m icrocontroller:] list box select ?all?, ? generic boot device ?, ?v850?, ?rl78?, or ?78k? to narrow down the microcontrollers that can be selected in the [ u sing target microcontroller:] list box. (2) [f ilter:] box enter a character string that matches the character strings displayed in the [ u sing target microcontroller:] list box to narrow down t he microcontrollers that can be selected in the [ u sing target microcontroller:] list box. (3) [u sing target microcontroller:] list box select the target microcontroller to be used. (4) [w orkspace name:] box enter the workspace name in this box. (5) [pro ject name:] box e nter the project name. (6 ) [fo l der:] box specify a folder in which to create the workspace file. enter the path in the [ f older:] box, or click the br owse... button to display the [select folder] dialog box, and then specify the folder. clicking the n ext button displays the next dialog box. clicking the c ancel or the x button terminates rfp. (1) (2) (3) (4) (5) (6) renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 21 of 71 mar. 31, 2014 2 .2.3 [communication interface ] dialog box this dialog box is used to select the tool used and display the connection method between the sel ected tool and the target microcontroller. figure 2 - 4. [communication interface ] dialog box (1 ) tool image panel an image of the tool selected in the [select t ool:] list box is displaye d. figure 2 - 5 . tool image panel (2 ) [t ool:] list box select the tool to be used. ? e1 ? e20 ? usb direct ? comx (3 ) [interface:] list box the connection method between the selected tool and the target microcontroller is displayed. ? 2 wire uart (wh en rx is selected) ? fine ( when RX100 (fine) and rx200 (fine) are selected) ? usb (when usb direct is selected) clicking the n ext > button displays the next dialog box. clicking the cancel or the x button terminates rfp. (1) (3) (2) renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 22 of 71 mar. 31, 2014 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 [p ower target from the emulator] check box select this check box if supplying power from the emulator . clear this check box if supplying power from the target system. [s upply 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 support s the power supply function. in the mass - production proc ess, 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 o k button displays the next dialog box. clicking the c ancel or the x button returns you to the [communication interface] dialog box . renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 23 of 71 mar. 31, 2014 2 .2.5 [mode pin at connection] dialog box this dialog box is used to select the pin t o control the mode pin of the target microcontroller from io0 to io5 pins of e1/e20. figure 2 - 7. [mode pin at connection] d ialog b ox [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 low. a selected check box is high , and a cleared check box is low . this setting is effective only whe n the i/o direction is output . remark for the io0 to io5 pins of e1 and e20 , refer to common a ppendix b figure b -1 . e1 and e20 pins - rx -. clicking the o k button displays the next dialog box. clicking the c ancel or the x button returns you to the [communication interface] dialog box . renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 24 of 71 mar. 31, 2014 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 query ing the device until the disconnection processing is executed. (1) confirm before connecting to the target microcontroller. figure 2 - 8. [confirmation] d ialog b ox clicking the ok button displays the next dialog box. clicking the cancel or the x button returns you to the [communication interface] dialog box . (2) when e1 or e20 is selected, the [select emulator ] dialog box is displayed. the name and serial number of the detected usb device are displayed. select it. figure 2 - 9. [select emulato r ] d ialog b ox clicking the ok button displays the next dialog box. clicking the cancel or the x button returns you to the [communication interface] dialog box . remark this dialog box is displayed only when rfp starts up for the first time. it wo n ? 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. renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 25 of 71 mar. 31, 2014 (3) when usb direct is selected, the [select usb device] dialog box is displayed. the detected usb port num ber is displayed. select it. figure 2 - 10. [ select usb device ] dialog box clicking the o k button displays the next dialog box. clicking the c ancel or the x button returns you to the [communication interface] dialog box . remark this dialog box i s 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 p erformed. figure 2 - 11. [query generic device] dialog box clicking the ok button displays the next dialog box. clicking the cancel or the x button returns you to the [communication interface] dialog box . (5 ) for some microco ntrollers, t he [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 renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 26 of 71 mar. 31, 2014 2 .2.7 [ frequency ] dialog box this dialog box is used to set clock supply and multip liers for the main clock and peripheral clock. figure 2 - 1 3 . [ frequency ] dialog box (1) [clock supply] area this area is used to select the communication speed at the port. figure 2 - 1 4 . [clock supply] a rea [ i nternal/external:] list box displays t he 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 support s the clock switc hing 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 f requency: ] list box enter the c lock supplied to the target microcontroller . (1) (2) renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 27 of 71 mar. 31, 2014 (2) [multiplier for the main clock or peripheral clock] area set the clock mode, ckm, and ckp. figure 2 - 1 5 . [ multiplier for the main clock or peripheral clock ] a rea [ c lock mode : ] list box select a value. [ck m :] list box select a multiplication ratio of the main clock. [ck p :] 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 < b ack button displays the previous dialog box. clicking the n ext > button displays the next dialog box. clicking the cancel or the x button terminates rfp. renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 28 of 71 mar. 31, 2014 2 .2.8 [ communication speed ] dialog box this dialog box is used to set communication spee d . figure 2 - 1 6 . [ communication speed ] dialog box (1) [ communication s peed (recommended) :] list box if the [use d efault] check box is selected, ?38400? is selected. if the check box is cleared, one of the recommended baud rates can be selected. (2) [u ser 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/e2 0. clicking the < b ack button displays the previous dialog box. clicking the finish button displays the next dialog box. clicking the cancel or the x button terminates rfp. renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 29 of 71 mar. 31, 2014 2 .2.9 [project settings] dialog box this dialog box is used to check an d 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 - 1 7 . [project settings] dialog box for details about each item, see 2 .4. 3 (11 ) (f) [project settings] d ialog b ox . clicking the m odify... button opens the [communication interface] dialog box. clicking the ok button saves the project file and opens the main window. clicking the cancel or the x button terminates rfp. remark t he m odify? button is disabled while it is connected with the target controller. to enable it, select the [ m icrocontroller] menu and select [ d isconnect to device], then select [project settings] from the [ m icrocontroller] menu to display the [project set tings] dialog box. renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 30 of 71 mar. 31, 2014 2 .2.10 open l atest workspace if you select [ open l atest workspace .] in the [welcome!] dialog box, the main window is displayed with the settings for the workspace used last time. figure 2 - 1 8 . [ open l atest w orkspace .] 2 .2.11 o pen wo rkspace if you select [ o pen workspace . ] in the [welcome!] dialog box, the [open file] dialog box is displayed. figure 2 - 1 9 . [ o pen w orkspace .] renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 31 of 71 mar. 31, 2014 figure 2 - 20. [open file] dialog box select a workspace file, and then click the o pen button. the mai n window is displayed with the settings for the specified workspace. clicking the cancel or the x button closes the [open file] dialog box and returns you to the [welcome!] dialog box. renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 32 of 71 mar. 31, 2014 2 .3 main window the main window consists of the following items: figure 2 - 2 1 . main window name description see <1> menu bar displays the selectable menus 2 .4 <2> [microcontroller] area displays the selected target microcontroller 2 . 5 <3> [program file] area displays the selected program file 2 .6 < 4 > [ command ] area displays the selected command 2 .7 < 5 > start button executes the selected command 2 .8 < 6 > status bar displays the command execution status in colors and text 2 .9 < 7 > output panel displays in detail what is executed by the command 2 .10 < 8 > [ c lear o utput panel ] button clears the output panel display 2 .11 <7> output panel <1> menu bar <6> status bar <5> start button <3> [ program file ] area <2> [ microcontroller ] area <4> [ command ] area <8> [ clear output panel ] button renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 33 of 71 mar. 31, 2014 2 .4 menu bar the menu bar consists of [ f ile], [ t ool], [ m icrocontroller], and [ h elp]. when a menu is selected, the pull - down menu is displayed where the items can be selected. some items may be di sabled depending on the settings. 2 .4.1 [f ile] menu the following pull - down menu appears by select ing the [ f ile] menu. figure 2 - 2 2 . [ f ile] m enu (1) [ create a n ew workspace ] the [create a new workspace] dialog box is displayed. create a new workspa ce. save the project file that has been created. for the items in the dialog box, refer to 2 .2.2 . figure 2 - 2 3 . [ create new workspace ] dialog box (1) (2) (3) renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 34 of 71 mar. 31, 2014 (2) [o pen a w orkspace ] selecting this option opens the [open file] dialog box in which you can open a w orkspace created before . save t he project file that has been created. for the items in the dialog box, see 2 .2.11 . figure 2 - 2 4. [open file] dialog box (3) [ex it ] [ ex it ] terminates rfp . rfp can also be terminated by clicking the x button on the right end of the title bar in the main window. when rfp is terminated, various settings are saved in the rfp.ini file. save the project file that has been created. renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 35 of 71 mar. 31, 2014 2 .4.2 [t ool] menu selecting the [ t ool ] menu displays the pull - down menu as shown in the f igure below. figure 2 - 25. [ t ool] menu (1) [u nique c ode settin g ] selecting this option displays the [ u nique code setting ] dialog box, in which you make settings for imbedding unique codes. save t he project file that has been created. for the items in the dialog box, refer to common chapter 4 . figure 2 - 26. [unique c ode setting ] dialog box (2) [c hange to f ull mode ] selecting this option switches the mode from basic to full. save t he project file that has been created. for the full mode feature s, refer to chapter 3 . caution this menu is grayed out when a device is connected . to enable this menu, execute [disconnect to device ] . (1) (2) renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 36 of 71 mar. 31, 2014 2 .4.3 [m icrocontroller] menu the following pull - down menu appears by select ing the [ m icrocontroller] menu. this menu is used for selection and setting of commands such as disconnection from a device, all erase, and program. if you select a command, the check mark is displayed at the left of the command, and the command is assigned to the start button. note that [ d isc onnect to device] and [ s et project] commands are not assigned to the start button. figure 2 - 2 7 . [ m icrocontroller] m enu (1) [d isconnect to device] this command is used to disconnect from the device, and shut off the power supply if the [power tar get from the emulator] check box is selected in the [power supply] dialog box. (2) [b lank check] comma n d this command executes blank check on all flash memory blocks. (3) [e rase] command this command erases the specified flash memory block. executing t he [ e rase] command opens the [erase] dialog. the blocks whose checkboxes are selected will be erased. the [ e rase] 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) <1 2 > [user boot area options] category for details. (1) (2) (3) (4) (5) (6 ) (7 ) (8 ) (9 ) (10) (1 1) renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 37 of 71 mar. 31, 2014 figure 2 - 28. [tree] tab of [eras e ] dialog box clicking the select all button selects all blocks for erasure. clicking the select w ritten button selects all blocks that have been programmed for erasure. clicking the e rase button selects the specified block for erasure. clicking the cancel or x button returns you to the main window without erasing a block. figure 2 - 29. [address] ta b of the [ erase ] dialog box specify each eras ing target area by entering the start address and the end address, or by entering the start address and the data length. clicking [ e rase ] leads to eras ing of the data from the specified address range. click ing [cancel] or [x] closes the dialog box without performing eras ing . renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 38 of 71 mar. 31, 2014 (4 ) [a l l erase] command this command is used to erase all blocks of the flash memory. the operation of the [a l l 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) <1 2 >, [user boot area options] category . (5 ) [p rogram] 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], [verif y 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) <8> [ command options] category . remark when the [program] co mmand 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 ) [v erif y] command th is command is used to verif y that the data written to the flash memory is the same as the data in the program file selected in the program file area. renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 39 of 71 mar. 31, 2014 (7) [r ead] command this command reads the specified flash memory block. executing the [ r e ad] command opens the [save as] dialog box. figure 2 - 30. [save as] dialog box enter a filename in the [file n ame:] box. a saving format " s- record file (*.mot) " is specified in the [save as type:] list box. clicking [ s ave] 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 th e file name . figure 2 - 3 1 . [tree] tab of the [ read ] dialog box renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 40 of 71 mar. 31, 2014 the blocks with boxes under the region column checked are read . [absolute i mage] checkbox checked: when the read data are saved to a file, the data are saved at the address in flash memo ry 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 a ll] selects all blocks for reading . clicking [select w ritten] selects all blocks that have been programmed for reading . clicking [ r ead ] leads to reading of the selected blocks and sav ing of the contents in a file when the process ends normally. clicking [cancel] or [x] closes the dialog box without performing reading . figure 2 - 3 2 . [ address] tab of the [ read ] dialog box specify each reading target area by entering the start address and the end address, or by entering the start address and the data length. [ a bsolute image] che ckbox 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 [ r ead ] leads to read ing of the data from the specified address range and sav ing of the contents in a file when the process ends normally . clicking [cancel] or [x] closes the dialog box without performing reading . (8 ) [ set securit y ] command th is 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) < 14 > [ security setting ( flash shield window) ] category . renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 41 of 71 mar. 31, 2014 (9) [checksu m ] 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 - 3 3 . output panel after execution of [checksu m ] command remark 32- bit addition is the eight lower - digit of the result of adding the value of all bytes in the flash memory. (10) [ ge t flash options ] command th is command is used t o 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 displ a yed . when this command is executable, the flash options settings can be verified by executing this command before executing the [set securit y ] command. for details of flash options settings , see 2 .4. 3 ( 11 ) (f) < 14 > [s ecurity setting ( flash shield window) ] category . figure 2 - 3 4 . [ ge t flash options ] command getting the checksum of the d evice checksum of the flash: 0x03fc0000 user flash checksum of the flash: 0x003fc000 user boot flash checksum of the flash: 0x0048aac4 data flash renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 42 of 71 mar. 31, 2014 (11 ) [s et project ] when [project settings] is selected, the [project settings] dialog box is displayed, and you can check and change project settings. you can select [basic settings] tab or [other settings] tab, each of which presenting its specific category of set tings. when the m odify ? 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 - 3 5 ). 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 - 3 5 . flow of s etting c hange with the m odify... b utton (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 - 3 6 . [ communication interface ] dialog box for details about each item, see 2 .2.3 . clicking the n ext > button displays the next dialog box. clicking the cancel or the x button returns you to the [project settings] dialog box. [ communication interface ] [mod e pins] [ frequency ] [ communication speed ] [power supply] [ project settings] renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 43 of 71 mar. 31, 2014 (b) [fre quency] dialog box this dialog box is used to set clock supply and multiplication ratios for the main clock and peripheral clock. figure 2 - 3 7 . [frequency] dialog box for details about each item, see 2 .2.7 . clicking the < b ack button displays the pre vious dialog box. clicking the n ext > button displays the next dialog box. clicking the cancel or the x 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 - 3 8 . [ communication speed ] dialog box for details about each item, see 2 .2.8 . clicking the < b ack button displays the previous dialog box. clicking the n ext > button displays the next dialog box. clicking the cancel or the x button re turns you to the [project settings] dialog box. renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 44 of 71 mar. 31, 2014 (d) [power supply] dialog box this dialog box is used to set power supply for the target system. figure 2 - 3 9 . [power supply] dialog box for details about each item, see 2 .2.4 . clicking the < b ack butt on displays the previous dialog box. clicking the n ext > button displays the next dialog box. clicking the c ancel or the x button returns you to the [project settings] dialog box. (e) [mode pins] dialog box this dialog box is used to select the pin to control the mode pin of the target microcontroller from io0 to io5 pins . figure 2 - 40. [mode pins] dialog box remark for the io0 to io5 pins of e1 and e20, refer to common appendix b fi gure b -1 . e1 and e20 pins - rx -. for details about each item, see 2 .2.5 . clicking the < b ack button displays the previous dialog box. clicking the finish button saves the workspace file and returns you to the [project settings] dialog box. clicking the cancel or the x button returns you to the [project setti ngs] dialog box. renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 45 of 71 mar. 31, 2014 (f) [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. figu re 2 - 4 1 . [project settings] dialog box [basic settings] tab <1> [device information] category <2> [communication interface ] category <3> [clock] category <4> [communication speed ] category <5> [target power] category <6> [ mode pins a t connect ion ] categ ory [other settings] tab <7> [basic mode option] category <8> [ command options] category <9> [ mode pins a t disconnect ion ] category < 10> [ id code authentication ] category <1 1 > [timeout option] category <1 2 > [user boot area options] category <1 3 > [lock bit] category <1 4 > [ security setting ( flash shield window ) ] category clicking the m odify... button displays the [communication interface] dialog box. clicking the ok button saves the project file and returns you to the main window. clicking the cancel o r the x button returns you to the main window. renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 46 of 71 mar. 31, 2014 <1> [device information] category th is category displays information about the microcontroller such as device name , base device , and device information file path . device name displays the device name. ba se device displays the base device of the device. device information file path displays the parameter file path of the device. <2> [communication in terface ] category this category displays to o l and connection . tool name displays the communication tool between the target board and host pc. connection displays the connection method between the target board and host pc. <3> [clock] category th is category displays clock - related information such as clock type , frequency , ckm , and ckp . clock type clock is supplied to the device via internal or external clock. input frequency ( mhz ) displays the input frequency of the device. clock mode displays the clock mode of the device. ckm displays the multiplication or frequency dividing of the main clock. ckp dis plays the multiplication or frequency dividing of the peripheral clock. <4> [ communication speed ] category th is category displays communication speed - related information such as communication speed specified by , communication speed value (bps) , and use d efault 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. <5> [target power] category this category displays power supply of the target device. supply power displays the power supply for the target device. <6> [ mode pin s at connect ion ] category this category displ ays 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. renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 47 of 71 mar. 31, 2014 <7> [basic mode option] category th is category is used to select whether or not to automatically disconnect after execution. auto disconnect select s whether to disconnect automatically after execution. true enabled false disabled <8> [ command options] category th is category is used to select readback ve rification , all erase before program , request checksum , and file over warning . all erase before program select s whether to erase all blocks before programming. true enabled false disabled verif y after program select s whether to execute readback verif ication after programming. true enabled false disabled checksum after program select s whether to obtain the checksum of the device after programming. true enabled false disabled security after program select s whether to set security after program ming. true enabled false disabled file over warning select s whether to display the warning dialog when the program file exceeds the rom size of the flash. true enabled false disabled remark t he checksum is the eight lower - order digits of the resu lt of adding the value s of all bytes in the flash memory. renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 48 of 71 mar. 31, 2014 <9> [ mode pin s a t disconnect] category th is category displays or is used to select reset pin as low , reset device , and mode pins information . reset pin as low select s whether to set the reset pin at low level when disconnecting from the device. true the reset pin is set to low level. false the reset pin is set to high impedance. reset device select s whether to reset the device when disconnecting from the device. true enabled false disable d mode pins information specif ies the mode pin state when resetting the device. [pin outputs] check box selects the pin to control the mode pin of the target microcontroller from io0 to io5 pins . a selected check box is output, and a cleared check box is input. [pin setting (high)] check box sets the level of the selected io0 to io5 pins to high or low. a selected check box is high, and a cleared check box is low. this setting is effective only when the i/o direction is output. remark for the io0 to io5 pins of e1 and e20, refer to common appendix b figure b -1 . e1 and e20 pins - rx -. renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 49 of 71 mar. 31, 2014 <1 0 > [id code authentication ] category th is category is used to specify id code. id code (authentication) change s the id code for authentication. ? |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |