Renesas SH7630 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Renesas SH7630, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Renesas SH7630 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Renesas SH7630. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Renesas SH7630 should contain:
- informations concerning technical data of Renesas SH7630
- name of the manufacturer and a year of construction of the Renesas SH7630 item
- rules of operation, control and maintenance of the Renesas SH7630 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Renesas SH7630 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Renesas SH7630, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Renesas service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Renesas SH7630.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Renesas SH7630 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    2003.7.3 SuperH  Family E10A Emulator Additional Docume nt for User’ s Manual SH7630 E10A HS7630KCM02HE Renesas M icrocomput er Developm ent Envi ronment Sy stem SuperH  Family / SH7600 Series Specific G uide for t he SH763 0 E10A Emul ator Rev.1.00[...]

  • Page 2

    Cautions Keep safety firs t in your circ uit designs! 1. Renesas Technology Corporat ion puts the ma ximum effort into making s emiconductor products better and more reliable, but there is always the possibility that trouble may occ ur with them. Troubl e with semi conductors may lead t o persona l injury, fire or property dama ge. Remember to give[...]

  • Page 3

    i Contents Section 1 Connecting the Emulator with the User System ................................1 1.1 Components of the Emulator ............................................................................................ 1 1.2 Connecting the E10A Em ulator with the User System ..................................................... 4 1.3 Installin[...]

  • Page 4

    ii[...]

  • Page 5

    1 Section 1 Connecting the Emulator with the User System 1.1 Components of the Emulator The SH7630 E10A emulator s upports the S H7630. Table 1.1 l ists the components of the e mulator.[...]

  • Page 6

    2 Table 1.1 Com ponents of t he Emulator (HS763 0KCM01H, HS7630KCM 02H, HS7630KCI01 H, or HS7630 KCI02H) Classi- fication Component Appearance Quan- tity Remarks Hard- ware Card emulator PC PC Card (PCMCIA) or (PCI) 1 HS7630KCM01H (PCMCIA: 14-pin t ype): Depth: 85.6 mm , Width: 54.0 mm, Height: 5.0 m m, Mass: 27.0 g HS7630KCM02H (PCMCIA: 36-pin t y[...]

  • Page 7

    3 For EMI countermeasure, us e the ferrite core by c onnecting the user interface ca ble. When the user interface cable is connected with the emulator or us er system, connect the ferrite core in the us er system as shown i n figure 1.1. User interface cable Host computer (PC with PC card slot) E10A emulator PC card slot PC PC Card User system User[...]

  • Page 8

    4 1.2 Connecting the E10A Emulator with the User System To connect the E10A emulator (hereina fter referred t o as the emulator), the H-UDI p ort connector must be installed on the user system to connect t he user system interface cable. When designing the user system, refer t o the recommended circuit between the H-UDI port connector and the MCU. [...]

  • Page 9

    5 1.3 Installing the H-UDI Port Connector on the User System Table 1.3 show s the recommended H-UDI port connecto rs for the emul ator. Table 1.3 Recommended H-UDI Port Connectors Connector Type Number Manufacturer Specifications DX10M-36S Screw type 36-pin conne ctor D X10M-36SE, DX10G1M-36SE Hirose Electri c Co., Ltd. Lock-pin ty pe 14-pin conne [...]

  • Page 10

    6 Notes: H-UDI port connector (Pin 1 mark) (top view) Unit: mm 4.8 M2.6 x 0.45 9.0 0.3 3.9 H-UDI port connector (front view) 1. Input to or output from the user system. 2. The slash (/) means that the signal is active-low. 3. The emulator monitors the GND signal of the user system and detects whether or not the user system is connected. Pin No . Si[...]

  • Page 11

    7 Pin 1 mark Notes: 1. Input to or output from the user system. 2. The slash (/) means that the signal is active-low. 3. The emulator monitors the GND signal of the user system and detects whether the user system is connected or not. 25.0 23.0 6 x 2.54 = 15.24 (2.54) 0.45 Pin 1 Pin 8 Pin 7 Pin 14 Pin 1 mark H-UDI port connector (top view) H-UDI por[...]

  • Page 12

    8 1.5 Recommended Circuit between the H- UDI Port Connector and the MPU 1.5.1 Recommended Circuit ( 36-Pin Ty pe) Figure 1.4 s hows a recommen ded circuit between the H -UDI port c onnector (36 pins ) and the MPU. Notes: 1. Do not connect anything t o the N.C . pin of the H-UDI po rt connector . 2. The processing of the /ASEM D0 pin differs dependi[...]

  • Page 13

    9 1 AUDATA0 AUDATA2 AUDATA1 AUDATA3 TCK TMS AUDSYNC N.C. N.C. RESET TDI TDO TRST ASEBRKAK NC GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 2 4 6 8 12 10 14 16 18 20 22 24 26 28 30 32 34 36 AUDATA0 AUDATA2 AUDATA1 AUDATA3 TCK RESETP TMS TDO TDI TRST ASEBRKAK AUDCK AUDSYNC A[...]

  • Page 14

    10 1.5.2 Recommended Circuit ( 14-Pin Ty pe) Figure 1.5 shows a recomme nded circuit between the H-UDI port c onnector and the MPU. Notes: 1. Do not connect anythi ng to the N.C . pin of the H-UDI p ort connector. 2. The processing of the /ASEM D0 pin differs depending on w hether the emulat or is used or not. As the emulator d oes not control t hi[...]

  • Page 15

    11 1 TCK TMS RESET TDI TDO TRST ASEBRKAK GND GND GND GND GND GND 2 3 4 5 6 7 ASEMD0 8 9 11 10 12 13 14 TCK RESETP TMS TDO TDI TRST ASEBRKAK NC SH7630 VccQ (3.3 V) VccQ (3.3 V) H-UDI port connector (14-pin type) Reset signal 4.7 k Ω 4.7 k Ω 1 k Ω Figure 1.5 Recommended Circuit for Connection between the H-UDI Port Connector and MPU (14 - Pin T[...]

  • Page 16

    12[...]

  • Page 17

    13 Section 2 Specifications of the SH7630 E10A Emulator’ s Software 2.1 Differences between the SH7630 and the Emulator • When the emu lato r system is initiated, it initializes th e g eneral reg ister s an d part of the control registers as s hown in table 2.1. The initial values of the actual SH7630 regis ters are undefined. Table 2.1 Regi st[...]

  • Page 18

    14 • Reset Signals The SH7630 res et signals are only valid duri ng emulation s tarted with cli cking the GO or STEP- type button. I f these signals are input from t he user system i n command input wait s tate, they are not sent t o the SH7630. Note: Do not break the user program when t he /RESETP and /WA IT signals are being low. A TIMEOUT erro[...]

  • Page 19

    15 • UBC When [User] is specified in th e [UBC mode] lis t box in the [ Configuration ] dialog box, the UBC can be used in the us er progra m. Do not use the UB C in the use r program as it is used by the E10A emul ator when [EML] i s specified in the [U BC mode] li st box in the [Co nfiguration] dialog box. • Loading Ses sions Information i n [...]

  • Page 20

    16 • Illegal Instru ctions If illegal instru ctio ns are executed by STEP-type command s, the emulato r cannot go to the next program count er. 2.2 Specific Functions for the SH7630 E10A Emulator The SH7630 E10A em ulator d oes not support the following function: • MMU-related funct ions (The S H7630 does not m ount the MMU.)  VPMAP-rela ted[...]

  • Page 21

    17 Table 2.4 Ty pes of Break Co ndit ions Break Conditi on Type Description Address bus condition (A ddress) Breaks when the SH7630 ad dress bu s value or th e program counter value matc hes the spe cifi ed val ue. Data bus c ondition (Dat a) Breaks when the SH7630 dat a bus va lue matches th e specified value. Byte, word, or longword can be specif[...]

  • Page 22

    18 Table 2.5 lists the combi nations of conditions that can be set under Break Condition 1, 2, 3. Table 2.5 Di alog Boxes for Setting B reak Condition s Type Dialog Box Address Bus Condition (Address) Data Bus Condition (Data) Bus State Condition (Bus Status) Count Condition (Count) Internal I/O Break [Break Condi tion 1] dialog bo x O O O O X [Bre[...]

  • Page 23

    19 AUD Trace Functions: This fun ction is operational wh en the AUD pin of the d evice is connected to the emulator. Table 2.8 shows th e AUD trace acq uisition mode that can be set in each trace function. Table 2.8 AUD Trace Acqu isitio n Mode Type Mode Description Continuou s trace occurs Realtime tr ace When the n ext branch oc curs while t he t[...]

  • Page 24

    20 To set the AUD trace acquisition mode, click the [Trace] window with the right m ouse button and select [Setting] from the pop-u p menu to display the [Acquis ition] dialog box. The AUD tr ace acquisition mode can be s et in the [AUD mode1] or [AUD mode2] group box in the [Tra ce mode] page of the [Acq uisition] dial og box. Figure 2.1 [Trace mo[...]

  • Page 25

    21 (a) Branch Trace Function The branch source and destinat ion addresses and thei r source l ines are displayed. Branch trace can be acquire d by selecting the [Branc h trace] check box in the [AUD fu nction] group box of the [Trace mode ] page. The branch type can be selected in the [AUD Branch trace] page. Figure 2.2 [AUD Branch trace] Page (b) [...]

  • Page 26

    22 Figure 2.3 [W indow trace] Page Note: Wh en the [L-bus] or [I-bus] r adio button is selected, the f o llowing bus cycles will be traced. L-bus: A bus cycl e generated by the CPU is acqui red. A bus cycle is also acquired when the cache has been hit. I-bus: A bus cycl e generated b y the CPU or DMA is acquired. A bus cycl e is not acquire d when [...]

  • Page 27

    23 (c) Software Trace Function Note: This functio n can be supported with SHC comp iler V7.0 and later. When a specific instruction is executed, the PC value at execution and the contents of one general register are acquire d by trace. Describe the Trace(x ) function (x is a va riable name) to be compiled a nd linked be forehand. For deta ils, refe[...]

  • Page 28

    24 Internal Trace Function: This function is activated by selecting the [Internal trace] radio button in the [Trace type] group box of the [T race mode] page. Se e figure 2.1, [Trace m ode] Page. The internal trace functions are als o activated by selecting each check bo x on the [Branch trace ] page. Notes: 1. If an interrupt is ge nerated at the [...]

  • Page 29

    25 6. When a BREAKP OINT is set to th e slot instructio n of a delayed branch in struction, the PC value becom es an illegal value. Accord ingly , do not set a BREAKPOI NT to the slot instructi on of a delayed branc h instructi on. 7. When a BREAKPOINT is set to the cacheable area, the cac he block containing t he BREAKPOINT addres s is filled imme[...]

  • Page 30

    26 2.2.7 Notes on Setting the UBC_MODE Command In the [Confi guration] wind ow, if [User] is set while t he [UBC mode] list box has been set, t he STEP-type comman ds that use B reak Condition 2 for imple mentation cannot be used. 2.2.8 Performance Measurement Function The SH7630 E10A em ulator s upports the perf ormance measurement f unction. 1. S[...]

  • Page 31

    27 Figure 2.4 [Perform ance Analys is] Dialog B ox  Measurement range One of the foll owing ranges c an be specified. This depends on the i tem selected fo r [Mode] in the [Performance Anal ysis] dialog box. 1. From the start t o the end of th e user program execut ion (When Normal B reak is selected for [Mo de]) 2. From the satisfactio n of the[...]

  • Page 32

    28 2. Step execution is n ot possible when Break condition 1->2 or Break con d itio n 2->1 is selected for the PERFOR MANCE_SET command or in [Mode] of the [Per formance Analysis ] dialog box. 3. When Break con dition 1->2 or Break conditio n 2->1 is selected in [ Mo de] of the [Performance Anal ysis] dialog box, specify one or more ite[...]

  • Page 33

    29 Table 2.10 Measurement Item Selected Name Option Disabled None Elapsed tim e AC Number of exe cution stat es VS Branch instru ction count s BT Number of e xecution instr uctions I DSP-instructi on execution counts DI (Devices incorporating t he DSP funct ion can only be mea sured.) Instructi on/d ata con fli ct cycle MAC Other confl ict cycle s [...]

  • Page 34

    30 Table 2.10 Measurement Item (cont) Selected Name Option Cacheable area instru ction acces s cycle CIC Cacheabl e area d ata access cycle CDC Access counts othe r than instr uction/data NAM Non-cacheable are a access count s NCN Non-cache able are a instructi on acce ss counts NCIN Non-cacheable ar ea d ata access counts NCDN Cacheable area ac ce[...]

  • Page 35

    SuperH TM Family E10A Emulator Additional Document for User's Manual Specific Guide for the SH7630 E10A Emulator Publication Date: Rev.1.00, July 3, 2003 Published by: Sales Strategic Planning Div. Renesas Technology Corp. Edited by: Technical Documentation & Information Department Renesas Kodaira Semiconductor Co., Ltd.  2003 Renesas T[...]

  • Page 36

    SuperH  Family E10A Emulator Addition al Document for User’ s Manual REJ10B0015-0100H[...]