Home

Installation Manual - Renesas Electronics

image

Contents

1. a Aas cous 2 4 2 4 Disconnectthe System Power SUPPLY idad iria 2 5 SS Sting UP Me SOWIE aea a 3 1 3 1 About the Hieh pertormance Embedded WorkShop arias 3 1 3 1 1 High performance Embedded Workshop InstallatiON cooooooooooonononnncnnnnnnnnnnnnnnnnnnnnnnnnnnnonnnnnnnnnnnoos 3 1 2 Sel Up the EL0OASUSD Emulator SOWIE spon o KS oo E KAK aa a 3 4 3 21 E10A USB Software Installation Procedure ooooocccnnncnonononocoooococonononononn nono nn nono nono non nn nnnnnnnnnnnnnn ono nononononnnos 3 4 322 setUpIneEL ASUS 5 MUO NE I E a E Ia 3 8 4 Executing the Software sss eessssssssssscccsssssunnsstscctsessnnnnsstssssenssnunssssserenqensssnstttserensnnnnnnseeei 4 1 4 1 Execute tie samples OL Wa Escorts sa 4 1 4 1 1 Prepare to Download the Sample DON Ware ostia io criada 4 1 4 1 2 SH7269 CPU Board and E1OA USB Startup High performance Embedded Workshop Startup 4 1 4 1 3 E10A USB Emulator Connection Error Dialog vespa aiii lie 4 5 4 1 4 How to Download the Sample Software sssssssssssssssssssssesesssssssnssssssssssssssseeeeennnnnnniss 4 7 5 Creating and Running a New Project WorkSpace cccccoocccnccccocccncccnonnconccononccononononncnnnnnnnrnnnnnnnnnrnnnononanennnoss 5 1 5 1 Create a New Project WOKS pacense 5 1 5 1 1 Prepare to Create a New Project Workspace ici brea 5 1 cl Be How to Create a New Project Workspace user a
2. Standard Computers office equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems safety equipment and medical equipment not specifically designed for life support Specific Aircraft aerospace equipment submersible repeaters nuclear reactor control systems medical equipment or systems for life support e g artificial life support devices or systems surgical implantations or healthcare intervention e g excision etc and any other applications or purposes that pose a direct threat to human life You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of 1ts products semiconductor products have specific characteristics such as the occurrence of failure at
3. ii Set Up the E10A USB Emulator Driver Following describes how to set up the EIDA USB emulator driver The setup procedure described below is for the Windows XP Note Following dialog boxes appear when the E10A USB emulator driver is set up for the first time or when the emulator is connected for the first time after the USB port on the host computer is changed lt may take some time to appear the dialog box 1 Welcome to the Found New Hardware Wizard is activated Select the Install from the list or specific location Advanced radio button and then click Next Found New Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps pon install software for Renesas E Series USB Driver Ol IF your hardware came with an installation CD lt or floppy disk insert it now What do you want the wizard to do Install the software automatically Recommended Click Next to continue Figure 3 2 17 Found New Hardware Wizard 1 4 2 Select the Search for the best driver in these locations radio button and tick the Search removable media floppy CD ROM checkbox Then click Next Found New Hardware Wizard Please choose your search and installation options ES Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed Search removable media floppy CO ROM Include t
4. Section definition for vector table e Section name for the vector table ROM section DINTTBL e Transfer destination section name RAM section RINTTBL Following are steps to move the DINTTBL section from ROM to the internal RAM in the sample program 1 Set the RINTTBL section to the internal RAM area in Section dialog box as shown in Figure 5 3 19 gt Example for adding section to internal RAM area e Address Ox FFF80000 e Section RINTTBL Note When setting the address as above set the CPU vector base register This sample software sets the vector base register in the reset exception handling in the resetprg c file Section Address Section A ewe DINTEL eme PIMPRG OR00001700 P SROJ C f CIESEC HE C D5EC A A AS 0x203FF000 PCACHE Reallocate the RINTTBL O FFFSOO0O AINTTEL B and R sections to B RA OxFFF80000 a JJ Figure 5 3 19 Change Section 1 3 R20UT0160EJ0100 Rev 1 00 9 20 Dec 08 2011 stENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 2 Open Link Library tab and set the items below and click Add e Category Output e Show entries for ROM to RAM mapped sections SuperH RISC engine Standard Toolchain 3 P x C C Assembly Link Library Standard Library CPU _4 gt Category Output Type of output file Stype via absolute Data record header None None Length o
5. This section describes how to set up the SH7269 CPU Board external flash memory down load program The flash memory download program stored in the C WorkSpace Sample_software sh7269_sample fmtool_r0k57269 directory is used in this manual For details about flash memory download setting refer to the SuperH Family EIDA USB Emulator User s Manual 5 2 1 Set Up the Flash Memory Download e Set up the flash memory download function From Setup menu Emulator System select Configuration dialog box and open Loading flash memory tab For File Name specify the flash memory download program fmtool r0k57269 The sample workspace shall have the flash memory download program in the following directory CY WorkSpaceYSample_softwareYsh7269 sample fmtool r0k57269Yfmtool r0k57269 Set up Loading flash memory File name Bus width of flash memory and Entry point as shown in Figure 5 2 1 and Table 5 2 1 Then click OK Note Check the setting of the Loading flash memory every time the E10A USB emulator is attached General Loading flash memory Loading flash memory C Disable Ent Select Enable Erasing flash memory f Disable C Enable Specify the path as the File name C wforkS pace4Sample soft Browse fmtool r0k57269 mot Bus width of flash memory 16 bit bus width Set the bus width to 16 bit Flash memory erasing time Dee minute Entry point All erasing module address HFFFE1 OOO Writi
6. LENESAS C OD D TA 0 lt 5 C D SH7269 CPU Board ROK572690C000BR Installation Manual Renesas 32 Bit RISC Microcomputer SuperH RISC engine Family SH7260 Series All information contained in these materials including products and product specifications represents information on the product at the time of publication and is subject to change by Renesas Electronics Corporation without notice Please review the latest information published by Renesas Electronics Corporation through various means including the Renesas Electronics Corporation website http www renesas com Renesas Electronics www renesas com Rev 1 00 2011 12 8 10 11 12 Notice All information included in this document is current as of the date this document is issued Such information however 1s subject to change without any prior notice Before purchasing or using any Renesas Electronics products listed herein please confirm the latest product information with a Renesas Electronics sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website Renesas Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document No license
7. Ze oi 24 Omitted include poder ne void main void Pin function setting PORT PJCR4 BIT PJ18MD Ou f PJI8 Port output value setting PORI PJDRL BIT PJILSDE Ou PILES Low Ju Port 1 0 direction setting PORT PJIOR1 BIT PJ18IOR lu PJ18 output LED2 is 1it Note This example sets values in the port J control register 4 PJCRA4 port J data register 1 PUDR1 and the port J I O register 1 PJIOR1 by the bit manipulation instruction which performs the read modify write operation Therefore the port input level read from the unspecified bit is written in the port data registers This may cause unintentional changes of values in other poris 1 Create a new load module Select Build menu gt Build to execute the build process 2 Create a new load module test abs If a new load module test abs has been created the hardware setup file addition or modification is now completed 3 Execute the program Download the load module to execute the program LED2 on the SH7269 CPU Board is now illuminated R20UT0160EJ0100 Rev 1 00 5 22 Dec 08 2011 LENESAS Revision History SH7269 CPU Board ROK572690C000BR Installation Manual Rev Date Description Dec 08 2011 NB First edition issued SH7269 CPU Board ROK572690C000BR Installation Manual Publication Date Dec 08 2011 Rev 1 00 Published by Renesas El
8. keppel Bay Tower Singapore 098632 Tel 65 6213 0200 Fax 65 6278 8001 Renesas Electronics Malaysia Sdn Bhd http www renesas com Unit 906 Block B Menara Amcorp Amcorp Trade Centre No 18 Jin Persiaran Barat 46050 Petaling Jaya Selangor Darul Ehsan Malaysia Tel 60 3 7955 9390 Fax 60 3 7955 9510 Renesas Electronics Korea Co Ltd 11F Samik Lavied or Bldg 720 2 Yeoksam Dong Kangnam Ku Seoul 135 080 Korea Tel 82 2 558 3737 Fax 82 2 558 5141 O 2011 Renesas Electronics Corporation All rights reserved Colophon 1 1 SH7269 CPU Board ROK572690C000BR Installation Manual LENESAS Renesas Electronics Corporation R20UT0160EJ0100
9. L B H O0044 8 PC R4 E A common 00000942 4405 JSR R4 E bsc_cs0 c 00000944 4164 LDS Ri FPSCR i bscsdram c 00000946 DS11 MOV L B H 0044 8 PC RS5 i cache c 00000948 4545 JSR N RS cpg c 00000944 D611 MOV L 8 H 0044 8 PC R6 B dbsct c OOOOO94C 4645 JSR N BR6 hwsetup c OOOOO94E D411 MOV L H 0044 8 PC R4 intprg c 00000950 E710 MOV H 10 R7 E io init portee OOOOO952 3478 SUB R7 R4 led c 00000954 442E LDC R4 VBR lowsrc c OOOOO956 D110 MOV L B H O040 8 PC R1 resetpra c 00000958 41465 JSR N BRL sbrk c OOOOO9SA E4FO MOV H FO R4 siochar c OOOOOS9SC 644C EXTU B R4 R4 e siorw c DOODO95E 440E LDC R4 5R laa vecitbl c 00000960 0009 NOP a pa E Ela OOOOO962 O2EOOSOO MOVI20 HH E0800 R2 OOOOO966 01003FFF MOVI20 HH O3FFF R1 a a OOOOO96A 8527 MOV I H OE 4 R2 R0 OOOOO96C 2019 AND R1 RO DOODO96E 7101 ADD H 0O1 R1 00000970 2018 OR Ri RO 00000972 8127 MOV RO B H OE 4 R2 00000974 0702 STC SR R7 00000976 OSFOFFOF Movizo H FFFOF RS 00000974 2759 AND R5 R7 00000970C 470E LDC R7 5R OOOOOS7E D207 MOV L B H 001C 8 PC R2 00000980 424B JSR N BRI 00000982 OD1B SLEEP 00000984 006B RTS N 00000986 OO6B _Manual_Rese RTS N Am tant AAA AAA sesrrram lt gt Disassembly olor al at 21270 e Connected 41 Debug A Find in Files 1 A Find in Files 2 A Macro A Test A Version Control Ready FE Default1 desktop Read only 400 is Numo Figure 4 1
10. NOP 5 3 Download modules 00000962 02E00800 MOVI20 H E0800 R2 tie 13 sh 269 sample abs 00000 00000966 O10035FFF MoviIzo H O3FFF R1 E Dependencies 4 Figure 4 1 19 25 Disassembly H oota at 2121 0 8 2 Connected A gt Build A Debug A Find in Files 1 A Find in Files 2 A Macro A Test A Version Control Start or continue the program Executing the Program E Defaulti desktop Read only it INS NUM Note The contents of resetprg c may depend on the version of the sample software If an error occurs or the sample software does not operate correctly the hardware or the software may not have been setup correctly Check the setup procedures in Chapter 2 and Chapter 0 R20UT0160EJ0100 Rev 1 00 Dec 08 2011 LENESAS SH7269 CPU Board ROK572690C000BR 4 Executing the Software This page intentionally left blank R20UT0160EJ0100 Rev 1 00 4 12 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 5 Creating and Running a New Project Workspace 5 1 Create a New Project Workspace This section explains how to create a new project workspace in the SH7269 CPU Board Following are steps to create a load module from a new project workspace to download the load module into the SH7269 CPU Board external flash memory and to execute the module 5 1 1 Prepare to Create a New Project Workspace Copy S
11. SPED mala Rala ajaja Debug Settings 3 EE sh7269 sample 3 Csourcefile Go By sic Hesio ve 2 mainc es Shift F5 common Es Free Go 2 bsc cs0 Et Go To Cursor 3 E ER IL Set PC To Cursor a cpg e Pg Bun dbsete ec Display PC Ctrl Shift Y SI Sj E intprg c Step In F11 E io init pi Y Step Over F10 lede P Step Out Shift F11 la lowstc c Step 2 resetpro st e 2 sbrk c RE siochar c GB Halt Program siorw c 2 vecttble Initialize 5 3 Download modul S Connect o ha 7 sh7269 sam ME Disconnect Save Memory Verify Memory LS 3 Dependencies Nu Configure Overlays Download Modules All Download Modules Ser Br an Brest ol ot al at 21 tiD mm tao as g as Connected FE EEE Default desktop TR ms o umo Figure 4 1 17 Download Operation Window R20UTO160EJO100 Rev 1 00 4 9 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 4 Executing the Software 5 Download completed When the downloading of the sample load module is completed the program counter will appear in resetprg c See Figure 4 1 18 ie sh 269 sample High performance Embedded Workshop lt gt File Edit View Project Build Debug Setup Tools Test Window Help pares relta ARA aces beo HfS A am kva2emn unus a EE PAD aaa mx EG sh7269 sample 116 e Ta ea E sic bak OOO93C 01400001 _PowerON_ Res 2 main c 000940 D411 MOV
12. Up Down Disable batch file execution when downloading debug information Download modules after build Remove breakpoints on download Disable memory access until after target connection command file execution M Limit disassembly memory access Mi Do not perform automatic target connection IW Reset CPU after download module Disable memory access by GUI when target is executing Figure 4 1 16 Debug Settings Dialog Box 3 Activate the command line window When downloading the load module of the sample software activate the Command Line window to check whether the script file is running Select View menu gt Command Line to check whether Command Line window is opened Note If the script file is not executed downloading the load module into the flash memory cannot be completed R20UTO160EJO100 Rev 1 00 4 8 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 4 Executing the Software 4 Download the sample load module Select Debug menu gt Download modules to select the sample load module Figure 4 1 17 shows the download operation window Immediately after the sample load module is selected the script file is automatically executed Then the system starts downloading the sample load module 3 sh7269 sample High performance Embedded Workshop File Edit View Project Build Debug Setup Tools Test Window Help na moje o em E ua g 3 _ oses
13. Workspace New Project 6 9 Setting the Vector j 7 x What supporting files would you lke to create Fowerld eset 0 Power On Reset PC Manual Reset PO 2 Manual Reset PL lt Back ne Finish Cancel Figure 5 1 6 New Project 6 9 Dialog Box R20UTO160EJO100 Rev 1 00 5 5 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 12 In the New Project 7 9 dialog box set up the Target as below Select the Target type and then select Targets Target type SH2A FPU Targets SH7266 EIOA USB SYSTEM SH2A FPU Mew Project 7 9 Setting the Target System for Debugging Targets 5SHZA custom Sol E104 L15B ST5TE ISH 2A CUSTOUMI E706 U5SB SYSTEM ISH24 FPU Cycle Base Simulator SHZzA FPLU E104 USB SY 5TEM SHZAJ 5H24 FPU Functional Simulator 5H24 FPU_ custom Soc E104 U56 SY AFE EOS IES LA SYSTEMIS op FF Figure 5 1 7 New Project 7 9 Dialog Box 13 Confirm setting in New Project 8 9 and New Project 9 9 dialog boxes and click Finish Follow the on screen instructions to finish the Project Generator The High performance Embedded Workshop is activated and automatically generates the standard source files for the SH 2A device group 14 After the High performance Embedded Workshop is activated connect the E10A USB emulator The E10A USB emulator can be connected by switching session for
14. are noted in an operation procedure or explanatory description when it is necessary to call the user s attention 1 2 1 Symbols Used Table 1 2 1 lists the symbols used in this manual Table 1 2 1 Symbols Menu gt Menu Option The arrow gt indicates menu options Example File gt Save As File name o is used to indicate file names directory or button of dialog box Directory Example CAWorkspacelSample softwarelsh7269 sample Button OK button resetprg c R20UT0160EJ0100 Rev 1 00 1 2 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 1 Introduction 1 3 Installation Procedure In this manual follow the procedure indicated in Figure 1 3 1 to install the SH7269 CPU Board 1 Prepare development tools Not included in this product 2 Set up the hardware 3 Set up the software om 4 Execute the sample software Chapter 4 5 Create new software Figure 1 3 1 SH7269 CPU Board Installation Procedure 1 4 Product Behavior This product hardware and software was developed for only providing users with experience on the specifications and development environment of the SH7269 MCU and does not guarantee the results arising from the use of this product To use this product the type of the host computer is specified for its operating environment IBM PC AT and its compatible However it only indicates the operating environment assumed by Renesas and does not guarantee
15. flash memory Loading flash memory C Disable Enable Erasing Hash memory f Disable Enable Elle name C wforkS paceswSample sotto Browse Bus width of flash memory 16 bit bus width Flash memory erasing time D3 minute Enty point All erasing module address HFFFE1 000 Writing module address H FFF8DODO ACCES size E x Figure 4 1 15 Configuration Dialog Box R20UT0160EJ0100 Rev 1 00 4 7 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 4 Executing the Software 2 Specify the command batch file before downloading Execute the script file fmtool r0k57269 hdc consisting of the access timing and the bus control signal setting for the SH7269 CPU Board flash memory before downloading the sample software The following script file is assumed to be stored in the sample workspace C WorkSpace Sample_software sh7269_sample fmtool_r0k57269 Open Debug menu gt Debug Settings and select Options tab Check that the items on this tab are set as shown below Command batch file load timing B Before download of modules Command line batch processing L WORKSPDIR fmtool r0k57269Yfmtool r0k57269 hdc Debug Settings WW i SessionSH7256 E104 LISB SYSTEM 5 Target Options wi 3 sh7269 sample Command batch file load timino Before download of modules y Command line batch processing RKs POR Af mtool r0k572694 mtool r0k57264 kde Modify Remove
16. for reallocating section B to the SDRAM area For details on the section setting refer to paragraph a above 1 In Section dialog box select section B and click Remove Section OxO0000000 PECTTEL DINTTBL 0x00000800 PResetPRO PiIntPAG 0500001100 E CHESEC CEOSEC s U3FFOOO PCACHE OxFFFSO00Q AFFFEFCOO S 44 Figure 5 3 17 Change Section 1 2 2 In Section dialog box add section B to the SDRAM area as shown in Figure 5 3 18 Example Adds a section to the SDRAM e Address OxOCO000000 e Section B Note For details on the SDRAM area on the SH7269 CPU Board refer to 1 17 Memory Maps in the SH7269 CPU Board User s Manual Section El Ed Address Section OxO0000000 OYECTTBL DINTTBL OxO0000300 PResetPRO PiIntPAG 0 00001100 Add section B to the NI RESET SDRAM area C4OSEC E 203FFOO0 PCACHE S Figure 5 3 18 Change Section 2 2 R20UTO160EJO100 Rev 1 00 5 19 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace c Setting example Transfers the vector table section DINTTBL to the internal RAM Transfer the vector table to the internal RAM and use the register bank to accelerate the interrupt response To transfer the vector table set the Section of the vector table on the ROM as DINTTBL the Section on the transfer destination RAM as RINTTBL in the file dbsct c added in section 5 3 3 in this manual
17. refer to 3 2 2 Set Up the E10A USB Emulator in this manual 1 5 1 Recommended Host Computer Environment Followings are the recommended operation environment to use the above Renesas development tools Table 1 5 3 Operating Environment for the Renesas Development Tools Host Computer Specifications IBM PC AT Series and Compatibles CPU IBM PC or its compatible machine with Pentium lll or later 600 MHz or higher recommended and USB 1 1 2 0 port full speed 128 MB or bigger at least twice the load module size recommended Hard disk 100 MB of available hard disk space To reserve the swap area in the hard disk at least twice of the memory size must be available Four times or bigger recommended OS Windows 2000 Windows XP Windows Vista 32 bit edition Windows 7 32 bit edition 64 bit edition R20UT0160EJ0100 Rev 1 00 1 4 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 2 Setting Up the Hardware 2 Setting Up the Hardware 2 1 SH7269 CPU Board and the E10A USB Emulator Configuration Figure 2 1 1 shows the configuration of the SH7269 CPU Board and the EI VA USB emulator 5 VDC output regulated power supply l 1 5 A min 1 Li Serial port connector i E a i gt E 4 o A gt y JC mile eee n E oe K IE OT rr p se e o LU J kh cs Ler kaj H s a a n OR a p a Deb EN LA is ebugger O a
18. the SDRAM swe2 2 Connection SD NAND Connected to the SD MMC card slot to the SD MMC card slot K J 3 Connect the option to the SD card slot board VINA EXT SD SW6 4 Connect the option board SSIF IEB ON D A converter Mo UJ AO R20UT0160EJ0100 Rev 1 00 2 9 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 2 Setting Up the Hardware 2 2 2 SH7269 CPU Board Jumper Switch Setting To use the SH7269 CPU Board as described in this manual be sure to set the jumpers to their default setting as shown in Figure 2 2 2 and Table 2 2 3 123 Board edge ee JP11 3 3 E 1 1 JP12 JP13 Board edge Board edge Figure 2 2 2 Jumper Setting Table 2 2 3 SH7269 Group Power Supply Switch Jumper Setting JP4 JP5 JP11 to JP13 UZ O Connects PB18 as the A18 NOR Flash Connects the PCO CSO0 NOR Flash JP11 Supplies the power from J4 JP12 me 3 3V fixed power supply voltage supplied from U18 JP13 1 25 V fixed power supply voltage supplied from U16 R20UTO160EJO100 Rev 1 00 2 3 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 2 Setting Up the Hardware 2 3 System Connections and Power On Be sure to turn OFF the host computer and not to connect the El0A USB emulator and the host computer by a USB cable Then follow the procedure below 2 3 1 Connect
19. x Specify global options Division CPH Endian Big JDenormalized number allower as a result Position independent code PIC Treat double as float Bit field s members are allocated from the low JPack struct union and class Use try throw and catch of C JEnable dizable runtime information Back l Nemo Finish Cancel Figure 5 1 4 New Project 2 9 Dialog Box 9 Follow the on screen instructions of the New Project 3 9 and New Project 4 9 dialog boxes Leave the default setting in this installation step Select the checkbox as appropriate Click Next R20UTO160EJO100 Rev 1 00 5 3 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 10 In the New Project 5 9 dialog box set up the stacks as follows and click Next Change the stack size as appropriate Stack Pointer Address H FFF90000 Stack Size H 400 New Project 5 9 Setting the Stack Area l 7 x What are the stack settings Stack Pointer Address power on reset HFFFIOOOO Stack Size Back l Nemo Finish Cancel Figure 5 1 5 New Project 5 9 Dialog Box 11 In the New Project 6 9 dialog box set up a vector Leave default setting the Vector Definition Files checkbox is selected and click Next R20UTO160EJO100 Rev 1 00 5 4 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project
20. 10A USB emulator to break down 5 When the following dialog box appears the El0A USB emulator setup is completed Figure 3 2 14 Setup Completed R20UT0160EJ0100 Rev 1 00 3 11 Dec 08 2011 2CENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software 6 When the E10A USB emulator setup has been completed the following message will appear Turn the setup switch SW1 to 1 connect the USB cable again and click OK Setup tool for SH 24 E10A LISB Emulator 5 x A shift the switch SW 1 for setting up the emulator to 1 and re insert the USB cable CANCEL Figure 3 2 15 Setup Tool for SH 2A E10A USB Emulator Dialog Box Note Be sure to turn the SW1 to 1 except when using the setup tool 7 The following dialog box will appear again Check 1f 1t 1s the latest version of the firmware and click Exit The new firmware setup is now completed Setup tool for 5H 2 E104 US6 Emulator f x 5H 2 Device group of the emulator firmware Version number of the emulator firmware 2 0 00 000 Yersion number of the setup program 0 00 000 start setting up the emulator Setup Figure 3 2 16 E10A USB Emulator Setup Tool Completed Version numbers Note The version numbers shown in the dialog box depend on the version that the E10A USB emulator supports R20UT0160EJ0100 Rev 1 00 3 12 Dec 08 2011 stENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software
21. 18 Download Completed R20UTO160EJO100 Rev 1 00 4 10 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 4 Executing the Software 6 Execute the program Select Go from the Debug menu to execute the software See Figure 4 1 19 If the sample software is downloaded correctly LED2 on the SH7269 CPU Board is on or off in half second intervals 3 sh7269 sample High performance Embedded Workshop ole Fie Edit View Project Build Debug Setup Tools Test Window Help 5 x am cos 22 aerea mee Emo ajaja a mm E ar sh 269 sample sh7269 sample QC E C source file ES sembly Obicode Label FDPimb Pebd RR 6 Hm IM aoOww 664 E 3 sic OOOOO93C 01400001 _PowerON_Res be main c 00000940 D411 MOY L H 0044 8 PC R4 common 00000942 440B JSR BRA E bsc_csO c 00000944 4164 LDS R1 FPSCR bscsdram c 00000946 DS11 MOV L H 0044 8 PC R5 cache c 00000948 454B JSR N RS E cpg c 00000944 D611 MOV L H 0044 8 PC R6 dbsct c OOOOOS4C 464B JSR N BR6 hwsetup c 0000094E D411 MOV L H 0044 8 PC R4 intprg c 00000950 E710 MOV HH 10 R7 io init portc 00000952 3478 SUB R7 R4 led c 00000954 442E LDC R4 VER lowsrc c 00000956 D110 MOV L H 0040 8 PC R1 resetpro c 00000958 414B JSR N BRi sbrk c 00000954 E4FO MOV H FO R4 siochar c 00000950 644C EXTU B R4 R4 siorw c OOOOOSSE 440E LDC R4 5R vecttbl c OOOOOS60 0009
22. 8 2011 RENESAS SH7269 CPU Board ROK572690C000BR 4 Executing the Software 10 Turn ON the power for the SH7269 CPU Board 11 Press the reset button SW2 on the SH7269 CPU Board and click OK on the dialog box 12 If the reset signal cannot be detected the following dialog box will appear Click Ignore to issue an internal reset to the CPU heushza es Can nok Find RESET signal Please check RESET and Ycc i Retry Ignore Figure 4 1 7 Cannot find RESET Signal Dialog Box and to start up the system 13 When the message Connected appears in Output window of the High performance Embedded Workshop the EIDA USB emulator startup is now completed ol or a at 21210 Es Mi Connected nN Debug Find in Files 1 Find in Files 2 Version Control Figure 4 1 8 Output Window R20UT0160EJ0100 Rev 1 00 4 4 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 4 Executing the Software 4 13 E10A USB Emulator Connection Error Dialog When the E10A USB emulator does not start up the following dialog box will appear a When the following dialog box appears and the emulator cannot be activated as 11 on the top of page 4 5 the SH7269 CPU Board system power may not be supplied Check the power supply of the SH7269 CPU Board Can not find RESET signal Please check RESET and Vcc J sav tore Figure 4 1 9 Can not find RESET signal Dialog Box b When the following dialog
23. E x LENESAS Installation has completed Everywhere you imagine Multi installation Active Embedded Switch over 4 Embedded Wj e Non active Figure 3 2 7 E10A USB Software Installation Procedure 7 7 R20UT0160EJ0100 Rev 1 00 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software 3 2 2 Set Up the E10A USB Emulator i Set Up New Firmware This section explains how to set up the EIDA USB emulator for the first time When the installed E1OA USB emulator firmware supports the SH 2A device group skip this step and go to paragraph 11 Setup the El0A USB Emulator Driver To setup the firmware follow the on screen instructions to change the DIP switches on the E10A USB emulator Figure 3 2 8 shows the DIP switches on the EIVA USB emulator rCENESAS USB I F Figure 3 2 8 DIP Switches R20UTO160EJO100 Rev 1 00 3 8 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software 1 Open the sliding switch cover of the EIDA USB emulator and check that the switch SW1 for setting the emulator is turned to 1 2 Select All Programs gt Start gt Renesas High performance Embedded Workshop gt Tools gt Setup Tool for ELOA USB Emulator gt SH 2A Device Group A setup tool for the ELOA USB emulator will start up Setup tool for 5H 2 E10A USB Emulator xj SH 2 a Device grou
24. Electronics Corporation Renesas Solutions Corp Renesas Electronics Sales Co Ltd or your distributor About product changes Renesas is constantly making efforts to improve the design and performance of this product Therefore the specifications or design of this product or its manual may be changed without prior notice About the rights About figures 1 Renesas assume no responsibility for any damage or infringement on patent rights or any other rights arising from the use of any information products or circuits presented in this manual 2 The information or data in this manual does not implicitly or otherwise grant a license for patent rights or any other rights belonging to Renesas or third parties 3 This manual and this product are copyrighted with all rights reserved by Renesas This manual may not be copied duplicated or reproduced in whole or part without prior written consent of Renesas The figures in this manual may not all represent exactly the actual object WEEE Directive Renesas development tools and products are directly covered by the European Union s Waste Electrical and Electronic Equipment WEEE Directive 2002 96 EC As a result this equipment including all accessories must not be disposed of as household waste but through your locally recognised recycling or disposal schemes As part of our commitment to environmental responsibility Renesas also offers to take back the equipment and has im
25. Installation will start Click Next Follow the on screen instructions to continue installation SH 2A E10A USB Emulator Y 2 08 00 Welcome to the InstallShield Wizard for SH 2A E10A USB Emulator The InstallShield Wizard will install SH 24 E104 USB Emulator on your computer To continue click Next InstallShield Figure 3 2 4 E10A USB Software Installation Procedure 4 7 5 Click Next to install the AutoUpdate Utility Renesas AutoUpdate Utility 1 04 00 InstallShield Wizard xj Welcome to the InstallShield Wizard for Renesas AutoUpdate Utility Y 1 04 00 The InetallS hield Wizard will install Renesas AutoUpdate Utility 7 04 00 on pour computer To continue click Next Cancel Figure 3 2 5 E10A USB Software Installation Procedure 5 7 Note If the AutoUpdate Utility checkbox is not ticked above dialog box will not appear R20UTO160EJO100 Rev 1 00 3 6 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software 6 Following window as Figure 3 2 6 will appear after the installation is completed Click Finish Renesas AutoUpdate Utility Y 1 04 00 InstallShield Wizard InstallShield Wizard Complete Setup has finished installing on your computer Figure 3 2 6 E10A USB Software Installation Procedure 6 7 7 Following window will appear when all installation is completed Click Exit High performance Embedded Workshop Install Manager
26. L DINTTEL x OOOOOSO0O PResetPRO Pint PRG OxFFFSOO00 B A OXFFFSFCOO 5 test Modify Remove Edit Import Esport ell Options Link ALIbrary noprelink rom O nomessage ist FI CONFIGDIRNBPROJECTMAME map nooptimize shart DVECT TBL DINT TBL 00 PResetPAG PintPAG 068 Figure 5 3 9 Section Setting 1 2 2 Enter 0x00001100 in the Address as shown in Figure 5 3 10 and click OK Modify section Address 000001100 Hexadecitita Section name lias ECGOGDSEC D a Cancel Figure 5 3 10 Section Setting 2 2 R20UTO160EJO100 Rev 1 00 5 15 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace b Section modification example using the cache memory setting function To use 10_init_cache function cache memory setting the section must be allocated to the CSO cache disabled space The following describes steps to allocate the section to the CSO cache disabled space For the details on the cache memory refer to Chapter 8 Cache and Chapter 9 BSC in the SH7268 Group SH7269 Group Hardware Manual 1 Select Build menu gt open the SuperH RISC engine Standard Toolchain dialog box and select Link Library tab Set following items as below and click Edit e Category Section e Show entries for Section SuperH RISC engine Standard Toolchain Gg x C C Assembly Link Libr
27. a certain rate and malfunctions under certain use conditions Further Renesas Electronics products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or system manufactured by you Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office 1f you have any questions regarding the information contain
28. ample_software directory stored in the CD ROM to the working directory of the host computer If the Sample_software directory 1s created with a read only attribute cancel the read only attribute Do not use double byte characters in the directory path Presence of such characters may cause the wrong operation of the cross tools The explanation below assumes that this directory has been copied to the C YWorkSpaceYsample software Note To create a new project workspace the High performance Embedded Workshop E10A USB emulator software and the SuperH RISC engine C C Compiler Package must be installed in the host computer 5 1 2 How to Create a New Project Workspace 1 Connect the host computer and the EIDA USB emulator 2 Connect the SH7269 CPU Board and the ELOA USB emulator Do not turn ON the power for the CPU board yet 3 Select Start menu gt All Programs gt Renesas gt High performance Embedded Workshop folder gt High performance Embedded Workshop 4 The Welcome dialog box will appear 5 In this dialog box select the Create a new project workspace radio button and click OK Comcel Administration Cancel Open a recent project workspace Administration Browse to another project workspace Figure 5 1 1 Welcome Dialog Box R20UT0160EJ0100 Rev 1 00 9 1 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project W
29. anager R20UT0160EJ0100 Rev 1 00 3 15 Dec 08 2011 LENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software This page intentionally left blank R20UTO160EJO100 Rev 1 00 3 16 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 4 Executing the Software 4 Executing the Software 4 1 Execute the Sample Software This product comes with the sample software for checking the hardware operation and referring for the software development Following describes how to download the load module of the sample software Note Set DIP switches SW5 and SW6 on the SH7269 CPU Board as the default setting to execute the sample software 4 1 1 Prepare to Download the Sample Software Copy Sample_software directory stored in the CD ROM into the working directory of the host computer When the Sample software directory is created with a read only attribute cancel the read only attribute Do not use double byte characters in the directory path Presence of such characters may cause the wrong operation of the cross tools The explanation below assumes that this directory has been copied to the C YWorkSpace directory Notes 1 The High performance Embedded Workshop and the E10A USB emulator software must be installed to download the load module of the sample software Refer to Chapter 0 2 The SuperH RISC engine C C Compiler Package must be installed to modify the sample software Refer to 1 5 What Yo
30. ary Standard Library CPU 4 gt Configuration Debus El Category EEE aj All Loaded Projects E EE TE Show entries for Section l E source file C source file Assembly source file Linkage symbol file OxOOOOOOOO DWECTTEL DINTTEL Ox00000800 PReselPRG PINPAG Modify 000001100 P C CS BSEC C DSEC D OxFFFSO000 B A E OxFFFSFCOO 5 Edit Import rh Export Options Link Library noprelink rom D A nomessage dist CONFIGOIAAEPROJECTNA mME map nooptimize start DWECTTBL DINTTBL 00 PResetPRG PIntPRG 08 Figure 5 3 11 Section Setting 1 6 2 The Section dialog box will appear Click Add x AAA DK 000000000 CVECTTBL DINTTEL 0200000800 Pf esetPRO PINtPRG LE II C ESEC C DSEC po gt OXFFFS0000 B EJ OxEFFBFCOO Cancel 0200001100 Aodify Hew Overlay LEE EmTe I Ci bl Export Figure 5 3 12 Section Setting 2 6 R20UTO160EJO100 Rev 1 00 5 16 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 3 The Section address dialog box will open Enter Ox203FFOOO in the Address as shown in Figure 5 3 13 and click OK Address 0x203FFAOO Hexadecimal Cancel Figure 5 3 13 Section Setting 3 6 4 The Section address is added and the display retur
31. box appears the H UDI pins and the H UDI port connector may not be connected correctly Check the connection between the H UDI pins and the H UDI port connector hexxxx AN Check the connection between the H LIDI pins and the H UDI port connector Figure 4 1 10 Check the Connection Dialog Box c When the following dialog box appears the EIDA USB emulator firmware may not be set up correctly Use the setup tool or the license tool for device group addition to set up the firmware for the device group to use AN The product currenth connected is not the SHeeex EIOA USE Emulator Figure 4 1 11 The Product Currently Connected Dialog Box d When the following dialog box appears the version of the firmware set up in the ELOA USB emulator may be old Use the setup tool to set up the appropriate version of the firmware AN The version of the emulator firmware is incorrect Please set up the emulator by using the setup tool Figure 4 1 12 The Version of the Emulator Firmware is incorrect Dialog Box R20UTO160EJO100 Rev 1 00 4 5 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 4 Executing the Software e If the driver has not been set up correctly the following dialog box will appear El DA U5B A Unable to restore the previous driver settings please choose another driver Figure 4 1 13 Unable to restore the previous driver setting Dialog Box f When a wrong device is selected the fol
32. ched AC adapter Failure of the connection will result in a FIRE HAZARD and will damage the SH7269 CPU Board optional board and the E10A USB emulator R20UT0160EJ0100 Rev 1 00 2 4 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 2 Setting Up the Hardware 2 4 Disconnect the System Power Supply Follow the procedure below to disconnect the system power supply 1 Disconnect El0A USB emulator from the High performance Embedded Workshop 2 Turn OFF the SH7269 CPU Board 3 Exit the High performance Embedded Workshop and turn OFF the host computer Z caution O e Unless the above power on sequence is followed unrecoverable damage may occur to the SH7269 CPU Board or the E10A USB emulator or both R20UTO160EJO100 Rev 1 00 2 5 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 2 Setting Up the Hardware This page intentionally left blank R20UTO160EJO100 Rev 1 00 2 6 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software 3 Setting Up the Software 3 1 About the High performance Embedded Workshop The High performance Embedded Workshop is an integrated development environment with a graphical user interface to simplify the development and debug of applications written in C C and assembly languages for use in Renesas MCUs Software development on the SH7269 CPU Board is carried out by the High performance Embedded Workshop For more information about the High per
33. ectronics Corporation LENESAS SALES OFFICES Renesas Electronics Corporation Refer to http www renesas com for the latest and detailed information Renesas Electronics America Inc 2880 Scott Boulevard Santa Clara CA 95050 2554 U S A Tel 1 408 588 6000 Fax 1 408 588 6130 Renesas Electronics Canada Limited 1101 Nicholson Road Newmarket Ontario L3Y 9C3 Canada Tel 1 905 898 5441 Fax 1 905 898 3220 Renesas Electronics Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH U K Tel 44 1628 585 100 Fax 44 1628 585 900 Renesas Electronics Europe GmbH Arcadiastrasse 10 40472 Dusseldorf Germany Tel 49 211 65030 Fax 49 211 6503 1327 Renesas Electronics China Co Ltd 7th Floor Quantum Plaza No 27 ZhiChunLu Haidian District Beijing 100083 P R China Tel 86 10 8235 1155 Fax 86 10 8235 7679 Renesas Electronics Shanghai Co Ltd Unit 204 205 AZIA Center No 1233 Lujiazui Ring Rd Pudong District Shanghai 200120 China Tel 86 21 5877 1818 Fax 86 21 6887 7858 7898 Renesas Electronics Hong Kong Limited Unit 1601 1613 16 F Tower 2 Grand Century Place 193 Prince Edward Road West Mongkok Kowloon Hong Kong Tel 852 2886 9318 Fax 852 2886 9022 9044 Renesas Electronics Taiwan Co Ltd 13F No 363 Fu Shing North Road Taipei Taiwan Tel 886 2 8175 9600 Fax 886 2 8175 9670 Renesas Electronics Singapore Pte Ltd 1 harbourFront Avenue 06 10
34. ed Workshop folder in your PC See at the precautions Install a new High performance Embedded Workshop This method creates multiple High performance Embedded Workshop folders in your PC Click Next You ll be brought to Select Installer Execution File ea Figure 3 1 2 Installation Procedure 2 4 Note lf the High performance Embedded Workshop is already installed select the Install a new High performance Embedded Workshop radio button to install it in another directory 3 Follow the on screen instructions to continue 4 Install the AutoUpdate Utility Click Next Renesas AutoUpdate Utility Y 1 04 00 InstallShield Wizard Welcome to the InstallShield Wizard for Renesas AutoUpdate Utility Y 1 04 00 The InstallShield Wizard will install Renesas AutoUpdate Utility 1 04 00 on pour computer To continue click lent Figure 3 1 3 Installation Procedure 3 4 Note If the AutoUpdate Utility checkbox is not ticked above window as Figure 3 1 3 will not appear R20UTO160EJO100 Rev 1 00 3 2 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software 5 Follow the on screen instructions to continue installation When all installation is completed the following window will appear as Figure 3 1 4 Click Exit High performance Embedded Workshop Install Manager RTENESAS Everywhere you imagine Multi installation Non active Figure 3 1 4 Installatio
35. ed in this document or Renesas Electronics products or 1f you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics Indication of Warnings and Cautions The following explains the warnings and cautions indicated for the handling of the product If the product is improperly handled without regard for this indication there will be a possibility of inflicting death or heavy wound on persons If the product is improperly handled without regard for this indication there will be a possibility of inflicting an injury on persons or physical damage IMPORTANT Indicates other important information to be observed when using the product In addition to the above the following will be indicated as necessary The A sign indicates a warning or caution Example AN Be Careful About Electric Shock The Q sign indicates a prohibition Example Y Do Not Disassemble The sign indicates a compulsory or directive instruction Example E Unplug from Socket Important Before using this product be sure to read this manual installation manual carefully Keep this manual and refer to this when you have questions about this product About this product The term this product referred t
36. ed to the E10A USB emulator or the setup switch SW 1 is turned to O If the setup switch SW1 is 0 set it to 1 and connect the USB cable again If the Add New Hardware Wizard appears refer to ii Set up the E10A USB emulator driver Setup tool for SH 24 E10A USB Emulator Nu x A Shift the switch SW 1 for setting up the emulator to 1 and re insert the USB cable CANCEL Figure 3 2 11 Error Message R20UTO160EJO100 Rev 1 00 3 10 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software 3 Clicking the Setup button Figure 3 2 9 shows the following dialog box Setup tool for SH ZA E10A USB Emulator Ny D X T Shift the switch 541 For setting up the emulator to 0 and re insert the USB cable Once you have pressed the OK button do not disconnect the USS cable until Loading is Finished Incorrect operation will damage the emulator product Cancel Figure 3 2 12 Setup Tool for SHxxxx E10A USB Emulator Dialog Box 4 Turn the setup switch SW1 to 0 connect the USB cable again and click OK The system will start setting up the EIDA USB emulator firmware Now loading Do not disconnect the USB cable until Loading is finished Figur0065 3 2 13Firmware Set Up Started A caution O e Do not turn OFF the power for the host computer or remove the USB cable while the system is setting up the E10A USB emulator Such an act may cause the E
37. edded Workshop Fie Edit View Project Build Debug Setup Tools Test Window Help L E Set Current Project Insert Project al A H Dependent Projects Edit Project Configuration Create Project Type Add Files Remove Files File Extensions Components Figure 5 3 3 Add Files 1 3 R20UT0160EJ0100 Rev 1 00 5 11 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 2 From the copied hardware setup files C WorkSpace test HardwareSetup directory add the files listed below on bsc cs0c c bscsdram c mom cache c n resetprg c sbrk c siochar c Select the Relative Path checkbox El intpro c iodefire h Iowsrc h dbsct c El hwsetup c File name Select the Relative Path checkbox Figure 5 3 4 Add Files 2 3 e Relative Path cpg c dbsct c hwsetup c siorw c vecttbl c Add files to project test Look in HardwareSetup do e vectiblc bsc cello becedram c Files of type Project Files Cancel Hide Project Files 3 Confirm that the files have been added as shown below mom intprg c lowsrc c 7 xI o m etic E sbrk h EI siochar c stacksci h typedefine h wect h cache c Add Li Zi xi Figure 5 3 5 Add File
38. en downloading debug information Download modules after build Remove breakpoints on download La Do not perform automatic target connection Te Reset CPU alter download module Digable memory access by GUI when target it executing Figure 5 2 2 Debug Settings Dialog Box Note The Download modules after build checkbox is selected as default However clear this checkbox and select Reset CPU after download module as shown above R20UTO160EJO100 Rev 1 00 5 9 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 5 2 3 Activate the Command Line Window Select View menu gt Command Line to open the Command Line window When downloading the load modules activate the Command Line window to check whether the script file is executed Note If the script file is not executed downloading the load modules into the flash memory cannot be completed 5 3 Add Modify Hardware Setup Files To operate the software on the SH7269 CPU Board the hardware dependent part of the SH7269 CPU Board must be set up Add or modify the SH7269 CPU Board hardware setting of the standard source files which are automatically generated when you created a new project How to add or modify the hardware setup files is described below The hardware dependent setting means the access timing to the external memory flash memory and SDRAM the operating clock setting and the cache
39. express implied or otherwise 1s granted hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information When exporting the products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military including but not limited to the development of weapons of mass destruction Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale 1s prohibited under any applicable domestic or foreign laws or regulations Renesas Electronics has used reasonable care in preparing the info
40. f date record FE Debug information In output load module i OW entries for Configuration Debug E a All Loaded Projects E B test H E E source file AE C source file H E Assembly source file H E Linkage symbol file Modif Remove Options Link Library noprelink ram D A nomezzage ist FICONFIGDIRMPROJECTMAME map nooptimize start DVECTTBL DINTTBL 00 PResetPRG PintPRG 08 e Figure 5 3 20 Change Section 2 3 Note This sample software sets the section initialization table in dbsct c file 3 Set the items as below in the Add Rom to Ram dialog box and click OK Return to SuperH RISC engine Standard Toolchain dialog box and click OK to complete the setting e ROM section DINTTBL e RAM section RINTTBL 21x ROM section DINTTEL HAM section AA z Cancel Figure 5 3 21 Change Section 3 3 R20UT0160EJ0100 Rev 1 00 5 21 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 5 3 6 Describe the Main Function For Operation Check In the main function test c source file describe the program to turn ON the LED LED2 on the SH7269 CPU Board is illuminated e Open the source file C WorkSpace test test test c with an editor etc e Describe the following program to turn ON the LED 13 kas ESE 14 ka LG IZ Lon 19 aa Lo
41. formance Embedded Workshop refer to the High performance Embedded Workshop 4 User s Manual Following section describes how to install the High performance Embedded Workshop 3 1 1 High performance Embedded Workshop Installation 1 Execute HewlnstMan exe stored in the cross tool CD ROM SuperH RISC engine C C Compiler Package The Install Manager will start up automatically Click Installation High performance Embedded Workshop Install Manager TENESAS Everywhere you imagine Installation Multi installation Maintenance PELVO Input User Information High performance Embedded Detail nen y The High performance Embedded Workshop Install Manager is the utility that guides you through steps m embossed as you install the integrated development Mich partormance environment High performance Embedded Workshop Workshop performance It permits you to install two or more instances of the E Workshop High performance Embedded Workshop in a single PC Non active Figure 3 1 1 Installation Procedure 1 4 R20UT0160EJ0100 Rev 1 00 3 1 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software 2 Following dialog box will appear as Figure 3 1 2 Click Next Choice of an installation mode x Please choose an installation method Install a High performance Embedded Workshop for the first time This method creates one High performance Embedd
42. his location in the search CAUSE Drivers Browse Don t search will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware Figure 3 2 18 Found New Hardware Wizard 2 4 R20UTO160EJO100 Rev 1 00 3 13 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software 3 Search for the driver in the CD ROM select lt drive gt drivers usb xp elusb_cdr inf and then click Next The underlined xp indicates the version of the operating system This example is for Windows XP Found New Hardware Wizard Please select the best match for your hardware from the list below O Renesas E Senes USB Driver scription Version Manufacturer Location Renesas E Sernes USB Driver 2 0 0 0 Renesas Technology a E Renesas E Series USB Driver Renesas Technology d driversusb ine Renesas E Series USB Driver Renesas Technology dindriverskusb gae Renesas E Senes USB Driver Renesas Technology ds diivers usb 200 AA This driver is not digitally signed Tell me why driver signing ls Important Figure 3 2 19 Found New Hardware Wizard 3 4 Note When an error message saying the software you are installing has not passed Windows Logo testing appears just click Continue Anyway The version numbers shown in the dialog box depend
43. ing the SH7269 CPU Board only 1 Connect the attached power cable black GND red 5 V with the 5 V DV output regulated power supply 2 Be sure that the SH7269 CPU Board is turned OFF and connect the other side of the attached power cable black GND red 5 V with the power supply connector J4 3 Attach the user interface cable to the connector on the target side of the El0A USB emulator 4 Attach a USB cable to the connector on the host side of the E10A USB emulator 5 Turn ON the host computer Start the operating system 6 Turn ON the SH7269 CPU Board Turn the power ON Z caution O Make sure the connector is not reversed before connecting with the cable Failure to do so will result ina FIRE HAZARD and will damage the SH7269 CPU Board and the E10A USB emulator 2 3 2 Connecting the SH7269 CPU Board and the SH7269 optional board M3A HS64G01 or M3A HS64G02 1 Plug the attached AC adapter into the electrical outlet 2 Be sure that the SH7269 optional board is turned OFF and connect the attached AC adapter with the AC adapter jack M3A HS64G01 J19 M3A HS64G02 J18 3 Connect the user interface cable to the connector on the target side of the ELOA USB emulator cable 4 Connect a USB cable to the connector on the host side of the EIDA USB emulator 5 Turn ON the host computer Start the operating system 6 Turn ON the SH7269 optional board Turn the power ON A caurion O O Be sure to use the atta
44. is section describes how to change section setting 5uperH RISC engine Standard Toolchain x Configuration C C Assembly Link Library Standard Library CPU 4 gt Debug El Category Ea All Loaded Projects E E H E C source file i C source file Assembly source file Linkage symbol file Show entries for l a i test Use entry point Prelinker control Po E Options Link Library noprelink om D A nomessage dist H CONFIGOIRAEPROJECTNAmME map nooptimize tart DWECTTEL OINTTELD00 PResetPRG PIntPRG 08 Figure 5 3 8 Link Library Setup Window R20UT0160EJ0100 Rev 1 00 5 14 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace a Set Section to use the SH7269 CPU board 1 To use the SH7269 CPU board the section must be allocated as follows Select Build menu gt open the SuperH RISC engine Standard Toolchain dialog box and select Link Library tab Set following items as below and click Modify Category Section Show entries for Section SuperH RISC engine Standard Toolchain xj C C Assembly Link Library Standard Library CPU 4 Configuration Debug E a All Loaded Projects E S H C source file H E C source file J Assembly source file Linkage surnbol file Category Show entries hor Section OxOOOOOOOO DWECTTE
45. lease choose software to install Y El04 USB Emulator Debugger Common Module Y ElDA USB Emulator Debugger Device Group Module Y AutoUpdate Test nrnnram Detail Please choose from the list it will installed one by one by this order Please click Install after choosing software to install Install Figure 3 2 2 E10A USB Software Installation Procedure 2 7 Exit 3 Following dialog box will appear as Figure 3 2 3 Select SuperH RISC engine Family SH 2A Device Group a desired device e g SH72691 and click Next E104 0U5B Device Selector InstallShield Wizard Select Device Group Super H RISC engine Family SH 2 Device Group Super H RISC engine Family SH 24 Device Group Super H RISE engine Family SH 3 Device Group Super H RISE engine Family SH 4 Device Group Super H RISE engine Family SH 44 Device Group Super H RISC engine Family SH Mobile Device Group Super H RISE engine Family SH Mobile G1 Device Group Super H RISE engine Family MPEG Device Group Super H RISE engine Family New SH Mobile Device Group Super H RISE engine Family SH44L 05P Device Group HE5 Family HES Device Group H5S Family H8S Device Group Search device name lease Input a device name HT261 FPULESS E i i fhe A ae o ee Figure 3 2 3 E10A USB Software Installation Procedure 3 7 R20UTO160EJO100 Rev 1 00 Dec 08 2011 RENESAS 3 5 SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software 4
46. lowing dialog box will appear Connecting Downloading FPGA data Downloading firmware Firmware test Firmware test NG Figure 4 1 14 Invalid CPU Dialog Box R20UTO160EJO100 Rev 1 00 4 6 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 4 Executing the Software 4 1 4 How to Download the Sample Software This section describes how to download the load module of the sample software Download the load module in the SH7269 CPU Board external flash memory For details about flash memory download setting refer to the SuperH Family E10A USB Emulator User s Manual 1 Set up the flash memory download function From Setup menu Emulator System open Configuration dialog box and then Loading flash memory tab For File Name specify the flash memory download program fmtool_r0k57269 mot The sample workspace shall have the flash memory download program in the following directory C WorkSpace Sample_software sh7269_sample fmtool_r0k57269 As shown in Figure 4 1 15 select Enable for Loading Flash Memory Check File name Bus width of flash memory and Entry point are set as shown below and click OK Notes 1 Check the configuration on the Loading flash memory tab every time the E10A USB emulator is attached 2 The writing module erases the sector in the flash memory in the fmtool r0k57269 mot Select Disable radio button for Erasing flash memory General Loading
47. mbol file Show entries hor Include file directories test Add Inzert Remove Move up Move down Options LAC cou sh2alou fpu single object CONFIGDIF FILELEAF obj debug qbr auto chgincpath errorpath global_volatile 0 Figure 5 3 6 Compiler Option Setup Window 1 Open SuperH RISC engine Standard Toolchain dialog box gt C C tab set up as following then click Add e Category Source e Show entries for Include file directories 2 Open Add include file directory dialog box set up as shown below and click OK e Relative to Select Workspace directory from the drop down list e Sub directory Enter HardwareSetup in the text box Add include file directory 7 x Relative to Workspace directory kd Cancel Sub Directory HardwareS etup Figure 5 3 7 Add include file directory Dialog Box R20UTO160EJO100 Rev 1 00 5 13 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 5 3 5 Set Link Library Select Build menu open the SuperH RISC engine Standard Toolchain dialog box and select Link Library tab Set Category Show entries for and Option Link Library as appropriate For details on how to set optimization linker options refer to the SuperH RISC engine C C Compiler Assembler and Optimizing Linkage Editor User s Manual Th
48. memory setting 5 3 1 Copy Hardware Setup Files Copy the HardwareSetup directory stored in the CD ROM into the new project workspace directory C WorkSpace test created in 0 The explanation given below assumes that the hardware setup files are stored in C WorkSpace test HardwareSetup directory 5 3 2 Remove the Standard Source Files 1 Select Project gt Remove Files de test High performance Embedded Workshop File Edit view Project Build Debug Setup Tools Test Window Help MN lae ns set Current Project Insert Project dl da A Dependent Projects Edit Project Configuration Create Project Type add Files Remove Files File Extensions Components zbrk stacksct h tWpedekre h wect h Figure 5 3 1 Remove Files 1 2 R20UTO160EJO100 Rev 1 00 5 10 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 2 Select the files dbsct c intprg c resetprg c sbrk c and vecttbl c from the Remove Project Files dialog box and click Remove Remove project rites O OO OOOO O 2 Project files OK dbzct e intpro c reselprg c sbrk c Cancel kkk Remove vercttbl c CAW ork Space test test Remove All Figure 5 3 2 Remove Files 2 2 5 3 3 Add Hardware Setup Files 1 Select Project gt Add Files de test High performance Emb
49. n 5 1 5 2 52 1 5 SAM 3 2 3 5 3 5 3 1 5 3 2 5 3 3 5 3 4 5 3 5 5 3 6 How To Set Up the Flash Memory Download eeessssssssssssseseeererssssssssssssssscereerrssssssssssssssssseeerreeresssssssees 5 8 ser Up the Flash Memory DO w ilo ddas ao OV dadas 5 8 Specify the Command Batch File Before Downloading ooococccnnnnnnccccncnononononnnnnnnnnnnnnnnnnnnnnononananinennnnos 5 9 Activate tie Command Line WOW 5 10 Add Modify Hardware Setup Files sss sekas KENO ON RN E BO LO Va nai KEGLO 5 10 Copy Hardware somp les dai 5 10 Remove ME Lal CA So rc E a a a a a ra 5 10 xad Hardyare SC LU TCS sss ss a dana US nmo a 5 11 DEL Compiler OPIO TPP TN AAA aii 5 13 sier Milon criss ion An a A 5 14 Describe the Main Function For Operation Check ccccccccccnnconnooononncnnonnnnnonnnnnnnnnnnnonononannnnncnnnnnnnnnnos 5 22 SH7269 CPU Board ROK572690C000BR 1 Introduction 1 Introduction 1 1 Overview This product consists of the SH7269 CPU Board board part number ROK572690C000BR and the sample software This installation manual describes mainly how to set up the SH7269 CPU Board hardware and software Refer to manuals in CD ROM attached with this product for the User s manual SH7269 hardware and programming manuals If any of above items 1s missing or damaged please contact Renesas Electronics Corporation Renesas Solutions Corp or Renesas Electronics Sales Co Ltd or its distributor To Ensure Safe and C
50. n Japan 4 Renesas cannot predict all possible situations or possible cases of misuse where a potential danger exists Therefore the warnings written in this manual and the warning labels attached to this product do not necessarily cover all of such possible situations or cases Be sure to use this product correctly and safely on your own responsibility 5 This product is designed for use in program development and evaluation stages It cannot be embedded in your product for mass production purposes 6 Even if this product has a defect in its MCU it will not be replaced with a product which has had the MCU defect corrected 7 No parts incorporated in this product may be dismantled for diverted use in other products 8 When the MCU is mounted into a socket it is likely to become a loose connection by the vibration and the shock for the CPU board In this case install IC again and tighten the screw Usage restrictions This product has been developed as a means of supporting system development by users Therefore do not use it as a device used for equipment embedded applications Also do not use it for developing the systems or equipment used for the following purposes either 1 Transportation and vehicular 2 Medical equipment where human life is concerned 3 Aerospace 4 Nuclear power control 5 Undersea repeater If you are considering the use of this product for one of the above purposes be sure to consult Renesas
51. n Procedure 4 4 R20UT0160EJ0100 Rev 1 00 3 3 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software 3 2 Set Up the E10A USB Emulator Software This section explains how to set up the EIDA USB emulator software 3 2 1 E10A USB Software Installation Procedure 1 Execute HewInstMan exe stored in the El0A USB emulator software CD ROM The Install Manager will start up automatically Click Standard Install Recommended High performance Embedded Workshop Install Manager ENESAS Standard Install Recommended Everywhere you imagine Multi Install Multi installation Maintenance Active Hig Embedded Workshop Detail The Install Manager is the utility that guides you Switch over through steps as you install the integrated development environment High performance Embedded Workshop It permits you to install two or more instances of the High performance Embedded Workshop in a single PC Non active Exit Figure 3 2 1 E10A USB Software Installation Procedure 1 7 Note lf the High performance Embedded Workshop is already installed select the Multi Install to install it in another directory R20UT0160EJ0100 Rev 1 00 3 4 Dec 08 2011 stENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software 2 Following dialog box will appear as Figure 3 2 2 Tick the checkbox of the software to install and click Install Choose software P
52. neneen ons J ail itil vite a A r E10A USB emulator I FNE 14 pin or 38 pin H UDI Host computer port connector Note 1 These items are not included in this product and must be prepared by user Figure 2 1 1 SH7269 CPU Board and the E10A USB Emulator Configuration 2 2 Switch Setting Following describes the SH7269 CPU Board switch setting N caution O e Do not change DIP switches and jumper setting while the SH7269 CPU Board is operating Always be sure to turn OFF the power before changing DIP switches or jumper setting This is necessary to prevent unrecoverable damage to the SH7269 CPU Board that may otherwise occur R20UT0160EJ0100 Rev 1 00 2 1 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 2 Setting Up the Hardware 2 2 1 SH7269 CPU Board DIP Switches Setting To use the SH7269 CPU Board as described in this manual be sure to set the DIP switches SW5 and SW6 to its default setting as shown in Figure 2 2 1 and listed in Table 2 2 1 and Table 2 2 2 Board edge Figure 2 2 1 DIP Switches Setting Table 2 2 1 System Setting DIP Switches Setting SW5 KAL TO Deseo O O A A Boots from the memory with 16 bits bus width which is connected A TN to the CSO space boot mode 0 Table 2 2 2 User DIP Switches Setting SW6 Ono reton ooet Description JJ SW6 1 Connection EXT SDRAM Lu Connected to
53. ng module address H FFFEDODO Set H FFF80000 for the Writing module address Access size fi caca mw Figure 5 2 1 Configuration Dialog Box R20UTO160EJO100 Rev 1 00 5 8 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace Table 5 2 1 Flash Memory Setting Loading flash memory Enable File name C WorkSpace Sample_software sh7269 samplel mtool_r0k57269 mtool_r0k57269 mot Bus width of flash memory 16 bit Flash memory erasingtime All erasing module address f Writing module address H FFF80000 Access size 5 2 2 Specify the Command Batch File Before Downloading Execute the script file fmtool_r0k57269 hdc consisting of the access timing and bus control signal setting for theSH7269 CPU Board flash memory before downloading the flash memory download program Open Debug menu gt Debug Settings dialog box and select Options tab Set up the items on this tab as shown below e Command batch file load timing B Before download of modules e Command line batch processing L CWorkSpaceYSample software sh7269 sampleYfmtool r0k57269Yfmtool r0k57269 hdc SessionSH7266 E104 LUSB SYSTEMS Target Options SE Ts test Command batch file load timing Before download of modules Command line batch processing CifWorks5pace sample_software zh 12609 sampleXfmtool rOkb7 Add Modify Disable batch file execution wh
54. ns to Section dialog box Select the blank space of Section as shown in Figure 5 3 14 and click Add 000000000 000000800 O0000 7100 Po CFBSEL CFD SEL ETE Os 03FFOOO OPFFFBODOO B o Eo O FFFEFCOO Figure 5 3 14 Section Setting 4 6 R20UT0160EJ0100 Rev 1 00 5 17 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 5 The Add section dialog box will open Enter PCACHE in the Section name as shown in Figure 5 3 15 and click OK The CACHE section is defined in the cache c source file The first character P stands for section P Add section x Section name PCACH El kul Cancel Figure 5 3 15 Section Setting 5 6 6 The section name is added and the display returns to the Section dialog box Confirm if the section has been set as shown in Figure 5 3 16 and click OK The display returns to the SuperH RISC engine Standard Toolchain dialog box and click OK to complete the setting Dx00000000 000000800 PintPAG O0000T 100 P Allocate to the CS0 cache disabled space CEOSEC 0 203FFO00 PEE OxFFFSOQOD E RE O FFFOFCOO Figure 5 3 16 Section Setting 6 6 R20UTO160EJO100 Rev 1 00 5 18 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace c Section modification example Change Section B to the SDRAM area The following shows an example
55. o here mean the product manufactured by Renesas Electronics Corporation It does not include the user systems and host machines of the customers Purpose of use of this product This product is developed for only providing users with experience on the specifications and the development environment of the SH7269 Microcomputer Renesas 32 bit RISC MCU SuperH RISC engine Family Be sure to use this product correctly according to said purpose of use Do not use this product for other than its intended purpose of use For those who use this product This product can only be used by those who have carefully read this manual and know how to use it To use this product the basic knowledge of electric circuits logical circuits and MCUS are required When using this product 1 This product is a development supporting unit for use in your program development and evaluation stages In mass producing your program you have finished developing be sure to make a judgment on your own risk that it can be put to practical use by performing integration test evaluation or some experiment else 2 In no event shall Renesas be liable for any consequence arising from the use of this product 3 This product has been developed by assuming its use for program development and evaluation in laboratories Therefore it does not fall under the application of Electrical Appliance and Material Safety Law and protection against electromagnetic interference when used i
56. on the version that the E10A USB emulator supports 4 Completing the Found New Hardware Wizard dialog box will appear Click Finish The E10A USB emulator driver setup is now completed Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for gt Renesas E Senes USB Driver Click Finish to chose the wizard Finish i Cancel Figure 3 2 20 Found New Hardware Wizard 4 4 R20UT0160EJ0100 Rev 1 00 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software 5 Activate the Device Manager to confirm whether the USB controller driver has been installed gt Activating Device Manager Start gt Control Panel and double click System icon In Properties dialog box click the Hardware tab and then click Device Manager Figure 3 2 21 E Device Manager File Action View Help FI Computer Se Disk drives el i Display adapters E A DVDJCD ROM drives Ee Floppy disk controllers cae Floppy disk drives Ese Human Interface Devices 4 2 IDE ATAJATAPI controllers Keyboards E O Mice and other pointing devices E Modems Monitors SISU Network adapters ly Ports COM amp LPT EJE Processors Ed Ropesuc Emolate Renesas E Series USB Driver e ONTO aE mirolers H System devices E Universal Serial Bus controllers Confirming the USB Controller Driver is Installed Device M
57. orkspace 6 Project Generator will start This manual uses test for the workspace name Check that the Directory CPU family and Tool chain are set as follows then click OK Mew Project Workspace x Projects Workspace Mame test Project Mame test Project Types al Application Demonstration T Empty Application ta Import Makefile a Library Directory Debugger only 5H 24 E108 1 CAWworkSpacektast Browee CPU farnily Super RISC engine Tool chair Renesas SuperH Standard hd Properties Figure 5 1 2 New Project Workspace Dialog Box 7 In the New Project 1 9 Select Target CPU dialog box select SH 2A FPU for the CPU Series and Other for the CPU Type from the drop down list New Project 1 9 Select Target CPU Toolchain version j eed Bed Toolchain version 9 3 00 Which CPU do pou want to use for this project CPU Series If there i no CPU type to be selected select the CPU Type that a similar to hardware specification or select Other lt Back Nemo Finish Cancel Figure 5 1 3 New Project 1 9 Dialog Box R20UT0160EJ0100 Rev 1 00 5 2 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 8 Specify the global options from New Project 2 9 dialog box FPU Single Round to Zero New Project 2 9 Option Setting 7
58. orrect Use Safety precaution e This manual uses various pictorial indications to ensure the correct use of the product and thereby prevent inflicting an injury on users or other people or causing damage to property e These pictorial indications are explained in Section 1 2 Usage Precautions Be sure to understand the contents written in that section before you use the product 1 2 Usage Precautions The precautions described here must be observed in order to prevent inflicting an injury on users or other people or causing damage to property and to ensure that this product 1s used safely To ensure the correct use be sure to read these precautions and understand the written contents before you use the product Not all precautions described in this manual relate to the Renesas product alone some of them apply to an entire personal computer system incorporating the Renesas product also The following explains the warnings and cautions indicated for the handling of this product gt Warning Indication AN wanuina Regarding the handling of this product e Do not use this product outdoors It can only be used indoors e Do not let foreign matters such as water pieces of metal or inflammable material get into the board or connectors Regarding installation N e Do not install the product in humid or wet places Should water get into the internal circuit of the EN product an unrecoverable fault may result Regarding the wo
59. p of the emulator firmware Yersion number of the emulator firmware 7 0 00 000 b Version number of the setup program 2 0 00 000 c start setting up the emulator Setup Figure 3 2 9 E10A USB Emulator Setup Tool a Device group of the emulator firmware Shows the name of the device group currently set b Version number of the emulator firmware Shows the version number of the software for controlling the SH 2A device group in the EIOA USB emulator c Version number of the setup program Shows the version number of the setup program Note The version numbers shown in the dialog box depend on the version that the E10A USB emulator supports R20UT0160EJ0100 Rev 1 00 Dec 08 2011 stENESAS SH7269 CPU Board ROK572690C000BR 3 Setting Up the Software Notes 1 If the version numbers shown in b and c are the same the emulator setup is not required Set up the emulator only when is shown in b or the version number shown in b is older than that of c 2 If the connected emulator does not support the SH7269 MCU following error message will appear to terminate the setup tool Purchase a license tool for device group additions for the SH7269 MCU to set up the firmware setup tool for SHxxxx ETOA U5BE Emulator ES The product currently connected is not the SHiooc ETU4 USB Emulator Figure 3 2 10 Error Message e If the following error message appears the host computer is not connect
60. plemented a Tools Product Recycling Program for customers in Europe This allows you to return equipment to Renesas for disposal through our approved Producer Compliance Scheme To register for the program click here http www renesas TABLE OF CONTENTS TABLE OFGONTENIS sss a kn lan eh o ro eae kun ue mls km os pu ke Sa Sa su Tas i TINTO CLIC EOIN sts eect o a vacnnauin dam anta ea staten bear aiissatenmatenass 1 1 1 1 a RR 1 1 lie NS Ae PC canon Sea 1 1 1 2 1 SD e pa kak 1 2 1 3 Installation Proce dil eien a a sea a maa aa Kaa mo aL 1 3 1 4 Prodi e prele alo EET un Ud o o TETTE TTT 1 3 1 5 What You Need to Get Started Not included in this product ooooooonnnnccncnnncnnnncnnonononononnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnos 1 4 1 5 1 Recommended Host Computer EnvirOnMent ccccccccccccscsssssssssseeeeeceeceeeeeeeeaesaeesseeeseseeeeeeeeeeeeeeaaaas 1 4 2 Setin Up TMG HardWare sie eats feats a a ea 2 1 2 SH7269 CPU Board and the EIOA USB Emulator Configuration ccccccccncncnnnnnnnnnnnonnnnnnnnnnnnnnnnnnnonononanananennnnss 2 1 2 2 OWASE NO A A A RS a AN EN 2 1 22 SHJ269 CPU Board DIP S Witches DEINO eenegen honta kaaas pi ekon dana o vokala sl onga laeo koe Ska do kava SIS 2 2 22 SH 209 CPU Board Jumper Switch Setin as a tt RR bu disa 2 3 2 3 System Connec Hons and POW er EON oo as ida 2 4 23 Connecting the SH 7269 CPU Board luar a 2 4 232 Connecting the SH7269 CPU Board and the SH7269 optional board M3A HS64G01 or M3A HS64G02
61. r specifying the directory select the following file and click Select to open Open Workspace ed es Look in SS sh 269 sample E sh 269 sample hws File name sh 7269 sa mple hus Files of type HEW workspaces hz o Cancel Figure 4 1 2 Open Workspace Dialog Box 2 Note The dialog box that indicates the directory in the workspace has been moved may appear at the first time Click Yes to continue 7 The Select Emulator mode dialog box will appear Select SH72691 as the device and E10A USB Emulator as the emulator mode Then click OK Device Mode al E10A USB Emulator C Writing Flash memory Cancel Do not show this dialog box again Figure 4 1 3 Select Emulator mode Dialog Box R20UT0160EJ0100 Rev 1 00 4 2 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 4 Executing the Software Note A message Please choose driver will appear at the first time Click OK to show the following window to select the driver Select Renesas E Series USB Driver Driver Details USB interface E104 USB Contl Porti Lantiguration Configure Figure 4 1 4 Driver Details Dialog Box 8 Following dialog box will appear and start to connect the emulator Figure 4 1 5 Connecting Dialog Box 9 The following dialog box will appear Figure 4 1 6 Dialog Box to request the Reset signal input R20UT0160EJ0100 Rev 1 00 4 3 Dec 0
62. rking environment e The upper limit ambient temperature at which this product can be used i e rated maximum temperature is 50 C Make sure this rated maximum temperature is not exceeded R20UT0160EJ0100 Rev 1 00 1 1 Dec 08 2011 ENESAS SH7269 CPU Board ROK572690C000BR 1 Introduction Caution Indication A caution Regarding the reconstruction of this product e Do not reconstruct this product If the product has got out of order for reasons of disassembly or reconstruction requests for repair may not be accepted Regarding the handling of this product O Handle this product with caution not to let it drop or fall down or apply strong mechanical shock e Do not touch the communication interface connector pins or other connector pins directly with your hand The internal circuit may be broken by static electricity e When moving this product to another place of installation be careful not to apply strong vibration or mechanical shock to it e After connecting each piece of equipment with cable check the cables again to see that they are connected correctly For details on how to connect refer to Chapter 2 Setting Up the Hardware e Before turning on the power for each connected piece of equipment make sure you ve finished connecting all cables Do not connect or disconnect any cable when the power is turned ON Regarding the operating procedure for this product Note e Exceptional conditions or precautions
63. rmation included in this document but Renesas Electronics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas Electronics products are classified according to the following three quality grades Standard High Quality and Specific The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application categorized as Specific without the prior written consent of Renesas Electronics Further you may not use any Renesas Electronics product for any application for Which it is not intended without the prior written consent of Renesas Electronics Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas Electronics product is Standard unless otherwise expressly specified in a Renesas Electronics data sheets or data books etc
64. s 3 3 R20UT0160EJ0100 Rev 1 00 Dec 08 2011 L E r g r source file bec calle hscsdrarm c cache c cpg c dbsctc hwsetup c intprg c lowsro c rezelpro c sbrk o slochar c SOM testa ecttbl c Dependencies idefine h lowerc A sbrk h stacksct h typedefine h ect h 5 12 LENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 5 3 4 Set Compiler Options Select Build menu open SuperH RISC engine Standard Toolchain dialog box gt C C tab Set Category Show entries for and Options C C as appropriate For details on how to set Options C C refer to the SuperH RISC engine C C Compiler Assembler and Optimizing Linkage Editor User s Manual The installation in this manual assumes that the SH7269 CPU Board hardware dependent include file is stored in another directory default project directory the relative path to the include file directory must be added e Project directory default C WorkSpace test test e Directory that stores the include files C WorkSpace test HardwareSetup Steps to set a relative path to the include file directory are shown as follows SuperH RISC engine Standard Toolchain yg ajx Configuration C C Assembly LinkALibrary Standard Library CPU A gt Debug El Category Source ki oJ All Loaded Projects E E H C source file H E C source file Assembly source file Linkage sy
65. that the SH7269 CPU Board operates normally in all relevant types of machines or in all relevant environments e g device driver and peripheral devices R20UTO160EJO100 Rev 1 00 1 3 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 1 Introduction 1 5 What You Need to Get Started Not included in this product Following items are not included in this product and should be prepared by user gt For the SH7269 CPU Board Prepare following power supply to supply power to the SH7269 CPU Board Table 1 5 1 Power Supply For the SH7269 CPU Board gt For the Development Environment This manual describes how to install this product using the Renesas development tools To install this product as described in this manual prepare following Renesas development tools Table 1 5 2 Renesas Development Tools re ee Applicable Version E10A USB Emulator for the SuperH RISC engine HS0005KCUO2H Supports the SH 2A device group Family HS0005KCU01H En SuperH RISC engine C C Compiler Package ROC40700XSWO9R Ver 9 03 release02 or later 9 03 release02 or later Integrated development environment tool or later High performance Embedded Workshop Notes 1 If you already have the E10A USB emulator and are using any MCUs other than the SH 2A group purchase a license tool for device group additions to use additional MCUs not included in this product 2 For details on how to set up a new device group in the E10A USB emulator
66. the E10A USB emulator as shown in Figure 5 1 8 Note A dialog box to notify that the default session has been modified will appear Click Yes test High performance Embedded Workshop Fie Edit view Project Build Debug Setup Tools Test Window Help Ds E LAO l JAR a C source file E E dbsct c E intprg c E des resetprg c Select the session E a Dependencies E sbrk h i stacksct h pes E typedefine h Figure 5 1 8 E10A USB Emulator Connection Setup Window R20UTO160EJO100 Rev 1 00 5 6 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 15 Select Emulator mode dialog box will appear For details to connect the E10A USB emulator refer to 4 1 2 SH7269 CPU Board and E10A USB Startup High performance Embedded Workshop Startup step 7 and later elect Emulator mode Figure 5 1 9 Select Emulator mode Dialog Box 16 Execute build processing Select Build menu Build to execute the build processing After the EIVA USB emulator has been connected execute build processing once without modifying the standard source file If a build error occurs here the SuperH RISC engine C C Compiler Package may not have been installed correctly R20UT0160EJ0100 Rev 1 00 5 7 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 5 Creating and Running a New Project Workspace 5 2 How To Set Up the Flash Memory Download
67. u Need to Get Started Not included in this product 4 1 2 SH7269 CPU Board and E10A USB Startup High performance Embedded Workshop Startup 1 Connect the host computer and the EIDA USB emulator 2 Connect the SH7269 CPU Board and the EIOA USB emulator Do not turn ON the power for the CPU board yet 3 Select Start menu gt All Programs gt Renesas gt High performance Embedded Workshop folder gt High performance Embedded Workshop 4 The Welcome dialog box will appear Select the Browse to another project workspace radio button and click OK o Create a new project workspace Lancel Open a recent project workspace Administration LJ O Browse lo another project warkspace ES mOoc mO oE fomo ai to EIE ETO Figure 4 1 1 Welcome Dialog Box Note A project workspace is a work area for user to store projects and their configurations A project consists of a configuration necessary to create programs or final binary files and a set of files For more information about the project workspace refer to the SuperH RISC engine High performance Embedded Workshop 4 User s Manual R20UT0160EJ0100 Rev 1 00 4 1 Dec 08 2011 RENESAS SH7269 CPU Board ROK572690C000BR 4 Executing the Software 5 The Open Workspace dialog box will appear specify the following directory Directory to store the sample software C WorkSpace Sample_software sh7269_sample 6 Afte

Download Pdf Manuals

image

Related Search

Related Contents

温 湿 度 セ ン サ 取扱説明書  Operating Instructions - Tecnica Industriale S.r.l.    Manual de Instruções Depuradores  Samsung 23,5" UHD-näyttö UE590 Käyttöopas  DEEP FREEZER 25L SC-DF25 取扱説明書 - ツインバード工業  情報編 3 手順編 19 商品タイプの確認 2  Canon DR-4010C Owner's Manual    

Copyright © All rights reserved.
Failed to retrieve file