Renesas SH7200 Series manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Renesas SH7200 Series. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Renesas SH7200 Series ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Renesas SH7200 Series décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Renesas SH7200 Series devrait contenir:
- informations sur les caractéristiques techniques du dispositif Renesas SH7200 Series
- nom du fabricant et année de fabrication Renesas SH7200 Series
- instructions d'utilisation, de réglage et d’entretien de l'équipement Renesas SH7200 Series
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Renesas SH7200 Series ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Renesas SH7200 Series et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Renesas en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Renesas SH7200 Series, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Renesas SH7200 Series, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Renesas SH7200 Series. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    Revision Date: A p r . 10, 2007 Renesas Microcomputer Deve lopment Environment System SuperH ™ Family / SH7200 Series E10A-USB for SH2A_custom_SoC HS0720KCU01HE Rev.2.00 SuperH ™ Family E10A-USB Emulator Additional Document for User’s Manual Supplem entary Infor mation on Us ing the SH 2A_custom _SoC REJ10J1465-0200[...]

  • Page 2

    [...]

  • Page 3

    1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor g rants any license to any intellectual property ri g hts or [...]

  • Page 4

    [...]

  • Page 5

    i Contents Section 1 Connecting the Emul ator with the User System ................................1 1.1 Components of the Emulator ............................................................................................ 1 1.2 Connecting the Em ulator with the User System ............................................................... 3 1.3 Ins[...]

  • Page 6

    ii[...]

  • Page 7

    1 Section 1 C onnecting t he Emulator with t he User S ystem 1.1 Components of the Emulator The E10A-USB emul ator sup ports the SH2A_cus tom_SoC_1 and SH2A_cust om_SoC_2. For the selecti on of the SH2A_custom _SoC_1 or SH2A_c ustom_So C_2 when using t he emulato r, ask Renesas Technology Corp. via the sales office. Table 1.1 list s the components [...]

  • Page 8

    2 Table 1.1 Comp onents of th e Emulator Classi- fication Component Appearance Quan- tity Remarks Hard- ware Emulator box 1 HS0005KCU01H: Depth: 65.0 mm , Width: 97.0 mm, Height: 20. 0 mm, M ass: 72.9 g or HS0005KCU02H: Depth: 65.0 mm , Width: 97.0 mm, Height: 20. 0 mm, M ass: 73.7 g User syst em interface cable 1 14-pin type: Length: 20 cm , Mass:[...]

  • Page 9

    3 1.2 Connecting the Emulator with the User System To connect the E10A-USB emulator (he reinafter referre d to as the emulator), t he H-UDI port connector must be ins talled on the user s ystem to connect the user s ystem interface cable. When designing the user system, ref er to the recommen d ed circuit between the H-UDI port connector and the MC[...]

  • Page 10

    4 1.3 Installing the H-UDI Port Connector on the User System Table 1.3 show s the recommended H-UD I port connect ors for the em ulator. Table 1.3 Recommended H-UDI Port Connectors Connector Type Number Ma nufacturer Specifications DX10M-36S Screw type 36-pin conne ctor DX10M-36SE, DX10G1M-36SE Hirose Electri c Co., Ltd. Lock-pin ty pe 14-pin conne[...]

  • Page 11

    5 5 mm 2-5767004-2 Tar g et system E10A-USB optional 38-pin user system interface cable H-UDI port connector (top view) : Area to be kept free of other components 50 mm 20 mm 1 37 38 2 Figure 1.1 Restri ction on Com ponent Moun ting 1.4 Pin Assignments of th e H-UDI Port Connector Figures 1.2 t hrough 1. 4 show the pin as signments of the 36-p in, [...]

  • Page 12

    6 (1) Pin Assignment s of the 36-pin H-UDI Port C onnector Note: The signal names are s tandard for t he SH7200 series MCU. For the pin names of MCUs and recommended ci rcuits for connection, as k Renesas Technol ogy Corp. vi a the sales office. 1. Input to or output from the user system. 2. The symbol (#) means that the si g nal is active-low. Not[...]

  • Page 13

    7 (2) Pin Assignment s of the 14-pin H-UDI Port C onnector Note: The signal names are s tandard for t he SH7200 series MCU. For the pin names of MCUs and recommended ci rcuits for connection, as k Renesas Technol ogy Corp. vi a the sales office. Pin 1 mark Notes: 1. Input to or output from the user system. 2. The symbol (#) means that the si g nal [...]

  • Page 14

    8 (3) Pin Assignment s of the 38-pin H-UDI Port C onnector N.C. N.C. ASEMD# (GND) TCK N.C. A UDSYNC# N.C. N.C. AU DA T A0 AU DA T A1 UVCC_A UD N.C. N.C. TMS UCON# (GND) N.C. A UDCK UVCC N.C. N.C. RES# TDI H-UDI por t connector (top view) Unit: mm TDO Output Output Input/ Output Output Output Output Output Output Output Output Output Input Input Inp[...]

  • Page 15

    9 1.5 Recommended Circuit between th e H- UDI Port Connector and the MCU 1.5.1 Recommended Circuit (36-P in Type) The connection between the H -UDI and AUD port connectors and MC Us differs according to the internal circuits of the MCU i n use. The fo llowing s hows an exampl e, however, as k Renesas Technology Corp . via the sale s office for t he[...]

  • Page 16

    10 When the circuit is connected as shown in figure 1. 5, the switches of the emulato r are set as SW 2 = 1 and SW3 = 1. F or details , refer to section 3.8, Setting t he DIP Swi tches, in the SuperH TM Family E10A-US B Emulator U ser’s Manual. SoC 1 AUDATA0 AUDATA2 AUDATA1 AUDATA3 TCK TMS AUDSYNC N.C. N.C. RES TDI TDO TRST ASEBRKAK /ASEBRK UVCC [...]

  • Page 17

    11 1.5.2 Recommended Circuit (14-P in Type) The connection between the H -UDI port connector and MC Us differs accord ing to the internal circuits of t he MCU in use. The fol lowing shows an example, however , ask Renesas Technology Corp. via the sales office for the pull-up , pull- dow n, an d requ ired log ic ICs. Figure 1.6 shows a recomme nded [...]

  • Page 18

    12 When the circuit is connected as shown in figure 1. 6, the switches of the emulato r are set as SW 2 = 1 and SW3 = 1. F or details , refer to section 3.8, Setting t he DIP Swi tches, in the SuperH TM Family E10A-US B Emulator U ser’s Manual. 1 TCK TMS RES TDI TDO TRST ASEBRKAK /ASEBRK GND GND GND GND (GND) 2 3 4 5 6 7 ASEMD 8 9 11 10 12 13 14 [...]

  • Page 19

    13 1.5.3 Recommended Circuit (38-P in Type) The connection between the H -UDI and AUD port connectors and MC Us differs according to the internal circuits of the MCU i n use. The fo llowing s hows an exampl e, however, as k Renesas Technology Corp . via the sale s office for t he pull-up, pull -down, and required l ogic ICs. Figure 1.7 shows a reco[...]

  • Page 20

    14 When the circuit is connected as shown in figure 1. 7, the switches of the emulato r are set as SW 2 = 1 and SW3 = 1. F or details , refer to section 3.8, Setting t he DIP Swi tches, in the SuperH TM Family E10A-US B Emulator U ser’s Manual. 6 AUDATA0 AUDATA2 AUDATA1 AUDATA3 TCK TMS AUDSYNC RES TDI TDO TRST ASEBRKAK /ASEBRK UVCC UVCC_AUD ASEMD[...]

  • Page 21

    15 Section 2 Soft ware Specific ations whe n Using t he SH2A_c ust om_So C 2.1 Differences between th e MCU and the Emulator 1. When the emu lator system is in itiated, it initializes the g eneral reg isters and part of th e control registers as s hown in table 2.1. The initial values of the MCU are unde fined. When the emulator is initiated fro m [...]

  • Page 22

    16 3. Low-Power States • When the emulator is used, the sleep state can be cleared wi th either the clearing function or with the [STOP] butto n, and a break will occur. • The memory must n ot be accessed or m odified in s oftware standby state. • The memory must n ot be accessed or modified in deep stand by state. • Do not st op input ting[...]

  • Page 23

    17 Table 2.3 Stopping Time by Memory Access (Reference) Method Condition Stopping Time H-UDI read/wr ite Reading of one longword f or the internal RAM Reading: M aximum three bus clo cks (B φ ) Writing of one longword f or the internal RAM Wri ting: Maximu m two b us cloc ks (B φ ) Short break CPU clock: 160 MHz JTAG cloc k: 20 MH z Reading or wr[...]

  • Page 24

    18 8. Operation while Cach e is Enabled When cache is enabled, t he emulator operates as shown in t able 2.4. Table 2.4 Operation while Cache is Enabled Function Operation Notes Memory write Searches for w hether or no t the addres s to be written hit s the instru ction and operand caches. • When the a ddress hit s, the cor respondi ng position o[...]

  • Page 25

    19 9. Multiplexing the AUD Pins The AUD pins are multiplexed with oth er pins. The AUD function cannot be used for the initial values becau se they are used as other function s. To use the initial value as the AUD function, set the AUD pins to b e used from [AUD pin select] of the [Configuration] dialog box. The emulator rewrites the regi sters for[...]

  • Page 26

    20 15. Contenti on between the C hange of the F RQCR Re gister and the Debuggi ng Functions The following no tes are required for the user program for changing th e multiplication rate of PLL circuit 1 t o change the fre quency: • Avoid conte ntion between the change of the FRQ CR register in the user p rogram and the memory access from the [Me m[...]

  • Page 27

    21 2.2 Specific Functions for the Emulator when Using the SH2A_custom_ SoC 2.2.1 Event Cond ition Func tions The emulator is u sed to set event conditions for the following th ree functions: • Break of the us er program • Internal trace • Start or end of performance m easurement Table 2.5 list s the types of Event Condit ion. Table 2.5 T ypes[...]

  • Page 28

    22 Table 2.6 Di alog Boxes f or Setting E vent Condition s Function Dialog Box Address Bus Condition (Address) Data Bus Condition (Data) Bus State Condition (Bus Status) Count Condition (Count) Action [Event Condition 1] Ch1 O O O O O (B, T1, and P) [Event Condition 2] Ch2 O O O X O (B, T1, and P) [Event Condition 3] Ch3 O X X X O (B and T2) [Event[...]

  • Page 29

    23 Sequential Setting : Using the [C ombination actio n (Sequenti al or PtoP)] dial og box spec ifies t he sequential con dition and the start or end of per formance measurement. Table 2.7 Co nditions to Be Set Classification Item Description [Ch1, 2, 3] l ist box Sets the sequenti al co nditi on and the start or end of performa nce measurement usi[...]

  • Page 30

    24 Table 2.7 Con ditions to B e Set (cont) Classification Item Description [Ch1, 2, 3] l ist box (cont) Ch1 to Ch2 PA Sets the perform ance measur ement period during the time from the satisfact ion of the condition set in Event Condi tion 1 (start conditi on) to the satisfacti on of the co ndition se t in Event C ondition 2 (end condit ion). [Ch4,[...]

  • Page 31

    25 Usage Exa mple of Sequentia l Break Ext ension Sett ing: A tutorial pro gram provided f or the product is used as an example. For the tutorial program , refer to section 6, Tutor ial, in the SuperH TM Fa mily E10A-USB Emulator User’s Manual . The conditions of Event Condition are set as f ollows: 1. Ch3 Breaks address H’00001068 when the con[...]

  • Page 32

    26 Figure 2.1 [Source] Window at Execu tion Halted (Se quential B reak) If the sequ ential condition, perform ance measurement start/end , or point-to-point for th e internal trace is set, conditions of E vent Condition to be us ed will be disabled. Such conditions must be enabled from t he popup me nu by clicki ng the right mouse but ton on the [E[...]

  • Page 33

    27 7. If the setti ngs of the Event conditi on or the sequenti al conditi ons are changed duri ng execution of the pro gram, execution will be suspen ded. (The number of clocks to be suspended duri ng execution of the program is a maximum of about 102 bus clocks (B φ ). If the bus cl ock (B φ ) is 66.6 MHz, the program will be susp ended for 1.53[...]

  • Page 34

    28 Table 2.9 shows the ty pe numbers that the AUD function can be u sed. Table 2.9 Type Number an d AUD Function Type Number AUD Function HS0005KCU01H N ot support ed HS0005KCU02H Support ed The internal and AUD traces are set in the [Acq uisition] dialog box of the [Trace] window. Internal Trace Function: When [I-Trace] is selected for [Trace type[...]

  • Page 35

    29 The following three items can be selected as the internal tr ace from [Type] of [I-Trace mode ]. Table 2.10 In formation on A cquiring the In ternal Trace Item Acquisition Information [M-Bus & Branch] Acquires the data and branch i nformation on the M -bus. • Data acce ss (read/wr ite) • PC-relative a ccess • Branch inform ation [I-Bus[...]

  • Page 36

    30 To restrict trace acquisition to access for only a specific address or specific functio n of a program, an Event Condit ion can be use d. Typical examples are described bel ow. • Example of halting a t race with a write access (M-bus) to H’FFF80000 by the user progra m as a condition (trace halt): Set the condit ion to be acqui red on [I-Tra[...]

  • Page 37

    31 Notes on Internal Trace: • Timestamp The timestamp is the clock counts of B φ (48-bit count er). Tabl e 2.12 shows t he timing for acquiring t he timestamp. Table 2.12 Timing for t he Timestamp Acquisit ion Item Acquisition Information Counter Value Stored i n the Trace M emory M-bus data a ccess Counter va lue when data access (re ad or writ[...]

  • Page 38

    32 • Trace acquisition conditio n Do not set the trace end condit ion for the s leep in struction and the bra nch instruction according to which the d elay slot becomes the sleep in struction. When [I-Bus, M-B us & Branch] is s elected and the trace acquisition condition is s et for the M- bus and I-bu s with Event Condition, set the M-bus co[...]

  • Page 39

    33 AUD Trace Functions: This fun ction is operational wh en the AUD pin of the device is connected to the emu lator. Table 2.13 shows the AUD trace acquisition mo de that can be set in each trace function. Table 2.13 AUD Trace Acquisitio n Mode Type Mode Description Continuou s trace occurs Realtime tr ace When the n ext branch occurs w hile the tr[...]

  • Page 40

    34 To set the AUD trace acquisition mode, click the [T race] window with the right mouse but ton and select [Setting] from the pop -u p menu to display the [Acqui sition] dialog box. The AUD trace acquisition mode can be s et in the [AUD mode1] o r [AUD mode2] group box in the [T race mode] page of the [Acq uisition] di alog box. Figure 2.3 [Trace [...]

  • Page 41

    35 When the AUD trace function is used , select the [AUD func tion] radi o button in the [Trace type] group box of the [Trace mode ] page. (a) Branch Trace Function The branch source and desti nation addresses and t heir source lines are displa yed. Branch trace can be acquire d by selecting the [B ranch trace] check box in t he [AUD function] grou[...]

  • Page 42

    36 Figure 2.4 [AUD Branch trace] Page (b) Window Trace Function Memory access in the specifie d range can be acquire d by trace. Two memory ranges can be s pecified for channe ls A an d B. The read, w rite, or read/write cycle can be selected as th e bu s cycle for trace acquisition.[...]

  • Page 43

    37 [Setting Met hod] (i) Select the [Channel A] an d [Channel B] check boxes in the [AUD function] group box of the [Trace mo de] page. Each cha nnel will become valid. (ii) Open the [Window trace] page and specify the bus cycle, memory ran ge, and bus type that are to be set fo r each channel. Figure 2.5 [W indow trace] Page Note: When [M-Bus] or [...]

  • Page 44

    38 • I-Bus: A bus cycle generated by the CPU or DMA is acquired. A bus cycle is not acquired when the cache has been hit. (c) Software Trace Function Note: This function ca n be suppo rted with SHC /C++ compiler (manufacture d by Renes as Technology Corp .; includin g OEM and bundle p roducts) V 7.0 or later. When a specific instruction is execut[...]

  • Page 45

    39 8. For the resu lt by software trace, a value in th e [Data] item is not correct (that value is corre ct for window trace). 2.2.3 Notes on Using the JTAG (H-UDI) Clock (TCK) 1. Set t he JTAG clock (TCK) fre quency to lower t han the frequ ency of the peri pheral module clock. 2. The initial value o f the JTAG clock (TCK) is 1. 25 MHz. 3. A value[...]

  • Page 46

    40 2.2.5 Notes on Se tting the [Event Conditi on] Dialog Box an d the B REAKCONDITION_ SET Command 1. When [Go to cu rsor], [St ep In], [Step Over] , or [Step Out ] is se lected, the setti ngs of Event Conditi on 3 are disa bled. 2. When an Even t Condition is satisfied , emulation ma y stop after two or more in structions have been executed. 2.2.6[...]

  • Page 47

    41 (a) Specifying the measur ement s tart/end conditions The measuremen t start/end conditions are specified by using Event Condition 1,2. The [Ch1,2,3] li st box of the [C ombination act ion (Sequenti al or P toP)] dialog b ox can be used. Table 2.14 M eas urement Period Classification Item Description Selection in the [Ch1, 2, 3] list box Ch2 to [...]

  • Page 48

    42 Note: Wh en [Ch2 to Ch1 PA] or [Ch1 to Ch2 PA] is selected, to execute the user program, specify conditions s et in Event Condition 2 a nd Event Condit ion 1 and one or more items for perfor mance measurement . (b) Measurement item Items are measured with [Cha nnel 1 to 4] in the [Perf ormance Analysis] dialog box. Maximum four c onditions can b[...]

  • Page 49

    43 Table 2.15 Measurement Item Selected Name Option Disabled None Elapsed tim e AC (The num ber of execution cycle s (I φ ) is set as the meas urement item.) Branch instru ction count s BT Number of e xecution instr uctio ns I Number of e xecution 32bi t-instructi ons I32 Exception/in terrupt count s EA Interrupt count s INT Data cach e-miss co un[...]

  • Page 50

    44 Notes: 1. In the non-realtime trace mode of the AUD trace, normal counting cannot be performed because the generation s tate of the sta ll or the executio n cycle is changed. 2. If the in ternal ROM is not installed on the product, do not set the measur ement item for the internal ROM area. 2. Displa ying the measured resul t The measured res ul[...]

  • Page 51

    SuperH ™ Family E10A-USB Emulator Additional Document for User's Manual Supplementary Information on Using the SH2A_custom_SoC Publication Date: Rev.1.00, September 7, 2007 Rev.2.00, April 10, 2007 Published by: Sales Strategic Planning Div. Renesas Technology Corp. Edited by: Customer Support Department Global Strategic Communication Div. R[...]

  • Page 52

    Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan http://www.renesas.com Refer to " http://www.renesas.com/en/network " for the latest and detailed information. Renesas Technology America, Inc. 450 Holger Way, San Jose, CA 95134-1368, U.S.A Tel: <1> (408) 382-7500, Fax: <1> (408) [...]

  • Page 53

    [...]

  • Page 54

    SuperH ™ Family E10A-USB E mulator Additional Doc ument for User’s Manu al Supplementary Information on Using the SH2A_custom_S oC[...]