Manuel d'utilisation / d'entretien du produit M3A-HS71 du fabricant Renesas
Aller à la page of 80
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.
.
.
.
[ 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.
.
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.
.
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.
.
T able of Contents CHAPTER1 BEFORE USING THE SH7670 CPU BOARD ................................................................. 1-1 1.1 Overview ..........................................................................................................
5.2.3 Activating the Command Line W in dow ............................................................................................................... 5-10 5.3 Adding/Modifying Hard ware Setup Files ................................................
*This page is blank* Rev . 1.01 May 7, 2008 ( iii ) REJ1 1J0 015-0101.
.
Chapter1Before Using the SH7670 CPU Board Chapter1 Before Using the SH7670 CPU Board 1-1.
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.
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.
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.
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.
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*.
Chapter2Setting Up the Hardware Chapter2 Setting Up the Hardware 2-1.
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.
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.
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 .
Chapter3Setting Up the Software Chapter3 Setting Up the Software 3-1.
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 .
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.
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”.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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*.
.
Chapter4Running the Software Chapter4 Running the Software 4-1.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Chapter5Creating and Running a New Project Workspace Chapter5 Creating and Running a New Project W orksp ace 5-1.
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.
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”.
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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*.
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.
.
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.
M3A-HS71 Inst allation Manual.
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté Renesas M3A-HS71 c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du Renesas M3A-HS71 - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation Renesas M3A-HS71, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le Renesas M3A-HS71 va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le Renesas M3A-HS71, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du Renesas M3A-HS71.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le Renesas M3A-HS71. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei Renesas M3A-HS71 ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.