Renesas TM V.3.20A Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Software Renesas TM V.3.20A. Renesas TM V.3.20A User's Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 92
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
TM V.3.20A
Integrated Development Environment
User’s Manual
Rev. 1.00
May 01, 2003
REJ10J0018-0100Z
Vista de página 0
1 2 3 4 5 6 ... 91 92

Resumo do Conteúdo

Página 1 - TM V.3.20A

TM V.3.20AIntegrated Development EnvironmentUser’s ManualRev. 1.00May 01, 2003REJ10J0018-0100Z

Página 2

101.2 Installation Method1.2.1 Executing the InstallerTo install the TM, execute the installer included with it.z Follow the messages displayed on th

Página 3 - Contents

111.2.4 Directories and Files Generated After InstallationWhen you finished installing the TM, the directories shown below are created in the director

Página 4 - 4.2 Project Editor 59

121.3 Usage Precautions1.3.1 Notes about File NamesThe source program file names and work directory names are subject to the following limitations:z

Página 5 - 4.4 Inspector 84

131.3.6 Makefile of library source.A project can’t make it normally when makefile.dos of the compiler accessory is read with TM. Carry out Make inacco

Página 6

142) When 16 was specified in the message size or designation was omitted.Compilation option : -Dfar_msg=1 isn’t specified.Link library : mr30.lib an

Página 7

153) When 16 was specified in the message size or designation was omitted, and STANDARD was specified inthe interruption prohibition model or designa

Página 8

163) When 24 was specified in the message size and SHORT was specified in the interruption prohibition model.Compilation option : -Dfar_msg=1 is spec

Página 9 - 1. Introduction

172. Overview2.1 Integrated Development EnvironmentThe Integrated Development Environment, TM, has been devised to increase the efficiency of software

Página 10 - 1.2 Installation Method

182.2 Concept of a ProjectThe TM manages the software development process using the concept of a project. Following are managed as part of aproject by

Página 11

192.3 Roles of Each Tool Working under the TMThe TM works in close cooperation with many tools. Some of these tools have GUI as WindowsTM programs, an

Página 12 - 1.3 Usage Precautions

Microsoft, MS-DOS, Windows, and Windows NT are registered trademarks of Microsoft Corporation in the U.S. and other countries.IBM and AT are registere

Página 13 - 1.3.8 Use real time OS

20 Project EditorUse the Project Editor to define or alter the source files, compile options, or generation procedure included in a project.The Proj

Página 14

21 InspectorThe Inspector provides a facility that based on the debug information included in the “absolute object file” generatedby build, analyzes

Página 15

22Those included with the compiler package Compiler and AssemblerTM V.3.20A currently supports the following compilers available from Renesas6:z NC

Página 16

23 STK ViewerUse the STK Viewer to examine the amount of stack.7Fig. 2-9 STK ViewerOthers EditorAny editor available on the market and you are acc

Página 17 - 2. Overview

242.4 Directory ConfigurationThis section describes how to configure the directory structure of the program when using the TM. When thinking ofthe dir

Página 18 - 2.2 Concept of a Project

25Example of a directory structureWith the above concept taken into account, a directory structure like the one shown below may be conceived.C:\WORK\M

Página 19 - ■ Project Bar

263. Quick Tour3.1 Starting the TM and Registering the Editor UsedWhen the TM has been installed normally, the TM can be started by selecting [Start]

Página 20 - ■ Builder

27Choose [EDIT TOOL].In the example below, the Peggy editor from Anchor Systems is registered.10Fig. 3-4 Registering an EditorThe TM does not have any

Página 21 - ■ GNU Make

283.2 Creating a ProjectThere are following three methods to create a project:z Create a new projectz Read a project file of TM V2 or earlier versio

Página 22 - ■ Map Viewer

29Choose the target chip and set a project name and the working directory.Fig. 3-7 New Project Wizard (Step 2)Next, choose the type of project.Fig. 3-

Página 23 - ■ Debugger

