Renesas M3T-ICC740 Información técnica

Busca en linea o descarga Información técnica para Software Renesas M3T-ICC740. Renesas M3T-ICC740 Technical information [en] Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 53
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
To our customers,
Old Company Name in Catalogs and Other Documents
On April 1
st
, 2010, NEC Electronics Corporation merged with Renesas Technology
Corporation, and Renesas Electronics Corporation took over all the business of both
companies. Therefore, although the old company name remains in this document, it is a valid
Renesas Electronics document. We appreciate your understanding.
Renesas Electronics website: http://www.renesas.com
April 1
st
, 2010
Renesas Electronics Corporation
Issued by: Renesas Electronics Corporation (http://www.renesas.com)
Send any inquiries to http://www.renesas.com/inquiry
.
Vista de pagina 0
1 2 3 4 5 6 ... 52 53

Indice de contenidos

Pagina 1 - To our customers

To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology C

Pagina 2

81. OverviewThe M3T-ICC740 is a cross tool kit for the 740 family of Renesas 8-bit microcomputers.The product package includes the C compiler ICC740 f

Pagina 3 - M3T-ICC740 V.1.00

9Furthermore, the following software items are included with the package.• M3T-PD38SIMThis is a simulator debugger for the 740 family.• SC74This is a

Pagina 4

102. Installing ToolsThe M3T-ICC740 requires installing the following tools:• ICC740• TM• TW74The installation procedure is described below (Figure 1)

Pagina 5 - ContentsContents

11Figure Figure Figure Figure 1111 Procedure for installing the M3T-ICC740Procedure for installing the M3T-ICC740Procedure for installing the M3T-I

Pagina 6

123. Starting and Quitting the TM3.1. Starting the TMWhen the TM has been installed normally, you can start it from the Start menu by selectingProgr

Pagina 7 - Figure of Contents

133.3. Quitting the TMTo quit the TM, click the [Close] button in the project bar (when in a floating state) or right-click in the project bar and se

Pagina 8 - Teble of Contents

144. Quick TourLet’s try using the TM actually following a quick tour.In the TM, you need to specify a project name and a working directory before you

Pagina 9

15Source program tutor3.c/*----------------------------------------------------- * File: tutor3.c * * Purpose: Handling real time interrupts * * Us

Pagina 10 - 1. Overview

164.1. Creating a New Project Click the New Project button in the project bar (Figure 6).Figure Figure Figure Figure 6666 New Project Button in th

Pagina 11

174.2. Complementing a New ProjectTo develop an ICC740 project in the TM, you need to complement the new project.Follow the procedure described below

Pagina 12 - 2. Installing Tools

Notice 1. All information included in this document is current as of the date this document is issued. Such information, however, is subject to chang

Pagina 13

184.3. Creating a FileCreate a source file using the editor. Because tutor3.c is located in the SmpTw74 folder, copyit to the working directory. The S

Pagina 14 - 3.2. Registering the Editor

19Figure Figure Figure Figure 9999 Registering a source fileRegistering a source fileRegistering a source fileRegistering a source file4.5. Saving

Pagina 15

204.6. Building a ProjectTo build a project, use the Build, the Rebuild or the Partial Build Button in the ProjectBar. Here, click the Rebuild Button

Pagina 16 - 4. Quick Tour

214.7. Starting the DebuggerFor the project you’ve finished building, an absolute file proj_1.695 is generated in theworking directory.This file proj

Pagina 17

22If the M3T-PD38SIM and M3T-PD38 are not displayed in the dialog box, use the Add...button to register the debuggers. After registering the debuggers

Pagina 18

234.8. Debugging a ProgramUse the M3T-PD38SIM to debug the program (Figure 16).Figure Figure Figure Figure 16161616 M3T-PD38SIMM3T-PD38SIMM3T-PD38

Pagina 19

244.8.1. Loading a ProgramTo load a program, use the File menu commands “Download” and “Load Module.” In theensuing Download dialog box, select the p

Pagina 20

255. Creating a New ProjectThe ICC740 requires setting up a processor group, memory model and stack area before youcan develop a project. The M3T-ICC

Pagina 21

265.1. New ProjectTo create a new project, you must first start the TM.Launch the TM from the Start menu.When the TM has started up, the project bar s

Pagina 22

27Table Table Table Table 4444 New Project Wizard Execution StepsNew Project Wizard Execution StepsNew Project Wizard Execution StepsNew Project Wi

Pagina 23

M3T-ICC740 V.1.00User’s ManualUser’s ManualRev.1.00 2004.07Cross Tool Kit for 740 Family<Included ICC740 of IAR Systems>

Pagina 24

28Figure Figure Figure Figure 20202020 Registering the Registering the Registering the Registering the lnk740.xcl file file file fileThe .\proj_1.c

Pagina 25

296. Editing the ProjectAfter you created a new project, you must edit cstartup.s31 and lnk740.xcl and changeoptions as necessary.6.1. Editing cstart

Pagina 26 - 4.8.1. Loading a Program

306.2. Editing the lnk740.xcl FileYou need to edit the lnk740.xcl file according to the target microcomputer, memory modeland other settings you made

Pagina 27 - 5. Creating a New Project

31Note, however, that if you change the stack area to page 0, you also need to alter thecstartup.s31 file.6.2.2. Changing the Beginning Address of Pa

Pagina 28

32group, remove the SFR area from page N.6.2.4. Changing the ROM Area AddressSet the ROM area as suitable for your target microcomputer. Here, you se

Pagina 29

336.2.6. Changing the LibrarySelect the library that suits the processor group and memory model of your targetmicrocomputer from Table 8.Table Table

Pagina 30

346.3. Changing the ICC740 OptionsDefault options of the ICC740 are set as listed in Table 9.Table Table Table Table 9999 ICC740 OptionsICC740 Opt

Pagina 31 - 6. Editing the Project

35In this dialog box, click the option macro CFLAGS and then the Edit button. The Optionsdialog box for the ICC740 will appear (Figure 23 (a)).Before

Pagina 32

366.3.2. Changing the Memory ModelSelect Target for the category. In the ensuing dialog box, click the list “-ml, -mt” and thenthe Select button. The

Pagina 33 - beginning

376.4. Changing the A740 OptionsDefault options of the A740 are set as listed in Table 10.Table Table Table Table 10101010 Default Options of the

Pagina 34

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

Pagina 35

386.4.2. Changing the Memory ModelSelect Code Generation for the category. If all of the referenced symbols are located in page 0,deselect the “-uN”

Pagina 36

396.5. Changing the XLINK OptionsThe XLINK options are set in the lnk740.xcl file and in the TM.Default options of XLINK in the TM are set as listed

Pagina 37

407. Developing a Project7.1. Creating and Registering the Source FilesUse your desired editor to create the C source and assembly language source f

Pagina 38

417.2. Altering the lnk740.xcl FileIf you’ve created new segments in an assembler source file, etc., you must set the locations ofthose segments in t

Pagina 39

428. Building a ProjectWhen you’ve finished creating and registering the source files, execute Build togenerate an absolute module from the source fi

Pagina 40

438.2. Errors in the Linker XLINKIf an error occurs while you are executing the linker XLINK, correct the project according tothe displayed messages.

Pagina 41

44declaration.extern npage int n_i1;void func( char a, npage int n_b );In assembler sources attach “np.” when referencing the data.lda np:n_dataz Er

Pagina 42 - 7. Developing a Project

458.3. Setting Options in Source File UnitsIn C and assembler source files, it may sometimes be necessary to set options in file units.In such a case

Pagina 43

469. Debugging a ProjectFor the project you’ve finished building, an absolute file proj_1.695 is generated in theworking directory.This file can be d

Pagina 44 - 8. Building a Project

47If you installed the M3T-PD38 or M3T-PD38SIM after installing the TW74, you mustregister the installed debugger in the same way as you do for other

Pagina 45

3ContentsContentsContentsContentsPREFACE ...

Pagina 46

4810. Creating a Hex FileBefore you can create a Hex file, you must first register xlink(lmc) as a load moduleconverter to the TM.First, choose Inform

Pagina 47

49Note that the options of xlink(lmc) in the TM are set as listed in Table 12.Table Table Table Table 12121212 Default Options of xlink(lmc) (Comma

Pagina 48 - 9. Debugging a Project

M3T-ICC740 V.1.00 User’s ManualRev. 1.00July 16, 2004REJ10J0750-0100ZCOPYRIGHT ©2004 RENESAS TECHNOLOGY CORPORATIONAND RENESAS SOLUTIONS CORPORATION A

Pagina 49

1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 JapanM3T-ICC740 V.1.00REJ10J0750-0100ZUser’s Manual

Pagina 50 - 10. Creating a Hex File

46.3. CHANGING THE ICC740 OPTIONS... 346.3.1. Changing the Processor Grou

Pagina 51

5Figure of ContentsFigure of ContentsFigure of ContentsFigure of ContentsFIGURE 1 PROCEDURE FOR INSTALLING THE M3T-ICC740 ...

Pagina 52

6Teble of ContentsTeble of ContentsTeble of ContentsTeble of ContentsTABLE 1 NEW PROJECT WIZARD EXECUTION STEPS....

Pagina 53 - User’s Manual

7PrefaceBefore reading this user’s manual, please read the release notes included with your product.Product configuration, product handling, precautio

Comentarios a estos manuales

Sin comentarios