background image

 

 

32 

Table 2.10   Measurement Item (cont) 

Selected Name  

Option 

Non-cacheable area data access cycle 

NCD 

Cacheable area access cycle 

CC 

Cacheable area instruction access cycle 

CIC 

Cacheable area data access cycle 

CDC 

Access counts other than instruction/data 

NAM 

Non-cacheable area access counts 

NCN 

Non-cacheable area instruction access counts 

NCIN 

Non-cacheable area data access counts 

NCDN 

Cacheable area access counts 

CN 

Cacheable area instruction access counts 

CIN 

Cacheable area data access counts 

CDN 

 

Each measurement condition is also counted when conditions in table 2.11 are generated. 

Table 2.11   Performance Measurement Conditions to be Counted 

Measurement Condition 

Notes 

No caching due to the 
settings of TLB cacheable 
bit 

Counted for accessing the cacheable area. 

Cache-on counting 

Accessing the non-cacheable area is counted less than the actual 
number of cycles and counts.  Accessing the cacheable, X/Y-RAM, 
and U-RAM areas is counted more than the actual number of cycles 
and counts. 

Branch count 

The counter value is incremented by 2.  This means that two cycles 
are valid for one branch. 

 

Notes:  1.  In the non-realtime trace mode of the AUD trace, normal counting cannot be performed 

because the generation state of the stall or the execution cycle is changed. 

 

2.  Since the clock source of the counter is the CPU clock, counting also stops when the 

clock halts in the sleep mode. 

 

2.  Displaying the measured result 

The measured result is displayed in the [Performance Analysis] window or the 
PERFORMANCE_ANALYSIS command with hexadecimal (32 bits). 

Содержание SuperH E10A

Страница 1: ...Microcomputer Development Environment System SuperH Family SH7700 Series SH7710 E10A HS7710KCM02HE Rev 1 00 SuperHTM Family E10A Emulator Additional Document for User s Manual Specific Guide for the SH7710 E10A Emulator REJ10B0186 0100 ...

Страница 2: ......

Страница 3: ...efore making a final decision on the applicability of the information and products Renesas Technology Corp assumes no responsibility for any damage liability or other loss resulting from the information contained herein 5 Renesas Technology Corp semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake...

Страница 4: ......

Страница 5: ...d Circuit 14 Pin Type 10 Section 2 Specifications of the SH7710 E10A Emulator s Software 13 2 1 Differences between the SH7710 and the Emulator 13 2 2 Specific Functions for the SH7710 E10A Emulator 17 2 2 1 Emulator Driver Selection 17 2 2 2 Break Condition Functions 18 2 2 3 Trace Functions 19 2 2 4 Notes on Using the JTAG Clock TCK and AUD Clock AUDCK 25 2 2 5 Notes on Setting the Breakpoint Di...

Страница 6: ...ii ...

Страница 7: ...nt System HITACHI PC Card PCMCIA or PCI 1 HS7710KCM01H PCMCIA 14 pin type Depth 85 6 mm Width 54 0 mm Height 5 0 mm Mass 27 0 g HS7710KCM02H PCMCIA 36 pin type Depth 85 6 mm Width 54 0 mm Height 5 0 mm Mass 28 0 g HS7710KCI01H PCI 14 pin type Depth 144 0 mm Width 105 0 mm Mass 93 0 g HS7710KCI02H PCI 36 pin type Depth 122 0 mm Width 96 0 mm Mass 90 0 g User system interface cable 1 HS7710KCM01H PC...

Страница 8: ...KCM01SR HS0005KCM01HJ HS0005KCM01HE HS7710KCM02HJ and HS7710KCM02HE provided on a CD R Note The EMI is an abbreviation of the Electrical Magnetic Interference For EMI countermeasure use the ferrite core by connecting the user interface cable When the user interface cable is connected with the emulator or user system connect the ferrite core in the user system as shown in figure 1 1 User interface ...

