Renesas Single-Chip Microcomputer M306NKT3 Manual de usuario

Busca en linea o descarga Manual de usuario para Hardware Renesas Single-Chip Microcomputer M306NKT3. Renesas Single-Chip Microcomputer M306NKT3 User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 147
  • 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 ... 146 147

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

vi 8.7.3 Hide...

Pagina 3

84 8.2 Device File The Device File is the item containing the data to Flash into the device. Figure 8-5 Device File The pop-up menu for Device Fi

Pagina 4

85 8.2.6 Properties... Launches the device file properties dialog box. 8.2.7 Display Block usage... Launches the ‘S-Record Properties’ dialog box a

Pagina 5

86 8.3 Workspace Properties Invoked from the Workspace pop-up menu item Properties... See also section 0. The ‘Workspace Properties’ dialog box sh

Pagina 6

87 8.4 Project Properties Invoked from the Project pop-up menu item Properties... The ‘Properties’ dialog box shows details of: • The name of the

Pagina 7

88 Figure 8-8 Kernel Properties Kernel Path This shows the kernel path. Frequency This shows the input clock and whether that clock is external or

Pagina 8

89 8.5.2 Communications Tab This shows the default and current baud rates and the current port. It also allows the user to change the Port and Baud

Pagina 9

90 FDM\E8Direct Pins This section displays the direction and state of the controlled mode pins for the Connect and Disconnect with Reset operations.

Pagina 10

91 Interface If the target is connected directly to the host computer, the connection interface should be selected to ‘Direct Connection’. Alternativ

Pagina 11

92 8.5.4 Programmer Tab This shows the state of the Function Map and allows the user to select the Device Protection Option of Automatic, Interacti

Pagina 12

93 Reset on Disconnect When disconnecting from the device when used in combination with a UPB or FDM, FDT can be used to reset the target hardware. U

Pagina 13

vii 10.2 Dialog Controls ...

Pagina 14

94 8.5.5 Modules Tab This shows each Kernel file name. Some entries may be blank because most kernels do not use all of the modules. Figure 8-12 Mo

Pagina 15

95 8.6.2 Cursor Value This tab shows various representations of the data at the cursor position. The display depends upon whether the display unit

Pagina 16

96 8.7 Output Window The Output window is one of the main windows contained in the FDT GUI. Figure 8-16 Output Window The window has available po

Pagina 17 - Chapter 1 Introduction

97 8.8 Hex Editor Window The Hex Editor window is one of the main windows contained in the FDT GUI. It is used to display file contents or target u

Pagina 18

98 The window has a right-click pop-up menu that contains the following items: 8.8.1 Cut This will remove the contents of the highlighted block from

Pagina 19 - Chapter 2 System Overview

99 8.8.10 Fill... Launches the ‘Fill’ dialog box for the current active file to write the specified data to the selected area. When the ‘ASCII Fill’

Pagina 20 - 2.1 User Interface

100 Figure 8-18 Customise Toolbars Dialog 8.9.1 Show Tooltips A check mark in the Show Tooltips box indicates that the action of the button will be

Pagina 21

101 Clicking on OK in the ‘Customise’ dialog box saves any changes made and closes the dialog box. 8.9.6 Delete If a new toolbar has been added to t

Pagina 22

102 Figure 8-20 Add Tool Dialog New menu options are added to the bottom of the list (i.e. bottom of the tools menu) by default. The order of menu

Pagina 23

103 Figure 8-21 Modify Tool Dialog  To remove a menu option: 1. Select [Tools->Customise...]. The dialog shown in Figure 6-19 will be displayed

Pagina 24

viii ii. Cautions Renesas neither warrants nor grants licenses of any rights of Renesas’ or any third party’s patent, copyright, trademark, or other

Pagina 26

105 Chapter 9 Simple Interface Mode Invoked by [Tools->Simple Interface...]. This is used to simplify the look and feel of FDT once a project is

Pagina 27 - 2.2 Help

106 9.1.2 AutoDisconnect This forces FDT to automatically disconnect after programming, so that the user does not need to press the Disconnect butto

Pagina 28 - 2.3 Hot Keys

107 9.2.2 Exit Clicking this will exit FDT and FDT will start up in the Simple Interface Mode next time it is loaded. This will be disabled if the u

Pagina 30

109 Chapter 10 Basic Simple Interface Mode Invoked from the start menu “Flash Development Toolkit 3.05 Basic”. This is used to simplify the look an

