Renesas SH7670 инструкция обслуживания

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

Идти на страницу of

Хорошее руководство по эксплуатации

Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации Renesas SH7670. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции Renesas SH7670 или обучающее видео для пользователей. Условием остается четкая и понятная форма.

Что такое руководство?

Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции Renesas SH7670 можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.

К сожалению немного пользователей находит время для чтения инструкций Renesas SH7670, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.

Из чего должно состоять идеальное руководство по эксплуатации?

Прежде всего в инструкции Renesas SH7670 должна находится:
- информация относительно технических данных устройства Renesas SH7670
- название производителя и год производства оборудования Renesas SH7670
- правила обслуживания, настройки и ухода за оборудованием Renesas SH7670
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам

Почему мы не читаем инструкций?

Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск Renesas SH7670 это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок Renesas SH7670 и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта Renesas, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания Renesas SH7670, как это часто бывает в случае бумажной версии.

Почему стоит читать инструкции?

Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства Renesas SH7670, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.

После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции Renesas SH7670. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.

Содержание руководства

  • Страница 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[...]

  • Страница 2

    [...]

  • Страница 3

    [...]

  • Страница 4

    [...]

  • Страница 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[...]

  • Страница 6

    [...]

  • Страница 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[...]

  • Страница 8

    [...]

  • Страница 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[...]

  • Страница 10

    [...]

  • Страница 11

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

  • Страница 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[...]

  • Страница 13

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

  • Страница 14

    [...]

  • Страница 15

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

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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*[...]

  • Страница 21

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

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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. [...]

  • Страница 25

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

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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)[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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 )[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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”[...]

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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[...]

  • Страница 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*[...]

  • Страница 42

    [...]

  • Страница 43

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

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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 [[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 55

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

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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.[...]

  • Страница 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 [...]

  • Страница 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.[...]

  • Страница 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 [...]

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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?[...]

  • Страница 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[...]

  • Страница 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?[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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*[...]

  • Страница 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.[...]

  • Страница 78

    [...]

  • Страница 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.[...]

  • Страница 80

    M3A-HS71 Inst allation Manual[...]