Manual Renesas SH7200 Series

54 pages 0.38 mb
Download

Go to site of 54

Summary
  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - page 2

    ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - page 4

    ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - page 6

    ii ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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: ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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, ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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, ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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. ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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 ...

  • Renesas SH7200 Series - 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) ...

  • Renesas SH7200 Series - page 53

    ...

  • Renesas SH7200 Series - 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 ...

Manufacturer Renesas Category Network Card

Documents that we receive from a manufacturer of a Renesas SH7200 Series can be divided into several groups. They are, among others:
- Renesas technical drawings
- SH7200 Series manuals
- Renesas product data sheets
- information booklets
- or energy labels Renesas SH7200 Series
All of them are important, but the most important information from the point of view of use of the device are in the user manual Renesas SH7200 Series.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals Renesas SH7200 Series, service manual, brief instructions and user manuals Renesas SH7200 Series. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product Renesas SH7200 Series.

A complete manual for the device Renesas SH7200 Series, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use Renesas SH7200 Series by users. Manuals are usually written by a technical writer, but in a language understandable to all users of Renesas SH7200 Series.

A complete Renesas manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual Renesas SH7200 Series - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the Renesas SH7200 Series, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the Renesas SH7200 Series, that we can find in the current document
3. Tips how to use the basic functions of the device Renesas SH7200 Series - which should help us in our first steps of using Renesas SH7200 Series
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with Renesas SH7200 Series
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of Renesas SH7200 Series in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning Renesas SH7200 Series?

Use the form below

If you did not solve your problem by using a manual Renesas SH7200 Series, ask a question using the form below. If a user had a similar problem with Renesas SH7200 Series it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)