Pagina 31 - Chapter 3 Using FDT

110 10.1.2 AutoDisconnect This forces FDT to automatically disconnect after programming, so that the user does not need to press the Disconnect butt

Pagina 32 - Protocol C kernels)

111 10.2.3 Download File Area For devices with a User Boot Area, the user can choose whether to download the file to the User Area or the User Boot

Pagina 34

113 Chapter 11 Field Programming This is a feature designed to assist FDT users to send their FDT projects to other FDT users. Once a project is co

Pagina 35

ix iii. Preface About this guide This guide explains the use of the Renesas Flash Development Toolkit (hereafter referred to as FDT). Chapter 1 , In

Pagina 36 - 3.3 Starting FDT

114 Figure 11-1 FDT Field Programming Interface 11.1 Options Menu 11.1.1 Login... This allows changing of which user is logged in to FDT. The hot

Pagina 37

115 11.1.4 Request Checksum This option controls whether FDT automatically performs a checksum request operation after programming. The setting is r

Pagina 38

116 11.2.5 Disconnect Clicking on Disconnect forces FDT to disconnect.

Pagina 39

117 Chapter 12 E8 Update When connecting to an E8 interface adaptor board, FDT will check that the E8 firmware (adaptor software) is the correct ver

Pagina 40

118 (current type = E8EMULATOR) Processing Data file :'c:\FDT\ADPFiles\E8-Rel-Img.mot' Mismatched Adaptor Software (Level 1) version numbe

Pagina 41

119 Chapter 13 E8Direct The E8 is an existing USB interface board, which has been used to implement the communications protocol for programming R8C,

Pagina 42

120 Figure 13-2 E8Direct enumeration 13.2 Hardware Differences The FDM had no capability of supplying the target power whereas the E8Direct ca

Pagina 43

121 FDM Pin Name Pin No. 14-pin connector 20-pin connector (Japan only) E8 Direct Pin Name 1 SCK RES Output D 2 GND GND GND 3 FWx FWx Output C 4

Pagina 44

122 The FDM used a H8S/2148AF with an 18.432MHz crystal, but the E8 uses an H8S/2215UF with a 16MHz crystal. The numbering system above applies to t

Pagina 45 - Figure 3-8 FDM Pin Settings

123 Chapter 14 QzROM Programming QzROM is a new type of programmable flash memory, found in some 4 and 8 bit MCUs. It is based most closely around t

Pagina 46

x iv. Abbreviations Target / Device Refers to the programmable microcontroller or microcomputer that is connected to the PC ready for programming. D

Pagina 47

124 14.2 Security Protection QzROM also introduces the concept of Security Protection into FDT. This is optionally set as FDT disconnects, and preve

Pagina 48

125 Figure 14-6 Security Protect property Double clicking on the “Security Protection” field will bring up a new dialog allowing the entry to be chan

Pagina 49

126 Figure 14-8 Security Protect Simple Interface The check mark shows the currently selected option. Note – these menu options will be disabled if

Pagina 50

127 Chapter 15 Upgrading to FDT 3.05 Installing FDT 3.05 should not adversely affect your other FDT version installations. The USB drivers may be up

Pagina 52

Renesas FLASH Microcomputer Programming SystemUser's ManualRenesas FLASH Development Toolkit 3.05 (fo

Pagina 53

Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japanhttp://www.renesas.comRefer to

Pagina 54

