Renesas SH7670 Bedienungsanleitung

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80

Zur Seite of

Richtige Gebrauchsanleitung

Die Vorschriften verpflichten den Verkäufer zur Übertragung der Gebrauchsanleitung Renesas SH7670 an den Erwerber, zusammen mit der Ware. Eine fehlende Anleitung oder falsche Informationen, die dem Verbraucher übertragen werden, bilden eine Grundlage für eine Reklamation aufgrund Unstimmigkeit des Geräts mit dem Vertrag. Rechtsmäßig lässt man das Anfügen einer Gebrauchsanleitung in anderer Form als Papierform zu, was letztens sehr oft genutzt wird, indem man eine grafische oder elektronische Anleitung von Renesas SH7670, sowie Anleitungsvideos für Nutzer beifügt. Die Bedingung ist, dass ihre Form leserlich und verständlich ist.

Was ist eine Gebrauchsanleitung?

Das Wort kommt vom lateinischen „instructio”, d.h. ordnen. Demnach kann man in der Anleitung Renesas SH7670 die Beschreibung der Etappen der Vorgehensweisen finden. Das Ziel der Anleitung ist die Belehrung, Vereinfachung des Starts, der Nutzung des Geräts oder auch der Ausführung bestimmter Tätigkeiten. Die Anleitung ist eine Sammlung von Informationen über ein Gegenstand/eine Dienstleistung, ein Hinweis.

Leider widmen nicht viele Nutzer ihre Zeit der Gebrauchsanleitung Renesas SH7670. Eine gute Gebrauchsanleitung erlaubt nicht nur eine Reihe zusätzlicher Funktionen des gekauften Geräts kennenzulernen, sondern hilft dabei viele Fehler zu vermeiden.

Was sollte also eine ideale Gebrauchsanleitung beinhalten?

Die Gebrauchsanleitung Renesas SH7670 sollte vor allem folgendes enthalten:
- Informationen über technische Daten des Geräts Renesas SH7670
- Den Namen des Produzenten und das Produktionsjahr des Geräts Renesas SH7670
- Grundsätze der Bedienung, Regulierung und Wartung des Geräts Renesas SH7670
- Sicherheitszeichen und Zertifikate, die die Übereinstimmung mit entsprechenden Normen bestätigen

Warum lesen wir keine Gebrauchsanleitungen?

Der Grund dafür ist die fehlende Zeit und die Sicherheit, was die bestimmten Funktionen der gekauften Geräte angeht. Leider ist das Anschließen und Starten von Renesas SH7670 zu wenig. Eine Anleitung beinhaltet eine Reihe von Hinweisen bezüglich bestimmter Funktionen, Sicherheitsgrundsätze, Wartungsarten (sogar das, welche Mittel man benutzen sollte), eventueller Fehler von Renesas SH7670 und Lösungsarten für Probleme, die während der Nutzung auftreten könnten. Immerhin kann man in der Gebrauchsanleitung die Kontaktnummer zum Service Renesas finden, wenn die vorgeschlagenen Lösungen nicht wirksam sind. Aktuell erfreuen sich Anleitungen in Form von interessanten Animationen oder Videoanleitungen an Popularität, die den Nutzer besser ansprechen als eine Broschüre. Diese Art von Anleitung gibt garantiert, dass der Nutzer sich das ganze Video anschaut, ohne die spezifizierten und komplizierten technischen Beschreibungen von Renesas SH7670 zu überspringen, wie es bei der Papierform passiert.

Warum sollte man Gebrauchsanleitungen lesen?

In der Gebrauchsanleitung finden wir vor allem die Antwort über den Bau sowie die Möglichkeiten des Geräts Renesas SH7670, über die Nutzung bestimmter Accessoires und eine Reihe von Informationen, die erlauben, jegliche Funktionen und Bequemlichkeiten zu nutzen.