Страница 9: ...ction HS7710KCM02H HS7710KCI02H 36 pin connector Available HS7710KCM01H HS7710KCI01H 14 pin connector Not available The H UDI port connector has the 36 pin and 14 pin types as described below Use them according to the purpose of the usage 1 36 pin type with AUD function The AUD trace function is supported A large amount of trace information can be acquired in realtime The window trace function is ...

Страница 10: ...anufacturing Ltd 14 pin straight type Note When designing the 36 pin connector layout on the user board do not connect any components under the H UDI connector When designing the 14 pin connector layout on the user board do not place any components within 3 mm of the H UDI port connector 1 4 Pin Assignments of the H UDI Port Connector Figures 1 2 and 1 3 show the pin assignments of the 36 pin and ...

Страница 11: ...ESETP GND NC GND TRST GND TDI GND GND GND GND GND GND GND TDO ASEBRKAK User reset Output Output Output Input Input Input Input Output Output Output Output Output Output Output Output 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 Pin No Signal Input Output Note 1 1 2 5 2 4 2 3 SH7710 Pin No Pattern inhibited area Edge of the board connected to th...

Страница 12: ... 2 54 15 24 2 54 0 45 Pin 1 Pin 8 Pin 7 Pin 14 Pin 1 mark 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 N C GND UVCC GND Input Output 1 2 2 2 GND 3 Output Input Input Output Output Input Input I O Output Note User reset 4 5 SH7710 Pin No 202 201 200 203 199 198 215 Unit mm Figure 1 3 Pin Assignmen...

Страница 13: ...ct the signal lines to other components on the board 6 When the power of the emulator is turned on make sure that the emulator is inserted into the host computer and the power supply is turned on and the target system such as the system mounting the target device is connected to the emulator the power supply of the board is turned off the power supply voltage of the target device target system may...

Страница 14: ... The result above differs depending on the circuit and can only be used as a reference 7 The resistance values shown in figure 1 5 are recommended 8 For the pin processing in cases where the emulator is not used refer to the hardware manual of the related device 9 For the AUDCK pin guard the pattern between the H UDI port connector and the MPU at GND level ...

Страница 15: ...D GND GND GND GND GND GND GND GND GND GND 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 2 4 6 8 12 10 14 16 18 20 22 24 26 28 30 32 34 36 AUDCK N C 1 kΩ 4 7 kΩ AUDATA0 AUDATA2 AUDATA1 AUDATA3 TCK RESETP TMS TDO TDI TRST ASEBRKAK AUDCK AUDSYNC ASEMD0 AUDSYNC VccQ 3 3 V VccQ 3 3 V Figure 1 5 Recommended Circuit for Connection between the H UDI Port Connector and MPU 36 Pin Type ...

Страница 16: ...s on the board 6 When the power of the emulator is turned on make sure that the emulator is inserted into the host computer and the power supply is turned on and the target system such as the system mounting the target device is connected to the emulator the power supply of the board is turned off the power supply voltage of the target device target system may become higher around 1 2 V to 1 4 V t...

Страница 17: ...n figure 1 7 are recommended 8 For the pin processing in cases where the emulator is not used refer to the hardware manual of the related device 1 TCK TMS N C TDO TDI GND GND GND GND GND GND 2 3 4 5 6 7 8 9 11 10 12 13 14 H UDI port connector 14 pin type SH7710 Reset signal 4 7 kΩ RESET 1 kΩ 4 7 kΩ ASEBRKAK TRST TCK RESETP TMS TDO TDI TRST ASEBRKAK ASEMD0 VccQ 3 3 V VccQ 3 3 V Figure 1 7 Recommend...

Страница 18: ...12 ...

Страница 19: ...rs are undefined Table 2 1 Register Initial Values at Emulator Link Up Register Emulator at Link Up R0 to R14 H 00000000 R15 SP H A0000000 R0_BANK to R7_BANK H 00000000 PC H A0000000 SR H 700000F0 GBR H 00000000 VBR H 00000000 MACH H 00000000 MACL H 00000000 PR H 00000000 SPC H 00000000 SSR H 000000F0 RS H 00000000 RE H 00000000 MOD H 00000000 A0G A1G H 00000000 A0 A1 H 00000000 X0 X1 H 00000000 Y...

