Home

SH-2A, SH-2 E200F Emulator Additional Document for

image

Contents

1. Product numbers 0114 or later 1 Input 100 to 240 V Output 12 V 3 0 A Depth 99 0 mm Width 62 0 mm Height 26 0 mm Mass 270 0 g C e o AC cable 1 Length 2000 mm RENESAS Table 1 1 Components of the Emulator cont Classi Quan fication Component Appearance tity Remarks Hard USB cable 1 Length 1500 mm Mass 50 6 g ware cont External probe Product numbers 0001 to 0113 Length 500 mm 1 Pins 1 to 4 probe input pins T trigger output pin G GND pin Product numbers 0114 or after 1 Length 500 mm Pins 1 to 4 probe input pins T trigger output pin G GND pin Soft E200F emulator setup 1 R0E0200F1EMUOOS ware program SH 2A SH 2 E200F RO0E0200F1EMUOOJ Emulator User s Manual R0E0200F1EMUOOE and Supplementary R0E570800EMUOOJ and Information on Using the R0E570800EMUOOE SH7083 SH7084 provided on a CD R SH7085 SH7086 SH7146 SH7149 SH7124 and SH7125 Note Additional document for the MCUs supported by the emulator is included Check the target MCU and refer to its additional document RENESAS Table 1 2 Optional Components of the Emulator Classi fication Component Hard ware Expansion profiling unit External bus trace unit Appearance Quan tity Remarks ROEO200FOEPUOO Depth 98 0 mm Width 115 0 mm Height 15 2 mm Mass 52 g ROEO200F1ETUOO Depth 90 0 mm Width 125 0 mm Height 15 2 mm Mass 83 g
2. Emulation memory unit Memory capacity 8 Mbytes or 16 Mbytes R0E0200F1MSR00 8 Mbytes R0E0200F1MSRO1 16 Mbytes Depth 90 0 mm Width 125 0 mm Height 15 2 mm Mass 81 g ROE0200F1MSROO 85 g ROE0200F1MSRO1 Note that it is not possible to connect these emulation memory units at the same time EV chip unit ROE570800VKKOO Depth 110 0 mm Width 125 0 mm Height 15 2 mm Mass 110g Trace cable RENESAS ROEO200FOACCOO Length 300 mm Mass 65 g Table 1 2 Optional Components of the Emulator cont Classi Quan fication Component Appearance tity Remarks Hard SH7083 PTQP0100KA 1 ROE570830CFKOO ware A user system interface Depth 60 0 mm Width 90 0 mm cont board Height 26 0 mm Mass 45 g SH7084 PLQP0112JA A 1 ROE570840CF JOO user system interface Depth 60 0 mm Width 90 0 mm board Height 26 0 mm Mass 45 g SH7085 PLQP0144KA 1 ROE570850CFKOO A user system interface Depth 60 0 mm Width 90 0 mm board Height 26 0 mm Mass 45 g SH7086 PLQP0176KB 1 ROE570860CFKOO A user system interface Depth 60 0 mm Width 90 0 mm board Height 26 0 mm Mass 45 g 5 RENESAS Table 1 2 Optional Components of the Emulator cont Classi Quan fication Component Appearance tity Remarks Hard SH7146 PLOP0080JA A 1 ROE571460CFJ00 ware user system interface Depth 60 0 mm Width 90 0 mm cont board Height 26 0 mm Mass 45 g SH7149 PLQP010
3. 1 Dx00001030 p_sam new Sample 0x00001050 for i 0 i lt 10 i Jf 0x0000103a j rand 0x0000103e EG lt of ox00001044 j j 0x00001046 ali j 0Ox00001056 p_sam gt sort a Dx0000105c p_sam gt chanze a 0x00001062 p_sam gt s0 a 0 ox00001066 p_sam gt sl al 1 oxo0001068 p_sam gt s2 a 2 Ox0000106a p_sam gt s3 a 3 0x0000106c p_s m gt s4 a 4 Ox0000106e p_sam gt s5 a 5 ox00001070 p_sam gt s6 a 6 0x00001072 p_ am gt s7 a 7 0x00001082 p_sam gt s8 a 8 ox00001084 p_sam gt s9 a 3 Ox0000108a ii p_sam Figure 3 1 Source Window at Execution Halted Sequential Break If the sequential condition performance measurement start end or point to point for the internal trace is set conditions of Event Condition to be used will be disabled Such conditions must be enabled from the popup menu by clicking the right mouse button on the Event Condition sheet 40 RENESAS Notes 1 If the Event condition is set for the slot in the delayed branch instruction by the program counter after execution of the instruction the condition is satisfied before executing the instruction in the branch destination when a break has been set it occurs before executing the instruction in the branch destination Do not set the Event condition for the SLEEP instruction by the program counter after execution of the instruction Do not set the Event condition by an operand access before executing
4. Notes 1 Ifthe product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the value of the pull up resistor will be 47 kQ 2 Ifthe product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the CB3T16211 will not be mounted Signals from the user system are connected to EP1K100FC 3 The product revision at the time of shipment from the factory is printed on the edge of the ROE570800VKK00 board Check the alphabetic character following the six digit number RENESAS 69 SH7080 User system PA 15 0 PB 5 2 PA 15 0 PB 5 2 PB 18 17 PE 6 4 PB 18 17 PE 6 4 PE10 PE13 PE17 o PE10 PE13 PE17 PE19 PE21 EPIK100FC CB3T16211 PE19 PE21 PB16 PE 3 0 PB16 PE 3 0 PE 9 7 PE 12 11 PE 9 7 PE 12 11 PE 16 14 PE18 o PE 16 14 PE18 PE20 EPIK100FC CB3T16211 PE20 Figure 4 10 User System Interface Circuits when Selecting SH7146 Operating Mode Notes 1 Ifthe product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the value of the pull up resistor will be 47 KQO 2 If the product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the CB3T16211 will not be mounted Signals from the user system are connected to EPLK100FC 3 The product revision at the time of shipment from the factory is printed on the edge of the ROE570
5. when the EV chip unit is not Action when the EV chip unit is not connected for the use of when the EV connected for the use of R5E70835R R5E70845R chip unit is not R5F70834A R5F70835A Address R5E70855R R5E70865R connected for R5F70844A R5F70845A Bus Data Bus Bus State Count R5E71464R R5E71494R or the use of R5F70854A R5F70855A Condition Condition Condition Condition R5E71491R or when the EV SH7125 or R5F70865A R5F71464R Dialog Box Address Data Bus State Count chip unit is connected SH7124 R5F71494R or R5F71491R Even Ch1 O O O o 6 O O Condition B T1 and P B B and P 1 Even Ch2 O o O X o oO O Condition B T1 and P B B and P 2 Even Ch3 O X X X O O o Condition B and T2 B B 3 Even Ch4 O xX X X O o 6 Condition B and T3 B B 4 Event Ch5 O X X X O o Not available Condition B and T3 B 5 Even Ch6 O X X X O O Condition B and T2 B 6 Event Ch7 O Xx X X O o Condition B and T2 B 7 Even Ch8 O X X X O 6 Condition B and T2 B 8 Even Ch9 O X X X O O Condition B and T2 B 9 Even Chi O X xX X O 6 Condition 0 B and T2 B 10 36 Notes 1 2 O Can be set in the dialog box X Cannot be set in the dialog box For the Action item B Setting a break is enabled For the count condition setting a break is only enabled T1 Setting the trace halt and acquisition conditions are enabled for the internal trace T2 Setting the trace halt is enabled for the in
6. and SH7149 RENESAS Table 1 3 System Configuration Supported by the SH7080 Series and SH7149 E200F Emulation Memory User External Bus Unit Expansion Profiling System E200F Emulator EV chip Unit Trace Unit ROEO200F1MSROO Unit Trace Cable Interface ROEO200F1EMU00 ROE570800VKK00 ROEO200F1ETU00 ROEO200F1MSRO1 ROEO200FOEPU00 ROEO200FOACCOO Board System Supported Not supported Not supported Not supported Not supported Not supported Not supported configuration yee System Supported Supported Not supported Not supported Not supported Supported Supported configuration 2 System Supported Supported Supported Not supported Not supported Supported Supported configuration 3 System Supported Supported Not supported Supported Not supported Supported Supported configuration 4 System Supported Supported Supported Supported Not supported Supported Supported configuration 5 System Supported Not supported Not supported Not supported Supported Not supported Not supported configuration Gw System Supported Supported Not supported Not supported Supported Supported Supported configuration T System Supported Supported Supported Not supported Supported Supported Supported configuration 8 System Supported Supported Not supported Supported Supported Supported Supported configuration 9 System Supported Supported Supported Supported Supported Supported Supported configuration 10 Note
7. available when the EV chip unit is not connected to the emulator and R5F70834A R5F70835A R5F70844A R5F70845A R5F70854A R5F70855A R5F70865A R5F71464R R5F71494R R5F71491R SH7125 or SH7124 is used Usage Example of Seguential Break Extension Setting A tutorial program provided for the product is used as an example For the tutorial program refer to section 6 Tutorial in the SH 2A SH 2 E200F Emulator User s Manual The conditions of Event Condition are set as follows 1 Ch3 Breaks address H 00001056 when the condition Prefetch address break after executing is satisfied Ch2 Breaks address H 00001066 when the condition Prefetch address break after executing is satisfied Chi Breaks address H 0000106c when the condition Prefetch address break after executing is satisfied Note Do not set other channels Sets the content of the Ch1 2 3 list box to Break Ch 3 2 1 in the Combination action dialog box Enables the condition of Event Condition 1 from the popup menu by clicking the right mouse button on the Event Condition sheet Then set the program counter and stack pointer PC H 00000800 R15 H FFFFA2C0 in the Registers window and click the Go button If this does not execute normally issue a reset and execute the above procedures The program is executed up to the condition of Ch1 and halted Here the condition is satisfied in the order of Ch3 gt 2 gt 1 39 RENESAS while
8. 15 6 PE 3 0 PE 7 5 PE 14 13 PE 7 5 PE 14 13 PA3 PA 11 10 PAS PA 11 1 0 PA 14 13 PB 1 0 PA 14 13 PB 1 0 PC 11 1 PC 15 13 PC 11 1 PC 15 13 PD 1 0 PD5 z5 PD 1 0 PD5 PE4 PE 9 8 EP1K100FC CB3T16211 PE4 PE 9 8 PE 12 11 PE15 PE 12 11 PE15 Figure 4 7 User System Interface Circuits when Selecting SH7084 Operating Mode Notes 1 Ifthe product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the value of the pull up resistor will be 47 KQ 2 If the product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the CB3T16211 will not be mounted Signals from the user system are connected to EPLK100FC 3 The product revision at the time of shipment from the factory is printed on the edge of the ROE570800VKK00 board Check the alphabetic character following the six digit number 67 RENESAS SH7080 PA2 PA 9 5 PA12 PA 18 15 PA23 PB 9 2 PCO PC4 PC12 PD 5 2 PD8 PD 24 10 PD 29 26 PE 3 0 PE7 PE 15 13 PA 1 0 PA 4 3 PA 11 10 PA 14 13 PA 22 19 PA25 PB 1 0 PC 3 1 PC 11 5 PC 15 13 PD 1 0 PD 7 6 PD9 PD25 PD 31 30 PE 6 4 PE 9 8 PE 12 11 PA24 PE10 User system PA2 PA 9 5 PA12 PA 18 15 PA23 PB 9 2 PCO PC4 PC12 9 PD 5 2 PD8 EP1K100FC CB3T16211 PD 24 10 PD 29 26 PE 3 0 PE7 PE 15 13 2 EP1K100FC CB3T16211 PD9 PD25 PD 31 3
9. Circuit between the H UDI Port Connector and the MCU 2 6 1 Recommended Circuit 36 Pin Type Figure 2 11 shows a recommended circuit for connection between the H UDI and AUD port connectors 36 pins and the MCU when the emulator is in use Notes 1 Do not connect anything to the N C pins of the H UDI port connector 2 10 24 The _ASEMD pin must be 0 when the emulator is connected and 1 when the emulator is not connected respectively 1 When the emulator is used ASEMD 0 ASE mode 2 When the emulator is not used _ASEMD 1 normal mode Figure 2 11 shows an example of circuits that allow the _ ASEMD pin to be GND 0 whenever the emulator is connected by using the user system interface cable When a network resistance is used for pull up it may be affected by a noise Separate TCK from other resistances The pattern between the H UDI port connector and the MCU must be as short as possible Do not connect the signal lines to other components on the board The AUD signals AUDCK AUDATA3 to AUDATAO and _AUDSYNC operate in high speed Isometric connection is needed if possible Do not separate connection nor connect other signal lines adjacently Supply the operating voltages of the H UDI and AUD of the MCU to the UVCC pin The resistance values shown in figure 2 11 are for reference For the pin processing in cases where the emulator is not used refer to the hardware manual of the related MCU For the AUDCK pin
10. Output 19 TMS Input GND 20 GND AUDATAO Output 21 TRST Input GND 22 GND 4 AUDATA1 Output 23 TDI Input GND 24 GND AUDATA2 Output 25 TDO Output GND 26 GND _ASEBRKAK Input ASEBRK 2 output GND 28 GND AUDSYNG Output 29 UVCC Output AUDATA3 Output 27 GND 30 GND N C 31 RES Output User reset GND 32 GND N C 33 GND 3 Output GND 34 GND TCK Input 35 N C GND 36 GND 1 Input to or output from the user system 2 The symbol _ means that the signal is active low 3 The emulator monitors the GND signal of the user system and detects whether or not the user system is connected 4 When the E200F probe head is connected to this pin and the _ ASEMD pin is set to 0 do not connect to GND but to the _ ASEMD pin directly 5 When the MCU does not support the AUD function or the AUD function is not used do not connect anything to the AUD pins AUDCK AUDATA3 to AUDATAO and _ AUDSYNC of the H UDI port connector Edge of the board H UDI port connector top view connected to the connector 09909090009 3 Pin 1 mark 1 27 M2 6 x 0 45 l lt 21 59 37 61 4351 7 Pattern inhibited area H UDI port connector top view H UDI port connector front view Figure 2 10 Pin Assignments of the H UDI Port Connector 36 Pins 23 RENESAS 2 6 Recommended
11. Traces the period from the satisfaction of Event Condition 5 to the satisfaction of Event Condition 4 To restrict trace acquisition to access for only a specific address or specific function of a program an Event Condition can be used Typical examples are described below Example of halting a trace with a write access L bus to H FFFF8000 by the user program as a condition trace halt Set the condition to be acquired on I Trace mode Set the following in the Event Condition 1 or Event Condition 2 dialog box Address condition Set Address and H FFFF8000 Bus state condition Set L Bus and Write Action condition Disable Acquire Break and set Acquire Trace for Stop Example of acquiring the write access L bus only to H FFFF8000 by the user program trace acquisition condition Select L Bus amp Branch from Type and enable Write and Data access on Acquisition Set the following in the Event Condition 1 or Event Condition 2 dialog box Address condition Set Address and H FFFF8000 Bus state condition Set L Bus and Write Action condition Disable Acquire Break and set Acquire Trace for Condition For the trace acquisition condition the condition to be acquired by Event Condition should be acquired by I Trace mode Example of acquiring a trace for the period while the program passes H 1000 through H 2000 point to point Set the condition to be acquired on I Tr
12. acquisition the next address to the address in which an exception occurs is acquired The AUD trace is disabled while the profiling function is used 3 2 3 Notes on Using the JTAG H UDI Clock TCK and AUD Clock AUDCK 1 Set the JTAG clock TCK frequency as a value that is lower than the frequency of the peripheral clock P and 1 4 or lower than the frequency of the bus clock B The initial value of the JTAG clock TCK is 2 5 MHz A value to be set for the JTAG clock TCK is initialized after executing Reset CPU or Reset Go Thus the TCK value will be 2 5 MHz When debugging is performed without connecting the EV chip unit set the AUD clock AUDCK frequency to 20 MHz or lower When debugging is performed with the EV chip unit connected set the AUD clock AUDCK frequency to 40 MHz or lower If the higher frequency is input the emulator will not operate normally 55 RENESAS 3 2 4 Notes on Setting the Breakpoint Dialog Box 1 When an odd address is set the next lowest even address is used A BREAKPOINT is accomplished by replacing instructions of the specified address A BREAKPOINT cannot be set to the following addresses e An area other than CS the internal RAM and the internal flash memory e An instruction in which Break Condition 2 is satisfied e A slot instruction of a delayed branch instruction During step operation specifying BREAKPOINTs and Event Condition breaks are disabled When execution r
13. against any and all damages arising out of such applications You should use the products described herein within the range specified by Renesas especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas shall have no liability for malfunctions or damages arising out of the use of Renesas products beyond such specified ranges Although Renesas endeavors to improve the quality and reliability of its products IC products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions Please be sure to implement safety measures to guard against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other applicable measures Among others since the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or system manufactured by you In case Renesas products listed in this document are detached from the products to which the Renesas products are attached or affixed the risk of accident such as swallowing by infants and small children is very high You shoul
14. guard the pattern between the H UDI port connector and the MCU at GND level When the MCU does not support the AUD function or the AUD function is not used do not connect anything to the AUD pins AUDCK AUDATA3 to AUDATAU and _AUDSYNC of the H UDI port connector RENESAS Vcc I O power supply Vee Vee Vcc All pulled up at 4 7 kQ or more vec H UDI port connector 36 pin type Target MCU EEES AUDATAO AUDATA1 AUDATA2 AUDATA2 AUDATA3 AUDATA3 AUDSYNG ASEBRKAK ASEBRK Toe ASEBRK Reset signal User system Note Supply the operating voltages of the H UDI and AUD of the MCU to the UVCC pin Figure 2 11 Recommended Circuit for Connection between the H UDI Port Connector and MCU when the Emulator is in Use 36 Pin Type 25 RENESAS 26 RENESAS Section 3 Software Specifications when Using the SH7080 Series SH7146 Series SH7125 Series 3 1 Differences between the MCU and the Emulator 1 When the emulator system is initiated it initializes the general registers and part of the control registers as shown in table 3 1 The initial values of the MCU are undefined When the emulator is initiated from the workspace a value to be entered is saved in a session Table 3 1 Register Initial Values at Emulator Link Up Register Emulator at Link Up RO to R14 H 00000000 R15 SP Value of the SP in the power on reset vector table PC Value of the PC in the power on reset vector table SR
15. sleep counting is also halted 3 When the measurement start or end condition is set counting is halted if a power on reset is input after and before the satisfaction of measurement start and end conditions 59 RENESAS 2 Displaying the measured result The measured result is displayed in the Performance Analysis window or the PERFORMANCE_ANALYSIS command with hexadecimal 32 bits Note If a performance counter overflows 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 60 RENESAS Section 4 User System Interface Circuits 41 User System Interface Circuits Some signals from the optional EV chip unit are connected to ICs and pull up resistors Figures 4 1 through 4 12 show user system interface circuits Use the figures as a reference in determining the values of the pull up resistors SH7080 User system 2 HD151015 EP1K100FC EP1K100FC LVTH16244 2 HD151015 EP1K100FC EP1K100FC CB3T16211 Figure 4 1 User System Interface Circuits Notes 1 If the product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the value of the pull up resistor will be 47 KQO 2 If the product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipme
16. the Software trace check box in the AUD mode group box of the Trace mode page RENESAS Notes on AUD Trace 1 When the trace display is performed during user program execution the mnemonics operands or sources are not displayed The AUD branch trace function outputs the differences between newly output branch source addresses and previously output branch source addresses The window trace function outputs the differences between newly output addresses and previously output addresses 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 difference from the previously displayed 32 bit address If the 32 bit address cannot be displayed the source line is not displayed In the emulator when multiple loops are performed to reduce the number of AUD trace displays only the IP counts up In the emulator the maximum number of trace displays is 262144 lines 131072 branches However the maximum number of trace displays differs according to the AUD trace information to be output Therefore the above pointers cannot always be acquired If a completion type exception occurs during exception branch
17. trace occurs Description When the next branch occurs while the trace information is being output all the information may not be output The user program can be executed in realtime but some trace information will 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 Trace continue full This function overwrites the latest trace information to store the oldest trace information Trace stop After the trace buffer becomes full the trace information is no longer acquired The user program is continuously executed To set the AUD trace acquisition mode click the Trace window with the right mouse button and select Setting from the pop up menu to display the I Trace AUD Trace acquisition dialog box The AUD trace acquisition mode can be set in the AUD mode1 AUD mode2 or AUD mode3 group box in the Trace mode page of the I Trace AUD Trace acquisition dialog box 48 RENESAS I Trace AUD Trace acquisition Trace mode Window trace AUD Branch trace Trace type C Trace AUD function I Trace mode Type Bus amp Branch Z Acquisition M Read Iv Write WM Branch WW Data access M cpu M DMA M DTC F Instruction Fetch When trace buffer full Trace continue AUD mode IV Branch trace E Window trace ia Channel A is C
18. two instructions in the SLEEP instruction If the power on reset and the Event condition are matched simultaneously no condition will be satisfied If a condition of which intervals are satisfied closely is set no sequential condition will be satisfied Set the Event conditions sequentially which are satisfied closely by the program counter with intervals of two or more instructions If a power on reset is generated immediately before a break occurs when a sequential condition is matched the halt condition will not be displayed correctly The CPU is structured as a pipeline the order between the instruction fetch cycle and the memory cycle is determined by the pipeline Accordingly when the channel condition is matched in the order of bys cycle the sequential condition is satisfied If the settings of the Event condition or the sequential conditions are changed during execution of the program execution will be suspended The number of clocks to be suspended during execution of the program is a maximum of about 52 bus clocks B If the bus clock Bo is 10 0 MHz the program will be suspended for 5 2 us If the settings of Event conditions or the sequential conditions are changed during execution of the program the emulator temporarily disables all Event conditions to change the settings During this period no Event condition will be satisfied If the satisfaction is contended between the DMA or DTC transfer and conditions of Eve
19. 0 PE 6 4 PE 9 8 PE 12 11 PA24 PE10 Figure 4 8 User System Interface Circuits when Selecting SH7085 Operating Mode Notes 1 If the product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the value of the pull up resistor will be 47 kO 2 If the product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the CB3T16211 will not be mounted Signals from the user system are connected to EPLK100FC 3 The product revision at the time of shipment from the factory is printed on the edge of the ROE570800VKK00 board Check the alphabetic character following the six digit number 68 RENESAS SH7080 PA2 PA 13 4 PA 18 15 PA 29 26 PB 9 2 PC1 PC12 PC 25 23 PD6 PD8 PD 11 0 PD14 PD 28 16 PD31 PE 3 0 PE 15 11 PE17 PA 1 0 PAS PA14 PA 23 19 PA25 PB 1 0 PCO PC 11 2 PC 15 13 PC 22 18 PD 5 0 PD7 PD9 PD 13 12 PD15 PD 30 29 PE 10 4 PE16 PE 21 18 2 EP1K100FC CB3T16211 2 EP1K100FC CB3T16211 User system PA2 PA 13 4 PA 18 15 PA 29 26 PB 9 2 PC1 PC12 PC 25 23 PD6 PD8 PD 11 0 PD14 PD 28 16 PD31 PE 3 0 PE 15 11 PE17 PA 1 0 PA3 PA14 PA 23 19 PA25 PB 1 0 PCO PC 11 2 PC 15 13 PC 22 18 PD 5 0 PD7 PD9 PD 13 12 PD15 PD 30 29 PE 10 4 PE16 PE 21 18 Figure 4 9 User System Interface Circuits when Selecting SH7086 Operating Mode
20. 0KB A user system interface board 1 ROE571490CFKOO Depth 60 0 mm Width 90 0 mm Height 26 0 mm Mass 45 g SH7149 PRQP0100JE B user system interface board 1 ROE571490CF JOO Depth 60 0 mm Width 90 0 mm Height 26 0 mm Mass 45 g SH7125 PLOP0064KB A user system interface board 1 ROE571250CFKOO Depth 60 0 mm Width 90 0 mm Height 26 0 mm Mass 45 g RENESAS Table 1 2 Optional Components of the Emulator cont Classi Quan fication Component Appearance tity Remarks Hard SH7125 PROP0064GB 1 ROE571250CFGO0 ware A user system interface Depth 60 0 mm Width 90 0 mm cont board Height 26 0 mm Mass 45 g SH7124 PLQP0048JA A user system interface board 1 RO0E571240CFJO0 Depth 60 0 mm Width 90 0 mm Height 26 0 mm Mass 45 g RENESAS 1 2 System Configuration Figure 1 1 shows an example of the emulator system configuration When the EV chip unit is not used Expansion profiling unit O performance z zz y O Workshop id y AS lant Ay IA E200F cS da User system When the EV chip unit is used Expansion profiling unit o p g Trace cable External bus mbedded Workshop Emulation memory unit EV chip unit User system Figure 1 1 System Configuration Using the Emulator 1 System Configuration of the SH7080 Series and SH7149 Table 1 3 shows the system configuration supported by the SH7080 series SH7083 SH7084 SH7085 SH7086
21. 25 The internal and AUD traces are set in the I Trace AUD Trace acguisition dialog box of the Trace window 42 RENESAS Internal Trace Function When I Trace is selected for Trace type on the Trace Mode page of the I Trace AUD Trace acquisition dialog box the internal trace can be used I Trace AUD Trace acquisition Trace mode r Trace type Trace C AUD function r l Trace mode Type L Bus amp Branch x Acquisition IV Read VW Write JW Branch Data access T cpu M DMA DTG IV Instruction Fetch When trace buffer full Trace continue d AUD mode Wi Branch trace 7 Window trace W Channel amp 7 Channel B F Software trace AUDmodel Aealtimetace Non realtime trac AUDmode2 Trace continue Tracestop Br AUD mode F Enable free trace Time stamp AUD trace display Start pomter End pointer o o Figure 3 2 I Trace AUD Trace acquisition Dialog Box Internal Trace Function 43 RENESAS The following three items can be selected as the internal trace from Type of I Trace mode Table 3 11 Information on Acquiring the Internal Trace Item Acquisition Information L Bus amp Branch Acquires the data and branch information on the L bus e Data access read write e Branch information e Instruction fetch l Bus Acquires the data on the I bus e Data access read write e Selection of the bus maste
22. 3 17 Note When Ch2 to Chl PA or Ch1 to Ch2 PA is selected to execute the user program specify conditions set in Event Condition 2 and Event Condition 1 and one or more items for performance measurement 58 RENESAS b Measurement item Items are measured with Channel 1 to 4 in the Performance Analysis dialog box Maximum four conditions can be specified at the same time Table 3 16 shows the measurement items Table 3 16 Measurement Item Selected Name Option Disabled None Elapsed time AC Number of execution states VS Branch instruction counts BT Number of execution instructions Exception interrupt counts EA Interrupt counts INT URAM area access counts UN URAM area instruction access counts UIN URAM area data access counts UDN Note Selected names are displayed for CONDITION in the Performance Analysis window Options are parameters for lt mode gt of the PERFORMANCE_SET command Each measurement condition is also counted when a condition in table 3 17 is generated Table 3 17 Performance Measurement Condition to be Counted Measurement Condition Notes 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 When the CPU clock is halted in the mode such as
23. 800VKK00 board Check the alphabetic character following the six digit number 70 RENESAS SH7080 User system PA 15 1 PB 5 1 PB18 PD 7 0 PD 15 13 PE2 PA 15 1 PB 5 1 PB18 PD 7 0 PD 15 13 PE2 PE7 PE13 2 PE7 PE13 PE 16 15 PE 20 19 EP1K100FC CB3T16211 PE 16 15 PE 20 19 PAO PBO PB17 PD 12 8 PE 1 0 PD 12 8 PE 1 0 PE 6 3 PE 12 8 z PE 6 3 PE 12 8 PE14 PE 18 17 PE14 PE 18 17 pea EP1K100FC CB3T16211 As PAO PBO PB17 Figure 4 11 User System Interface Circuits when Selecting SH7149 Operating Mode Notes 1 Ifthe product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the value of the pull up resistor will be 47 kQ 2 If the product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the CB3T16211 will not be mounted Signals from the user system are connected to EPLK100FC 3 The product revision at the time of shipment from the factory is printed on the edge of the ROE570800VKK00 board Check the alphabetic character following the six digit number 71 RENESAS SH7080 User system PA 11 0 PA 15 14 PA 11 0 PA 15 14 PB 3 2 PBS PB 3 2 PB5 PB16 PEO PE 4 3 gt PB16 PEO PE 4 3 PE11 PE 14 13 EP1K100FC CB3T16211 PE11 PE 14 13 PA 13 12 PB1 PA 13 12 PB1 PE 2 1 PE 10 5 PE 2 1 PE 10 5 2 PE12 PE1S EPIK100FC CB3T16211 PE12 PE15 Figure 4 12 U
24. A TXD3 _SCS TCK PE13 TIOC4B _MRES _ASEBRKAK _ASEBRK 32 RENESAS Table 3 5 Multiplexed Functions cont MCU Function 1 Function 2 R5E71464R PE16 TIOC3BS _ASEBRKAK _ASEBRK PE17 TIOC3DS TCK PE18 TIOC4AS TDI PE19 TIOC4BS TDO PE20 TIOC4CS TMS PE21 TIOC4DS _TRST R5E71494R and PE16 _WAIT TIOC3BS _ASEBRKAK _ASEBRK R5E71491R PE17 _CS0 TIOC3DS TCK PE18 _CS1 TIOC4AS TDI PE19 _RD TIOC4BS TDO PE20 _WRH TIOC4CS TMS PE21 _WRL TIOC4DS _TRST PD8 D8 SCK2 AUDATAO PD9 D9 AUDATA1 PD10 D10 AUDATA2 PD11 D11 AUDATA3 PD14 D14 AUDCK PD15 D15 _AUDSYNC R5F71464R PE16 TIOC3BS _ASEBRKAK _ASEBRK PE17 TIOC3DS TCK PE18 TIOC4AS TDI PE19 TIOC4BS TDO PE20 TIOC4CS TMS PE21 TIOC4DS _TRST R5F71494R PE16 _WAIT TIOC3BS _ASEBRKAK _ASEBRK R5F71491R PE17 CSO TIOC3DS TCK PE18 CS1 TIOC4AS TDI PE19 RD TIOC4BS TDO PE20 WRH TIOC4CS TMS PE21 WRL TIOC4DS _TRST RENESAS 33 Table 3 5 Multiplexed Functions cont MCU Function 1 Function 2 SH7125 FWE _ASEBRKAK _ASEBRK PA3 _IRQ1 RXD1 _TRST PA4 _IRQ2 TXD1 TMS PA7 TCLKB SCK2 TCK PA8 TCLKC RXD2 TDI PA9 TCLKD TXD2 POE8 TDO SH7124 FWE _ASEBRKAK _ASEBRK PA3 _IRQ1 RXD1 _TRST PA4 _IRQ2 TXD1 TMS PA7 TCLKB SCK2 TCK PA8 TCLKC RXD2 TDI PA9 TCLKD TXD2 POE8 TDO The emulator pins are multiplexed with other pins When the emulator is connected function 1 cannot be used because the emulator uses the pins
25. External Bus Trace Unit Emulation Memory Unit and EM chip Unite se GG Nels sede Blase eld Gausea ae 19 2 2 6 Connecting the EV chip Unit to the User System Interface Board 20 2 3 Connecting the Emulator to the User System by Using the H UDI Port Connector 21 2 4 Installing the H UDI Port Connector on the User System 0 eee eee eee eeseeeeeeeeeteeeeneeees 22 2 5 Pin Assignments of the H UDI Port Connector eee ec eeceeseeseeeeeeseeeserenesnesaeenatenes 22 2 6 Recommended Circuit between the H UDI Port Connector and the MCU 24 2 6 1 Recommended Circuit 36 Pin Type 0 c ee eeeeeseeseeeeseeeseeeeseeeaeeeeeeseeeeeeseeeseeeaes 24 Section 3 Software Specifications when Using the SH7080 Series SH AG Series SH7125 SOBs ue cein YGU FEE GANU DS YAR yB 27 3 1 Differences between the MCU and the Emulator oo eee eeeeseeeseeeseeeseseeeseeeeaeeeaeenas 27 3 2 Specific Functions for the Emulator when Using the SH7080 Series SH7 146 Series SIL7125 Seres ein sete Ti yd GG dn FF LG GYG GY GYFF wie 35 3 2 I Event Condition Functions isie Gio ue Gu Gee FI Gi age Fyd Fo 35 3 2 2 Trace PUNCUIONS voces cx eidd GT FT AE AE E eE 42 3 2 3 Notes on Using the JTAG H UDI Clock TCK and AUD Clock AUDCE 55 3 2 4 Notes on Setting the Breakpoint Dialog BOX oo eee ee eee eeeeeeteeeeseeeseenaeeaes 56 3 2 5 Notes on Setting the Event Condition Dialog Box and the BREAKCONDITION_ SET Com
26. H 000000FO GBR H 00000000 VBR H 00000000 MACH H 00000000 MACL H 00000000 PR H 00000000 2 The emulator uses the H UDI do not access the H UDI 3 Low Power States Sleep Software Standby and Module Standby e When the emulator is used the sleep state can be cleared with either the clearing function or with the STOP button and a break will occur e The memory must not be accessed or modified in software standby state e When the emulator is used do not use the deep software standby mode 4 Reset Signals The MCU reset signals are only valid during emulation started with clicking the GO or STEP type button If these signals are enabled on the user system in command input wait state they are not sent to the MCU Note Do not break the user program when the _RES _BREO or _WAIT signal is being low A TIMEOUT error will occur If the _BREO or _WAIT signal is fixed to low during break a TIMEOUT error will occur at memory access Some MCUs will incorporate no _BREQ or _WAIT 27 RENESAS 5 Direct Memory Access Controller DMAC Data Transfer Controller DTC When the MCU incorporates a DMAC the DMAC operates even when the emulator is used When a data transfer request is generated the DMAC executes DMA transfer When the MCU incorporates a DTC the DTC operates even when the emulator is used When a data transfer request is generated the DTC executes DTC transfer 6 Memory Access during User Program Execution During e
27. REJ10J1237 0400 Everywhere you imagine g gt E NI ESAS SH 2A SH 2 E200F Emulator Additional Document for User s Manual Supplementary Information on Using the SH7083 SH7084 SH7085 SH7086 SH7146 SH7149 SH7124 and SH7125 Renesas Microcomputer Development Environment System SuperH Family SH7080 Series SH7146 Series SH7125 Series E200F for SH7080 ROE570800EMUOOE Rev 4 00 Renesas Technology Revision Date Feb 26 2007 www renesas com 11 10 12 13 Notes regarding these materials 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 grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this document Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising out of the use of any information in this document including but not limited to product data diagrams charts programs algorithms and application circuit examples You should not use the products or the technology described in this document for the purpose of military applications such as the development of weap
28. UDATA2 PE5 _CS6 _CE1B TIOC1B TXD3 AUDATA1 PE6 _CS7 TIOC2A SCK3 AUDATAO R5E70865R PE8 TIOC3A SCK2 SSCK TMS PE9 TIOC3B SCK3 _RTS3 _TRST PE10 TIOC3C TXD2 SSO TDI PE11 TIOC3D RXD3 _CTS3 TDO PE12 TIOC4A TXD3 _SCS TCK PE13 TIOC4B _MRES _ASEBRKAK _ASEBRK PD16 D16 IRQ0 _POE4 AUDATAO PD17 D17 IRQ1 _POE5 AUDATA1 PD18 D18 IRQ2 _POE6 AUDATA2 PD19 D19 IRQ3 _POE7 AUDATA3 PD22 D22 IRQ6 TIC5US AUDCK PD23 D23 IRQ7 _AUDSYNC RENESAS 31 Table 3 5 Multiplexed Functions cont MCU Function 1 Function 2 R5E70865R cont PA16 _WRHH _ICIOWR _AH _AUDSYNC DQMUU CKE DREQ2 PEO DREO0 TIOCOA AUDCK PE3 TEND1 TIOCOD AUDATA3 PE4 _lOIS16 TIOC1A RXD3 AUDATA2 PE5 _CS6 _CE1B TIOC1B TXD3 AUDATA1 PE6 _CS7 TIOC2A SCK3 AUDATAO R5F70834A and PEO DREG0 TIOCOA TMS R5F70835A PE1 TENDO TIOCOB _TRST PE2 DREO1 TIOCOC TDI PE3 TEND1 TIOCOD TDO PE4 TIOC1A RXD3 TCK PE13 TIOC4B MRES _ASEBRKAK _ASEBRK R5F70844A and PEO DREGO0 TIOCOA TMS R5F70845A PE1 TENDO TIOCOB _TRST PE2 DREQ1 TIOCOC TDI PE3 TEND1 TIOCOD TDO PE4 TIOC1A RXD3 TCK PE5 _CS6 TIOC1B TXD3 _ASEBRKAK _ASEBRK R5F70854A and PE8 TIOC3A SCK2 SSCK TMS R5F70855A PE9 TIOC3B SCK3 _RTS3 _TRST PE10 TIOC3C TXD2 SSO TDI PE11 TIOC3D RXD3 _CTS3 TDO PE12 TIOC4A TXD3 _SCS TCK PE13 TIOC4B _MRES _ASEBRKAK _ASEBRK R5F70865A PE8 TIOC3A SCK2 SSCK TMS PE9 TIOC3B SCK3 _RTS3 _TRST PE10 TIOC3C TXD2 SSO TDI PE11 TIOC3D RXD3 _CTS3 TDO PE12 TIOC4
29. a Y mA eis YA wi z ga Figure 2 7 Connecting the Emulation Memory Unit EV chip Unit and Trace Cable A CAUTION Check the location of pin 1 before connecting RENESAS 2 2 5 Connecting the E200F External Bus Trace Unit Emulation Memory Unit and EV chip Unit e When the external bus trace unit is used with the emulation memory unit and EV chip unit as shown in figure 2 8 connect them in the positions of a b and c for the external bus trace unit emulation memory unit and EV chip unit respectively e After checking the location of pin 1 connect the external bus trace unit emulation memory unit and EV chip unit BHVES IT ZOSOVKKOOS amp Figure 2 8 Connecting the External Bus Trace Unit Emulation Memory Unit and EV chip Unit A CAUTION Check the location of pin 1 and the position of each unit before connecting RENESAS 2 2 6 Connecting the EV chip Unit to the User System Interface Board e After checking the location of pin 1 connect the EV chip unit to the user system interface board cr EV chip unit Connector No EV Chip Unit Board Connector No Connector No User I F Connector 1 CN4 User I F Connector 2 CNS Figure 2 9 Connecting User System Interface Board to EV Chip Unit A CAUTION Check the location of pin 1 before connecting Notes 1 Connection of the signals differs depending on the MCU used 2 For th
30. ace mode Set the address condition as H 1000 in the Event Condition 5 dialog box 45 RENESAS Set the address condition as H 2000 in the Event Condition 4 dialog box Set Ch4 5 as I Trace Ch5 to Ch4 PtoP in the Combination action dialog box When point to point and trace acquisition condition are set simultaneously they are ANDed Notes on Internal Trace Timestamp The timestamp is twice the crystal oscillator or the external clock that is connected to or input to the target MCU Table 3 13 shows the timing for acquiring the timestamp Table 3 13 Timing for the Timestamp Acquisition Item Counter Value Stored in the Trace Memory L bus instruction fetch Counter value when instruction fetch has been completed L bus data access Counter value when data access has been completed Branch Counter value when the next bus cycle has been completed after a branch I bus fetch Counter value when a fetch has been completed l bus data access Counter value when data access has been completed 46 Point to point The trace start condition is satisfied when the specified instruction has been fetched Accordingly if the trace start condition has been set for the overrun fetched instruction an instruction that is not executed although it has been fetched at a branch or transition to an interrupt tracing is started during overrun fetching of the instruction However when overrun fetching is achieved a branch is c
31. ce page and specify the bus cycle and memory range that are to be set for each channel RENESAS I Trace AUlD Trace acquisition Trace mode Window trace AUD Branch trace Channel 4 Read Wrie Read Write Start address Ho End address H 0 Bus state l Bus Me Channel B Read Write C Read Writely Read Write Start address Ho End address H 0 Bus state LBus Figure 3 5 Window trace Page 53 RENESAS Note When L Bus or I Bus is selected the following bus cycles will be traced e L Bus A bus cycle generated by the CPU is acquired e I Bus A bus cycle generated by the CPU DMA or DTC is acquired Some MCUs will incorporate no DMAC or DTC c Software Trace Function Note This function can be supported with SHC C compiler manufactured by Renesas 54 Technology Corp including OEM and bundle products V7 0 or later When a specific instruction is executed the PC value at execution and the contents of one general register are acquired by trace Describe the Trace x function x is a variable name to be compiled and linked beforehand For details refer to the SHC manual When the load module is downloaded on the emulator and is executed while a software trace function is valid the PC value that has executed the Trace x function the general register value for x and the source lines are displayed To activate the software trace function select
32. ctions e Break of the user program e Internal trace e Start or end of performance measurement Table 3 6 lists the types of Event Condition Table 3 6 Types of Event Condition Event Condition Type Description Address bus condition Address Sets a condition when the address bus data access value or the program counter value before or after execution of instructions is matched Data bus condition Data Sets a condition when the data bus value is matched Byte word or longword can be specified as the access data size Bus state condition There are two bus state condition settings Bus State Bus state condition Sets a condition when the data bus value is matched Read Write condition Sets a condition when the read write condition is matched Count Sets a condition when the specified other conditions are satisfied for the specified counts Action Selects the operation when a condition such as a break a trace halt condition or a trace acquisition condition is matched Using the Combination action Sequential or PtoP dialog box specifies the sequential condition the point to point operation of the internal trace and the start or end of performance measurement Table 3 7 lists the combinations of conditions that can be set under Ch1 to Ch10 and the software trace 35 RENESAS Table 3 7 Dialog Boxes for Setting Event Conditions Function Action Action
33. d implement safety measures so that Renesas products may not be easily detached from your products Renesas shall have no liability for damages arising out of such detachment This document may not be reproduced or duplicated in any form in whole or in part without prior written approval from Renesas Please contact a Renesas sales office if you have any questions regarding the information contained in this document Renesas semiconductor products or if you have any other inquiries Contents Section 1 System Configuration iia ido YO Ed dU NYFED O RG CORS 1 1 1 Components of the Emulator ieee ee cesecesecesececeeseeeseeesecsaeeseecseecseecseeeseseaeesaeesseesseeaaes 1 1 2 SystempConfiourati Oll iu ie ye dyar wesc sete ssc YT GG yes dois lec FU YC tv de oC yD navies WNO 8 Section 2 Connecting the Emulator to the User System ow ee eee eeeeceeeeeeeees 11 2 1 Connecting the Emulator to the User System eee eeceseeeeeseeeseeeseeeseeesesenessnenaeenatenes 11 2 2 Connecting the Emulator to the User System by Using the EV chip Unit 11 2 2 1 Connecting the EV chip Unit to the Emulator ee eeeeseeeseeeseeeeeseeeseeeaes 11 2 2 2 Connecting the E200F External Bus Trace Unit to the EV chip Unit 14 2 2 3 Connecting the Probe Head to the EV chip Unit eee eeeeseeeseeeneeeeeeees 16 2 2 4 Connecting the E200F Emulation Memory Unit to the EV chip Unit 17 2 2 5 Connecting the E200F
34. e method to connect the user system interface board to the user system refer to the user system interface board user s manual for each MCU 20 RENESAS 2 3 Connecting the Emulator to the User System by Using the H UDI Port Connector When the H UDI port connector is installed on the user system refer to the recommended circuit between the H UDI port connector and the MCU It is impossible to connect the emulator to the 14 pin type connector that is recommended for the E10A USB emulator The 36 pin type connector is the same as that of the EIOA USB emulator When designing the user system read the E200F emulator user s manual and hardware manual for the related device Table 2 1 shows the type number of the emulator the corresponding connector type and the use of AUD function Table 2 1 Type Number AUD Function and Connector Type Type Number Connector AUD Function ROE0200F1EMUO0O 14 pin connector Not available ROE0200F1EMUO0 36 pin connector Available The H UDI port connector has the 36 pin and 14 pin types as described below Use the 36 pin connector when using the emulator 1 36 pin type with AUD function The AUD trace function is supported A large amount of trace information can be acguired in realtime The window trace function is also supported for acguiring memory access in the specified range memory access address or memory access data by tracing 2 14 pin type without AUD function The AUD trace function can
35. e recovered by loading sessions Thus the TCK value will be 2 5 MHz 10 IO Window e Display and modification For each watchdog timer register there are two registers to be separately used for write and read operations Table 3 4 Watchdog Timer Register Register Name Usage Register WTCSR W Write Watchdog timer control status register WTCNT W Write Watchdog timer counter WTCSR R Read Watchdog timer control status register WTCNT R Read Watchdog timer counter After the I O register definition file is created the MCU s specifications 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 hardware manual The I O register definition file can be customized depending on its format Note that however the emulator does not support the bit field function e Verify In the IO window the verify function of the input value is disabled 11 Illegal Instructions Do not execute illegal instructions with STEP type commands 12 MCU Operating Mode Do not use the emulator in the boot user boot and user program modes 13 Internal Flash Memory It is not possible to reprogram the content of the internal flash memory during execution of the user program 29 RENESAS 14 Multiplexing the AUD Pins in Debugging without Connecting the EV chip Unit When debugging is perf
36. en any line in the Performance Analysis window is clicked with the right mouse button a popup menu is displayed and the Performance Analysis dialog box can be 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 by using Event Condition 1 2 The Ch1 2 3 list box of the Combination action dialog box can be used Table 3 15 Measurement Period Classification Item Description Selection in Ch2 to Ch1 The period from the satisfaction of the condition set in Event the Ch1 2 3 PA Condition 2 start condition to the satisfaction of the condition set list box in Event Condition 1 end condition is set as the performance measurement period Ch1 to Ch2 The period from the satisfaction of the condition set in Event PA Condition 1 start condition to the satisfaction of the condition set in Event Condition 2 end condition is set as the performance measurement period Other than The period from the start of execution of the user program to the above occurrence of a break is measured 57 RENESAS Perfomance Analysi Elapsed time Disabled Disabled Disabled Figure 3 6 Performance Analysis Dialog Box For measurement tolerance e The measured value includes tolerance e Tolerance will be generated before or after a break For details see table
37. en system configuration 1 is used the H UDI port connector must be installed on the user system When designing the user system refer to section 2 3 Connecting the Emulator to the User System by Using the H UDI Port Connector For system configuration 1 note that the H UDI pin of the MCU is occupied by the emulator 2 The user system interface board is only used when the emulator is connected to the user system it is not reguired when the emulator system operates alone 10 RENESAS Section 2 Connecting the Emulator to the User System 2 1 Connecting the Emulator to the User System When the emulator is connected to the user system use the optional EV chip unit user system interface board and trace cable or install the H UDI port connector on the user system 2 2 Connecting the Emulator to the User System by Using the EV chip Unit The following describes how to connect the emulator to the EV chip unit external bus trace unit emulation memory unit trace cable and user system interface board 2 2 1 Connecting the EV chip Unit to the Emulator e Open the cover of TRACE I F on the side of the main unit case e Connect the trace cable to the EV chip unit as shown in figure 2 1 RENESAS gt Figure 2 1 Connecting the Trace Cable to E200F when Using the EV chip Unit RENESAS e Connect the EV chip unit to the trace cable CNI side Figure 2 2 Connecting the Trace Cable to the EV chip Unit A CAUTION Check
38. esumes from the address where a BREAKPOINT is specified and a break occurs before Event Condition execution single step operation is performed at the address before execution resumes Therefore realtime operation cannot be performed If an address of a BREAKPOINT cannot be correctly set in the ROM or external flash memory area a mark 6 will be displayed in the BP area of the address on the Source or Disassembly window by refreshing the Memory window etc after Go execution However no break will occur at this address When the program halts with the event condition the mark amp disappears 3 2 5 Notes on Setting the Event Condition Dialog Box and the BREAKCONDITION_ 56 SET Command When Go to cursor Step In Step Over or Step Out is selected the settings of Event Condition 3 are disabled When an Event Condition is satisfied emulation may stop after two or more instructions have been executed RENESAS 3 2 6 Performance Measurement Function The emulator supports the performance measurement function Note When SH7124 or SH7125 is used and debugging is performed without connecting the EV chip unit the performance measurement function is not available This function is available when the EV chip unit is connected to the emulator 1 Setting the performance measurement conditions To set the performance measurement conditions use the Performance Analysis dialog box and the PERFORMANCE_SET command Wh
39. hannel B Software trace AUDmodel Realtime trace Non realtime trace AUDmode2 Trace continue Tracestop Break AUD modes Enable free trace Time stamp 20ns AUD trace display Start pointer D 255 End pointer p o Figure 3 3 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 49 RENESAS 50 a Branch Trace Function The branch source and destination addresses and their source lines are displayed Branch trace can be acquired by selecting the Branch trace check box in the AUD mode group box of the Trace mode page The branch type can be selected in the AUD Branch trace page RENESAS I Trace AUD Trace acquisition Trace mode Window trace AUD Branch trace rd A eee V Acquire subroutine branch instruction trace V Acquire exception branch instruction trace Figure 3 4 AUD Branch trace Page 51 RENESAS 52 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 mode group box of the Trace mode page Each channel will become valid ii Open the Window tra
40. her signals NHS Other signals Figure 4 14 User System Interface Board Circuits for the SH7084 74 RENESAS EV chip unit PAO PA1 PA6 PA7 PA10 PA11 PA17 PA18 PA20 PA21 PB7 PB8 PD28 PD29 PE5 PE6 Other signals User system interface board Vcc User system PAO PA1 PA6 PA7 PA10 PA11 PA17 PA18 PA20 PA21 PB7 PB8 PD28 PD29 PE5 PE6 Other signals Figure 4 15 User System Interface Board Circuits for the SH7085 RENESAS 75 EV chip unit User system interface board User system PAO PA1 PA6 PAO PA1 PA6 PA7 PA10 PA11 PA7 PA10 PA11 PA17 PA18 PA20 PA17 PA18 PA20 PA21 PB7 PB8 PA21 PB7 PB8 PD28 PD29 PE5 PD28 PD29 PE5 PE6 PE16 PE6 PE16 Other signals Other signals Figure 4 16 User System Interface Board Circuits for the SH7086 76 RENESAS EV chip unit User system interface board User system PA9 PB1 PE10 PA9 PB1 PE10 PE16 PE17 PE18 PE16 PE17 PE18 Other signals _ eo Other signals Figure 4 17 User System Interface Board Circuits for the SH7149 77 RENESAS EV chip unit User system interface board User system All signals All signals Figure 4 18 User System Interface Board Circuits for the SH7146 SH7125 SH7124 78 RENESAS 4 3 Delay Time for the User System Interface Since the _RES and NMI signals are connected to the user system via the log
41. ic on the EV chip unit a delay time shown in table 4 1 will be generated until the signal is input from the user system to the MCU Table 4 1 Delay Time for Signals via the EV chip Unit No Signal Name Delay Time ns 1 _RES 20 2 NMI 16 RENESAS 79 80 RENESAS SH 2A SH 2 E200F Emulator Additional Document for User s Manual Supplementary Information on Using the SH7083 SH7084 SH7085 SH7086 SH7146 SH7149 SH7124 and SH7125 Publication Date Rev 1 00 January 4 2006 Rev 4 00 February 26 2007 Published by Sales Strategic Planning Div Renesas Technology Corp Edited by Customer Support Department Global Strategic Communication Div Renesas Solutions Corp 2007 Renesas Technology Corp All rights reserved Printed in Japan Renesas Technology Corp Sales Strategic Planning Div Nippon Bldg 2 6 2 Ohte machi Chiyoda ku Tokyo 100 0004 Japan 2CENESAS RENESAS SALES OFFICES 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 lt 1 gt 408 382 7500 Fax lt 1 gt 408 382 7501 Renesas Technology Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH U K Tel lt 44 gt 1628 585 100 Fax lt 44 gt 1628 585 900 Renesas Technology Shanghai Co Ltd Unit 204 205 AZIACenter No 1233 Lujiazui Ring Rd Pudong Di
42. ion of the condition set in Event Condition 1 end condition Ch1 to Ch2 PA Sets the performance measurement period during the time from the satisfaction of the condition set in Event Condition 1 start condition to the satisfaction of the condition set in Event Condition 2 end condition Ch4 5 list box Sets the point to point of the internal trace the start or end condition of trace acguisition using Event Conditions 4 and 5 Don t care Sets no start or end condition of trace acguisition I Trace Ch5 to Ch4 Sets the acquisition period during the time from the PtoP satisfaction of the condition set in Event Condition 5 start condition to the satisfaction of the condition set in Event Condition 4 end condition 38 RENESAS Notes 1 If the start condition is satisfied after the end condition has been satisfied by measuring performance performance measurement will be restarted For the measurement result after a break the measurement results during performance measurement are added 2 If the start condition is satisfied after the end condition has been satisfied by the point to point of the internal trace trace acguisition will be restarted 3 When the start or end of performance measurement Ch2 to CH1 PA and Ch1 to Ch2 PAJ is used the count for specifying the condition of Event Condition 1 must be once 4 l Trace stop Ch3 2 1 l Trace stop Ch2 1 and I Trace Ch5 to Ch4 PtoP are not
43. its 64 RENESAS SH7080 User system AVcc DALC112S1 EP1K100FC ASEBCK N C ASEBCK LVTH16244 ASEBRK N C mm ASEBRK Figure 4 5 User System Interface Circuits RENESAS 65 SH7080 User system PA 5 3 PA 9 7 PA 5 3 PA 9 7 PA 15 14 PB 2 1 PA 15 14 PB 2 1 PB 9 4 PB 9 4 PCO PC2 PD2 7 PCO PC2 PD2 PD 12 5 PD 15 14 i PD 12 5 PD 15 14 MM EP1K100FC CB3T16211 ET PE 15 13 PA10 PA 13 12 PA10 PA 13 12 PBO PC1 PBO PC1 PC 15 3 PD 1 0 PC 15 3 PD 1 0 PD 4 3 PD13 5 PD 4 3 PD13 PE 4 3 PE7 EP1K100FC CB3T16211 PE 4 3 PET PE10 PE12 PE10 PE12 Figure 4 6 User System Interface Circuits when Selecting SH7083 Operating Mode Notes 1 Ifthe product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the value of the pull up resistor will be 47 kQ 2 Ifthe product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the CB3T16211 will not be mounted Signals from the user system are connected to EPLK100FC 3 The product revision at the time of shipment from the factory is printed on the edge of the ROE570800VKK00 board Check the alphabetic character following the six digit number 66 RENESAS SH7080 User system PA 2 0 PA 9 4 PA 2 0 PA 9 4 PA12 PA15 PA12 PA15 PB 9 2 PCO PB 9 2 PCO PC12 PD 4 2 2 PC12 PD 4 2 PD 15 6 PE 3 0 EP1K100FC CB3T16211 PD
44. mand 00 0 ececeeeseeeeeseeeeeeseeseeeeereeneeeees 56 3 2 6 Performance Measurement Function 0 0 0 eee eesceseeeeeeeeeseeeeseeeseeeaeeeaeeeaeeeseeseeesees 57 Section 4 User System Interface Circuits i cccccsscccossnsdedensnsensdsaanacceseassoadaadeenseeeses 61 4 1 User System Interface Circuits eee cece ceseceseeseeesecesesesecsseeseeesesssesesesseesseesseeeseeeatees 61 4 2 User System Interface Board Circuits cece ee cecceseeseeeseeeseceseseeeseeeaeeeseeeaeseaeeneeeeeeaeens 73 RENESAS 4 3 Delay Time for the User System Interface eee cece eeeceseceeceseeeseeseeeseeeeeeeeeessneeaaes RENESAS Section 1 System Configuration 1 1 Components of the Emulator The E200F emulator supports the SH7080 series SH7146 series and SH7125 series SH7083 RSE SH7083 R5E70835R R5F70834A R5F70835A SH7084 R5E70845R R5F70844A R5F70845A SH7085 RS5E70855R R5F70854A R5F70855A SH7086 R5E70865R R5F70865A SH7146 R5E71464R R5F71464R SH7149 R5E71494R R5F71494R R5E71491R R5F71491R SH7124 and SH7125 Table 1 1 lists the components of the emulator RENESAS Table 1 1 Components of the Emulator Classi Quan fication Component Appearance tity Remarks Hard Emulator main unit ROEO200F1EMUOO ware Depth 195 0 mm Width 130 0 mm Height 45 0 mm Mass 490 0 g AC adapter Product numbers 0001 to 0113 1 Input 100 to 240 V Output 12 V 4 0 A Depth 120 0 mm Width 72 0 mm Height 27 0 mm Mass 400 0 g O
45. not be used because only the H UDI function is supported This connector type is not available for the emulator Use the E10A USB emulator Notes 1 In the R5E70855R or R5E70865R the AUD pins AUDCK AUDATA3 to AUDATAOU and _ AUDSYNC are assigned to two different pins When the AUD function is used connect either of pins to the H UDI port connector 2 The 36 pin H UDI port connector is reguired to connect the emulator When the MCU does not support the AUD function or the AUD function is not used do not connect anything to the AUD pins AUDCK AUDATA3 to AUDATAO and _ AUDSYNC of the H UDI port connector 21 RENESAS 2 4 Installing the H UDI Port Connector on the User System Table 2 2 shows the recommended H UDI port connectors for the emulator Table 2 2 Recommended H UDI Port Connectors Connector Type Number Manufacturer Specifications 36 pin connector DX10M 36S Hirose Electric Co Ltd Screw type DX10M 36SE Lock pin type DX10G1M 36SE Note When designing the 36 pin connector layout on the user board do not connect any components under the H UDI connector 2 5 Pin Assignments of the H UDI Port Connector Figure 2 10 shows the pin assignments of the 36 pin H UDI port connectors Note Note that the pin number assignments of the H UDI port connector shown on the following page differ from those of the connector manufacturer 22 RENESAS Pin Input Input No Signal Output No Signal Output Note AUDCK 9
46. nt Condition including the external bus access condition the followings may be disabled generation of a break after the satisfaction of conditions of Event Condition halting and acquisition of the internal trace and the start or end of performance measurement When the emulator is being connected the user break controller UBC function is not available 41 RENESAS 3 2 2 Trace Functions The emulator supports the trace functions listed in table 3 9 Table 3 9 Trace Functions Function Internal Trace AUD Trace Branch trace Supported Supported Memory access trace Supported Supported Software trace Not supported Supported The trace functions listed in table 3 9 are available when the EV chip unit is connected to the emulator While debugging is performed without connecting the EV chip unit available trace functions differ depending on the MCU and system configuration Table 3 10 shows the trace functions available for debugging with the emulator not connected to the EV chip unit Table 3 10 Trace Functions without the EV chip Unit Connected MCU Internal Trace AUD Trace R5E70835R R5E70845R Supported Supported R5E70855R R5E70865R R5E71494R and R5E71491R R5E71464R Supported Not supported R5F70834A R5F70835A Only the four branch source Not supported R5F70844A R5F70845A and destination internal trace R5F70854A R5F70855A function is supported R5F70865A R5F71464R R5F71494R R5F71491R SH7124 and SH71
47. nt from the factory neither the LVTH16244 nor CB3T16211 will be mounted Signals from the user system are connected to EP1K100FC 3 The product revision at the time of shipment from the factory is printed on the edge of the ROE570800VKK00 board Check the alphabetic character following the six digit number 61 RENESAS SH7080 User system _WDTOVF _WDTOVF Figure 4 2 User System Interface Circuits Notes 1 Ifthe product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the value of the pull up resistor will be 47 kQ 2 The product revision at the time of shipment from the factory is printed on the edge of the ROE570800VKK00 board Check the alphabetic character following the six digit number 62 RENESAS SH7080 User system HD151015 EP1K100FC AHC14 HD151015 EP1K100FC AHC14 Figure 4 3 User System Interface Circuits Notes 1 If the product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the value of the pull up resistor will be 47 KQO 2 The product revision at the time of shipment from the factory is printed on the edge of the ROE570800VKK00 board Check the alphabetic character following the six digit number 63 RENESAS SH7080 User system PLLVcL N C s PLLVss PLLVss HD151015 EP1K100FC LVTH16244 G6K 2G DC3V 3 3V G6K 2G Dc3V 3 3V G6K_2G_Dc3v 3 3V Figure 4 4 User System Interface Circu
48. ompleted tracing is automatically suspended If the start and end conditions are satisfied closely trace information will not be acguired correctly The execution cycle of the instruction fetched before the start condition is satisfied may be traced Halting a trace Do not set the trace end condition for the sleep instruction and the branch instruction that the delay slot becomes the sleep instruction RENESAS Trace acquisition condition Do not set the trace end condition for the sleep instruction and the branch instruction according to which the delay slot becomes the sleep instruction When I BUS L Bus is selected and the trace acquisition condition is set for the L bus and I bus with Event Condition set the L bus condition and the I bus condition for Event Condition 1 and Event Condition 2 respectively If the settings of I Trace mode are changed during execution of the program execution will be suspended The number of clocks to be suspended during execution of the program is a maximum of about 26 bus clocks B If the bus clock B is 10 0 MHz the program will be suspended for 2 6 us When the trace acquisition condition is set with Event Condition do not include data conditions Displaying a trace If a trace is displayed during execution of the program execution will be suspended to acquire the trace information The number of clocks to be suspended during execution of the program is a maximum of abou
49. ons of mass destruction or for the purpose of any other military use When exporting the products or technology described herein you should follow the applicable export control laws and regulations and procedures required by such laws and regulations All information included in this document such as product data diagrams charts programs algorithms and application circuit examples is current as of the date this document is issued Such information however is subject to change without any prior notice Before purchasing or using any Renesas products listed in this document please confirm the latest product information with a Renesas sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas such as that disclosed through our website http vww renesas com Renesas has used reasonable care in compiling the information included in this document but Renesas assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information included in this document When using or otherwise relying on the information in this document you should evaluate the information in light of the total system before deciding about the applicability of such information to the intended application Renesas makes no representations warranties or guaranties regarding the suitability of its products for any particular application and specifically disclaims any liability a
50. ormed without connecting the EV chip unit the AUD pin is multiplexed as shown in table 3 5 Table 3 5 Multiplexed Functions RENESAS MCU Function 1 Function 2 R5E70835R PEO DREO0 TIOCOA TMS PE1 TENDO TIOCOB _TRST PE2 DREO1 TIOCOC TDI PE3 TEND1 TIOCOD TDO PE4 TIOC1A RXD3 TCK PE13 TIOC4B _MRES _ASEBRKAK _ASEBRK PD8 D8 TIOC3AS AUDATAO PD9 D9 TIOC3BS AUDATA1 PD10 D10 TIOC3CS AUDATA2 PD11 D11 TIOC3DS AUDATA3 PD14 D14 TIOC4CS AUDCK PD15 D15 TIOC4DS _AUDSYNC R5E70845R PEO DREO0 TIOCOA TMS PE1 TENDO TIOCOB _TRST PE2 DREO1 TIOCOC TDI PE3 TEND1 TIOCOD TDO PE4 TIOC1A RXD3 TCK PE5 _CS6 TIOC1B TXD3 _ASEBRKAK _ASEBRK PD8 D8 TIOC3AS AUDATAO PD9 D9 TIOC3BS AUDATA1 PD10 D10 TIOC3CS AUDATA2 PD11 D11 TIOC3DS AUDATA3 PD14 D14 TIOC4CS AUDCK PD15 D15 TIOC4DS _AUDSYNC 30 Table 3 5 Multiplexed Functions cont MCU Function 1 Function 2 R5E70855R PE8 TIOC3A SCK2 SSCK TMS PE9 TIOC3B SCK3 _RTS3 _TRST PE10 TIOC3C TXD2 SSO TDI PE11 TIOC3D RXD3 _CTS3 TDO PE12 TIOC4A TXD3 _SCS TCK PE13 TIOC4B _MRES _ASEBRKAK _ASEBRK PD16 D16 IRQ0 _POE4 AUDATAO PD17 D17 IRQ1 _POE5 AUDATA1 PD18 D18 IRQ2 _POE6 AUDATA2 PD19 D19 IRQ3 _POE7 AUDATA3 PD22 D22 IRQ6 TIC5US AUDCK PD23 D23 IRQ7 _AUDSYNC PA16 _WRHH _ICIOWR _AH _AUDSYNC DQMUU CKE DREQ2 PEO DREO0 TIOCOA AUDCK PE3 TEND1 TIOCOD AUDATA3 PE4 _lOIS16 TIOC1A RXD3 A
51. r on the I bus CPU DMAC DTC e Instruction fetch l Bus L Bus amp Branch Acquires the contents of L Bus amp Branch and I Bus After selecting Type of I Trace mode select the content to be acguired from Acguisition Typical examples are described below note that items disabled for Acguisition are not acguired For the MCUs that incorporate neither DMAC or DTC do not select DMA or DTC when selecting the bus master on the I bus e Example of acquiring branch information only Select L Bus amp Branch from Type and enable Branch on Acguisition e Example of acquiring the read or write access L bus only by a user program Select L Bus amp Branch from Type and enable Read Write and Data access on Acguisition e Example of acquiring the read access only by DMA I bus Select I Bus from Type and enable Read DMA and Data access on Acguisition 44 RENESAS Using Event Condition restricts the condition the following three items are set as the internal trace conditions Table 3 12 Trace Conditions of the Internal Trace Item Acquisition Information Trace halt Acquires the internal trace until the Event Condition is satisfied The trace content is displayed in the Trace window after a trace has been halted No break occurs in the user program Trace acquisition condition Acquires only the data access where the Event Condition is satisfied Point to point
52. rising out of the application and use of the information in this document or Renesas products With the exception of products specified by Renesas as suitable for automobile applications Renesas products are not designed manufactured or tested for applications or otherwise in systems the failure or malfunction of which may cause a direct threat to human life or create a risk of human injury or which reguire especially high guality and reliability such as safety systems or eguipment or systems for transportation and traffic healthcare combustion control aerospace and aeronautics nuclear power or undersea communication transmission If you are considering the use of our products for such purposes please contact a Renesas sales office beforehand Renesas shall have no liability for damages arising out of the uses set forth above Notwithstanding the preceding paragraph you should not use Renesas products for the purposes listed below 1 artificial life support devices or systems 2 surgical implantations 3 healthcare intervention e g excision administration of medication etc 4 any other purposes that pose a direct threat to human life Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas Technology Corp its affiliated companies and their officers directors and employees
53. s 1 When system configuration 1 or 6 is used the H UDI port connector must be installed on the user system When designing the user system refer to section 2 3 Connecting the Emulator to the User System by Using the H UDI Port Connector For system configuration 1 or 6 note that the H UDI pin of the MCU is occupied by the emulator 2 When system configuration 1 or 6 is used note that the AUD pin of the MCU is occupied by the emulator 3 The user system interface board is only used when the emulator is connected to the user system it is not reguired when the emulator system operates alone RENESAS 2 System Configuration of the SH7125 Series and SH7146 Table 1 4 shows the system configuration supported by the SH7125 series SH7124 SH7125 and SH7146 Table 1 4 System Configuration Supported by the SH7125 Series and SH7146 E200F Emulation Memory User External Bus Unit Expansion System E200F Emulator EV chip Unit Trace Unit R0E0200F1MSR00 Profiling Unit Trace Cable Interface ROEO200F1EMU00 RO0E570800VKK00 ROEO200F1ETU00 ROEO200F1MSRO1 ROEO200FOEPU00 ROEO200FOACCOO Board System Supported Not supported Not supported Not supported Not supported Not supported Not supported configuration 1 System Supported Supported Not supported Not supported Not supported Supported Supported configuration 2 System Supported Supported Not supported Not supported Supported Supported Supported configuration 3 Notes 1 Wh
54. ser System Interface Circuits when Selecting SH7125 SH7124 Operating Mode Notes 1 Ifthe product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the value of the pull up resistor will be 47 KQO 2 Ifthe product revision of the ROE570800VKK00 EV chip unit is a letter from A to H at shipment from the factory the CB3T16211 will not be mounted Signals from the user system are connected to EP1K100FC 3 The product revision at the time of shipment from the factory is printed on the edge of the ROE570800VKK00 board Check the alphabetic character following the six digit number 72 RENESAS 4 2 User System Interface Board Circuits Some signals from the optional user system interface board are connected to a switch and a pull up resistor When using the user system interface board determine the values of the pull up resistors with reference to section 4 1 User System Interface Circuits and the circuit diagrams in this section Figures 4 13 through 4 18 show user system interface board circuits EV chip unit User system interface board User system PA7 PA10 PB7 PA7 PA10 PB7 PB8 PE6 PB8 PE6 Other signals Other signals Figure 4 13 User System Interface Board Circuits for the SH7083 73 RENESAS EV chip unit User system interface board User system Vcc PAO PA1 PA6 PAO PA1 PA6 PA7 PA10 PA11 PA7 PA10 PA11 PA17 PB7 PB8 PA17 PB7 PB8 PE5 PE6 PE5 PE6 Ot
55. strict Shanghai China 200120 Tel lt 86 gt 21 5877 1818 Fax lt 86 gt 21 6887 7898 Renesas Technology Hong Kong Ltd 7th Floor North Tower World Finance Centre Harbour City 1 Canton Road Tsimshatsui Kowloon Hong Kong Tel lt 852 gt 2265 6688 Fax lt 852 gt 2730 6071 Renesas Technology Taiwan Co Ltd 10th Floor No 99 Fushing North Road Taipei Taiwan Tel lt 886 gt 2 2715 2888 Fax lt 886 gt 2 2713 2999 Renesas Technology Singapore Pte Ltd 1 Harbour Front Avenue 106 10 Keppel Bay Tower Singapore 098632 Tel lt 65 gt 6213 0200 Fax lt 65 gt 6278 8001 Renesas Technology Korea Co Ltd Kukje Center Bldg 18th FI 191 2 ka Hangang ro Yongsan ku Seoul 140 702 Korea Tel lt 82 gt 2 796 3115 Fax lt 82 gt 2 796 2145 Renesas Technology Malaysia Sdn Bhd Unit 906 Block B Menara Amcorp Amcorp Trade Centre No 18 Jalan Persiaran Barat 46050 Petaling Jaya Selangor Darul Ehsan Malaysia Tel lt 603 gt 7955 9390 Fax lt 603 gt 7955 9510 Colophon 6 0 SH 2A SH 2 E200F Emulator Additional Document for User s Manual Supplementary Information on Using the SH7083 SH7084 SH7085 SH7086 SH7146 SH7149 SH7124 and SH7125 S N SAS Renesas Technology Corp 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan
56. t 16384 peripheral clocks Pd 12310 bus clocks B If the peripheral clock P is 10 0 MHz and the bus clock Bo is 10 0 MHz the program will be suspended for 2 87 ms If a break occurs with the Event Condition when one or two instructions have been executed after a break occurred in an instruction and there is an unconditional branch a trace result will be displayed even if the unconditional branch has not been executed The trace acquisition result of the DMA or DTC transfer may not be displayed correctly In such a case a master where the trace has been generated or a line for displaying the trace will be blank Restarting trace acquisition after halting Restarting trace acquisition is disabled during execution of the user program a break must be generated Note on execution of the user program Do not change trace settings during execution of the user program trace acquisition may be disabled The following trace settings will be changed the conditions of Event Condition the sequential conditions satisfied by Event Condition and internal trace set in the Acquisition dialog box To change these settings a break must be generated 47 RENESAS AUD Trace Functions This function is operational when the AUD pin of the device is connected to the emulator Table 3 14 shows the AUD trace acquisition mode that can be set in each trace function Table 3 14 AUD Trace Acquisition Mode Type Mode Continuous Realtime trace
57. ternal trace T3 Setting the trace halt and point to point is enabled for the internal trace P Setting a performance measurement start or end condition is enabled Ch1 to Ch4 are available when the EV chip unit is not connected to the emulator and R5F70834A R5F70835A R5F70844A R5F70845A R5F70854A R5F70855A R5F70865A R5F71464R R5F71494R or R5F71491R is used 37 RENESAS Sequential Setting Using the Combination action Sequential or PtoP dialog box specifies the sequential condition and the start or end of performance measurement Table 3 8 Conditions to Be Set Classification Item Description Ch1 2 3 listbox Sets the sequential condition and the start or end of performance measurement using Event Conditions 1 to 3 Don t care Sets no sequential condition or the start or end of performance measurement Break Ch3 2 1 Breaks when a condition is satisfied in the order of Event Condition 3 2 1 Break Ch2 1 Breaks when a condition is satisfied in the order of Event Condition 2 1 I Trace stop Ch3 2 1 Halts acquisition of an internal trace when a condition is satisfied in the order of Event Condition 3 2 1 I Trace stop Ch2 1 Halts acquisition of an internal trace when a condition is satisfied in the order of Event Condition 2 1 Ch2 to Ch1 PA Sets the performance measurement period during the time from the satisfaction of the condition set in Event Condition 2 start condition to the satisfact
58. that TCK TMS TDI TDO _TRST and _ASEBRKAK _ASEBRK have been multiplexed Function 1 can be used when the pins that AUD has been multiplexed are not connected to the emulator When the multiplexed pins are used as the AUD functions set the AUD pins to be used from AUD pin select of the Configuration dialog box The multiplexed pins are fixed to be used as the AUD function When debugging is performed with the EV chip unit connected the AUD function is available regardless of settings of the AUD pins above Note 34 When R5F70834A R5F70835A R5F70844A R5F70845A R5F70854A R5F70855A R5F70865A R5E71464R R5F71464R R5F71494R R5F71491R SH7124 or SH7125 is used and debugging is performed without connecting the EV chip unit the AUD trace function is not available Since the AUD trace is not output the conditions of the AUD Eventpoint function are not satisfied It is also impossible to use the AUD performance measurement code coverage and realtime profiling functions These functions are available when the emulator is connected to the EV chip unit RENESAS 3 2 Specific Functions for the Emulator when Using the SH7080 Series SH7146 Series SH7125 Series When the SH7080 series SH7 146 series SH7125 series is used during debugging without connecting the EV chip unit a reset must be input when the emulator is activated 3 2 1 Event Condition Functions The emulator is used to set event conditions for the following three fun
59. the location of pin 1 before connecting RENESAS 2 2 2 Connecting the E200F External Bus Trace Unit to the EV chip Unit e When the external bus trace unit is used with the EV chip unit connect the external bus trace unit to the EV chip unit as shown in figure 2 3 External bus trace unit Figure 2 3 Connecting the External Bus Trace Unit to the EV chip Unit RENESAS e After checking the location of pin 1 connect the EV chip unit external bus trace unit and trace cable Figure 2 4 Connecting the EV chip Unit External Bus Trace Unit and Trace Cable A CAUTION Check the location of pin 1 before connecting RENESAS 2 2 3 Connecting the Probe Head to the EV chip Unit e Connect the probe head to the EV chip unit as shown in figure 2 5 Figure 2 5 Connecting the Probe Head to the EV chip Unit A CAUTION Check the location of pin 1 before connecting RENESAS 2 2 4 Connecting the E200F Emulation Memory Unit to the EV chip Unit When the emulation memory unit is used with the EV chip unit connect the emulation memory unit to the EV chip unit figure 2 6 Emulation memory unit Figure 2 6 Connecting the Emulation Memory Unit to the EV chip Unit RENESAS e After checking the location of pin 1 connect the EV chip unit emulation memory unit and trace cable f Gah K ToT rr A OP ru ug UG er bylh mydr 5 W H AU AUU oe eaa
60. xecution of the user program memory is accessed by the following two methods as shown in table 3 2 Table 3 2 Memory Access during User Program Execution Method Description H UDI read write The stopping time of the user program is short because memory is accessed by the dedicated bus master Short break This method is not used in this product Do not set short break The method for accessing memory during execution of the user program is specified by using the Configuration dialog box Table 3 3 Stopping Time by Memory Access Reference Method Condition Stopping Time H UDI read write Reading of one longword for the Reading Maximum two bus clock internal RAM cycles Bo Writing of one longword for the Writing Maximum two bus clock internal RAM cycles Bd 7 Memory Access to the External Flash Memory Area The emulator can download the load module to the external flash memory area for details refer to section 6 21 Download Function to the Flash Memory Area in the SH 2A SH 2 E200F Emulator User s Manual Neither memory write nor BREAKPOINT setting is enabled for the external flash memory area To set the break condition for the program on the external flash memory use the Event Condition function Some MCUs will incorporate no external flash memory area 8 Using WDT The WDT does not operate during break 28 RENESAS 9 Loading Sessions Information in JTAG clock of the Configuration dialog box cannot b

Download Pdf Manuals

image

Related Search

Related Contents

取扱説明書(PDF: 3.7 MB)  LTR20131025, Rev. D 5/10/13  SWEETHEART - Clinicase  ソーワテクニカ ス 卜 レー トパワーファン専用速度調節器  R03b_Capitolato speciale impianti elettrici_0  Sundtek DM500 HD USB PCB User Guide  deltadue Protocol Converter ModBUS TCP/ModBUS RTU DY  UK User guide DK Brugervejledning SE Bruksanvisning  

Copyright © All rights reserved.
Failed to retrieve file