Nach dem gelungenen Kauf des Geräts, sollte man einige Zeit für das Kennenlernen jedes Teils der Anleitung von Renesas SH7670 widmen. Aktuell sind sie genau vorbereitet oder übersetzt, damit sie nicht nur verständlich für die Nutzer sind, aber auch ihre grundliegende Hilfs-Informations-Funktion erfüllen.

Inhaltsverzeichnis der Gebrauchsanleitungen

  • Seite 1

    REJ1 1J0015-0101 Rev . 1.01 Issued: May 7. 2008 32 Renesas 32-Bit RISC Microcomputers SuperH TM RISC engine Family/SH7670 Series M3A-HS71 Inst allation Manual SH7670 CPU Board[...]

  • Seite 2

    [...]

  • Seite 3

    [...]

  • Seite 4

    [...]

  • Seite 5

    [ Indication of Warnings and Cautions ] The following explains the warnings and cauti ons indicated for the handli ng of the product. WANING If the product is improperly handled without regard for this indicati on, there will be a possibility of inf licting d eath or heavy wound o n perso ns. CA UTION If the product is improperly handled without re[...]

  • Seite 6

    [...]

  • Seite 7

    Important Before using this product, be sure to read the user’s manual (this user's manual) careful l y. Keep this user’s manual, and refer to this when you have ques tions ab out this product. About this product: The term “this product” referred to here mean the product manufactur ed by Renesas Technology Corporation. It does not incl[...]

  • Seite 8

    [...]

  • Seite 9

    Usage restrictions: This product has been dev eloped as a means of supporti ng s ystem development by users. Therefore, do n ot use it as a device used for equ ipment-embedded applicat ions. Also, do not use it for developing the s ystems or equipment used for the follo wing purpose s either: (1) Transportation and vehicul ar (2) Medical (equipment[...]

  • Seite 10

    [...]

  • Seite 11

    T able of Contents CHAPTER1 BEFORE USING THE SH7670 CPU BOARD ................................................................. 1-1 1.1 Overview ............................................................................................................................... ....................................... 1-2 1.2 Usage Precautions ...........[...]

  • Seite 12

    5.2.3 Activating the Command Line W in dow ............................................................................................................... 5-10 5.3 Adding/Modifying Hard ware Setup Files .................................................................................................................... 5-10 5.3.1 Copying Hardware Se[...]

  • Seite 13

    *This page is blank* Rev . 1.01 May 7, 2008 ( iii ) REJ1 1J0 015-0101[...]

  • Seite 14

    [...]

  • Seite 15

    Chapter1Before Using the SH7670 CPU Board Chapter1 Before Using the SH7670 CPU Board 1-1[...]

  • Seite 16

    Before Using the SH7670 CPU Board 1.1 Overview Rev . 1.01 May 7, 2008 1-2 REJ1 1J0 015-0101 1 1.1 Overview The SH7670 CPU boar d(board type name: M3A-HS71) cons ists of the SH7670 CPU board and the sampl e software. This installation manual describes mainly how to set up the SH76 70 CPU board hard ware and software. For more information about SH767[...]

  • Seite 17

    Before Using the SH7670 CPU Board 1.2.1 Symbols Used Rev . 1.01 May 7, 2008 1-3 REJ1 1J0 015-0101 1 <Caution Indication> CAUTION Regarding the reconstruction of this product: • Do not reconstruct this product. If the product has gotten out of order for reasons of disassembly or reconstruction, requests for repair may not be accepte d. Regar[...]

  • Seite 18

    Before Using the SH7670 CPU Board 1.3 Procedure for Introducing This Product Rev . 1.01 May 7, 2008 1-4 REJ1 1J0 015-0101 1 1.3 Procedure for Introducing This Product In this manual, we follow the procedure outlin ed in Fig ure 1. 3.1 to perform the installation. Figure 1.3.1 SH7670 CPU board Install ation Procedure 1.4 Operating Guarantee for This[...]

  • Seite 19

    Before Using the SH7670 CPU Board 1.5 Items to Be Prepared by User Rev . 1.01 May 7, 2008 1-5 REJ1 1J0 015-0101 1 1.5 Items to Be Prepared by User The following lists the items that need to be pr epared by users separate l y from this product. <For SH7670 CPU board> You need to prepare the follo wing power supply separately from the product p[...]

  • Seite 20

    Before Using the SH7670 CPU Board 1.5 Items to Be Prepared by User Rev . 1.01 May 7, 2008 1-6 REJ1 1J0 015-0101 1 *This page is blank*[...]

  • Seite 21

    Chapter2Setting Up the Hardware Chapter2 Setting Up the Hardware 2-1[...]

  • Seite 22

    Setting Up the Hardware 2.1 Connections Between SH767 0 CPU bo ard and E10A-USB Emulator Rev . 1.01 May 7, 2008 2-2 REJ1 1J0 015-0101 2 2.1 Connections Between SH7670 CPU board and E10A-USB Emulator Figure 2.1.1 shows how SH7670 CPU board and E1 0A-USB emulator should be connect ed. Figure 2.1.1 System Connection of SH 7670 CPU board and E10A-USB E[...]

  • Seite 23

    Setting Up the Hardware 2.2.1 SH7670 CPU board DIP Switch Setting Rev . 1.01 May 7, 2008 2-3 REJ1 1J0 015-0101 2 2.2.1 SH7670 CPU board DIP Switch Settin g To use the SH7670 CPU board following the installation d escr ibed here, be sure to set the DIP switch SW8 to its default settings as shown in Figure 2.2.1 and Table 2.2.1 . Figure 2.2.1 DIP Swi[...]

  • Seite 24

    Setting Up the Hardware 2.3 System Connections and Po wer-On Sequence Rev . 1.01 May 7, 2008 2-4 REJ1 1J0 015-0101 2 2.3 System Connections and Power-On Sequence Follow the same procedure when you check to see that the power for the host computer is turned off, or that the E10A-USB emulator is not connected to the host computer with USB cable . 1. [...]

  • Seite 25

    Chapter3Setting Up the Software Chapter3 Setting Up the Software 3-1[...]

  • Seite 26

    Setting Up the Software 3.1 About the HEW Rev . 1.01 May 7, 2008 3-2 REJ1 1J0 015-0101 3 3.1 About the HEW HEW, or High-performance Embedded W orkshop, is an int egrated development environm ent with a graphical user interface designed to help use rs develop and debug the applica tions create d in C/C++ and assembly languages for use in Renesas mic[...]

  • Seite 27

    Setting Up the Software 3.1 About the HEW Rev . 1.01 May 7, 2008 3-3 REJ1 1J0 015-0101 3 (2) Figure 3.1.2 is displa ye d, and click “Next”. Figure 3.1.2 HEW Installation Procedure (2) Note: If you have already inst alled a HEW on your PC, you can sel ect “Install a ne w High-performance Embed ded Workshop” and install a ne w HEW in another [...]

  • Seite 28

    Setting Up the Software 3.1 About the HEW Rev . 1.01 May 7, 2008 3-4 REJ1 1J0 015-0101 3 (5) Continue to install follo wing the instru ctions in the installation window. When entir e installation is finished, the dialog shown in Figure 3.1.4 is displayed, click “Exit”. Figure 3.1.4 HEW Installation Procedure (5)[...]

  • Seite 29

    Setting Up the Software 3.2.1 E10A-USB Software Installation Procedure Rev . 1.01 May 7, 2008 3-5 REJ1 1J0 015-0101 3 3.2 Setting Up the E10A-USB Emulator Software Next, the following explains ho w to set up the E10A-USB emulator software. 3.2.1 E10A-USB Software Installation Procedure (1) Execute “HewInstMan.exe” included in the E10A-U SB emul[...]

  • Seite 30

    Setting Up the Software 3.2.1 E10A-USB Software Installation Procedure Rev . 1.01 May 7, 2008 3-6 REJ1 1J0 015-0101 3 Note: If you have already inst alled a HEW on your PC, you can sel ect “Install a ne w High-performance Embed ded Workshop” and install a ne w HEW in another directory on your PC. (3) When the dialog box sh own in Figure 3.2.3 i[...]

  • Seite 31

    Setting Up the Software 3.2.1 E10A-USB Software Installation Procedure Rev . 1.01 May 7, 2008 3-7 REJ1 1J0 015-0101 3 (5) Next, install an Autou pdate Utilit y. Click “Next”. Figure 3.2.5 E10A-USB Software Installation Procedure (5 ) Note: When you have not selected “Aut oupdate” on the Choice of an installati on product, the above dialog i[...]

  • Seite 32

    Setting Up the Software 3.2.1 E10A-USB Software Installation Procedure Rev . 1.01 May 7, 2008 3-8 REJ1 1J0 015-0101 3 (7) When entire installation is finishe d, the dialog shown in Figure 3.2.7 is displayed, click “Exit”. Figure 3.2.7 E10A-USB Software Installation Procedure (7 )[...]

  • Seite 33

    Setting Up the Software 3.2.2 Setting Up the E10A-USB Emulator Rev . 1.01 May 7, 2008 3-9 REJ1 1J0 015-0101 3 3.2.2 Setting Up the E10A-USB Emulator (i) Setting Up New Firmware T he following explains the case where you se t up new firmware of the E10A-USB emulator. If your E10A-USB emulator alread y has the firmware suitable for the SH-2A group, s[...]

  • Seite 34

    Setting Up the Software 3.2.2 Setting Up the E10A-USB Emulator Rev . 1.01 May 7, 2008 3-10 REJ1 1J0 015-0101 3 (1) Open the slide switch cover on the E10A-USB emulator main unit, and check to see that the emulator setup switch (SW1) is set to the “1” side. (2) From [All Programs] on [Start menu], choose [Renesas High-performance Embedde d Works[...]

  • Seite 35

    Setting Up the Software 3.2.2 Setting Up the E10A-USB Emulator Rev . 1.01 May 7, 2008 3-1 1 REJ1 1J0 015-0101 3 Notes • If the versions shown in (b) and (c) are the same, you do no t need to set up. If the version shown in (b) is “-.-.--.---” or older than the version in (c), you need to set up. • If the emulator connected t o your system i[...]

  • Seite 36

    Setting Up the Software 3.2.2 Setting Up the E10A-USB Emulator Rev . 1.01 May 7, 2008 3-12 REJ1 1J0 015-0101 3 (3) Press “Setup”( Figure3.2.9 ). The dialog box sho wn below will be displa yed. Figure3.2.12 Setup Tool for SHxxxx E10A-USB Emulator Dialog Box (4) Set the emulator setup switch (SW1 ) to the “0” side, and temporarily remove the [...]

  • Seite 37

    Setting Up the Software 3.2.2 Setting Up the E10A-USB Emulator Rev . 1.01 May 7, 2008 3-13 REJ1 1J0 015-0101 3 (6) After the E10A-USB emulator setup is comple ted, the message sho wn below will be displayed. Set the emulator setup switch (SW1) to the “1” side, and temporaril y remove the USB cable and plug it in back ag ain. Then click “OK”[...]

  • Seite 38

    Setting Up the Software 3.2.2 Setting Up the E10A-USB Emulator Rev . 1.01 May 7, 2008 3-14 REJ1 1J0 015-0101 3 (ii) Setting Up the E10A-USB Emulator Driv er The following shows how to set up the E10A-USB emulator driver. The setup procedure here is explai ned for the Windows XP case. Note: The dialog boxes sho wn here are displa yed when you se t u[...]

  • Seite 39

    Setting Up the Software 3.2.2 Setting Up the E10A-USB Emulator Rev . 1.01 May 7, 2008 3-15 REJ1 1J0 015-0101 3 (3) Search the CD-ROM for drivers and se lect” <drive>:¥driver¥us b¥ xp ¥elu sb.inf“ and then click “Next”. The ‘ xp ’ in the underlined part (in the setup here, Windo ws XP) indicates the OS version. Figure3.2.19 Ne [...]

  • Seite 40

    Setting Up the Software 3.2.2 Setting Up the E10A-USB Emulator Rev . 1.01 May 7, 2008 3-16 REJ1 1J0 015-0101 3 (5) Activate Device Manager to confirm whether the USB controller driver has been instal led. <Activating Device Manager> Choose [Control Panel] from [Start menu] a nd double-click [S ystem] icon. In [System Properties] dialog box, c[...]

  • Seite 41

    Setting Up the Software 3.2.2 Setting Up the E10A-USB Emulator Rev . 1.01 May 7, 2008 3-17 REJ1 1J0 015-0101 3 *This page is blank*[...]

  • Seite 42

    [...]

  • Seite 43

    Chapter4Running the Software Chapter4 Running the Software 4-1[...]

  • Seite 44

    Running the Software 4.1 Running the Software Rev . 1.01 May 7, 2008 4-2 REJ1 1J0 015-0101 4 4.1 Running the Software This product comes with sample software for verifying the hard ware operation as technical reference material for software development. The follo wing describes the necessar y steps to be followed before the l oad module of the samp[...]

  • Seite 45

    Running the Software 4.1.2 SH7670 CPU board and E10A-USB S tartup Procedure (HEW St artup) Rev . 1.01 May 7, 2008 4-3 REJ1 1J0 015-0101 4 (5) The [Open Workspace] dialog box shown bel ow is displayed. In this dialog bo x, specify the directory indicated b elow. <Directory in which to store the sample software> "C:¥WorkSpace¥Sample_soft[...]

  • Seite 46

    Running the Software 4.1.2 SH7670 CPU board and E10A-USB S tartup Procedure (HEW St artup) Rev . 1.01 May 7, 2008 4-4 REJ1 1J0 015-0101 4 Note: For the first time only, a message “Ple ase choose driver” is displa yed. Click “OK” to display the Dr iver Details, and select “Renesas E-Series Driver” for the Driver. Figure 4.1.4 Driver Deta[...]

  • Seite 47

    Running the Software 4.1.2 SH7670 CPU board and E10A-USB S tartup Procedure (HEW St artup) Rev . 1.01 May 7, 2008 4-5 REJ1 1J0 015-0101 4 (10) Turn on the power for the SH7670 CPU boar d. (11) Press the reset button (SW3) on the SH7670 CP U bo ard and press “OK” in the above dialog bo x. (12) If the reset signal cannot be detected, the dialog b[...]

  • Seite 48

    Running the Software 4.1.3 E10A-USB Emulator Connection Error Dial og Rev . 1.01 May 7, 2008 4-6 REJ1 1J0 015-0101 4 4.1.3 E10A-USB Emulator Connection Error Dialog If the E10A-USB emulator does not start up, t he dialog box sho wn below will be displa yed. (a) If the dialog box shown belo w is displayed and the E10A- U SB emulator cannot be starte[...]

  • Seite 49

    Running the Software 4.1.3 E10A-USB Emulator Connection Error Dial og Rev . 1.01 May 7, 2008 4-7 REJ1 1J0 015-0101 4 (e) If the driver has not been set up correctly, the dialog bo x sho wn below will be displaye d. Figure 4.1.13 Unable to Restore Dia lo g Box (f) If a wrong device is selected, the following dialog box is d isplayed. Figure 4.1.14 [[...]

  • Seite 50

    Running the Software 4.1.4 Sample Software Download Procedure Rev . 1.01 May 7, 2008 4-8 REJ1 1J0 015-0101 4 4.1.4 Sample Software Download Procedure Next, the following describes ho w to download the load module of the sample soft ware. Here, the sample software is downloaded to the flash memor y connected external to the SH7670 CPU boar d. For de[...]

  • Seite 51

    Running the Software 4.1.4 Sample Software Download Procedure Rev . 1.01 May 7, 2008 4-9 REJ1 1J0 015-0101 4 (2) Specifying the command batch file before do wnloading Next, you need to run the script file (fmtool_hs71.hdc) in which the access timing and bu s control signal settings are written in the flash memory of the SH7670 C P U boar d before d[...]

  • Seite 52

    Running the Software 4.1.4 Sample Software Download Procedure Rev . 1.01 May 7, 2008 4-10 REJ1 1J0 015-0101 4 (4) Downloading the sample load mo dul e Choose Download from the Debug menu an d then sample load module. Figure 4.1.17 sh ows the download operation wind ow. Immediately after you select th e sample load module, the scr ipt file is automa[...]

  • Seite 53

    Running the Software 4.1.4 Sample Software Download Procedure Rev . 1.01 May 7, 2008 4-1 1 REJ1 1J0 015-0101 4 (5) Completion of downloading When the system has finished do wnloading the sample load module, the program count er is sho wn in “resetprg.c”. (See Figure 4.1.18 ) Figure 4.1.18 Download Completion Wind o w[...]

  • Seite 54

    Running the Software are 4.1.4 4.1.4 Sample Software Download Procedure Sample Software Download Procedure Rev . 1.01 May 7, 2008 4-12 REJ1 1J0 015-0101 4 (6) Running the program To execute the program, select “Go” from the Debug menu (See F igure 4.1.19 ). If the sample software is downloaded norma lly, LED7 on the SH7670 CPU board lights up a[...]

  • Seite 55

    Chapter5Creating and Running a New Project Workspace Chapter5 Creating and Running a New Project W orksp ace 5-1[...]

  • Seite 56

    Creating and Running a New Project Worksp ace 5.1 Creating a New Project Workspace Rev . 1.01 May 7, 2008 5-2 REJ1 1J0 015-0101 5 5.1 Creating a New Project Workspace The following explanation des cribes how to create a new project workspace suitable for the SH7670 CPU board. The procedure for creating a load module from a ne w pr oject workspace a[...]

  • Seite 57

    Creating and Running a New Project Worksp ace 5.1.2 Procedure for Creating a Ne w Project Worksp ace Rev . 1.01 May 7, 2008 5-3 REJ1 1J0 015-0101 5 (6) Project Generator will start. Here, enter “test” for the workspace name. After checki ng the directory, CPU type and tool chain, click “OK”. Figure 5.1.2 New Project Workspace Di alog Box (7[...]

  • Seite 58

    Creating and Running a New Project Worksp ace 5.1.2 Procedure for Creating a Ne w Project Worksp ace Rev . 1.01 May 7, 2008 5-4 REJ1 1J0 015-0101 5 (8) Specify the global options from [New Project--2/9] dial og bo x. FPU: Single Round: Zero Figure 5.1.4 [New Project-2/9] Dialog Bo x (9) Fill out [New Project-3/9] to [New Project-4/9] dial og boxes.[...]

  • Seite 59

    Creating and Running a New Project Worksp ace 5.1.2 Procedure for Creating a Ne w Project Worksp ace Rev . 1.01 May 7, 2008 5-5 REJ1 1J0 015-0101 5 (10) In [New Project-5/9] dialog box, set up a stack as follows; Stack Pointer Address: H’FFF88000 Stack Size: H’400 *Stack size can be changed according to n eed. Figure 5.1.5 New Project-5/9 Dial [...]

  • Seite 60

    Creating and Running a New Project Worksp ace 5.1.2 Procedure for Creating a Ne w Project Worksp ace Rev . 1.01 May 7, 2008 5-6 REJ1 1J0 015-0101 5 (12) In [New Project-7/9] dialog box, set up the target as below. Firstly, select the Target type and then, select the Targets . Target type: SH2A-FPU Targets: SH2A-FPU E10A-USB SYSTEM(SH2A) Figure 5.1.[...]

  • Seite 61

    Creating and Running a New Project Worksp ace 5.2 Setting Up the Flash Memory Download Rev . 1.01 May 7, 2008 5-7 REJ1 1J0 015-0101 5 (15) [Select Emulator mode] dialog box shown belo w will be displayed. For details on how to operate here, refer to par agraphs ”4.1.2 SH7670 CPU board and E1 0A-USB Startup Procedure (HEW Startup)” Figure 5.1.9 [...]

  • Seite 62

    Creating and Running a New Project Worksp ace 5.2 Setting Up the Flash Memory Download Rev . 1.01 May 7, 2008 5-8 REJ1 1J0 015-0101 5 5.2 Setting Up the Flash Memory Download Next, the following shows how to set up the function for do wnloading load modul es into the flash memory connected external to the SH7670 CPU boar d. Here, we use the flash m[...]

  • Seite 63

    Creating and Running a New Project Worksp ace 5.2.2 S pecifyi ng the Command Batch File Before Do wnloading Rev . 1.01 May 7, 2008 5-9 REJ1 1J0 015-0101 5 Table5.2.1 Loading flash mem ory Setting Loading flash memory Enable Erasing flash memory Disable File name C:¥W orkS pace¥Sample_s oftware¥sh76 70_sample¥fmtool_ hs71 ¥ fmtool_hs71.mot Bus [...]

  • Seite 64

    Creating and Running a New Project Worksp ace 5.2.3 Activating the Command Line Windo w Rev . 1.01 May 7, 2008 5-10 REJ1 1J0 015-0101 5 5.2.3 Activating the Command Line Window Choose Command Line from the Vie w menu and open the Command Line window. When downloading the load modul es, activate the Command Line window to check whether the script fi[...]

  • Seite 65

    Creating and Running a New Project Worksp ace 5.3.3 Adding Hardware Setup Files Rev . 1.01 May 7, 2008 5-1 1 REJ1 1J0 015-0101 5 (2) From [Remove Project Fil es] dialog box, select the file o f "dbsct.c", "intprg.c", "resetpr g.c", "sbrk.c", and "vecttbl.c". Then, click “Remove”. Figure 5.3.2 Se[...]

  • Seite 66

    Creating and Running a New Project Worksp ace 5.3.3 Adding Hardware Setup Files Rev . 1.01 May 7, 2008 5-12 REJ1 1J0 015-0101 5 (2) From the "C:¥WorkSpace¥test¥Hard wareSetup" director y to which you copie d hardware setup files, add the fil es listed below. Files to add : "bsc_cs0c.c", "bscsdram.c", "cache.c?[...]

  • Seite 67

    Creating and Running a New Project Worksp ace 5.3.4 Setting Compiler Options Rev . 1.01 May 7, 2008 5-13 REJ1 1J0 015-0101 5 5.3.4 Setting Compiler Options From the Build menu, open [S uperH RISC engine Stand ard Toolchain] dialog b ox an d open [C/C++] tab. On this tab, set “Category”, “Sho w entries for” and “Options C/C++ ” as necess[...]

  • Seite 68

    Creating and Running a New Project Worksp ace 5.3.5 Setting Linker Options Rev . 1.01 May 7, 2008 5-14 REJ1 1J0 015-0101 5 5.3.5 Setting Linker Options Open the Build menu, open the dia log box [S uperH RISC engine Sta ndard T oolchain ], and select “Link/Librar y” tab. Set ”Category”, “Sho w entries for”, and “Optio n Link/Librar y?[...]

  • Seite 69

    Creating and Running a New Project Worksp ace 5.3.5 Setting Linker Options Rev . 1.01 May 7, 2008 5-15 REJ1 1J0 015-0101 5 (a) Section setting example for th e case that a cache memory setup fu nction is used To use the io_init_cache funct ion (that sets cache memory), the section for it must be located in the non-cache able area of CS0. The follow[...]

  • Seite 70

    Creating and Running a New Project Worksp ace 5.3.5 Setting Linker Options Rev . 1.01 May 7, 2008 5-16 REJ1 1J0 015-0101 5 (3) [Section address] dialog box sho wn below will be displayed. In this dialog box, enter “0x207F F000” for the Address as shown in Figure 5.3.1 1 , and press “OK”. Figure 5.3.11 Section Settings (3) (4) The section ad[...]

  • Seite 71

    Creating and Running a New Project Worksp ace 5.3.5 Setting Linker Options Rev . 1.01 May 7, 2008 5-17 REJ1 1J0 015-0101 5 (5) [Add section] dialog box s ho wn below will be displa ye d. Enter “PCACHE” for “Section name” as shown in Figure 5.3.13 , and press “OK”. The “CACHE” section is defined in the “cach e.c” source file. The[...]

  • Seite 72

    Creating and Running a New Project Worksp ace 5.3.5 Setting Linker Options Rev . 1.01 May 7, 2008 5-18 REJ1 1J0 015-0101 5 (b) Section modifications example fo r th e cas e that a B section is changed to the SDR AM area The following shows the section modification example for c hanging the loc ation of a B section to the SDRAM area. For a detailed [...]

  • Seite 73

    Creating and Running a New Project Worksp ace 5.3.5 Setting Linker Options Rev . 1.01 May 7, 2008 5-19 REJ1 1J0 015-0101 5 (c) Setting example for sectio n in case for forwarding vector table section DINT TBL to on-chip RAM Interrupt response speed can be sped up by for warding ve ctor table to on-chip RAM, and using register bank. Forwarding vecto[...]

  • Seite 74

    Creating and Running a New Project Worksp ace 5.3.5 Setting Linker Options Rev . 1.01 May 7, 2008 5-20 REJ1 1J0 015-0101 5 (2) Open [Link/Library] tab an d select the b el o w, and click “Add”. • Category : Output • Show entries for : ROM to RAM mapped sections Figure 5.3.18 Section Change (2) Note: In the sample software, the section initi[...]

  • Seite 75

    Creating and Running a New Project Worksp ace 5.3.6 Writing the Main Functi on (Operation Confirmation) Rev . 1.01 May 7, 2008 5-21 REJ1 1J0 015-0101 5 5.3.6 Writing the Main Function (Operation Confirmation) In the main function (test.c source file), write a pro gram to turn on the LED (LED7 on th e SH7670 CPU board li ghts up). • Open the sourc[...]

  • Seite 76

    Creating and Running a New Project Worksp ace 5.3.6 Writing the Main Functi on (Operation Confirmation) Rev . 1.01 May 7, 2008 5-22 REJ1 1J0 015-0101 5 *This page is blank*[...]

  • Seite 77

    Revision History SH7670 CPU Board Installation Manual Rev . Date of Issue Content of Revision Page Points 1.00 Jan 9.08 - First edition issued. 1.01 May 7.08 - Revision history page location was changed. Colophon was changed from © 2007 to ©2008.[...]

  • Seite 78

    [...]

  • Seite 79

    SH7670 CPU Board M3A-HS71 Installation Manual Publication Date May 7, 2008 Rev . 1.01 Published by Renesas T echnology Corp. Renesas Solutions Corp. © 2008. Renesas Technology Corp., All rights reserved. Printed in Japan.[...]

  • Seite 80

    M3A-HS71 Inst allation Manual[...]