Renesas HS7339KCU01HE 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
37
38
39
40
41
42
43

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Renesas HS7339KCU01HE, 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 HS7339KCU01HE 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 HS7339KCU01HE. 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 HS7339KCU01HE should contain:
- informations concerning technical data of Renesas HS7339KCU01HE
- name of the manufacturer and a year of construction of the Renesas HS7339KCU01HE item
- rules of operation, control and maintenance of the Renesas HS7339KCU01HE 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 HS7339KCU01HE 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 HS7339KCU01HE, 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 HS7339KCU01HE.

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 HS7339KCU01HE 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

    Revision Date: Dec. 24, 2004 Renesas Micro computer Devel opment Environme nt System SuperH  Family E10A-USB for SH7 339 HS733 9KCU01HE Rev.1.00 SuperH  Family E10A-USB Emulator Additional Docume nt for User’s Manua l Supplementary Information on U sing th e SH7339 REJ10B0166-0100[...]

  • Page 2

    [...]

  • Page 3

    1. These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp. product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corp. or a third party. 2. Renesas Technology Corp[...]

  • Page 4

    [...]

  • Page 5

    i Contents Section 1 Connecting the Emulator with the User System ................................1 1.1 Components of the Emulator ............................................................................................ 1 1.2 Connecting the Emulator with the User System ............................................................... 2 1.3 Insta[...]

  • Page 6

    ii[...]

  • Page 7

    1 Section 1 Connecting the Emulator with the User System 1.1 Components of the Emulator Table 1.1 list s the components of the emulato r. 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 HS0005KC[...]

  • Page 8

    2 1.2 Connecting the Emulator with the User System To connect the E10A-USB emulator (herei nafter referred to as the emulator), t he H-UDI port connector must be ins talled on the user sys tem to connect the user system interface ca ble. When designing the us er system, refer t o the recommended circ uit between the H-UDI port c onnector and the MP[...]

  • Page 9

    3 1.3 Installing the H-UDI Port Connec tor on the User System Table 1.3 shows the recommen ded H-UDI port con nectors for the emulator. Table 1.3 Recommended H-UDI Port Connectors Connector Type Number Manufacturer 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 c[...]

  • Page 10

    4 Notes: H-UDI port connector (Pin 1 mark) (top view) Unit: mm 4.8 M 2 .6 x 0.45 9.0 0.3 3.9 H-UDI port connector (front view) : Pattern inhibited area Edge of the board (connected to the connector) 0.7 +0.1 0 φ 2 1.27 1 3 4.5 1.1 1.905 9.0 21.59 37.61 43.51 36 35 4 2.8 +0.2 0 φ 4.09 H-UDI port connector (top view) Pin No . Signal Input/ Output S[...]

  • Page 11

    5 Pin 1 mark 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 Unit: mm H-UDI port connector (top view) H-UDI port connector (top view) Pin No. Signal 1 2 3 4 5 6 7 8 9 11 10, 12, and 13 14 TCK /TRST TDO /ASEBRKAK TMS TDI /RESETP /CA (GND) UVCC GND Input/ Output* 1 *2 *2 *2 GND *3 Output Input Input Output Output Input Inpu[...]

  • Page 12

    6 1.5 Recommend ed Circuit b etween th e H-UDI Port Conn ector and th e MPU 1.5.1 Recommended Circuit ( 36-Pin Ty pe) Figure 1.3 shows a recommended circuit for connection between the H-UDI and AUD port connectors (36 pins) and the MPU when the e mulator is in use. Notes: 1. Do not connect an ything t o the N.C. pins of the H-UD I port c onnector. [...]

  • Page 13

    7 12. For the AUDCK pin, guard the pattern between the H-UDI port connector and the MPU at GND level.[...]

  • Page 14

    8 When the circuit is connected as s hown in figure 1.3, the switches of the emulator are set as SW 2 = 1 and SW3 = 1. For detai ls, refer to sect ion 3.8, Set ting t he DIP Switc hes, in the Debug ger Part of the SuperH TM Family E 10A-USB Emulator User’s Manual. H-UDI port connector (36-pin type) SH7339 Reset signal 1 AUDATA0 AUDATA2 AUDATA1 AU[...]

  • Page 15

    9 1.5.2 Recommended Circuit ( 14-Pin Ty pe) Figure 1.4 shows a recommended circuit for connection between the H-UDI and AUD port connectors (14 pins) and the MPU when the e mulator is in use. Notes: 1. Do not connect an ything t o the N.C. pins of the H-UD I port c onnector. 2. The /ASEMD0 pin must be 0 when the emulator is connected and 1 when the[...]

  • Page 16

    10 When the circuit is connected as s hown in figure 1.4, the switches of the emulator are set as SW 2 = 1 and SW3 = 1. For detai ls, refer to sect ion 3.8, Set ting t he DIP Switc hes, in the Debug ger Part of the SuperH TM Family E 10A-USB Emulator User’s Manual. 1 TCK TMS RESET TDI TDO TRST ASEBRKAK GND GND GND GND (GND) 2 3 4 5 6 7 ASEMD0 8 9[...]

  • Page 17

    11 Section 2 Software Specifications when Using the SH7339 2.1 Differences between the SH7339 and the Emulator 1. When the emu lator system is in itiated, it initializes the g eneral reg isters and part of the contr o l registers as s hown in table 2.1. The initial values of the actual SH7339 re gisters are un defined. When the emulato r is in itia[...]

  • Page 18

    12 3. Low-Power S tates (Sl eep, Software St andby, Modul e Standby, and U Standby) For low-power consumpti on, the S H7339 has s leep, software s tandby, m odule stand by, and U standby stat es. The sleep, software st andby, and mo dule standby s tates are switched us ing the SLEEP instruction. When the e mulator is used, only t he sleep state can[...]

  • Page 19

    13 8. Cache Operation during Us er Program Break When cache is enabled, t he emulator accesses the memory by the following methods: • At memory wr ite: Wr ites th rough th e cache, th en writes to the memory. • At memory read: Does not c hange the cache write mode that h as been set. Therefore, when memory read or write is performed d uring use[...]

  • Page 20

    14 13. Memory Acces s during B reak In the enabled MMU, when a mem ory is accessed and a TLB error occurs during brea k, it can be selected whether the TLB exce ption is controlled or the p rogram jumps to the us er exception ha ndler in [TLB Mode] in the [Configu ration] di alog box. When [TLB mis s exception is en ab le] is selected, a “Co m m [...]

  • Page 21

    15 • The internal I/O regist ers can be accessed fro m the [IO] window. However , note the following when accessi ng the SDMR register of the bus -state controller. B efore accessing the SDMR register, specify add resses to be accessed in the I/O-register definition file (SH7339.IO) and then activate the HEW. After the I/O-re gister definition fi[...]

  • Page 22

    16 2.2 Specific Functions for the Emulator when Using the SH7339 In the SH7339, a reset mu st b e input when th e emulato r is activ ated. Do not use the activation method describe d in st ep 12 for s ection 3.11 i n the Deb ugger Part of the S uperHTM Family E10A-USB Emul ator User's Manual . 2.2.1 Break Condition Functio n s In addition to B[...]

  • Page 23

    17 Note: When U-RAM or X/Y-RAM is accessed from the P0 s pace, the I-bus mus t be selected, and when accessed from the P2 space, the L-bus must be selected. Wh en cache fill cycle is acquired, the I- bus must be s elected. Table 2.5 list s the combi nations of c onditions that can be s et under B reak Condit ion 1, 2, 3. Table 2.5 Di alog Boxes f o[...]

  • Page 24

    18 Table 2.7 shows the ty p e numbers that the AUD fun ction can be u sed. Table 2.7 Type Number and AUD F unction Type Number AUD Function HS0005KCU01H Not support ed HS0005KCU02H Support ed AUD Trace Functions: This function is o perational when the AUD p in of the dev ice is connected to the emulator. Table 2.8 shows th e AUD trace acquisition m[...]

  • Page 25

    19 To set the AUD trace acquisition mode, click th e [Trace] window with the right mouse button and select [Setting] from the pop-up menu to display th e [Acquisition ] dialog box. The AUD trace acquisition mode can be set in th e [AUD mode1] or [AUD mode2] group box in the [Trace mode] page of the [Acq uisit ion] dialog box . Figure 2.1 [T race mo[...]

  • Page 26

    20 (a) Branch Trace Function The branch source and des tination addres ses and t heir source li nes are displa yed. Branch trace can be acquire d by selecting the [Branc h trace] check box in the [AUD function] group box of the [Trace mo de] page. The branch type can be selected in the [AUD Branch trace] page. Figure 2.2 [AUD Branch trace] Page (b)[...]

  • Page 27

    21 Figure 2.3 [W indow trace] Pa ge Notes: 1. When the [L-bus ] or [I(M)-bus ] radio button is s elected, the b us cycles li sted below will be traced. The [I-bus] and [M-bus] radio buttons are only available when the [I(M)-bus] radi o butto n has been s elected. • L-bus: A bus cycle on the L-bus generat ed by the CPU i s acquired. A bus cycl e i[...]

  • Page 28

    22 When U-RAM or X/Y-RAM is accessed from the P0 space, the I-bus must be selected, and when accessed from the P2 space, the L-bus must be selected. W hen a cache fill cycle is acquired, I-bus m ust be selected. 2. Address s etting when X/ Y-bus is s elected To trace both the X/Y-bus when the X/Y-bus is access ed at the same time, the X-bus conditi[...]

  • Page 29

    23 7. Do not use the AUD full-trace mode fo r the VIO function. 8. If a comple tion-type except ion occ urs during exce ption branch acquis ition, the next addres s to the address in whi ch an exce ption occurs is acquired. Internal Trace Function: This function is activated by selecting the [I nternal trace] radio button in the [Trace type] group [...]

  • Page 30

    24 4. Condit ions se t at Break C ondition 2 a re disabl ed when an ins tructio n to which a BREAKPOINT has b een set is executed. Do not set a BREAKPOI NT to an instructio n in which Break C ondition 2 is s atisfi ed. 5. When execution res umes from the ad dress where a BREAKPOINT is specified, single-step operation is p erformed at the address be[...]

  • Page 31

    25 BREAKPOINT s etting, the BRE AKPOINT address remains unchange d. When a BREAKPOINT is sa tisf ied with the mo d ified address in the VP_ MAP table, the cause o f termination dis played in the s tatus bar a nd the [Output ] window is ILLEGAL INSTR UCTION, not BREAKPOINT. 13. If an ad dress of a BR EAKPOINT cannot be co rrectly set i n the ROM or [...]

  • Page 32

    26 2.2.7 Performance Measurement Function The emulator su pports t he performance meas urement functi on. 1. Sett ing the performance measurement c onditions To set the performance measurement conditions , use the [Perf ormance Analysis ] dialog box and the PERFORMANCE_SET command. W hen any line on t he [Performance Anal ysis] window is clicked wi[...]

  • Page 33

    27 Figure 2.4 [Perform ance Analys is] Dial og Box (b) Measurement range One of the foll owing ranges can be specified. This depe nds on t he item select ed for [Mode ] in the [Performance Analysis] dialog box. 1. From the start to the e nd of the user program execution (When Normal Break is selected for [Mode]) 2. From the satisf action of th e co[...]

  • Page 34

    28 Notes: 1. When the second a nd third rang es are specified, e xecute the user program a fter the measurement start conditio n is set to Break Condition 1 (or Break C ondition 2) and the measuremen t en d condition to Br eak Condition 2 (o r Break Co ndition 1) . 2. Step operatio n is not possible when Break condition 1 - >2 o r Break co nditi[...]

  • Page 35

    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 c ounts BT Number of e xecution instruct ions I DSP-instructi on execut ion counts DI (Devices incorporati ng the DSP f unction can only be mea sured.) Instructi on/d ata con fli ct cycle MAC Other confl ict cy cles[...]

  • Page 36

    30 Table 2.10 Measurement Item (cont) Selected Name Option Cacheable area instru ction a ccess cyc le CIC Cacheable area dat a acce ss cy cle CDC Access counts oth er than i nstruct ion/data NAM Non-cache able are a access count s NCN Non-cache able area in structi on acces s counts NCIN Non-cacheable are a data acc ess counts NCDN Cacheable area a[...]

  • Page 37

    31 3. Initializing th e measured resu lt To initialize the measured result, select [I nitialize] from the popup menu in the [Per formance Analysis ] window or specify INIT with the PER FORMAN CE_ANALYSIS command. 2.2.8 Notes on U St a ndby State Controlling Vcc (main) in the U stan dby state clears s ettings for peripheral modules in the SH7339 in [...]

  • Page 38

    32 Figure 2.5 [R ecovery Inform ation] Page The following shows the pr ocedures recovere d from the U s tandby stat e. 1. In the software stand by mode, w hen the /CA pin is asserted, the em ulator enters the U standb y state and the mes sage box s hown in figure 2.6 is displayed. T o cancel the U stand by state, be sure to end t he message box bef[...]

  • Page 39

    33 3. Ass ert /RESETP and turn Vcc (mai n) on. 4. After the power has been st able, negate the /CA pin. 5. Negate /R ESETP, and the U s tandby state i s cancelled. 6. Before the pr ogram executi on is res tarted from t he reset vecto r, the E10A-US B debugging function, w hich has bee n set in the [R ecovery Info rmation] page in the [C onfiguratio[...]

  • Page 40

    34[...]

  • Page 41

    SuperH TM Family E10A-USB Emulator Additional Document for User's Manual Supplementary Information on Using the SH7339 Publication Date: Rev.1.00, December 24, 2004 Published by: Sales Strategic Planning Div. Renesas Technology Corp. Edited by: Technical Documentation & Information Department Renesas Kodaira Semiconductor Co., Ltd.  200[...]

  • Page 42

    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 43

    SuperH  Family E10A-USB E mulator Additional Doc ument for User’s Manu al[...]