1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 JapanRenesas FLASH Development Toolkit 3.05(for Windows® 98SE/Me, Windows NT® 4.0, Wi

Pagina 55

xi FoUSB This is a USB interface board developed by RTA. It is used for Flash Programming and in-circuit debugging. This is currently not supported b

Pagina 56

xii v. Document Conventions This manual uses the following typographic conventions: CONVENTION MEANING [Menu->Menu Option] Bold text with ‘->’

Pagina 57

1 Chapter 1 Introduction The Renesas Flash Development Toolkit (FDT) is an on-board FLASH programming tool for Renesas F-ZTAT microcomputers that pr

Pagina 59

3 Chapter 2 System Overview FDT provides a method of programming, erasing and reading from Renesas Flash devices. Workspaces and Projects can be use

Pagina 60 - 3.13 Closing a Workspace

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 61 - 3.14 Exiting FDT

4 2.1 User Interface The FDT Graphical User Interface is a Windows® application that presents a work environment, which allows the user to program F

Pagina 62

5 2.1.1 Menu bar Commands are grouped into related areas on the Menu bar as indicated by the menu titles. Using the mouse the user can select a comm

Pagina 63 - Chapter 4 Wait For Script

6 If a menu item has the symbol (8) next to it then a cascading or hierarchical menu is available. Clicking on the menu item will reveal the cascading

Pagina 64

7 Edit toolbar Figure 2-6 Edit Toolbar Save File – saves the active file. Cut – cuts data to the clipboard. Copy – copies data to the clipboa

Pagina 65

8 FDT toolbar Figure 2-7 FDT Toolbar Connect - connects the device to the interface. Disconnect - disconnects the device from the interface. Er

Pagina 66

9 S Record toolbar Figure 2-8 S Record Toolbar View as Bytes - view the file data as 8 bit bytes. View as Words - view the file data as 16 b

Pagina 67

10 QzROM toolbar Figure 2-9 QzROM Toolbar Automatic Protection – Set QzROM security protection automatically on disconnect. Query Protection – A

Pagina 68 - extension

11 When an action is being performed, a progress bar is displayed to show the progress of the current operation. The last section of the bar indicates

Pagina 69

12 2.3 Hot Keys There are various hot keys for frequently used operations. These are as follows by category:- Description Hot Key Help Help F1 Fil

Pagina 70

13 Description Hot Key Device Connect Ctrl+Alt+C Erase Flash Blocks Ctrl+Alt+E Blank Check Ctrl+Alt+B Upload Image Ctrl+Alt+U Download Active Fil

Pagina 71

Renesas FLASH Development Toolkit 3.05(for Windows® 98SE/Me, Windows NT® 4.0, Windows® 2000 and Windows® XP)User’s ManualUser’s Manual Rev.7.00 2006

Pagina 73

15 Chapter 3 Using FDT 3.1 Quickstart The stages required in order to program a device are as follows: 1) Start FDT by selecting ‘Start’->‘Pro

Pagina 74

16 3.2.2 What is the difference between Boot Mode and User Mode? The Renesas Flash devices have different modes of operation which are controlled by

Pagina 75

17 ‘gentest.h’ file and is compiled into the User Mode Test Program; this allows the kernel initialise the serial communications interface to 9600 ba

Pagina 76

18 Administrator rights to save the settings. Password administration also requires Local PC Administrator rights. 3.2.7 How do I recompile a kernel

Pagina 77 - Chapter 5 Access Rights

19 3.2.9 Can I modify the User Mode kernels to work for a different clock frequency? It is recommended that the original kernel is copied to another

Pagina 78

20 3.3 Starting FDT 3.3.1 Starting FDT without Security or Simple Interface Mode enabled To start FDT, open the ‘Start’ menu of Windows® and sele

Pagina 79

21 3.3.5 Starting FDT by double clicking on a w4f script configuration file FDT can be started by double clicking on a .w4f script configuration fil

Pagina 80

22 "C:\Program Files\Renesas\FDT3.05\FDT.exe" "arl \"Administrator\" \"password\"" /DISCRETESTARTUP "osr

Pagina 81 - 6.1 Arranging Windows

23 3.4 Creating a New Workspace and Project When FDT is started in full mode (not FDT Basic Simple Interface Mode), a workspace and project must b

Pagina 82

1. These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp. product best suited to the c

Pagina 83 - 6.6 Customising the Toolbar

24 3.4.2 Choose Device and Kernel (not Generic Boot*) Select the device you wish to use from the drop-down list. It is possible to have more than o

Pagina 84

25 3.4.3 Communications Port Select the port (and interface if available) from the drop-down list, then click the ‘Next’ button. Note that in addit

Pagina 85 - Chapter 7 Menus

26 3.4.4 Device Settings Enter values for the device settings; enter the input clock, then select the main and peripheral clock multipliers from th

Pagina 86 - 7.2 Edit Menu

27 Note To enter the clock mode, input clock, and multipliers, refer to the device hardware manual and/or the target board manual to confirm the val

Pagina 87 - 7.4 Project Menu

28 3.4.6 Programming Options Select the protection level for programming the FLASH ROM and the messaging level, then click the ‘Finish’ button, or

Pagina 88

29 Figure 3-8 FDM Pin Settings Figure 3-9 E8Direct Pin Settings

Pagina 89