3Contents1. Introduction 91.1 Operating Environment 91.2 Installation Method 101.2.1 Executing the Installer 101.2.2 Notes about TM Versions 101.2.3 C

Página 24 - 2.4 Directory Configuration

30Choose [A default startup program is used.] for the startup program, and the startup program that comes standard withthe compiler is copied into the

Página 25

31executed. If main.r30 is created from main.c, for example, write a statement as shown below.main.r30 : main.cnc30 -c main.cIn such a case, displ

Página 26 - 3. Quick Tour

32Now, we’ll try adding a file to the project. Choose the final object and then [Add file] from the right-click menu.Fig. 3-12 Adding a FileChoose the

Página 27

33In this example, when you register “main.c,” the TM registers “main.r30” simultaneously with it, producing thefollowing display.Fig. 3-14 View after

Página 28 - 3.2 Creating a Project

34Definitions of the following are entered by default for each option, respectively:Compiler (nc30) CFLAGSAssembler (as30) AFLAGSLinker (ln30) LFLAGSL

Página 29

35Or when you want to use different compile options for each file, choose “nc30” press the [New] button. This creates anew macro named “CFLAGS1.” Choo

Página 30

36Registering documentsSpecifications and other documents can be registered.18 To register documents, use the [Add Document] button.Fig. 3-21 Button f

Página 31

373.3 Building a ProjectThe Project Editor is an editor. Therefore, if the project has been changed, it must be saved before building. To save aprojec

Página 32

38Analyzing with the InspectorThe Inspector allows for static program analysis by reading into it the final object “ModelA.x30” that has been built.Us

Página 33

39Fig. 3-30 Showing Variable ReferencesIn this example, system_code is used in five locations. The variable can be previewed in the window located bel

Página 34

44.1 Project Bar 414.1.1 Overview 414.1.2 Buttons 424.1.3 Menus 434.1.4 Dialog Boxs 444.1.4.1 Tools Information Dialog Box...

Página 35 - Choose the file for which

40Fig. 3-32 Showing Function ReferencesStarting the debuggerThe Debugger can be started from the Project Bar. However, before the Debugger can be star

Página 36

414. Reference Manual4.1 Project Bar4.1.1 OverviewThe Project Bar plays the central role of the TM. It accomplishes a linked invocation of each tool.

Página 37 - 3.3 Building a Project

424.1.2 ButtonsThe following explains the function of each button on the Project Bar.Button Name FunctionProject Name DisplayBoxShows a project name.N

Página 38

434.1.3 MenusShortcut menus are provided for the operations to be performed from the Project Bar. The shortcut menus are listedbelow.Menu Item Functio

Página 39

444.1.4 Dialog Boxs4.1.4.1 Tools Information Dialog BoxThe Tools Information dialog box is provided for registering a debugger, editor, or application

Página 40

45Debugger ListShows registered debuggers. The user-registered debuggers are shown as “user:xxxx.” The debugger which has itscheck box checked is the

Página 41 - 4. Reference Manual

46 APPLICATION tabUse the APPLICATION tab to register an application and select the editor to use in the TM. A button for starting theregistered app

Página 42 - 4.1.2 Buttons

474.1.4.2 Customize Dialog BoxThe Customize dialog box is provided for changing various settings of the Project Bar.Fig. 4-5 Customize Dialog BoxFrom

Página 43 - 4.1.3 Menus

48 Button tabUse the Button tab to show or hide each button on the Project Bar and change the order in which they are displayed.Fig. 4-7 Button tabB

Página 44 - 4.1.4 Dialog Boxs

49 Inspector tabUse the Inspector tab to set Inspector-related settings.Fig. 4-8 Inspector tabAuto Read from ClipboardSelects whether or not to auto

Página 45 - ■ EDITOR TOOL tab

54.2.3.24 Online Manual ... 774.2.3.25

Página 46 - ■ APPLICATION tab

