Manuale d’uso / di manutenzione del prodotto HS7339KCU01HE del fabbricante Renesas
Vai alla pagina of 43
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 Docum.
.
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.
.
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 .
ii.
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.
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.
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.
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.
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.
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.
7 12. For the AUDCK pin, guard the pattern between the H-UDI port connector and the MPU at GND level..
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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) .
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.
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-c.
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.
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.
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.
34.
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.
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.
SuperH Family E10A-USB E mulator Additional Doc ument for User’s Manu al.
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il Renesas HS7339KCU01HE è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del Renesas HS7339KCU01HE - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso Renesas HS7339KCU01HE imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul Renesas HS7339KCU01HE ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il Renesas HS7339KCU01HE, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del Renesas HS7339KCU01HE.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il Renesas HS7339KCU01HE. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo Renesas HS7339KCU01HE insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.