30 3.4.8 Reset Pin Settings [Only if the FDM or E8Direct is selected] Select the ‘Operating Mode’ and ‘Clock Mode’ and if ‘User Defined’, set the R

Pagina 90 - 7.5 Tools Menu

31 Figure 3-11 E8Direct RESET Pin Settings

Pagina 91 - 7.6 Window Menu

32 3.5 Configuring a Project for a Generic Boot Device It is also possible to connect to a Generic Boot Renesas Device - where you do not need a ke

Pagina 92 - 7.7 Device Menu

33 3.5.2 Generic Boot - Choose Device and Kernel Select ‘Generic Boot Device’ and click ‘Next’ Figure 3-13 Generic Boot Device Selection 3.5.3 G

Pagina 93 - 7.8 Help Menu

i i. Contents i. Contents...i

Pagina 94

34 Figure 3-14 Communications Port 3.5.4 Generic Boot - FDM Pin Settings [FDM connection only] If the FDM is selected the following screen will be

Pagina 95 - Chapter 8 Windows

35 When the ‘Select USB Device’ Dialog is displayed you must select which FDM unit is to be used to set up the connection. Figure 3-16 Select USB Dev

Pagina 96

36 Note Setting the mode pins using the E8Direct requires caution. Please confirm the pin settings with the hardware manual even if a default setti

Pagina 97

37 3.5.7 Generic Boot – Select Device Because some devices share a boot program, a list is provided of all those supported. The user should select t

Pagina 98

38 Figure 3-22 Clock Mode 3.5.9 Generic Boot – Setup Complete Having selected the Clock Mode, the Generic wizard completes as below. Figure 3-23 Gen

Pagina 99 - 8.1.3.2 Rename Folder

39 3.5.10 Generic Boot – Device Settings Please Refer to Section 3.4.4 3.5.11 Generic Boot - Connection Type Please Refer to Section 3.4.5 3.5.12

Pagina 100 - 8.2 Device File

40 Figure 3-24 E8 Target Power Supply Selection 3.6.2 ID Check Dialog For devices which support the ID Check for unlocking the device, the ID che

Pagina 101

41 4. Programming is complete when ‘Image successfully written to device’ is displayed in the output window. 3.7.3 Programming an individual file

Pagina 102 - 8.3 Workspace Properties

42 3.8 Erasing Data from the FLASH ROM 1. Select [Device -> Erase FLASH blocks...] to display the ‘Erase Blocks’ dialog box. 2. Select the blo

Pagina 103 - 8.4 Project Properties

43 3.9 Uploading the FLASH ROM Data 1. Display the ‘Upload Image’ dialog box from [Device -> Upload Image...]. either 2. Select the Address t

Pagina 104

ii 3.4 Creating a New Workspace and Project...23 3.4.1

Pagina 105 -

44 Figure 3-28 Upload Image Dialog – Tree The Upload via erase block has the same selection functionality as the Erase block dialog itself, i.e. ‘Sel

Pagina 106