504.1.4.3 Debug Tool Information Dialog BoxThe Debug Tool Information dialog box is provided for registering a debugger.Fig. 4-9 Debug Tool Informatio

Página 47 - ■ Setting tab

514.1.4.4 Edit Tool Information Dialog BoxThe Edit Tool Information dialog box is provided for registering an editor.Fig. 4-10 Edit Tool Information D

Página 48 - ■ Button tab

52 EnvironmentThis field shows environment variables used by the editor. Add buttonClick this button when you want to add an environment variable.

Página 49 - ■ Inspector tab

534.1.4.5 Application Tool Information Dialog BoxThe Application Tool Information dialog box is provided for registering an application.Fig. 4-11 Appl

Página 50

54 Modify buttonTo modify any environment variable, select it from the list and click the Modify button. The Environment Settingsdialog box opens.

Página 51

554.1.4.6 Current Directory Dialog BoxThe Current Directory dialog box is provided for specifying the runtime directory.Fig. 4-12 Current Directory Di

Página 52

564.1.4.7 Environment Settings Dialog BoxThe Environment Settings dialog box is provided for specifying environment variables.Fig. 4-13 Environment Se

Página 53

574.1.4.8 Utility Execute Dialog BoxThe Utility Execute Dialog Box starts the utility.Fig. 4-14 Utility Execute Dialog Box ParameterSpecify the opti

Página 54 - ■ Cancel button

584.1.4.9 Option Settings Dialog BoxThe Option Settings Dialog Box set a utility’s option.Choose an option you want to specify by checking its check b

Página 55

594.2 Project Editor4.2.1 OverviewThe Project Editor is a window in which you can view and edit a project. Use the Project Editor to define or changet

Página 56 - ■ Value

6FiguresFig. 2-1 Example of Software Development Using the TM ... 17Fig. 2-2 Project Nam

Página 57 - ■ Cancel

604.2.2.1 MenusThe Project Editor has the following menus available. File menuThe File menu has assigned to it the menu commands to load or save a p

Página 58

61 Help menuThe Help menu has assigned to it the menu commands to show the method for using the Project Editor or its versioninformation.Menu Menu c

Página 59 - 4.2 Project Editor

624.2.2.4 Generation Procedure ViewThe generation procedure view shows information on project generation procedure (dependency relationship) in treefo

Página 60 - ■ Project menu

634.2.2.7 Document ViewThe document view shows information about the documents. Shown below is an outline diagram of the documentview.Fig. 4-21 Docume

Página 61 - 4.2.2.3 Status Bar

644.2.3 Method of Operation4.2.3.1 Creating a New ProjectCreate a new project.When you choose this menu command, a New Project dialog box appears. The

Página 62 - 4.2.2.6 Member View

65z Here, choose the type of project.z When you finished selecting the type of project, click the [Next (N)] button. New Project - Step Compiler isd

Página 63 - 4.2.2.7 Document View

66If you selected [ASM Project,] [C Project,] [Library Project,] or [Free Project] for the project type in New ProjectStep 2, you are brought to New P

Página 64 - 4.2.3 Method of Operation

67Fig. 4-26 New Project - Step Finishz When you finished setting all entries on the New Project dialog box, the contents you’ve set are displayedhere

Página 65

684.2.3.4 Saving the Project by Specifying a NameSave the project being worked on to another project file by specifying a file name.When you choose th

Página 66

69A history of up to four projects is displayed.4.2.3.7 Exiting the ApplicationExit the Project Editor.If the project being worked on has been edited,

Página 67 - 4.2.3.2 Opening a Project

7Fig. 4-3 EDITOR TOOL tab ... 45Fig. 4-4

Página 68 - 4.2.3.6 Recently Used Files