Страница 20: ... memory access 5 Direct Memory Access Controller DMAC The DMAC operates even when the emulator is used When a data transfer request is generated the DMAC executes DMA transfer 6 Memory Access during User Program Execution When a memory is accessed from the memory window etc during user program execution the user program is resumed after it has stopped in the E10A emulator to access the memory Ther...

Страница 21: ...ogram jumps to the user exception handler in TLB Mode in the Configuration dialog box When TLB miss exception is enable is selected a Communication Timeout error will occur if the TLB exception handler does not operate correctly When TLB miss exception is disable is selected the program does not jump to the TLB exception handler even if a TLB exception occurs Therefore if the TLB exception handler...

Страница 22: ...ng the SDMR register specify addresses to be accessed in the I O register definition file SH7710 IO and then activate the HEW After the I O register file is created the MPU s specification may be changed If each I O register in the I O register definition file differs from addresses described in the hardware manual change the I O register definition file according to the description in the hardwar...

Страница 23: ...ection Table 2 3 shows drivers which are selected in the E10A Driver Details dialog box Table 2 3 Type Number and Driver Type Number Driver HS7710KCM01H E10A PC Card Driver 3 HS7710KCM02H E10A PC Card Driver 4 HS7710KCI01H E10A PCI Card Driver 3 HS7710KCI02H E10A PCI Card Driver 4 ...

Страница 24: ...d Write condition Breaks when the SH7710 RD or RDWR signal level matches the specified condition Bus state condition Breaks when the operating state in an SH7710 bus cycle matches the specified condition Types of buses that can be specified are listed below L bus CPU ALL Indicates an instruction fetch and data access including a hit to the cache memory L bus CPU Data Indicates a data access by the...

Страница 25: ...X X X O O Notes 1 O Can be set in the dialog box X Cannot be set in the dialog box 2 For Break Condition 2 X bus and Y bus conditions cannot be specified 2 2 3 Trace Functions The SH7710 E10A emulator supports the trace functions listed in table 2 6 Table 2 6 Trace Functions Function Internal Trace AUD Trace Branch trace Supported eight branches Supported Range memory access trace Not supported Su...

Страница 26: ... output is output but the next trace information is not output The user program can be executed in realtime but some trace information may be lost Non realtime trace When the next branch occurs while the trace information is being output the CPU stops operations until the information is output The user program is not executed in realtime Trace buffer full Trace continue This function overwrites th...

Страница 27: ...menu to display the Acquisition dialog box The AUD trace acquisition mode can be set in the AUD mode1 or AUD mode2 group box in the Trace mode page of the Acquisition dialog box Figure 2 1 Trace mode Page When the AUD trace function is used select the AUD function radio button in the Trace type group box of the Trace mode page ...

Страница 28: ... Branch trace Page b Window Trace Function Memory access in the specified range can be acquired by trace Two memory ranges can be specified for channels A and B The read write or read write cycle can be selected as the bus cycle for trace acquisition Setting Method i Select the Channel A and Channel B check boxes in the AUD function group box of the Trace mode page Each channel will become valid i...

Страница 29: ...he address information acquired by the I bus is 28 bits and the upper 4 bits are displayed as The source cannot be displayed in the Trace window 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 When a cache fill cycle is acquired I bus must be selected 2 Address setting when X Y bus is selected To trace bo...

Страница 30: ...sses If the previous branch source address is the same as the upper 16 bits the lower 16 bits are output If it matches the upper 24 bits the lower 8 bits are output If it matches the upper 28 bits the lower 4 bits are output The emulator regenerates the 32 bit address from these differences and displays it in the Trace window If the emulator cannot display the 32 bit address it displays the differ...

Страница 31: ...Trace information cannot be acquired for the following branch instructions The BF and BT instructions whose displacement value is 0 Branch to H A0000000 by reset 4 The internal trace acquisition is not available when User is selected in the UBC mode list box of the Configuration dialog box In this case close the Trace window 2 2 4 Notes on Using the JTAG Clock TCK and AUD Clock AUDCK 1 Set the JTA...