45 3.14 Exiting FDT To exit FDT, select [File -> Exit], press the Alt + F4 key, or select the ‘Close’ option from the system menu (the system men

Pagina 108

47 Chapter 4 Wait For Script 4.1 Wait For Script Overview This mode allows FDT to be automated and controlled by a text file containing a script o

Pagina 109

48 4.2.1.2 Script Path This is the only mandatory field. This edit box allows the user to set up where to find the script file to run. This can eithe

Pagina 110

49 4.2.2.2 Log File Name Enter the name of the optional log file. FDT can insert additional details into the file name such as the user name, machin

Pagina 111

50 4.2.4 Error Handling Page This is an optional page. Figure 4-4 Error Handling Page 4.2.4.1 On Script Fail Abort - leave the ‘On Script Fail’ ra

Pagina 112 - 8.7 Output Window

51 # Script processing failure handling script example 2 # Disconnect to allow reconnection Disconnect # Display a message to the user Alert outpu

Pagina 113 - 8.8 Hex Editor Window

52 4.4 Wait For Script – Run Configuration... This is invoked from the ‘Tools’, ‘Wait For Script’, ‘Run Configuration...’ menu and allows the user

Pagina 114

53 Each script command should be written on a separate line of the text file; FDT will cope with DOS and UNIX style line breaks (CR or CR LF). File p

Pagina 115 - 8.9 Customise - Toolbars

iii 4.2.3.2 Status File Name ...

Pagina 116

54 4.5.3 Download Description = download the selected project image to the device Arguments: “image” Download the device image <filename> Re

Pagina 117 - 8.10 Customise – Menu

55 4.5.5 BlankCheck Description = check if the device is blank Arguments: “userboot” Optional Tells FDT to check the user boot area of flash (if s

Pagina 118

56 Checksum device 4.5.8 Disconnect Description = disconnect from a device. Note that issuing of a disconnect command even if FDT is not connected

Pagina 119

57 4.5.11 Alert Description = indicate to the user that something has happened Arguments: “beep” FDT will output a warning beep “output” Required (

Pagina 120

58 <filename> <directory> Required The file\directory the source file is to be copied\moved\renamed to Example: Move $script |\\server

Pagina 121 - 9.1 Options Menu

59 disconnect # Display message in output window alert output|This text will be displayed in the output window and the log file # delete this scrip

Pagina 123

61 Chapter 5 Access Rights 5.1 Access Rights Overview To prevent accidental changing of settings when using FDT to program devices (especially in

Pagina 124

62 5.3.1 Disable All This button allows disables all user accounts and switches off Access Rights password security 5.3.2 Modify User This button a

Pagina 125 - 10.1 Options Menu

63 5.3.3 Add User This button allows creation of new user accounts. FDT will prompt for a user name and password then invokes the Modify User dialog

Pagina 126 - 10.2 Dialog Controls

iv 7.1.5 Close Workspace...69 7.

Pagina 128

65 Chapter 6 Configuring the User Interface When the user interface for FDT was designed an attempt was made to make frequently used operations qui

Pagina 129

66 2. A specific window can also be selected by clicking on the tab containing the file name at the bottom of the Editor window. If the window is no

Pagina 130 - 11.1 Options Menu

67 6.6 Customising the Toolbar The selection and arrangement of buttons displayed on the Toolbar can be customised to suit a user’s requirements. T

Pagina 132 - 11.2.5 Disconnect

69 Chapter 7 Menus This document follows the standard Microsoft menu naming convention: Figure 7-1 FDT Menus 7.1 File Menu The ‘File’ m

Pagina 133 - Chapter 12 E8 Update

70 7.1.6 Open an S-Record... Launches the ‘Open an S-Record’ dialog box allowing the user to open an existing file. The file may be an S-Record file

Pagina 134

71 7.2.7 Find... This will launch the ‘Find’ dialog box allowing the user to enter either hexadecimal or ASCII data. The scope of the search is boun

Pagina 135 - Chapter 13 E8Direct

72 7.4.4 Remove Files... Removes the selected file from the project. 7.4.5 File Extensions... This option allows the user to select which file exte

Pagina 136 - 13.2 Hardware Differences

73 7.4.5.1 File Extensions Add... Selecting ‘Add...’ allows FDT to handle files of new extension types Figure 7-3 Add File Extensions Dialog 7.4.5.

Pagina 137

v 7.7.9 Cancel Operation...77 7.

Pagina 138

74 7.4.6 Rebuild Image Rebuilding the image merges all files in the project that are not excluded. The default ROM area is the User Area, some devic

Pagina 139 - 14.1 Reserved Areas

75 7.5.5 Simple Interface... Simplifies the appearance of FDT. For more details see section Chapter 9 7.5.6 Wait For Script This allows creation,

Pagina 140 - 14.2 Security Protection

76 7.6.5 Close All This option closes any files open in the editor window. 7.6.6 ‘file name’ This option becomes active when a file name is selecte

Pagina 141

77 7.7.8 Go From Address... This launches a dialog that allows the user to select an address to execute code from. There is an option to select an i

Pagina 143

79 Chapter 8 Windows This chapter describes each child window type, the features each supports and the options available through their associated p

Pagina 144

80 8.1.1.2 Allow Docking Invoking this option allows the user to select if the window is docked, or if it can “float” around the main window. 8.1.1.3

Pagina 145

81 8.1.2 Project The Project is the next item in the hierarchy below the Workspace. In the following example, the Workspace is called “Industrial C

Pagina 146 - Colophon 5.0

82 8.1.2.6 Properties Displays the project properties dialog. Note that this is not the same as the Flash Properties dialog which can be reached by s

Pagina 147 - User’s Manual

83 8.1.3.2 Rename Folder Allows the folder to be renamed.

Comentarios a estos manuales

Sin comentarios