70Fig. 4-32 Adding a Filez Specify the file name you want. Two or more file names can be specified. (File names can be specified in upto about 2,600

Página 69 - 4.2.3.11 Adding a File

71Fig. 4-34 Setting a Commandz For Command, enter a command.z The [Def macro ->] button adds a macro displayed by a macro browser to the command

Página 70 - 4.2.3.12 Command

724.2.3.14 PropertiesShow properties of an item.Choose this menu command when an item on the generation procedure view is selected. A File Properties

Página 71 - 4.2.3.13 Open

734.2.3.17 Macro BrowserShow a macro browser.When you choose this menu command, a Macro Browser dialog box is displayed.Fig. 4-37 Macro Browserz This

Página 72 - 4.2.3.16 Delete

744.2.3.18 Option BrowserShow an option browser.When you choose this menu command, an Option Browser dialog box is displayed.Fig. 4-39 Option Browserz

Página 73 - 4.2.3.17 Macro Browser

75Fig. 4-40 Option Dialog Boxz Choose an option you want to specify by checking its check box. If the option requires specifying one ormore parameter

Página 74 - 4.2.3.18 Option Browser

764.2.3.20 Adding a DocumentAdd a document file to the project.When you choose this menu command, an Open File dialog box is displayed.Fig. 4-42 Addin

Página 75

77Fig. 4-44 Project Properties (Tool Tab)z This dialog box shows information on the project being worked on.z With the Tool tab, you can specify whe

Página 76 - 4.2.3.21 Information

784.2.3.25 About Project EditorShow version information of the Project Editor.When you choose this menu command, a Project Editor Version Information

Página 77 - 4.2.3.24 Online Manual

794.3 Builder4.3.1 OverviewBuilder is the window which does the practice of build and result indication.An error and warning place are indicated with

Página 78 - 4.2.3.25 About Project Editor

8Fig. 4-51 Inspector Startup Buttons... 84Fig. 4-52

Página 79 - 4.3 Builder

804.3.3 Functional Description4.3.3.1 To Execute BuildThe build operation can be executed in three ways: Build only the files selected with the Projec

Página 80 - 4.3.3 Functional Description

814.3.3.5 To Examine the Meaning of an Error or WarningRight-click the error or warning line to open a submenu and choose [Search for Help On] from th

Página 81 - 4.3.3.8 To Clear the Window

824.3.3.9 To Search for an Error or WarningWhen an error or warning occurs, it can be searched for in the upward or downward direction from the cursor

Página 82 - 4.3.3.11 To Show Information

834.3.3.12 To Change Operation EnvironmentChoose [Action] - [Environment] from the menu bar.The Setting tab of the Environment dialog box allows you t

Página 83

844.4 Inspector4.4.1 OverviewInspector is the window which indicates function information and variable information. Information on the madeobject is a

Página 84 - 4.4 Inspector

854.4.3.1 To Show Information ListClick on either "Show function definition", "Show function reference", "Show variable defin

Página 85 - 4.4.3.2 Narrow Down Search

86 Specifying the typeSelectable entries ConditionAll types, signed int, unsigned int, signed char, unsigned char,signed short, unsigned short, sig

Página 86 - 4.4.4 List Window

874.4.4.3 To Check a Check BoxIf, while a line mark area is displayed and any entry is selected, the focus is located in the list window, the check bo

Página 87 - 4.4.4.6 To Save a List

884.4.4.7 To Reanalyze after Loading the Latest ObjectIf the object or project has been altered, the [Update] button on the toolbar is enabled. Click

Página 88 - 4.4.5 Preview Window

894.4.6.1 Action TabFig. 4-55 Environment Setup Dialog Box (Action Tab) Restore window conditionRestores the window position the next time the TM st

Página 89

91. Introduction1.1 Operating EnvironmentThe following lists the host computers and OS versions on which TM has been verified to run.Host Computer OS

Página 91 - TM V.3.20A User’s Manual

TM V.3.20A User’s ManualRev. 1.00May 01, 2003REJ10J0018-0100ZCOPYRIGHT ©2003 RENESAS TECHNOLOGY CORPORATION ALL RIGHTS RESERVEDAND RENESAS SOLUTIONS C

Comentários a estes Manuais

Sem comentários