Manual Renesas SH7339

43 pages 0.24 mb
Download

Go to site of 43

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

  • Renesas SH7339 - page 2

    ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - page 4

    ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - page 6

    ii ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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. ...

  • Renesas SH7339 - page 13

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

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

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

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - 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 ...

  • Renesas SH7339 - page 40

    34 ...

  • Renesas SH7339 - 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 ...

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

  • Renesas SH7339 - page 43

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

Manufacturer Renesas Category Network Card

Documents that we receive from a manufacturer of a Renesas SH7339 can be divided into several groups. They are, among others:
- Renesas technical drawings
- SH7339 manuals
- Renesas product data sheets
- information booklets
- or energy labels Renesas SH7339
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 SH7339.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals Renesas SH7339, service manual, brief instructions and user manuals Renesas SH7339. 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 SH7339.

A complete manual for the device Renesas SH7339, 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 SH7339 by users. Manuals are usually written by a technical writer, but in a language understandable to all users of Renesas SH7339.

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 SH7339 - 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 SH7339, 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 SH7339, that we can find in the current document
3. Tips how to use the basic functions of the device Renesas SH7339 - which should help us in our first steps of using Renesas SH7339
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with Renesas SH7339
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of Renesas SH7339 in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning Renesas SH7339?

Use the form below

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

Copy the text from the picture

Comments (0)