Страница 32: ...P_SET command setting is disabled The ASID value of the SH7710 PTEH register during command input is used When VPMAP_SET command setting is enabled a BREAKPOINT is set to a physical address into which address translation is made according to the VP_MAP table However for addresses out of the range of the VP_MAP table the address to which a BREAKPOINT is set depends on the SH7710 MMU status during c...

Страница 33: ...isabled when an instruction to which a BREAKPOINT has been set is executed Accordingly do not set a BREAKPOINT to an instruction which satisfies Break Condition 2 3 When a Break Condition is satisfied emulation may stop after two or more instructions have been executed 4 If a PC break address condition is set to the slot instruction after a delayed branch instruction user program execution cannot ...

Страница 34: ...alog box is displayed by selecting Setting Note For the command line syntax refer to the online help a Specifying the measurement start end conditions The measurement start end conditions are specified in the Mode drop down list box in the Performance Analysis dialog box Three conditions can be set as shown in table 2 9 Table 2 9 Conditions Specified in Mode Item Description Normal break Measureme...

Страница 35: ...k Condition 1 to the satisfaction of the condition set in Break Condition 2 When Break condition 1 2 is selected for Mode 3 From the satisfaction of the condition set in Break Condition 2 to the satisfaction of the condition set in Break Condition 1 When Break condition 2 1 is selected for Mode In the second and third ranges PA 1 start point and PA 1 end point are displayed on the Action part in t...

Страница 36: ...e of the Performance Analysis dialog box specify one or more items for measurement When there is no item the error message Measurement item does not have specification Please set up a measurement item will be displayed When no item is specified for the PERFORMANCE_SET command the settings of Break condition 1 2 or Break condition 2 1 will be an error c Measurement item Items are measured with Chan...

Страница 37: ...LB miss cycle ITS Devices incorporating the MMU function can only be measured Interrupt counts INT Number of BL 1 instructions BL1 Number of MD 1 instructions MD1 Instruction cache miss counts IC Data cache miss counts DC Instruction fetch stall IF Data access stall DA Instruction cache miss stall ICS Data cache miss stall DCS Cacheable access stall CS X Y RAM access stall XYS Devices incorporatin...

Страница 38: ...on Notes No caching due to the settings of TLB cacheable bit Counted for accessing the cacheable area Cache on counting Accessing the non cacheable area is counted less than the actual number of cycles and counts Accessing the cacheable X Y RAM and U RAM areas is counted more than the actual number of cycles and counts Branch count The counter value is incremented by 2 This means that two cycles a...

Страница 39: ...s as a result of measurement will be displayed 3 Initializing the measured result To initialize the measured result select Initialize from the popup menu in the Performance Analysis window or specify INIT with the PERFORMANCE_ANALYSIS command ...

Страница 40: ...34 ...

Страница 41: ...he SH7710 E10A Emulator Publication Date Rev 1 00 March 1 2005 Published by Sales Strategic Planning Div Renesas Technology Corp Edited by Technical Documentation Information Department Renesas Kodaira Semiconductor Co Ltd 2005 Renesas Technology Corp All rights reserved Printed in Japan ...

Страница 42: ... Fax 44 1628 585 900 Renesas Technology Hong Kong Ltd 7th Floor North Tower World Finance Centre Harbour City 1 Canton Road Tsimshatsui Kowloon Hong Kong Tel 852 2265 6688 Fax 852 2730 6071 Renesas Technology Taiwan Co Ltd 10th Floor No 99 Fushing North Road Taipei Taiwan Tel 886 2 2715 2888 Fax 886 2 2713 2999 Renesas Technology Shanghai Co Ltd Unit2607 Ruijing Building No 205 Maoming Road S Shan...

Страница 43: ...SuperH Family E10A Emulator Additional Document for User s Manual Specific Guide for the SH7710 E10A Emulator ...

Отзывы: