Home
Application Leading Tool Common Operations User`s Manual
Contents
1. al ext 2013 06 28 Application Leading Tool Common Operations User s Manual 3 6 Setting up a Peripheral Function Peripheral functions to be displayed on the Module panel can be selected by one of the methods listed below For a description of what is displayed on the Module panel see 5 2 Module Panel e From the Peripheral Functions menu in the Main window select a peripheral function e On the Tree View panel double click the peripheral function name e Click the module toolbar button Remark Even when the Module panel is not being displayed the Module panel can be opened by selecting a peripheral function from either the Peripheral Functions menu or the Tree View panel XE ELERE y Lb ISL EDI Figure 3 17 Setting up a Peripheral Function peper E eng Peripheral Functions SAP for P Abie oer RAXIT BEER lansbbi con K Clock Generator Be yew gpm ee oe a ET unn wu e Cl voltage Detection Circuit Preset Tree LED Cd Peripheral Functions Code Preview F Property qa Clock Frequency Accuracy Measurement Circuit iting 1 eremgecoie Ll Eo WB dh ce ca La Penptenal Purchorn ES Low Power Consumption Ce Dock Geral a os Clock sem Regeler sa a prolechon keck tair D oe Gen MUER a Interrupt Controller Unit e Lonas Doc arp IEM CAM uu e Irene Controles Und DEE ae Buses Wi Duer qu m Data Tune Controles E Operation oy Data Transfer Controller ee Evert Link Controles Man clack melyna sago Eienprado
2. Cash A le El wi Clock Generator bJ Voltage Detection Default B Clock Frequency gt Da aen El y eg_cegc c je Low Power Consy Fl property TEM Weg re fe H Lat Create eel Interrupt Controller CM CC S gw Buses lia CH P CGC Set Clockhode _Cg_CgC_USEI C 3 Ba j ego oscillation _stop_interrup eg SE Detection Circuit XE AA Z mCRP APIR AA Yy EZZ LC ET H XE APA A AA e Clin Remarks 1 The name of the main function cannot be changed 2 In file names single byte alphanumeric characters and _ underscore can be used 3 Whether output is on or off can be checked by the type of each icon on the Preview panel 2013 06 28 Application Leading Tool Common Operations 3 8 Output of Source Code Source code a device driver program can be output by any of the following methods e From the File menu select Generate Code e On the toolbar click the e button e On the module toolbar click the G Generate code button XE F R y 2 kk Figure 3 26 Code Generation A i New eS Open Save E save AS Close Application Leading Tool foe RX111 SampleD01 cogp gen ER Functions Options Help St Gh lo al cur for ezstudio pa Peripheral Fu Ce Generate code Samplet pr Clock Frequency Accuracy Measureme vee m Low Power Consumption ve Interrupt Controller Ll rut d Wi Buses ve wm Data Transfer
3. 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 ENESAS SALES OFFICES Renesas Electronics Corporation http Awww renesas com Refer to http www renesas com for the latest and detailed information Renesas Electronics America Inc 2880 Scott Boulevard Santa Clara CA 95050 2554 U S A Tel 1 408 588 6000 Fax 1 408 588 6130 Renesas Electronics Canada Limited 1101 Nicholson Road Newmarket Ontario L3Y 9C3 Canada Tel 1 905 898 5441 Fax 1 905 898 3220 Renesas Electronics Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH U K Tel 44 1628 651 700 Fax 44 1628 651 804 Renesas Electronics Europe GmbH Arcadiastrasse 10 40472 Dusseldorf Germany Tel 49 211 65030 Fax 49 211 6503 1327 Renesas Electronics China Co Ltd 7th Floor Quantum Plaza No 27 ZhiChunLu Haidian District Beijing 100083 P R China Tel 86 10 8235 1155 Fax 86 10 8235 7679 Renesas Electronics Shanghai Co Ltd Unit 204 205 AZIA Center No 1233 Lujiazui Ring Rd Pudong District Shanghai 200120 China Tel 86 21 5877 1818 Fax 86 21 6887 7858 7898 Renesas Electronics Hong Kong Limited Unit 1601 1613 16 F Tower 2 Grand Century Place 193 Prince Edward Road West Mongkok Kowlo
4. ee wie MCU RS1110128KB Chip RSF511154xFM Messages that are displayed on the Output panel are color coded depending on the type of message involved Table 5 6 Message Character Colors Normal message Indicates information such as the execution status of code generation or report output Displays a warning if the value in the input field is invalid Error message Indicates that the execution of processing is disabled due to a fatal error or other reasons Right clicking the Output panel displays a context menu Table 5 7 Output Panel Context Menu Selecting Clear from the context menu deletes all messages that are displayed on the Output panel Dragging a message character string on the Output panel selects producing an inverted color display the character string Selecting Copy from the context menu copies the selected inverted color display character string stores it in the clipboard Select All Selects in inverted color display all the messages character strings on the Output panel R20UT2663EJ0100 46 46 RENESAS 2013 06 28 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 i
5. preliminary versions are not marked as such Documents Related to Development Tools User s Manuals Document Name Document Number English Japanese RX111 Group User s Manual Hardware RO1UHO0365J RO1UHO365E RX Family User s Manual Software RO1US0032J RO1US0032E RL78 Family User s Manual Software RO1US0015J RO1US0015E 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 CONTENTS R20UT2663EJ0100 2 46 RENESAS 2013 06 28 o E EE UU UE OA 5 E O PP E 5 1 2 Names and Functions of Hardware arias iii 5 e AA 6 Chapter ar ee E 7 211 POAC SOF ASTM EE 7 22 ee Ed ei Procopio A E E 7 2 3 Uninstallation Procedure cccccccccsssccecseseeeeceeeceeceeceecseeecesseeuceeceeecesseaeceeeeaeceessaeeessuecesseaeeeeseaaeeeeeas 10 Chapter 3 Operating Procedure cccccccccssesecceccaeeeecececseesececsceauseeeeeeeeaeceesseaaeeeeessaaseceeessaasecessssaeeeessesaaaeeees 11 Jeb Names Ol F Al e E E E E A A E 11 SETU E 12 S VETI B E 12 3 1 9 Main TOOlIDAT seta sc22 saseceSdaiencncigtadagenocaieaqsusbdtoscaddabestantadacianstiongiant soedcbdtioevuaste sacdenceeaeducet danci oasis 12 3 1 4 Module Toolbar 00 0 0 ee eccccccceseeeeeeeeeseeeeeceaeaseeeeeeeeasceeeseeeaeeeeeseeaaeeeeseseaeeeeessaaeeeeeeseaaeeeessssanseeeeseaas 12 SO yA Penn e PE UU COn 12 3 1 6 Project Tree Panel cccccccccccsssecccceeseeeceeseeeceaeceesau
6. 1 Unit The figure below shows an example of a Module panel in which settings change by channel according to a selected function For each channel select the function to be used and for each selected channel set details Executing Return to Reset Value from the Project Tree panel resets all tab channel settings to their default values Figure 5 7 Example of a Module panel Multi Function Timer Puls Unit2 a cu Peripheral Functions S E Code Preview Fe Property Ce Generate code E D a BE a SZ CC ep MESS a A lt 1 gt A General Setting MTUO EE wn mTu3 vmal MTUS Function setting Pt 3 s MTUO Normal mode sl lt 2 gt MTU Normal mode sl MTU2 PWM mode sl MTLIS Unused lt 4s e d cl Peripheral Functions of Code Preview Froperty Ce Generate code Me fe TU af ote SE OC ak j el a ae Ha A ws Ka General Setting EM Normal mode description The counter counts up inthis mode The following types of operation are possible Free running operation when Disable counter clear rz selected for Counter clear source counting continues until the counter overflows and then restarts from 0 Periodic counter operation when a compare match with a general register TG Ax 12 selected for Counter clear source the counter is cleared to 0 on a compare match between the values of the selected general register and of the counter External event count operation when an external pin input is selected for Coun
7. 4 FM5ET screen Figure 2 4 Wizard Completed Screen 2 Application Leading Tool for RX111 1 00 00 InstallShield Wizard InstallShield Wizard Completed The InstallShield Wizard has successfully installed Application Leading Tool For RX111 1 00 00 Click Finish to exit the wizard E Cancel R20UT2663EJ0100 AS 9 46 2013 06 28 RENES Application Leading Tool Common Operations User s Manual 2 3 Uninstallation Procedure This section describes the procedure for uninstalling the Applilet taking the uninstallation of Applilet for RX111 in Windows 7 as an example The contents of display may vary depending upon the particular operating system and software being used Cautions 1 You need to perform uninstallation by logging in as a user with Administrator privileges 2 Uninstalling the Applilet will not uninstall the NET Framework Version 4 and Microsoft Visual C 2010 SP1 run time library and associated files 1 In Add or Remove Programs of Windows 7 click the Uninstall button for the Applilet to be uninstalled Figure 2 5 Add or Remove Programs Uninstalling Applilet BEE l amp Currently installed programs C Show updates Sort by Mame Change or Remove Programs Ad d Hew an Application Leading Tool for RX111 1 00 00 Size 19 34ME Click here For support information Used rarely To change this program or remove it From your computer click Change or
8. Accuracy Measureme File generation control Merge file we Low Power Consumption Output folder C Documents and SettingsAtoolgiAHy Doc yl Interrupt Controller Unit Report type AN file oie Buses E Microcontroller Information 2 os pel Data Transfer Controller Microcontroller name FASF511154sF SS Event Link Controller Peripheral Functions Ej Code Preview ES Property SN ssi lw LO Ports SL te Multi Function Timer Pulsp0 ae Port Output Enable 2 El Generate File Mode SR Compare Match Timer API output contral Output all AFI functions according to the setting W Realtime Clock File generation control Merge file oot Independent Watchdog Output folder Dei Seral Communications In Report type Merge file E Microcontroller Information Microcontroller name Overvwrite file An output mode can be selected from the three modes listed in Table 3 5 Table 3 5 Source Code Output Mode Output mode Overwrite file If an identically named file already exists overwrites that file Merge file If an identically named file already exists merges that file with the current file Only the content of a merge comment is subject to the merging action Start user code Do not edit comment generated here merge section End user code Do not edit comment generated here Do nothing if file exists If an identically named file already exists does not output the current file Remarks 1 The merge comment can vary dependi
9. Controller ve a Event Link Controller flee LU Ports la Multi Function Timer Pulse Unit 2 Port Output Enable 2 Tal iea Caran aeara hd ste Timer Mam clock oscillator zb E Operation Mam clock oscillation source Frequency Oscillator wat time Oscillation stop detection function el Generate Code Ctr G KS Peripreral Functions E n we Clock Generator LL setting 2 Generate Report ER Voltage Detection Circuit f 27 lt CC Recent Projects User s Manual Ctrl M Ctrl o Chrl 5 R20UT2663EJ0100 s lt ENESAS 2013 06 28 SN 26 46 Application Leading Tool Common Operations User s Manual 3 8 1 Modifying the Output Modes In the Applilet you can select an output mode overwriting merging or previous file priority from Generate File Mode on the Property panel To change output modes in the File generation control field click the button to select a desired mode from the list XE Pp pr u XE Ht Ae R Xy lio V lt to d n H Figure 3 27 Changing Output Modes Application Leading Tool for RxX111 SampleD1 cogp File View Peripheral Functions Options Help O E Hi 6 8 cp for ezstudio Aa af E H Peripheral Functions ME Code Preview Ges Zt cl L Clock Generator E Generate File Mode He Voltage Detection Circuit API output control Output all API functions according to the setting ole Clock Frequency
10. Displays recently opened projects Selecting a project from a submenu loads the project Exit Exits from Applilet R20UT2663EJ0100 2013 06 28 ENESAS 32 46 Application Leading Tool Common Operations User s Manual 4 2 Peripheral Functions Menu The Peripheral Functions menu displays peripheral functions that the target device has only those peripheral functions that are supported by Applilet When a peripheral function is selected the associated settings screen is displayed on the Module panel Figure 4 2 shows an example of Peripheral Functions menu display Table 4 2 lists the functions of the Peripheral Functions menu SEI A Yy L9 9 AE OD lech Figure 4 2 Peripheral Functions Menu AP4 for RX111 AP4ezgcc_RX111_R5F511154xFM cgp Fie wiew A Peripheral Functions 8 Options Help a GH fs Clock Generator Project Tree a Yoltage Detection Circuit Prewi APdezgcc Ai EB Clock Frequency Accuracy Measurement Circuit Lr SS Peripheral Fu ge Clock Ben See Ia Interrupt Controller Unit Low Power Consumption pr LD 3f Buses Data Transfer Controller 2 Low Powe ate Event Link Controller ogy Interrupt lt j 1J0 Ports fe Buses Multi Function Timer Pulse Unit 2 yo Data Tra Soe Event Un fa Port Output Enable 2 Dei 10 Ports Compare Match Timer Eg Multi Fung Ze Port Our Er Realtime Clock co Compare al Independent Watchdog Timer e e Serial Cormmunications In
11. Double clicking the source file or API function name on the Preview tree changes the display of the source code display area On the Preview tree the shapes of the icons change according to the status of the settings Table 5 3 Preview Tree Icons eg Peripheral function unused used File GI The API function to be output during code generation required xr The API function to be output during code generation user specifiable El The API function not to be output during code generation user specifiable R20UT2663EJ0100 44 46 RENESAS 2013 06 28 Application Leading Tool Common Operations User s Manual Right clicking the API function file name brings up the context menu Table 5 4 Preview Tree Context Menu Generate Code API function CG H Sets the API function as an object of output for code generation The icon changes from Not Generate Code Excludes the API function from the object of output for code generation The icon changes from Rename API function a Sail Ep Renames the API function name file name that is output File during code generation The name changes to the Edit mode Default Resets to an Applilet3 initial value the API function name file name that is output during code generation 2 Source code display area Verifies the source code a device driver program Double clicking the source file name or the API function name on the Preview Tree switches
12. For e2studio Project Tree Peripheral Functions dE Code Preview y Property void R CGC Create void EE Code Preview E wi Common I al A teg main c uinti t w count T e main gl F_MAIN_Userlnit Set main clock control registers ER _cg_vector_table c SYSTEM MOFCR BYTE 00 CGC MAINOSC RESONATOR 20 CGC MAINOSC OW pu Y cg reset_program asm SYSTEM MOSCUTCR BYTE OO CGC OSC WAIT CYCLE 2 p Er r cg interupt handlerz h E r 1_cg_hardware_setup c Set main clock operation JA rcg macrodriver h SYSTEM MOSCCR BIT MOSTP OU e 07 eg_userdetine h ee Clock Generator Wait for main clock oscillator wait counter overflow ERT eg_cgc c while 10 SYSTEM OSCOVFSR BIT MOOWF a A_CGC Create S nl e F_CGC_Set_ClockMode ZS Set system clock ERT eg coc usero SYSTEM SCECR LONG O0000000 CGC PCLED DIV 1 00000000 CGC PELE I R_CGC_Create_Userlnit oooooo00 CGC FCLE DIV 1 Sei E ego oscillation_stop_interriupl 7 7 7 7 7 E y Leg_egc h Set sub clock ea neg ke Ev reg_lwd user g eg_vdh MO409004 src y eg cge h was overwritten ERR Clock Frequency Accuracy Measuremen M40409000 80c41_ cg SCLC was generated H g CO cac c MUAUOUUU srcht cg SC user C was generated Copy H g og cac_user c MUAUOUUU anch cg_ecih was generated l 3 Be d i reg cac h 40409003 The operation of generating file was successtul select 4 o Low Power Consumption Clear bd Interrupt Controller Ll nit
13. GNURX for e2studio y o y Yoltage Detection Circuit Project Tree a x 7 S Peripheral Functi KE Code Previ FER p A eg a e Clock Frequency Accuracy Measurermne 2 5juenerate code a E i Ss Low Power Consumption LA Sample 2 ES Peripheral Functions we Clock Generator VCC setting fen i wi Voltage Detection Circuit 270 VEC lt 36M E Interrupt Controller Unit w Clock Frequency Accuracy Measureme E d B w Low Power Consumption Main clock oscillator setting USES EECH Operation pr Data Transfer Controller wm Buses SC pn Data Transfer Controller ee ee ee ER E Event Link Controller wm Event Link Controller Frequency 12 IS zw 1 0 Ports ae 7 E 140 Ports Multi Function Timer Pulse Unit 2 Oscillator wait time 2c igo Multi Functon Timer Pulse Unit 2 w Port Output Enable 2 ree E S zip Compare Match Timer Garde acl ci Port Ol Utput Enable 2 we Realtime Clock PLL circuit setting 1 gei d w Independent Watchdog Timer poe f i Compare Match Timer a Sri Godert Interface a Realtime Clock us Interface Se E we Serial Peripheral Interface _Sub clock oscillator and RTC RTCSCLK setting plat Independent Watchdog Timer w CRC Calculator p A Serial E ae iiei tl A D Converter Operation pl Bal LOMMUAICEMONS Ire oC RW D A Converter L pr 120 Bus Interface w Data Operation Circu
14. Overwrites the ES open project with the current settings and saves the results 5 foose Closes the Closes the currently open project open project Generate Code Outputs the source code Generate Report Outputs a report file 2013 06 28 Application Leading Tool Common Operations User s Manual 4 5 2 Module Toolbar The module toolbar is displayed above the Module panel C Clicking the el Generate code peripheral function buttons you can switch the peripheral functions to be displayed or set up on the Module button causes the execution of the code generation process By clicking panel LXE Y MAZDA YM Figure 4 6 Module Toolbar Application Leading Tool for RX111 Sample01 cgp i Oj xj File View Peripheral Functions Options Help ZC bk Fe al NURS For ezstudio e Rox Project Tree dl cul Peripheral Functions E Code Preview Lee Property be samplet Cl Generate code WCC seting _ __ x lt lt z x lt 2 E a Voltage Detection Circuit Ge 27 VEC e 3 60 C 24 W e WEC e 270 C 180W vee Clock Frequency Accuracy Measureme fe Low Power Consumption Mam clock oscillator setting saad pe lnkariimnk Darntrallar lai EZ a The module toolbar contains the following buttons Table 4 6 Functions of Module Toolbar ZG Generator On the Module panel displays peripheral function setting Voltage Detection Circuit l screens that are associated Ain Clock Frequency
15. Peripheral module clock PCLED si sl en Peripheal module doch for ADC POLKD at RT pi Flash IF deck OH D sl E pe Dradisa ad LIST inch DREI EJ Mats CLADUT pn aniting IT Operation F zi d Seck off peace 5 2 2 Example of a Module Panel for Ports The figure below shows an example of a Module panel for ports By changing ports to be set through the tabs you can set peripheral function operations by port Executing Return to Reset Value from the Project Tree panel resets all tab port settings to their default values Figure 5 4 Example of a Module Panel Ports Ea Peripheral Functions 5 C Generatecode DO gy Et aw w ZC ep a A i ON Se Porth Hot bor Porta Porta Port5 bor PortB Port Porte Pont Port PEO e Unused In E C Out E FP Pull up CMOS output y P Gutput 7 FEI Unused Cn Ge Out y Pull up N channel open drain gt E Output 1 PE2 Unused Cn Ge Out E Full up EMOS output sl E Output 7 HE f Unused Cont Out D Fulup CMOS output Output DEA fe Unused Con t C Ou D Fulup CMOS output y Output HEN Unused Cn Ce Out a Full up N channel open drain gt E Output 1 FEG Unused Ge In C Out Pull up CMOS oun y E Butputi PE Unused Ge In C Out E Full up CMOS output y E Uotout R20UT2663EJ0100 40 46 RENESAS 2013 06 28 Application Leading Tool Common Operations User s Manual 5 2 3 Example of a Module Panel for a Peripheral
16. RX Using compiler Using microcontroller Za AX111 128KB RS AS5F511154xFM CCRX CCR for ME R5F511154xLF e2studio J R5F511154xFL RS RSF511154xNE e2 Me AX111 96KB a Me AX111 64KB GNURX for Ms AX111 32KB SEN a En AX111 16KB EWRX ROM size 128KB Pin count 64 Project name Rx111 sample Place CAD ocuments and Settings toolgi My Docume y Browse Cancel 2 Setup items and then click the OK button to create a new project Table 3 1 Project Creation Settings Microcontroller Specify a target device Peripheral functions that can be set up vary with the specified device Using compiler Project name From CCRX made by Renesas EWRX made by IAR and GNURX made by KPIT select the compiler to be used for the build process The build tool can be changed even after a project is created Specify a project folder file name If an IAR compiler is specified as the build tool the project folder file name is also used as a workspace project file name Specify where the project is to be saved Caution Remark In a folder file name a single byte alphanumeric character and _ underbar can be used Also a space a single byte blank character cannot be used at the beginning or end of a folder file name The creation process may fail if an illegal character is specified in the folder file name If a project with the same
17. Remove Fa breet Far DIFA 1721341 n3 Di Fies 49 ananm 2 In the wizard dialog box that appears select Yes Figure 2 6 Confirming Uninstallation inji amp Currently installed programms Show updates Sort by Mame Change or F Remove ica lil x Click he To char E Are you sure you want to remove Application Leading Tool For R8111 41 00 00 From your computer pater Fl annia No 3 The uninstallation process finishes Figure 2 7 Uninstall Finished BER gt Si Currently installed programms show updates Sort by Name sl SE or Agere Systems ACO 7 Modem Ez des Programs FA Applilet3 For RL78_G13 41 03 01 Size 17 DAMP E ATI Control Panel Size 10 66MB R20UT2663EJO1 10 4 TES a RENESAS Ge 2013 06 28 Application Leading Tool Common Operations User s Manual Chapter 3 Operating Procedure 3 1 Names of Parts Figure 3 1 shows the names of parts of the Applilet A XE AFU D4F YE Figure 3 1 Main Window lt 1 gt lt 2 gt Application Leading Tool for RX111 Sample01 cgp Oj x lt 3 gt File View Peripheral Functions Options Help lt 9 gt A9 3 Hd el B SH GNURX For e2studio X lt 4 gt Project Tree LO lt Peripheral Functions 7 Code Preview Property x pet 6 cenerate code L OSE KHAO AHDA GS PEPE U A S A pie Peripheral Functions e lt b gt w Clock Generator VCC setting lt gt nm Voltage Detection Circuit 27 lt
18. Select target device Select File Select compiler Select recently used File Input project name Specify Peripheral Function Select target peripherals Specify functions on the Specify Code Input output or not Input file name Input API function name Generate Code Set marge output format Set output path Save Project 2013 06 28 Application Leading Tool Common Operations User s Manual 3 3 Starting up This section explains how to start up the Applilet XE 2h Yy EF O In Windows select the Start button gt Program gt Renesas Electronics Application Leading Tool gt RX111 gt Vx xx xx After these items are selected the Applilet main window starts up Figure 3 13 Main Window Immediately after the Startup Application Leading Toot Fie view Peripheral Functions Options Help O Fh S ah x Name Modified New Project Open Project Output D x R20UT2663EJ0100 16 46 2CENESAS 2013 06 28 Application Leading Tool Common Operations User s Manual 3 4 Creating a New Project File 1 On the main window press the New Project button to display the New Project dialog box XE 7O SII LIERK SN TPAD Yy SACLE Sl H XE SH 7 09 70 7109 KER Figure 3 14 New Project Dialog Box Application Leading Tool J Fie View Peripheral Functions Options Help t GS ko i Kl id Prec Tie Li x m Re Microcontroller
19. Table 3 3 List of Radix Base Numbers Radix number Summary representation Decimal A number beginning with a numeral 1 to 9 followed by numerals 0 to 9 including 0 Hexadecimal A number beginning with Ox followed by O to 9 or alphabetic characters a to f not case sensitive 3 6 2 Icon Display on Invalid Input Fields If an illegal character string is entered or if a value is not entered in a required field the Module panel displays a a icon indicating that the input data is incorrect In addition the Module panel represents the affected character string in red to provide a warning that input is invalid XE ESTI 3 en Ne IWS d POZA Remarks 1 If an invalid input field is present control cannot move to another peripheral function setup view 2 If the mouse cursor is moved to the icon information on the character string to be input a helpful hint on how to resolve the input error is displayed as a popup Figure 3 19 Icon Display on Invalid Input Fields Main clock oscillator setting E Operation Mam clock oscillation source Resonator sl Frequency BO 000 80 0 MHz Oscillator wait time 2cyces Information of walid input value range 1 20 Oscillation stop detection function Disabled sl 2013 06 28 Application Leading Tool Common Operations User s Manual 3 6 3 Icon Display on Pin Contention As peripheral functions are set on items in which pin contention can occur the Module panel displays
20. VCC lt 3 6 V C 24 lt VCC lt 2 7 Y C 180 lt Clock Frequency Accuracy Measureme Main clock oscillator setting M Operation Main clock oscillation source Low Power Consumption Interrupt Controller Unit Buses Data Transfer Controller Event Link Controller 120 Ports Multi Function Timer Pulse Unit 2 Port Dutput Enable 2 Compare Match Timer Realtime Clock nctions 7 Code Preview Property CGC Create void lt 8 gt Frequency uinti6_t w_count Oscillator wait time Set main clock control registers SYSTEM MOFCR BYTE O00 CGC MAINOSC RESONATOR 20 CGC MAINOSC OVEI Oscillation stop detection function SYSTEM MOSCUTCR BYTE 00 CGC OSC WAIT CYCLE 2 PLL circuit setting Zr Set main clock operation Independent Watchdog Timer I Operation SYSTEM MOSCCR BIT MOSTP OU Serial Communications Interface Frequency 12C Bus Interface Wait for main clock oscillator wait counter overflow Serial Peripheral Interface Sub clock oscilla and RTC B SCLK setting CRC Calculator q gt e A D Converter Iv Operation Peripheral Functions 7 Code Preview Property D A Converter 4 B 2 E lt 9 gt E AAA AA AAA AAA Data Operation Circuit Output E Generate File Mode lt 8 gt E Ja Code Preview AP output control Output all API functions according to th
21. a 3 icon in the affected spot to provide a warning on pin contention indicating that a contention has occurred XE 67 47 2 Se NnS e kx An Remarks 1 The function for which a pin contention warning icon is displayed cannot be enabled When using the affected function the contending peripheral function should be disabled 2 If the mouse cursor is moved to the icon information on pin contention a helpful hint on how to avoid contention appears as a popup Figure 3 20 Icon Display on Pin Contention Ce Unused C In C Out Polo chins output sl L Gutput 1 PAJ Unused Cin C Ou F Fulup emos output sl P Gutput 1 PAA fe Unused Cin Out PF Pullup Emos output Gutput 1 FAG D e The Following pin conflicts have been detected You must change the setting in that module before vou can use it For other purpose Unused In pad was used as TXDS 2013 06 28 Application Leading Tool Common Operations User s Manual 3 7 Checking Source Code The Applilet generates source code a device driver program that matches peripheral function settings see 3 6 Setting up a Peripheral Function The source code can be checked on the Preview panel If the Preview panel is not open clicking the Preview tab switches the Module panel to the Preview Panel On the tree on the Preview panel double clicking either the source code file name or the API function name switches the display of the source code On the Pr
22. applicable laws and regulations Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or regulations You should not use Renesas Electronics products or technology described in this document for any purpose relating to military applications or use by the military including but not 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 Itis 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 11 This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics 12 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
23. be edited in File Information Figure 3 24 File Information Tab Renaming a File of Code Preview a cil Peripheral Functions as 2 E E File Information Default name Yeg File name rcg_cgc c File used Used Output folder LA Documents and Settings stoolghhy Documents ampleM 45 ample Merc Default name Indicates selects whether to use by the default file name IT ng is changed to pes the file name returns to the default name R20UT2663EJ0100 24 46 ENESAS 2013 06 28 ER Application Leading Tool Common Operations User s Manual 3 7 3 Renaming an API Function In the Applilet the code to be output can be assigned any API function name On the Preview panel tree right clicking the API function name brings up the context menu By selecting Rename you can edit the file name XE 4aie Bet A APINAA Yy RREZEAAL ITS H XE ADUD I A ARA AL Figure 3 25 Renaming an API Function Project Tree E Code Preview F wold H CGC Create void d y ARO Converter vee D A Converter pi Data Operation Circuit ER E Code Preview uinti t w count E ee Common Set pay Er wi Clock Generator SYSTEM Il ER W LG Op SYSTEM a ADE J i pol onverter 3 H Lat Create E Zero D CSC Get Clockhiode ser a D A Converter S eg cgc_ usa ai Generate Code TEM pa Data Operation Circuit Fury j oT d F_UEL_0 g Mot Generate Code E Code Preview Hae nego ose Wait ERT Comman
24. i i R20UT2663EJ0100 REN ESAS 41 46 2013 06 28 Application Leading Tool Common Operations User s Manual 5 2 4 Example of a Module Panel for a Peripheral Function Multiple Channels The figure below shows an example of a Module panel for a peripheral function containing multiple channels By changing channels to be set through the tabs you can set peripheral function operations by channel Executing Return to Reset Value from the Project Tree panel resets the settings for the currently selected channel to their default values Figure 5 6 Example of a Module Panel Compare match timer ES Peripheral Functions al Code Preview Property x zm mf dip CO m mes Cd es C Generatecode D ZE Zeg OO ON ei 2 eg SE oi wh ZS curo CMT E Compare match timer operation setting C Unused Ge Used Count clock setting Ge PCLE 8 PELK 32 PELK 128 PELK 512 Interval value setting Interval value f UU US e Actual value 100 Interrupt setting Jh Enable compare match interrupt IC MII Friority Level 15 highest Caution Executing the Return to Reset Value when a target peripheral function is not displayed on the Module panel resets the settings for the starting channel the leftmost tab to their default values R20UT2663EJ0100 42 46 ENESAS 2013 06 28 ge Application Leading Tool Common Operations User s Manual 5 2 5 Example of a Module Panel for a Peripheral Function
25. performed on the integrated development environment platform with respect to the Applilet output file will be disabled 2 If the output mode is Merge file any editing that was performed on the integrated development environment platform outside a merge comment will be disabled 3 If the output mode is Do nothing if file exists any changes to Applilet settings other than a new output file will be disabled 4 The Applilet does not delete files that are no longer needed due to changes in settings 2013 06 28 Application Leading Tool Common Operations 4 1 File Menu Chapter 4 Menu Reference Figure 4 1 shows an example of the File menu Table 4 1 lists the functions of the File menu XE ITADO La Y SII H XE CARA SETA Y Figure 4 1 File Menu AP4 for RX111 AP4e2gcc_RX111_R5F511154xFM cgp Table 4 1 File Menu SC m Low Power Consumption s we Interrupt Kontroller Unit 2 ein Port Output Enable 2 Ela Compare Match Timer Mew Ctrlt h ae Peipheral Functions Open Cro a we Clock Generator Save Crrl 5 Save as Close Generate Code Ctrl 6 pr Buses 4 gt Generate Report bp Data Transfer Controller 2 An w Event Link Controller Recent Projects Bei LO Ports S E Multi Function Tier Pulse Exit User s Manual Close Closes the currently open project Generate Code Outputs the source code Generate Report Outputs settings information to a file Recent Projects
26. single PC O Acommon package handling both English and Japanese environments The Installer does not automatically distinguish languages At the beginning of the installation process the user should select a desired language Even in Japanese version Windows if the Applilet is installed after selecting English the Installer can install the version of the Applilet that displays items in English Caution The Applilet is used as a single application 2 2 Installation Procedure This section describes the procedure for installing the Applilet XE 4 A R JL taking the installation of Application Leading Tool for RX111 in Windows 7 as an example The contents of display may vary depending upon the particular operating system and software being used Cautions 1 You need to perform installation by logging in as a user with Administrator privileges 2 For the execution of the Applilet you need to install NET Framework Version 4 as well as the Microsoft Visual C 2010 SP1 run time library If these files have not already been installed on the host machine being used install the files by downloading them from Microsoft Corporation s website Whether these files have been previously installed can be checked by viewing Add or Remove Programs in Windows XE NET Framework Version 2 0 Yy n Figure 2 1 Add or Remove Programs Verifying NET Framework Version 4 0 F Add or Remove Programs i l III xj m
27. the source code that is displayed The source code in this area is displayed in character colors listed in Table 5 5 Table 5 5 Source Code Character Colors Color of Summary display Red Numeric vae o Remarks 1 Source code cannot be edited in this area 2 In some API functions such as API functions for a serial array unit register value SFRs and other values are calculated during the code generation process before the function is finalized For this reason the source code displayed in this area may not agree with the source code that is actually output Figure 5 9 Example of an AP Function Display void INTP_Init void EGPO INTP_EGP_RESET_VALUE EGNO INTP_EGN_RESET_VALUE If this API function INTP_Init is output the EGP1 INTP_EGP_RESET_VALUE function is called here EGN1 INTP_EGN_ RESET_VALUE During code generation whether this line is to be or INTP_User_Init not to be actually output depends on the settings for the API function INTP_User_Init that is called 2013 06 28 Application Leading Tool Common Operations User s Manual 5 4 Output Panel The Output panel displays information such as the execution status of code generation or report output and the allowable setting range for a selected input field XE BJ RA y LH 090 E lt IEAA H XE SAME Yy NR LMOOD ES Figure 5 10 Output Panel Display BER File Men Peripheral Functions Options Help E 2 h amp Ce ia 3 GNURA
28. 0 CGC OSC WAIT CYCLE 2 Pl ca cgc c a a R_CGC_Create 8 Set main clock operation i A_CGC_Registerwrite_Cgc SYSTEM MOSCCR BIT MOSTP OU 19 R_CGC_Reaisterwrite_ModeL 1 R_CGC_Reaisterwrite_Lyvd Pl R_CGC_Set_ClockMode 1_cg_cgc_user c l R_CGC_Create_Userlnit i t_cac_oscillation_stop_interrup Wh Leg cac h Wait for main clock oscillator wait counter overflow while 10 SYSTEM OSCOVFSR BIT MOOVF Jr Set system clock SYSTEM SCKCR LONG 00000000 cGc_PCLKD DIV_1 _o0000000 CGC _PCLKB_ _00000000_CGC_FCLK DIV_1 Voltage Detection Circuit 4 Clock Frequency Accuracy Measureme Ze Set sub clock a Low Power Consumption SYSTEM SOSCCR BIT SOSTP OU Interrupt Controller Unit h Buses Wait for the register modification to complete a Data Transfer Controller while OU SYSTEM SOSCCR BIT SOSTP H a Event Link Controller gr 140 Ports for w_count OU w count lt 0051 CGC SUBOSCUT_ WAIT w_count Multi Function Timer Pulse Unit 2 20 Port Output Enable 2 nopi a Compare Match Timer Realtime Clock a d al i D al i CH 3 1 9 Property Panel This panel is used to view or make output macro and file settings For a description of what is displayed see 5 4 Property Panel XE FUNT 4 RA H XE WAIT AAT 4 Figure 3 10 Property Panel Za A ECO Sd Peripheral Functions P
29. 04 s1ck1_cg_egc h was overwritten a e E Deg MO40S000 sre og SL was generated Geh EENS MUAUOUUU ac Cp CL user CG was generated lw 20 Bus Interface MO4osSO00 src r ca scih Was generated EE tad senal Peripheral Interface 0409003 The operation of generating file was successful mu El H ERE Calculator e 3 A am Ex a 4 e mMC00 R4111 128KB Chip R5FS511154xFM Remarks 1 Source code cannot be edited on the Preview panel 2 In some API functions such as API functions for a serial array unit register value SFRs and other values are calculated during the code generation process before the function is finalized For this reason the source code displayed on the Preview panel may not agree with the source code that is actually output 2013 06 28 Application Leading Tool Common Operations User s Manual 3 7 1 Setting Output on off According to the peripheral function settings the Applilet automatically enables the output of a required API function For non mandatory API functions the user can enable disable the output of the API function On the Preview panel tree right clicking the API function name brings up a context menu By selecting Generate Code Not Generate Code the user can specify whether to turn on or off an output of the API function XE I FERI D H XE I FeERLAEL Figure 3 22 Output on off Settings 24 Peripheral Functions Ef Code Preview Property vold R CGC
30. Accuracy Measurement Circuit with buttons Low Power Consumption Remark The buttons listed Interrupt Controller in the table are intended solely as mples Th Data Transfer Controller examples e buttons that are SE E actually displayed ey product to another Multi Function Timer Pulse Unit 2 a Port Output Enable 2 Compare Match Timer Realtime Clock Independent Watchdog Timer 12C Bus Interface Serial Communications Interface 12 Bit A D Converter D A Converter Data Operation Circuit 2013 06 28 Application Leading Tool Common Operations User s Manual Chapter 5 Window Reference The Applilet provides different windows for different microcontroller products that it supports This manual describes the displays and operating procedures that are common to the microcontroller products that the Applilet supports Product by product descriptions of windows are omitted 5 1 Project Tree Panel The Project Tree panel displays in tree format the peripheral functions those which are supported by the Applilet that target devices possess By double clicking the name of a peripheral function you can switch between modules that are displayed or set up on the Module panel XKE Sz he VU Ae H XE A 467 Figure 5 1 Display of Project Tree Pane Application Leading Tool for RX111 Sarzicul cgp SR a Peripheral Functions File View Peripheral Eureti6hs Options Help Clock Gener ator L do 2
31. Create void d ps A D Converter St DA Converter fw Data Operation Circuit SE Code Preview oe Common ee Clock Generator Sr neg egc c a R_CGC_ Create Do FCO Aa CN F R_CGC Sel uinti t w count Set main clock control registers SYSTEM MOFCR EYTE OO CGC MAINOSC RESONATOR SYSTEM MOSCUTCR BYTE O0 CGC OSC WAIT CYCLE 2 et main clock operation o EM MOSCCR BEBIT MOSTP OU AC CGC Cre Ee C Loo och ait for main clock oscillator wait counter c ul reg_ege h e 10 SYSTEM OSCOVFSR BIT MODE bi Voltage Detection C w Clock Frequency d se este elena amp we Low Power Consum Property EM SCKECR LONG 00000000 CGC PCLED DIV 1 W Interrupt Controller 00000000 CGC FCLK DIV 1 Buses mu I Data Transter Controller ZS Set sub clock Remark Whether output is on or off can be checked by the type of each icon on the Preview panel Table 3 4 Source Code Output on off The source code for this API function will be output The API function for which this icon is displayed is treated as a function requiring source code output not changeable to a Tp 91 fre source code for this API function will be output F The source code for this API function will not be output 2013 06 28 Application Leading Tool Common Operations User s Manual 3 7 2 Renaming a File In the Applilet the code to be output can be assigned any file name On the Preview panel t
32. E o o A 0 lt A C D ENESAS Application Leading Tool Common Operations User s Manual Target Devices RX100 Microcontroller RL78 Microcontroller All information contained in these matenals including products and product specifications 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 Com through various means including the Renesas Electronics Com website htip www renesas_ com Renesas Electronics Rev 1 00 2013 6 WWW TEene sas com Terminology The meanings of the terms used in this manual are described in the table below Renesas environment An environment in which program development is conducted by using language tools and an integrated development environment platform made by Renesas Electronics Corporation GNU environment An environment in which program development is conducted using Gcc IAR environment An environment in which program development is conducted by using language tools and an integrated development environment platform made by IAR Systems RL78 series Applilet Applilet for RL78 series microcontrollers RX series Applilet Applilet for RX series microcontrollers Related Documents Please use the following documents in conjunction with this manual The related documents listed below may include preliminary versions However
33. E IIA 32 4 2 Peripheral Functions Menu A 33 Ao OD NOMS MEA E EE 34 BAe TEC ID Me scan ani an cion 35 A e a OE NU O 36 AS Nan TODD ceros oir coito irte 36 452 Modus Ke e EE 37 Chapter 5 Window Reference cc csesscccccceesececcceeuseceeecaeueceeeceaaecesessaaseceeeseaaueeeessauseceeessaauecessssaeeeessasaaeeeess 38 No al ls TN 38 Se AAA e en p m 39 5 2 1 Example of a Module Panel for Clock Generation Circus 40 5 2 2 Example of a Module Panel for Ports cocoocccncccccccccnncccnonccnnononancnnnonononcnnnnnnnancnnnonnnanennnnnnanncnnnnos 40 5 2 3 Example of a Module Panel for a Peripheral Function 1 Channel 41 5 2 4 Example of a Module Panel for a Peripheral Function Multiple Channel 42 5 2 5 Example of a Module Panel for a Peripheral Function 1 Un 43 A awnen anne beseonsacunenenandseenebeoeeresoese 44 5 4 ei Dirgent 46 2013 06 28 Application Leading Tool Common Operations User s Manual Chapter 1 Outline 1 1 Overview The Application Leading Tool Applilet is a software tool that automatically generates device drivers for the RL78 microcontroller and the RX microcontroller made by Renesas Electronics The Applilet consistent with the device to be employed should be used Through the GUI the Apllilet allows you to quickly initialize peripheral module registers This manual provides common operation specifications such as the Applilet main window menus and dialog operating methods which are not depe
34. Function 1 Channel The figure below shows an example of a Module panel for a peripheral function with only one channel installed The operation of the peripheral function can be set by setting the various items that are displayed on the panel Executing Return to Reset Value from the Project Tree panel resets the settings to their default values Figure 5 5 Example of a Module Panel A D Converter ME Peripheral Functions E Code Preview Bes Property x Ce Generate code fs D a E w af of eis S Ss Era ae El ae ag e He a A Ka General setting l Setting T Function setting C Unused a Ce Analog input channel mode Temperature sensor mode Internal reference voltage mode y El Peripheral Functions E Code Preview Bes Property fe Generate code gy Et a w ZC eg ak BE gt ee ee A e e General setting Setting Operation mode setting Ce Single scan mode Group scan mode Continuous scan mode Conversion mode setting f Normmal 1 8 lt A VCC lt 2 44 High speed AWCE gt 2 44 WREF Setting e AYCCO AVREFHO VREF Setting Ge AMC AYREFLO Double trigger mode setting Ce Disable Enable Analog input channel setting Convert Group 4 Convert Group B Add AD converted value ANOOO e E a AND e E a AND e E a ANOS Iw E E SS ANOD4 e P a ANODE e r a ANOS E bk E ANODOS mi Tr EN ANDID E Ts B AND1 e E a AND12 e E a ANO13 mm Ts r hi i
35. Network Places 5 20130323 OOOO DD DHSGD Fix LH an rOlan0718ej0102_rl7agi3_flash 5 AP4 R111 9 CubeSuite E2 00 00m 5 Cubesuite E2 01 00a CH Error Report Data Make Mew Folder E Cancel E Remark In the installation destination folder name none of these 11 characters lt gt Y can be used Also a space a single byte blank character cannot be used at the beginning or end of a folder name The output changing process may fail if an illegal character is specified in the folder name 2013 06 28 Application Leading Tool Common Operations User s Manual 3 9 Generating a Report File A report file can be output by either of the following methods e From the File menu select Generate Report e On the toolbar click the 4 button H XE UR RED y ALE kL Loy E lt H Figure 3 29 Report Output SU T New Ctrl h Application Leading Tool for RX111 Sample01 cgp Open Ctro file view Peripheral Functions Options Help E L Al 23 tt 1 e 2 GNURY For e2studio gave Chrltz Save Os RETRE Close pa Peripheral F va Generate code ri Generate Code Chr a Peripheral Functions Clock Generator a Voltage Detection Circuit Recent Projects pr Clock Frequency Accuracy Measureme vee Low Power Consumption ve w Interrupt Controller Li rut m Buses vee m Data Transfer Controller M
36. O iy ES A 470 0 dh e ae vi G i AE bb G A 3 1 5 Status Bar The status bar displays device information the product series name and device name AEC AP HZ A INS Figure 3 6 Status Bar MCU NEC 8KORKE3 ChipuPD 8F1142 64 lt 1 gt lt 2 gt Remark lt 1 gt Device product group name lt 2 gt Applicable device name 2013 06 28 Application Leading Tool Common Operations User s Manual 3 1 6 Project Tree Panel This panel shows the settings status of each peripheral function in the form of an icon Double clicking a peripheral function name switches between modules that are displayed or set up on the Module panel For a description of what is displayed see 5 1 Project Tree Panel LXE TVE lps YU AJO MOE Fey Eer Fe Figure 3 7 Project Tree Panel Project Tree er Clock Generator ER Voltage Detection Circuit Clock Frequency Accuracy Measurement Low Power Consumption we Interrupt Controller Ll rut w Buses pm Data Transfer Controller Event Link Controller Ha a TI EH Darka Remark If the width of the Project Tree panel is too small to display all character strings place the mouse cursor on the character string or icon of interest This will display all character strings for an item on the tooltip 3 1 7 Module Panel This panel is used to set up a peripheral function For the operating procedure see 3 6 Setting up a Peripheral Function FXE EVE EAR a Ce ES Figure 3 8 Mo
37. a Val Currently installed programs show updates Sort by Name e Change or Remove if Microsoft NET Framework 3 0 Service Pack 2 Size 169 00MB Programs Cl Microsoft NET Framework 3 5 5P1 Size 28 14MB E Li Microsoft NET Framework 4 Client Profile Size 117 00ME Add Hew Li Microsoft MET Framework 4 Extended Size 38 04ME Programs a Microsoft Visual C 2008 Redistributable x86 9 0 30729 17 Size o GAME if Microsoft isual C 2008 Redistributable x86 9 0 30729 6161 Size 10 20ME senna SCT Microsoft Visual C 2010 x86 Redistributable 10 0 40219 Size 11 14MB Windows Components ENESAS 2013 06 28 Application Leading Tool Common Operations User s Manual 1 Using the Applilet installer execute the Setup exe file Remarks 1 The Applilet installer can be acquired from the website for Renesas Electronics http www renesas com products tools coding_tools coding_assistance applilet The address of the website is subject to change without notice 2 The downloaded installer may be compressed If it is compressed decompress it and execute the Setup exe file 2 The Choose Setup Language dialog box appears Select the desired language and click the OK button Figure 2 2 Choose Setup Language Dialog Box Choose Setup Language X Select the language for this installation from the choices below A 3 Specify installation settings according to the wizard dialog that appears In each dialog box clic
38. ain clock oscillator 4 Exit E Operation Mam clock oscillation source Re le a Event Link Controller Frequency 20 dp 140 Ports Oscillator wat time 2c Fl Multi Function Timer Pulse Unit 2 ps Port Output Enable 2 es fl otopate kha ah Tirar Oscillation stop detection function Dis Remarks 1 The names of report files are macro and function macro Peripheral function settings information function Source code information 2 The format HTML or CSV for the report file and its output destination can be selected on the H 3 207 tab on the Property panel 3 If the destination folder for the report file already contains a report file the existing file will be overwritten irrespective of file generation mode settings Figure 3 30 Example of Report File Output a macro html b function html mc anal Set ing tesigi Shy erda eiei i arpei p Harg in Wieke Jee Explorer E A iiba mey Zeie hy Wan are arbi ae dek rio dd Windies internet Emplear E p wll CHiocgertt S Sener wette Demure aren Sampled Hara besi sl te K Ai K Ge aT andl Saraj r Deora amet Lap U aero r Titri k DS j a op Paint carona and Settiriltcalo iy Documenti Fp A E AA A Tei Mr a oem RETI 17231401358 c es ne REFS ar MCU nama FOCUS Hen name PSPS Sar 2 M sting arwevec lt 36 EE Lo Eleeksomoe Msinelodkoscilalor Main clock oscil
39. ation of generating fle was successful Ml E wi I alec ites table c MM 4 k MCU A 1111128KB Chip R5F511154xPM Remark The display positions of the Module panel and Preview panels can be changed by dragging and dropping the tab XE 24T E31 J R20UT2663EJ0100 39 46 RENESAS 2013 06 28 Application Leading Tool Common Operations User s Manual 5 2 1 Example of a Module Panel for Clock Generation Circuits The figure below shows an example of a Module panel for clock generation circuits By changing functions to be set through the tabs you can set an operation by function Executing Return to Reset Value from the Project Tree panel resets all tab settings to their default values Figure 5 3 Example of a Module Panel System Peripheral Functions 4 Code terre Property fajGeneatecode E CO a E af Gs A a T Sr ean Dez netting Aege wate protection huton seing VOC netting FBP vc VOD e AER C Nv aTM C ADMV 2a vy Hain clock solyar peli F persion Mam ke ola saai Frequency a A Dalei e ee ey ki 57 st Drc stse Gop detection lunci n Dusel e PLL cincut reting T Operation Gub chock oncilstor and ATC FITCSOLE ostia E parian Firenete y EES iHe High ad clock obcll r LOCO seet Operation Piet E Hiiri Lee steel cook ritar LOCO rette pan IWD T dedested los ipeed clock oncilator PRD TLOCO seting Operation FPG er y Hr Guten clock setting Dock iure TEN Syster lock NLE ai sl E a
40. ay area ed oe Code Preview void R CGC Create void E wi Common H ry rcg_mair c E d mair Po h H MAIN Userlrit E r L cO vechot Leble pue E eg reset program asm GI r cg interupt_handlers h ER og hardware zeiup Er y eg macrodriwer h Po Bae d r L Co userdelme hi Eli Clock Generator SR cn coc c a A_CGC Create E E _CGC_Set_ JS Set system clock SYSTENM SCECR LONG O0000000 CGC PCLED DIV 1 o0000000 Cor PCLE DO0OO0000 CGC FCLE DIV 1 uinti t w count Set main clock control registers SYSTEM MOFCR BYTE DU CGC MAINOSC RESONATOR 240 CGC MAINOSC ov SYSTEM MOSCUTCR BYTE OO CGC OSC WAIT CYCLE 2 D Set main clock operation SYSTEM MOSECRA BIT MOSTP OU ZS Wait for main clock oscillator wait counter overflow while 10 SYSTEM OSCOVFSER BIT MOOVF ZS Set sub clock CS Voltage Batter Circuit o i mmr PA AAA TN nn rr mT TT H code g Log lvd user ut ES SCH D Lg dh RES eq cagc h was overwritten al El imal Clock Frequency Accuracy Measureme i g t Cg_CAC C H j cg Cac_Userc G d i eg cac h Bd Low Power Consumption o Interrupt Controller Unt M0409000 31c41_ cg sch was generated MO40S000 sre r cg scl User was generated MO409000 sre r Cp _scih was generated 0409003 The operation of generating file was successful MCU RS1110128KB Chip RSF511154xFM 1 Preview Tree
41. dule Panel Sal Peripheral Functions E Code Preview Ta Property x Slcenerateode LOSE CHAD BOASDOPEPELAS Clock setting Register write protection function setting WCC seting AAA Ge 27 YEE lt 3 6 V O 24 4 YEE 27 fv Co 18 4 WCC lt 24 W Main clock oscillator setting e Operation Main clock oscillation source Resonator zl Frequency C MHz Oscillator wait time 2 eyoles sl pier pz Oscillation stop detection function Disabled sl Remark The positions of the Module panel and Preview panel can be switched by dragging and dropping the tab 2013 06 28 Application Leading Tool Common Operations User s Manual 3 1 8 Preview Panel This panel is used to set the file and the API function that are output during the code generation process For the operating procedure see 3 7 Checking Source Code XE 7Fb Ea SRA YOKE RT EZ Figure 3 9 Preview Panel Project Tree Me _ Si Peripheral Functions 7 Code Preview 7 void R_CGC Create void Property U 1 eg _vector_table c An 1_cg_reset_program asm U 1_cg_interrupt_handlers h Ar 1_cg_hardware_setup c A7 1eg_macrodriver h U 1_cg_userdefine h vintl6_t w_ count Set main clock control registers SYSTEM MOFCR BYTE 00 CGC_MAINOSC_RESONATOR _20 CGC_MAINOSC_OVEI Clock Generator SYSTEM MOSCUTCR BYTE 0
42. e setting S wi Common M0403004 stcw_cg_userdef File generation control Merge file e M0403004 stc r_cg_ege c nl Output folder C Documents and Settings toolgi My Docu ul f_cg_main c MO409004 sre rcq_cgc_use Report type CS file MO409004 s1c41_cg_cac h wa EN Al Sea M0409003 The operation of generating file was successful e 4 lt 10 gt of Pa main Sol R_MAIN_Userlnit El u cg vector_table c Na MCU RX111 128KB Chip RSF511154xFM lt 1 gt Title Displays the product name and the Applilet project file name lt 2 gt Menu Allows the user to select and execute a command lt 3 gt Main Toolbar Allows the user to select and execute a command by clicking a button lt 4 gt Module Toolbar Generates code Also switches between peripheral functions that are displayed or set up on the Module Panel lt 5 gt Status Displays information on the current project lt 6 gt Project Tree Indicates the settings for a peripheral function Also switches between peripheral functions that are displayed or set up on the Module Panel lt 7 gt Module Allows the user to set up a peripheral function The Module and Preview panels can be switched by pressing the tab key lt 8 gt Preview Allows the user to set the file and API function to be output when code is generated The Preview and Module panels can be switched by pressing the tab key lt 9 gt Property Allows the user to view or make output macro or file setti
43. eeessaeeessauseesseageeessaeeesseaseeessageeessanseeesseaes 13 3 1 7 A SAA 13 3 1 8 Preview Panel c oooccccconcnccccnncconononononononnnonnnnnnnnnnnnn nro nn nn nn nn nn n nn nn nnnnnnnnnnnnnnnnnnnnennnnennnnrnnanenenannns 14 3 1 9 Properiy neds mnvanceeuanacdmeinntdaunedesvanenierauaeae 14 A A 14 O o e 15 SO LIMON E 16 3 4 Creating a New Project File 17 3 5 Opening an Existing Project ccccccccccccccssseesseceeeeeeeeeeeseeeeeeeeseseeseseceeeeesseeeeeeeeeeeessseeseeceeeeesssaaaeeeeeees 18 3 6 Setting up a Peripheral Function cccccccseeesccccceeeeseeeseeceeeeeeeeeeeeseceeeeesssaaeseeeeeeeessseeseeseeeeessuaaaeeeeeeess 19 An eee ee eee eee 20 3 6 2 Icon Display on Invalid Input E EE 20 3 6 3 ICON Display on Pin Conte nO rara ica it ida 21 3 7 Checking Source Code EEN 22 S OC TING APU rO e EE 23 Ai lee EE 24 3 1 3 Renaming an API FUNCION xivssecunccesvuctitannceredassceoeisancunadaernibiducnushsdesucinaibansinctecusenibesunibettsauieeraaesi 25 STEEN EE 26 3 8 1 Modifying the Output Modes ooccccccccccccccnnccnnncccccnoonccnnnnnonnononononnnnnnnonnnnnnnnnnnnnnonnnnnnnnnnnnnnnnnnnnnnnns 27 3 9 2 Changing Output RTE Ee LC 28 3 9 Generating a Report TE 29 as PI A 30 A A eee ee 31 A PP A CO quaaatceunenad 31 2013 06 28 Chapter 4 Menu Reference cccccccsseecceeceeeeeceeccaauseceeecaeuseceeecsauseeeeessaseeeeeseaaeeesssaeaeceeesseaeceessssaaeeeeesssageeeees 32 SL LLE y E PRA ER Op Ro y o E E o EOS
44. eview panel tree you can specify whether to turn on or off an output rename API functions or rename files XE S72 Se A er UE SAS ING XE a Ve UAB NAS II Figure 3 21 Verifying Source Code Application Leading Tool for RX111 SampleD01 cgp _ O x File View Peripheral Functions Options Help 015 Hi a AY crus for ezstudio qe 2 Peripheral Functions Y Code Preview rr A D Converter 2 froia R CGC Create void pr DAA Converter wt Data Operation Circuit uintl t w count oC Cote Preview g f Die Common ZS Set main clock control registers Ely Clock Generator SYSTEM MOFCR BYTE DO CGC MAINOSC RESONATOR 20 CGC MAINOSC OVERLON 5 LO CO SYSTEM MOSCUTER BYTE O00 E EES WAIT CYCLE 23 SR y F_CGC_Set_ClockMode CS Set main clock operation f Ar eg cge usec SYSTEM MOSCCR BIT MOSTP OU Ea wi reg coach Eli Voltage Detection Circuit Y Wait for mein clock oscillator wait counter evertlow H a Clock Frequency Accuracy Measureme while 10 SYSTEM OSCOVFSR BIT MOOVF H Low Power Consumption EF jal Interrupt Controller Ll rut Set system clock Flt Buses SYSTEM SCECR LONG 00000000 CGC PCLED DIV 1 00000000 CGC PCLEB DIV Elo Data Transfer Controller 00000000 CGC FCLE DIV i El p Event Link Controller 7 7 _ H a 10 Ports Set sub clock Hki Multi Function Timer Pulse Unit 2 H b Port Output Enable 2 Di Compare Match Timer SC i le Realtime Clock SE ele Ed Independent Watchdog Timer MOSO3SOO
45. ications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots etc High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems and safety equipment etc Renesas Electronics products are neither intended nor authorized for use in products or systems 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 malf
46. it Dutput f SR T Review M0409004 srcir_cg_userdefine h was overwritten Seral Peripheral Interlace Lommon MO409004 s1ck1_cg_cgc c was overwritten w 1_cg_main c M0409004 srcir_cg_cgc_user c was overwritten d CRC Calculator a main VM leg rh CO COCh was overwritten i AZO Converter fal R_MAIN_Userlnit BSeLhe operation of generating file was successful e Ji 1_cg_vector_table c v i 0 4 Converter 4 gt Data Operation Circuit MCU RX111 128KB Chip RSF511154xFM The shape of the icon for each peripheral function changes according to the status of the settings Table 5 1 Project Tree Panel Icons The corresponding peripheral function is already set O The corresponding peripheral function is not set used Right clicking the name of a peripheral function brings up a context menu Table 5 2 Project Tree Panel Context Menu Return to Reset Value Resets the settings for a selected peripheral function to their Applilet default XE J y FEOS l2 RI The range of initial settings may vary by function 2013 06 28 Application Leading Tool Common Operations User s Manual 5 2 Module Panel The Module panel allows you to set peripheral functions For a description on how to operate the Module panel see 3 6 Setting up a Peripheral Function XE EP ab SAN H XE EV A Figure 5 2 Displaying of Module Panel Application Leading Tool for RX111 SampleOl cop E joj xj Eile View Peripheral Function
47. king either the Next or Yes button brings up the next screen Figure 2 3 Installation Wizard Dialog Box Welcome to the InstallShield Wizard for Application Leading Tool for RX111 Y1 00 00 License Agreement Please read the Followina license aareement carefully USER LICENSE 4G Destination Folder Click Next to install to this Folder or click Chanae to install to a ae 4 This User License ISS Install Ready to Install the Program either a natural p C Prog Renesas for tl means the Renes IMPORTANT READ The wizard is ready to begin installation computer softwa Click Install to begin the installation and online files the SOFTWARE P If you want to review or change any of your installation settings click Back Click Cancel to If you do not agre exit the wizard Taccept the ter Ido not accept Installshield InstallShield Installshield i Cancel Caution In the installation destination folder name none of these 11 characters lt gt Y can be used Also a space a single byte blank character cannot be used at the beginning or end of a folder name The installation process may fail if an illegal character is specified in the folder name R20UT2663EJ0100 ENESAS 2013 06 28 SR Application Leading Tool Common Operations User s Manual 4 To end the installation process click the T button on the 17
48. lation source Resonator EE Se Ll a ae a da 12042 Oagbe wait time 2eyces kel EE Disabled Zack gebuer and RTC 3 l l IRTCSCLK seting 57768 hn speed clock oscilator HOCO seting an e merefine 33 3 3 ER lem clock CLK 112 MHz Peripheral module dock Ms Don PCLKB OOOO Ed coa R CGC Create K SE oki x 112 MHz R_CGC_Reg entree Cor ES II AIF cock FCLK IZA O O O O OO si la aa AAA E ECO A Tr T TT Dee ER 5 R20UT2663EJ0100 29 46 ENESAS 2013 06 28 Application Leading Tool Common Operations User s Manual 3 10 Saving a Project To save information that has been set any of the following methods can be used 1 Save as Select the File menu gt Save As Alternatively click the kl button on the toolbar The XE OC RE y BEEAEDITCIE ZA Save As dialog box appears Figure 3 31 Save As Dialog Box Saveas Als Save in Sample d OH bi CS Pie My Recent Documents Desktop My Documents er My Computer bk File name Sample01 z Save as type Code Generator project cop y Cancel E To save the information that has been set specify a destination and a file name and click the Save button 2 Save Select the File menu gt Save Or on the toolbar click the gj button XE EE ERE y S bH EIF ZA The file project being edited is saved on an overwrite basis 3 Close and save When an attempt is made to exit from the Ap
49. name already exists in a specified location an overwrite confirmation message appears Clicking the OK button overwrites the existing project R20UT2663EJ0100 2013 06 28 RENESAS 17 46 Application Leading Tool Common Operations User s Manual file 3 5 Opening an Existing Project If a previously created project exists it can be opened by either specifying the file name or by selecting it from a list of recent projects 1 Opening a file by selecting it In the Main window press the File button The Open dialog box appears XE D 7 IERS FT 709 H XE 47037 7374J L BH H lt Figure 3 15 Open Dialog Box Open Als Look in E Sample01 D OH F gt e fe ee My Recent Release Documents src E Sample01 cop Desktop My Documents K SC My Computer Ka e My Network File name X Places Files of type Code Generator project cap D Cancel A Selecting the file and clicking the Open button opens the selected file 2 Opening a recently used file From the Recent Projects displayed in the Main window select the file to be opened Figure 3 16 Opening a Recent Project File View Peripheral Functions Options Help CL New Ctrl N Open Ctrl O i start kt Save Ctrl S EI save As Recent Projects oe Modified Location E gt Close O Generate Code Ctrl G Generate Report Recent Projects gt 1 C Documents and SettingsitoolgiiMy Documents Sample01 Sample011Sample01 cop
50. ncurred by you or third parties arising from the use of these circuits software or information Renesas Electronics has used reasonable care in preparing the information included in this document but Renesas Electronics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas Electronics does not assume 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 commun
51. ndent on the specific device to be employed This manual provides explanations by using RX111 Applilet screens as examples 1 2 Names and Functions of Hardware The flowchart of developmental tasks using the Applilet is shown in the figure below Figure 1 1 Developmental Flowchart Product Planning System Design Software Design Implement Test Compile Assemble SS Applilet i IAR Embedded Workbench Software Design System Debug System Test commodification Remark e studio An eclipse based integrated development environment provided by KPIT Cummins Infosystems Inc IAR Embedded Workbench An integrated development environment provided by IAR Systems 2013 06 28 Application Leading Tool Common Operations User s Manual 1 3 Functions O Outputting device drivers According to the parameters that are set through the GUI the Applilet automatically generates in a file the source code that initializes peripheral functions File names can be changed as desired O Providing API functions stopping a peripheral function or modifying the conditions In addition to peripheral function initialization code the Applilet provides API functions such as starting and API function names can be changed as desired O Selecting a build tool The type of a build tool compiler can be selected from gcc and IAR The Applilet outputs the workspace project file for the integrated development environment
52. ng on where it occurs 2 A merge comment should not be edited or moved If it is edited or moved the merging cannot be performed correctly 3 The presence of any unpaired braces in a merge section can result in deleted source code 2013 06 28 Application Leading Tool Common Operations User s Manual 3 8 2 Changing Output Destinations In the Applilet where source code is to be output can be specified in Output folder on the Property panel To change destination folders an output destination folder can be selected on the Browse For Folder screen which is displayed when the button in the destination folder field is clicked XE EJA Yy Loo pl Figure 3 28 Specifying an Output Destination Application Leading Tool for RX111 SampleOl1 cgp 3 aj xj File wiew Peripheral Functions Options Help 6 Sas e 21 GNURS For ezstudio Project Tree mox ctl Peripheral Functions Property E SampleDl A ER Peripheral Functions ego Clock Generator pm Voltage Detection Circuit l ves Clock Frequency Accuracy Measureme sete Low Power Consumption see p Interrupt Controller Unt API output control Output all API functions according to the setting File generation control Merge file Output folder C Documents and Settings toolgiiMy Documents Sample01 5 E Report type CS file LI KM aengcencmbeellcs leese born LJ Desktop My Documents H My Computer a My
53. ngs lt 10 gt Output Displays information including the execution status of code generation or report output or the allowable range for a selected input field R20UT2663EJ0100 11 46 RENESAS 2013 06 28 Application Leading Tool Common Operations User s Manual 3 1 1 Title Bar The title bar displays the product name and the Applilet project file name A project file name tagged with a tk indicates that the file does not contain the latest settings XE ZA PIa oN Figure 3 2 Title Bar Application Leading Tool for RX111 Sample01 cop Oj xj 3 1 2 Menu Bar The menu bar is used to select and execute a command For the functions of the various menus see Chapter 4 Menu Reference XE ASES AA Figure 3 3 Menu Bar File view Peripheral Functions Options Help 3 1 3 Main Toolbar Clicking a button on the main toolbar allows the user to execute frequently used functions For button functions see 4 5 1 Main Toolbar XE 31 IZA A Y Y H e i H Figure 3 4 Toolbar o e Ag Tel 2 s GNURX for e2studio 3 1 4 Module Toolbar Code generation can be executed by clicking the 4 J E4E5 4G button on the module toolbar Also clicking a peripheral function button switches between peripheral functions that are displayed or set up on the Module panel For button functions see 4 5 2 Module Toolbar 1 XE S92 EV Vy eg A Figure 3 5 Module Toolbar gt Generate code E O GZ a a ot DD ep G
54. on Hong Kong Tel 852 2886 9318 Fax 852 2886 9022 9044 Renesas Electronics Taiwan Co Ltd 13F No 363 Fu Shing North Road Taipei Taiwan Tel 886 2 8175 9600 Fax 886 2 8175 9670 Renesas Electronics Singapore Pte Ltd 80 Bendemeer Road Unit 06 02 Hyflux Innovation Centre Singapore 339949 Tel 65 6213 0200 Fax 65 6213 0300 Renesas Electronics Malaysia Sdn Bhd Unit 906 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 Korea Co Ltd 11F Samik Lavied or Bldg 720 2 Yeoksam Dong Kangnam Ku Seoul 135 080 Korea Tel 82 2 558 3737 Fax 82 2 558 5141 If the requirements shown in the CAUTION Renesas Tools Website http www renesas com tools C AU TION sentences are ignored the equipment may cause All trademarks and registered trademarks are the property personal injury or damage to the products of their respective owners 2013 Renesas Electronics Corporation and Renesas Solutions Corp All rights reserved Colophon 2 2 Application Leading Tool Common Operations User s Manual ENESAS R20UT2663EJ0100 Renesas Electronics Corporation
55. p detector Lechge Dese gt byien ciei MLAJ lei a Br Ful ceed stiro Pemphend nadie cinck POLEN fei d D Ps G Peapod resche chk ka sf LEE 21 a Bie f Jf Fla E aki FELI RI si E tie Diskak srine and ATT DT CSL wee y D er ged GB coc PE E tr Terror rm Bite CADET pr ibti Migh sped clock coca OCT osing dees fe E M Operon hor maa vanes Panic J Se p E ch Caution The Clock setting can affect other peripheral function settings If the Clock setting is modified the settings for other peripheral functions need to be rechecked R20UT2663EJ0100 19 46 ENESAS 2013 06 28 ER Application Leading Tool Common Operations User s Manual 3 6 1 Input Conventions Input of information into the Module panel is subject to the following conventions 1 Character set Table 3 2 lists character sets that the Module panel can accept for input Table 3 2 List of Character Sets ASCII Single byte alphabetic numeric and symbol characters Double byte alphabetic numeric symbol hiragana katakana and kanji characters and single byte katakana characters Double byte alphabetic numeric symbol hiragana katakana and kanji characters and single byte katakana characters Double byte alphabetic numeric symbol hiragana katakana or kanji including Chinese characters and single byte katakana characters 2 Numeric values Table 3 3 shows radix base numbers that the Module panel can accept for input
56. platform that matches the selected build tool e NEC environment Link directive file dr for the C compiler e IAR environment Workspace project file for the IAR Embedded Workbench eww ewp e GNU environment e studio project file O Merging Merging source codes Programs written between the merge comments can be retained without deletion during the re output overwriting of the code Merging workspace project files The Applilet stores output files as target files to be built in a workspace project file in the integrated development environment platform During code regeneration the Applilet changes the storage of target build files as the number of files that are output by the Applilet increases or decreases In such a case any previously stored user files are retained without being deleted The Applilet stores files on an add on basis but it does not delete files that are no longer needed Outputting report Reports on peripheral function settings API function names associated with the various functions and file names can be output in a file As the format of an output file either HTML or CSV can be selected R20UT2663EJ0100 2013 06 28 RENESAS 6 46 Application Leading Tool Common Operations User s Manual Chapter 2 Installation 2 1 Features of Installer The Applilet Installer has the features described below O Accommodating multiple versions Multiple versions of the Applilet can be installed on a
57. plilet without saving the modified settings a save confirmation dialog box appears Clicking the Yes button saves the file project being edited on an overwrite basis Clicking the No button skips the save process Figure 3 32 Question Dialog Box Question W0403025 xj q j 0403025 Project changed Save E Mo Cancel Remark The name of the file to be saved not including the extension is identical to the Applilet project name R20UT2663EJ0100 30 46 ENESAS 2013 06 28 Application Leading Tool Common Operations User s Manual 3 11 Closing ma The Applilet can be closed by any of the following methods XE 7 Yy UHw gt 3U4 53 e On the Main window select the File menu gt Exit e On the toolbar click the 54 button e On the Main window click the ES button e On the menu that appears when an icon on the title bar is clicked select Close 3 12 Coding After code is generated the source code that has been output is read using the integrated development environment platform The program is completed by adding user source files as necessary or adding code in the merge comment in the file that is output by the Applilet XE 1 T7 4 YF When outputting a source code using the Applilet again after editing the source code on the integrated development environment platform observe the following points Cautions 1 If the output mode is Overwrite file any editing that was
58. pplilet provides two toolbars The main toolbar which is always displayed below the Manu bar and a module toolbar which is displayed above the Module panel XE Y JL 7 4 5 1 Main Toolbar The main toolbar is always displayed below the menu bar By clicking buttons on the main toolbar you can execute functions such as project file operation code generation and report output XE DZ INEA A Y YJ PAN H Figure 4 5 Main Toolbar Application Leading Tool for RX111 SampleD01 cogp Fie wiew Peripheral Functions Options Help a GH dei 31 GNURS For e2studio E Peripheral Functions E JE LE fe Generate code D of E TEE A sp E En Pernpheral Functions g Clock Generator YCC setting ER Voltage Detection Circuit f 27 W YEE e 3 6 0v WW s wm Clock Frequency Accuracy Measureme e Low Power Consumption Main clock oscillator setting s a Interrupt Controller Unit EI Operation yo Buses l e Mam clock oscillation source Hes Wi Data Transfer Controller ve pm Event Link Controller Frequency 20 D 0 Ports SS D Multi Function Timer Pulse Unit 2 Oscillator wait tine 2 cy pe Port Output Enable 2 Pace REECH Oscillation stop detection function Dise Tl hima Caran ara hd sh Timer The main toolbar contains the following buttons Table 4 5 Functions of Main Toolbar New project Creates a new e _ ES Open a project Reads an Reads an existing project project E Save a project
59. r File Generation Control File generation control can be selected from overwrite file merge files and do nothing if a file already exists Report Type Select either HTML or CSV API Output Control API function output control can be selected from output all API functions according to the setting and output only initialization API function The default is output all according to the settings Selecting the output only initialization API function option skips the generation of the file R_xxx_user c that codes interrupt handlers in which case all interrupt handlers must be coded by the customer himself herself 2013 06 28 Application Leading Tool Common Operations User s Manual 4 4 Help Menu Figure 4 4 shows an example of the Help menu Table 4 4 lists the functions of the Help menu E Ee e Aa HU XE 2 Se Figure 4 4 Help Menu Application Leading Tool for RxX111 S5Sample01 cop File View Peripheral Functions Options Clesse curs for e Project Tree Sample a Ey Peripheral Functions qe About Application Leading Tool E pa reripheral Functions Ey Code Preview Ce Generate code a gl if d Ss e e o gei cel lesa Tel Da EA 2012 2013 Renesas Electronics Corporation Interruot Deals VT DUDU 06 Jun 2073 Table 4 4 Help Menu 2013 06 28 Application Leading Tool Common Operations User s Manual 4 5 Toolbars A
60. ree right clicking the file name brings up the context menu By selecting Rename you can edit the file name XE AEREA ANA y REZEANALITS HXE 77 14M A AMARA Figure 3 23 Renaming a File Property Project Tree ge CC Peripheral Functions Ef Code Preview F lll Serial Peripheral Interface void R_CGC_ Create UserInit void ff CAC Calculator H vee a A D Converter per OA Converter Start user code Do not edit comment generate ZS End user code Do not edit comment generated pi Data Operation Circuit E Lode Preview ee oe Common Funct Fee Clock Generator e Desct DW senal Penpheral Interface a y eg egc c Arg w CAC Calculator gt id R_CGC_Create Petu pe A D Converter F tarana ome D A Converter ERT void r Ri Data Operation Circuit d E Code Preview 2 H Common El dl Voltage Detel Property d e EE El Clock Frequency Accuracy Measureme EE BE Fle Low Power Consumption ie Gres E a D a Leate ent r Poj A CGC Set ClackMode EI LG COC user E R_CGC_Create_Userlnit KAN CHE ll R ST 7 rt VA y REX Eb 22 eee Remarks 1 To reset the file name to the default file name provided by the Applilet select Default from the context menu 2 In file names single byte alphanumeric characters and _ underscore can be used 3 Information on the file selected on the Preview panel is displayed in File name on the Property panel File names can also
61. roperty x Code Preview E Generate File Mode API output control Output all API functions according to the setting File generation control Merge file Dutput folder C Documents and Settings toolgi My DocumentsiS a Report type CSY file E Hicrocontroller Information Microcontroller name A5F511154xFM Nickname R lt 1111128KB E Product Information Release date 6 8 2013 Version 1 00 00 03 E Project Information Project name Sample01 Project path C Documents and Settinasttoolal Mu Documents SampleD145Sa Drainank hima A epes shan 3 1 10 Output Panel This panel displays the execution status of code generation or report output and information such as the allowable range for a selected input field For a description of what is displayed see 5 4 Output Panel XE BJS nl w h tcH n n H XE SAME y WAR LOY ES Figure 3 11 Output Panel Output M0409000 anc cg_userdetine h wat generated a M0409000 81c41_cg_cgc c was generated MUAUOUUU anc cg Co user CG was generated MUAUOUUU zc cg Coach was generated MO409003 The operation of generating file was successful a w R20UT2663EJ0100 14 46 ENESAS 2013 06 28 Application Leading Tool Common Operations User s Manual 3 2 Operating Procedure In the Applilet source code is created by performing the following procedure XE RF In y 25 amp TCA Figure 3 12 Operating Procedure Create a project Open existing project
62. s A VO Pots i z Event Link Controller F MullrFunchon Temes Puke Deeg e Por Output Enable 2 Ciclos va tine zae Same I O Ports de Compare Match Timer pr Beabane Coach Discos Hop defection luncheon De abied Multi Function Timer Pulse Unik 2 Ge Independent Watches T j d SR Sonal Lonestar edy PLL eg petting tl 12 Bus interface T Operation ul Seia Penphecal Interface First wW CRC Calculator e AD Core al DA Correta Port Output Enable 2 ce ak Compare Match Timer Realtime Clock A Code Preview i e Cenes H Deck Genetics lee Ve Delecton Leg 7 ri Loch Fr owgeseu Docta Si vi L Pewee Corning E gy nien t Ceeiteber Und E ps Buses ls Dala ia Log rcbee Independent Watchdog Timer Serial Communications Interface LC Bus Interface Serial Peripheral Interface k Para el Ever Lik Cono A CRE Calculator sl 10 Peer F H dx Multi Function Tere Pure Ly li AID Converter gi Peat ipai E nais 2 F Compare Match Te 4 E Raak d 0 4 Converter H E MEURT A EUEEO Cho 2SP51 T ISARN 3 Data Operation Circuit Figure 3 18 Example of Settings in the Module Panel Clock Setting Det mma Dep sebe ruta harinas tig Los upped cnet gandai LIO ezeg VEC setting Opa E ME 36M r temut 3 C roit 4M ji F Men coct cda sung lil dedicas Ker ee dock volar Hat LOD senting v Dan Mienie Mar thet o meee faemina yim f o Feequercy 17 Pade Orales ri true ore db lus Sock anuma Dicllaon sto
63. s Options Help DAL 3 GNURY For e2studio cl y Peripheral Functions a E Froperty p Generate code a RE 2 WE a Se gi Sg a er a s He hiu SS 23 WCC seting EI f 27 W VEC lt 3 6 O 24W YEC e 27 C 180 z SampleDl E SS Peripheral Functions ge Clock Generator ee Voltage Detection Circuit Clock Frequency Accuracy Measureme Low Power Consumption p Interrupt Controller Unit p Buses Data Transfer Controller Event Link Controller 1 0 Ports ew Mult Function Timer Pulse Unit 2 W Port Output Enable 2 Gs Compare Match Timer CR CR CR CR CR CR CR CR CR Mam clock oscillator setting he Operation Main clock oscillation source Resonator d Frequency C MHz Oscillator wait time 2cpoles y oe ps Oscillation stop detection function Disabled sl Realtime Clack PLL circuit setting Ind dert watchdog Ti ndependent watchdog Timer Operation Serial Communications Interface DC Bus Interface Frequency a4 EE MHz serial Peripheral Interface _Sub clock oscilator and ATC RTCSCLK setting CRE Calculator e 4 0 Converter Operation 0 4 Converter Data Operation Circuit dp Code Preview MO409004 src r_oq _userdefine h Was overwritten E el Common MO409004 sre roq_cge c was oversikten H ry cg main c MUAUIOUU srchr_ceg_cgc_userc was overnvritten bo be f l main MUAUOUU ac cg_cgc h was oversikten lh A_MAIN_Userlnit MO409003 The oper
64. ter clock selection ever edge of the input signal i counted Synchronous mode setting Include this channel in the shnichronous operation Count source setting Counter clack selection FELE Clock edge setting Rising edge gt Falling edge Both edges TENTO counter setting Counter clear source Disabled counter clear General register setting TGRAG Input capture register roo lus sl Actual value 100 TGRBU Input capture register 100 pz Actual value 100 TGRCO Input capture register sl 100 TE Actual value 100 TARDO Input capture register f 00 TE ka Actual value 100 TREEN Mintmint ramnare renister ka i ann Te TA chu sl ahia 10AM Remark In the example shown in Figure 5 7 settings are specified in the following order lt 1 gt Select the general Setting tab lt 2 gt Select MTUO function the MTUO tab is enabled lt 3 gt Select the MTUO tab lt 4 gt Set details on MTUO 2013 06 28 Application Leading Tool Common Operations User s Manual 5 3 Preview Panel The Preview panel is used to the file and the API function to be output during code generation For a description of operating procedure see 3 7 Checking Source Code Figure 5 8 Display of Preview Panel Application Leading Tool for RX111 Sample01 cgp 5 aj xj File Men Peripheral Functions Options Help UE 2 NURS For e2studio ACERA A Cl Peripheral Functions Code Preview 7 Source code displ
65. terface eE DC Bus Interface e e Serial Peripheral Interface A CRC Calculator Gi AID Converter d DjA Converter 2 Data Operation Circuit XE 3 JARRE Sa H a LHINnAEOI Table 4 2 Peripheral Functions Menu Peripheral function name Displays the associated settings screen on the Module panel The names of peripheral functions that are displayed may vary from one product to another 2013 06 28 Application Leading Tool Common Operations User s Manual 4 3 Options Menu Figure 4 3 shows an example of the Options menu Table 4 3 lists the functions of the Options menu XE JETS a A Sa H XE mA TV VS SN Figure 4 3 Options Menu Application Leading Tool for RxX111 SampleD1 cop File view Peripheral Functions Options CH LGS lA L Ce oy 3 G Compiler File Generation Control Project Tree E gt ampleD1 a Ey Peripheral Functions e Clock Generator ME Code Previe Wal Report T an yee gf dit 2 eport Type E NS 2 AFI Output Control unctions sr Voltage Detection Circuit f 2T W YEE 3 60 Clock Frequency Accuracy Measureme Low Power Consumption Main clack oscillator setting Interrupt Controller Ll rut Iw Operation ae Controller Mam clack oscillation source Event Link Controller Frequency LO Ports Table 4 3 Options Menu Compiler Selects the format of the output code The compiler names that are displayed may vary from one product to anothe
66. unctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions Further Renesas Electronics products are not subject to radiation resistance design 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
Download Pdf Manuals
Related Search
Related Contents
AMT 835 Manuals (Spanish) Grundlagen der vSphere Afiador - MAKSIWA juillet-aout 2014 ESR 2500 / 2800 User Manual - ATP Instrumentation I. Help Desk Pro overview Manufacturer-Brochure Sony UNA-PSTN User's Manual Copyright © All rights reserved.
Failed to retrieve file