Renesas SH7200 Series инструкция обслуживания

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

Идти на страницу of

Хорошее руководство по эксплуатации

Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации Renesas SH7200 Series. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции Renesas SH7200 Series или обучающее видео для пользователей. Условием остается четкая и понятная форма.

Что такое руководство?

Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции Renesas SH7200 Series можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.

К сожалению немного пользователей находит время для чтения инструкций Renesas SH7200 Series, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.

Из чего должно состоять идеальное руководство по эксплуатации?

Прежде всего в инструкции Renesas SH7200 Series должна находится:
- информация относительно технических данных устройства Renesas SH7200 Series
- название производителя и год производства оборудования Renesas SH7200 Series
- правила обслуживания, настройки и ухода за оборудованием Renesas SH7200 Series
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам

Почему мы не читаем инструкций?

Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск Renesas SH7200 Series это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок Renesas SH7200 Series и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта Renesas, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания Renesas SH7200 Series, как это часто бывает в случае бумажной версии.

Почему стоит читать инструкции?

Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства Renesas SH7200 Series, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.

После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции Renesas SH7200 Series. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.

Содержание руководства

  • Страница 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[...]

  • Страница 2

    [...]

  • Страница 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 [...]

  • Страница 4

    [...]

  • Страница 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[...]

  • Страница 6

    ii[...]

  • Страница 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 [...]

  • Страница 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:[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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, [...]

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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 [...]

  • Страница 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 [...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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,[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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[...]

  • Страница 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.[...]

  • Страница 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 [...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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) [...]

  • Страница 53

    [...]

  • Страница 54

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