Renesas 740 Family manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Renesas 740 Family, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Renesas 740 Family one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Renesas 740 Family. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Renesas 740 Family should contain:
- informations concerning technical data of Renesas 740 Family
- name of the manufacturer and a year of construction of the Renesas 740 Family item
- rules of operation, control and maintenance of the Renesas 740 Family item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Renesas 740 Family alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Renesas 740 Family, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Renesas service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Renesas 740 Family.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Renesas 740 Family item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    REJ10J1334-0200 Renesas Starter Ki t for 3803L Tutorial Manual (for M3T-SRA74) RENESAS SINGLE-CHIP 8-BI T CMOS MICROCOMPUTER 740 F AMIL Y Rev .2.0 0 Renesas Sol utions Cor p. Revision date: Aug.10,2007 www .renesas. com[...]

  • Page 2

    Table of Contents Chapter 1. Prefac e .................................................................................................................................................. 1 Chapter 2. I ntroductio n .........................................................................................................................................[...]

  • Page 3

    Chapter 1. Preface Cautions This document may be, wholly or partially, subject to change witho ut notice. All rights reserved. Duplication of this document, either in whole or part is prohibited without the written permission of Rene sas Solutions Corporation. Trademarks All brand or product names used in this manual are trademarks or registered tr[...]

  • Page 4

    Chapter 2. Introductio n This manual is designed to answer, in tutorial form, the most common questions asked about using the Renesas Starter Kit: The t utorials help explain the following: • How do I compile, link, download, and run a simple program on the Renesas Starter Kit? • How do I build an embedded application? • How do I use Renesas?[...]

  • Page 5

    Chapter 3. T utorial Project Wo rkspace The workspace includes all of the files for two build conf igurat ions. The tutorial code is common to b oth the Debug and the Rel eas e bui ld configurations. The tutorial is desi gned to show how code can be w ritten, debugged then downloaded in a ‘Debug’ situatio n. The build configuration menu in High[...]

  • Page 6

    Chapter 4. Project W orkspace 4.1. Introduction High-performance Embedded Workshop is an integrated development tool that allows the user to write, compile, program and deb ug a software project on any of the Renesas Microcontrollers. High-performance Embedded Workshop will have been in stalled during the installation of the software support for th[...]

  • Page 7

    The next dialog presents the three types of example project available: 1. Tutorial: This is the one of interest at this time; the code is explained later in this manual. 2. Sample code: this provides examples for using various peripherals . If you select th is and c lick < Next> it will open a new d ialo g allowing the selection of many code [...]

  • Page 8

    Chapter 5. Building the T utorial Project The tutorial project build settings have been pre-configured in the tool-chain options. To view the tool chain options select the ‘Build’ menu item and the relevant tool-chain. This s hould be the first option on the drop down menu. The dialog that is displayed will b e specific to the tool-chain select[...]

  • Page 9

    5.2. Connecting the debugger For this tutorial it is not necessary to provide an external power sup ply to the board. The power will be obtained from the USB port. Pl ease be aware that if you have too many devices connected to your US B port it may be shut down by Wi ndows. If this happens remove so me devices and try again. Alternatively provi de[...]

  • Page 10

    • The Flash Memory write pro gram will be downloaded to the target. • The Output window in High-performance Embedded Workshop will sho w ‘ Connected’. Note: The connection to the target will activate the debugger buttons on the High-performance Embedded Workshop toolbar. Now is a good time to save the High-performance Embedded Workshop sess[...]

  • Page 11

    Chapter 6. Downloadi ng and Runnin g the T utorial Once the code has been built in High-performance Embedded Workshop it needs to be downloaded to the Renesas Starter Kit itself. There will now be an additional category in t he workspace view for ‘Download Modules’ • Right click on the download module listed and select ‘Download’. Note: T[...]

  • Page 12

    • Place a breakpoint at the call to InitialiseDisplay subroutine. Breakpoints can only be set when the E8a is connected to the tar get and the module is downloaded. Br eak po int s can b e set by double-clicking in the grey column containing the PC arrow next to the line to break at; or s electing the line and pressing F9; or right click on the l[...]

  • Page 13

    The code will execute to the selected line and stop. An automatic breakpoint was inserted in the code and then removed after ca lling the break. • Press ‘Step Over’ on the debug toolbar. The code will run and flash the LEDs 200 times. The debugger w ill not exit until all 200 flashes ha ve completed or a button is pressed on the Renesas Start[...]

  • Page 14

    • Press ‘CTRL-B’ to open the breakpoint window. This dialog is not available if user debugged using eventpoints as suggested at top of page 10. ‘CTRL-E’ will open the eventpoint window. Eventpoints can be viewed in Breakcondition tab of event window. • Press <Remove All>. • Press <OK> . • Open the file ‘main.a74’ •[...]

  • Page 15

    The dialog will close and a new pane will open in the work space containing the variable. • Press <Go To Memory> In the ASCII column on a Memory Window, it is possib le to see th at the string has been successfully initialised to ‘ STATIC ‘ . • Set a breakpoint on the call to DisplayString subroutine inside the for loop. • Press ‘[...]

  • Page 16

    Chapter 7. Project File s 7.1. Standard Project Files Each of the tutorial files has detailed comment text describi ng the function of each code entry. Please refer to the source cod e for greater detail on the purpose and operation of the assembler specific details. 7.1.1. Mai n tutorial code (mai n.a74 / mai n.inc) This is the entry point of the [...]

  • Page 17

    7.1.2. Board i niti alisation code (hw setup.a7 4) There are two stages to the configuration of the microcontroller device. The code to demonstrate this is therefore split into t wo functio ns. Each function is written specifically for the dev ice supported. The function calls are shown be low. 15[...]

  • Page 18

    Chapter 8. Additional Information For details on how to use High-performance E mbedded Workshop, refer to the High-performance Embedded Workshop manual available on the CD or from the web site. Further information available for this pr oduct can be found on the Renesas website at: http://www.renesas.com/renesas_starter_kits General information on R[...]

  • Page 19

    Renesas Starter Ki t for 3803L Tutorial Manual (f or M3T- SRA74) Publicat ion Date Rev . 2.00 Aug.10,2 007 Publish ed b y: Renesas So lut ions Corp . 4-1-6, Mi yahara, Yod ogawa-k u, Osak a City, 532-0003 , Japan ©2007 Renesas Solutions Corp., Renesas T echnology Europe Lt d. and Renesas T echnology Corp. , All Rights Reserved.[...]

  • Page 20

    Renesas Star ter Kit for 3803L T utorial Manual (for M3T-SRA74) Renesas Solution s Corp. 4-1-6, Mi yahara, Y odoga wa-ku, O saka Cit y , 532-0003, Japan[...]