Home
E1/E20 Emulator Additional Document for User`s Manual (Notes on
Contents
1. Notes on the User System Power Supply While the power of the user system is on do not turn off the host machine unplug the USB interface cable or turn off the power switch of the E20 emulator The user system may be damaged due to leakage current R20UT3118EJ0200 Rev 2 00 Page 22 of 30 Oct 01 2015 RENESAS E1 E20 Emulator 4 Notes on Usage When power is supplied to the user system from the emulator E1 emulator When using the emulator 1 Check the power is off Check that the user system is turned off 2 Connect the user system Connect the emulator and user system with a user system interface cable 3 Connect the host machine and turn on the emulator Connect the emulator and host machine with a USB interface cable then turn on the emulator 4 Launch the debugger Launch the debugger and select the setting of power supply to the user system When finished using the emulator 1 Close the debugger Close the debugger 2 Turn off the emulator and disconnect the emulator Disconnect the USB interface cable from the emulator then turn off the emulator 3 Disconnecting the user system Disconnect the user system interface cable from the user system No 11 Software resets and debugging Resets are always masked during single step execution and breaks Whether resets are masked during C source level stepped execution depends on the facilities of the debugger Software resets will
2. e The supply of power to the user system is stable R20UT3118EJ0200 Rev 2 00 Page 21 of 30 Oct 01 2015 TENESAS E1 E20 Emulator 4 Notes on Usage No 10 Turning the power on off Turn the power of the E1 or E20 emulator and the user system following the procedure below When a separate power supply is used for the user system When using the emulator 1 Check the power is off Check that the user system is turned off When using the E20 emulator check its power switch is off 2 Connect the user system Connect the emulator and the user system with a user system interface cable 3 Connect the host machine and turn on the emulator Connect the emulator and the host machine with a USB interface cable The E1 emulator is turned on by connecting the USB interface cable When using the E20 emulator turn on its power switch 4 Turn on the user system Turn on the user system 5 Launch the debugger Launch the debugger When finished using the emulator 1 Close the debugger Close the debugger 2 Turn off the user system Turn off the user system 3 Turn off the emulator and disconnect the emulator When using the E20 emulator turn off its power switch Disconnect the USB interface cable from the El or E20 emulator The E1 emulator is turned off by disconnecting from the USB interface cable 4 Disconnecting the user system Disconnect the user system interface cable from the user system
3. s manual for the compiler you are using No 7 Reset of pins Do not allow the generation of a reset in the form of a pin reset other than while the program is in execution If a reset is generated in this situation the debugger may hang Even if the reset mask setting in the debugger is for masking the debugger may still hang No 8 Trace function The following restrictions apply to the trace function Writing of data in the form of pushing by executing the PUSHSP instruction is not traced In the case of section trace for example the instruction immediately before the fetched instruction that actually caused tracing to start might be included in trace data In some cases acquired trace information will be lost This depends on the program being executed The lost information cannot be restored but the fact of the loss is indicated displayed Information might be lost when access to data by the CPU is continuous and frequent When priority in tracing is given to non realtime the function to stop tracing when the trace memory becomes full trace full stop function is not usable To use the trace full stop function give priority to realtime No 9 Quality of flash programming To improve the quality follow the guidelines below e Circuits are designed as described in the user s manuals for the MCU and E1 or E20 emulator e The MCU El or E20 emulator and the software are used as described in respective user s manuals
4. EMA o Vili Erre e e e rere epo saaesu ace sohta shes r Eaa a aa EE erar a a A EES 4 1 1 Features of an E1 or E20 emulator o oo eeeeeeecscseesesesesesesesesesesscsesesesescscsescscscscscscacscaeseaeseseseseseseseensesecececesseacacacacacaeacaeaeeeeeaeateeed 4 1 2 Caution on using the E20 emulator ceeceesesesesesessssseseeeeescscscscscscseseseneseseaesesescsesessesnsecsseesscacecaeseseaeaeaeacaeaeaeeeeeeeeeenenseeeeeeeeeee 4 1 3 Configuration of mana S iiss sss sas A NANISMO NNU ASU SD 4 2 Connecting the Emulator and User System cceeccceeeeeeneeeeeeeeeeceaeecaeeeeeeeeeeseaeeseaeeseeseaeesaeeeaeeseaeesneeesaeeseeeeseeeseaeeseaeeeneeees 5 21 Connector mounted on the user system w5 2 2 Pin assignments of the Connectors siroriireyeieriierriieseiiriit iriiri Et ENESE EER EEEE SRA EENE EE AEE 6 2 3 Examples of recommended connections between the connector and MCU sss eeesesessseneseeeeeneneenne 7 2 3 1 Example of recommended Connections ceecssessssssssseesesesesesesesesesesesesesesesesessesesesenssesesensecscscaeacseaeseseaeaeacaeaeaneeeeseeeseeneeess 7 2 3 2 Connecting the RESET pins sss si SS SA AN UAV EMANO MTA DU DEN ITAS 13 2 3 3 Connecting the TVDD pin sss eitie rt iR EE E R E EEA ERE NiE E EEE aee EETA E TESS KEERT ER ia 14 2 3 4 Hot plug in adapter for the E1 Emulator eee ccececeseeeesecsesesesesesesesescseseseseseseseeeesesesesesessecececacacacacaeaeaeaeseaeaeaeseeeeeeeeeenee 15
5. 2 3 5 Isolator for the El emulator sss ks SANGI EGUS DA Kao 15 2 3 6 Small connector conversion adapter for the E1 emulator oo cece eceeecscsesceeeeseseseseseseseseseseseseeneneneeeeeseeeceeeeaceeeeaeeeeeneees 15 3 Specifications osaird iia ted a nla esatal tetano la Mia onb cate bao podon lada lub i aa a la daazegands ected sdadecdatiadacea devaazsuaenaded 16 A Notes onlUsage sino nas rn NT MA TIEA NTA A OFTE TO Ay a a aaa 18 4 1 Notes on differences in operation between the actual device and the E1 or E20 emulator 18 4 2 Cautionary notes on MEDUGGING ee eceeesecesesesesesesesesssesssscsesesesesescscseneseseacsccesssvsssssessssssssesesessscacscecacaeseseaeasaeaeaeeteeeeeeseeeseeeseeeeees 20 5 Internal Circuits of the Emulator ss sees ems sci icccnaicceaincess A a A ab esk ol cen eaatees niet eeeiis 26 R20UT3118EJ0200 Rev 2 00 Page 3 of 30 Oct 01 2015 7tENESAS E1 E20 Emulator 1 Outline 1 Outline 1 1 Features of an E1 or E20 emulator An El or E20 emulator is an on chip debugging emulator that includes a flash programming function which is used for debugging and programming programs to be embedded in microcontrollers that have on chip flash memory That is either product can debug a program while the target microcontroller is connected to the user system and can write programs to the on chip flash memory of microcontrollers
6. 4 pin LPD interface at least 22 ms waits are required Note Time required for preparing communications depends on the host PC environment of the El or E20 emulator and the operating frequency of the MCU No 17 Access to I O resources in the MCU Access to I O resources registers and RAM in the MCU by the debugger i e access through the memory or I O register window proceeds in the same way as access from a user program Examples for the actual operation of I O resources refer to the manual of the MCU you are using Access to DTC RAM resources Normal access will not proceed unless a master is allocated to use the channel When access is attempted while a master has not been allocated an error will be detected on the ECM side Access to FCU RAM resources Normal access will not proceed unless the FCU RAM enable bit is set Access to the PBG guard area Attempted access to the PBG guard area will not proceed while the guard is enabled Also this is within the scope of error detection R20UT3118EJ0200 Rev 2 00 Page 24 of 30 Oct 01 2015 RENESAS E1 E20 Emulator 4 Notes on Usage No 18 Cautionary point regarding hot plug in connection When the OPJTAG 1 0 bits of the option byte register are not set for the LPD operation mode at the time of hot plug in connection a connection error occurs Thus before proceeding with hot plug in connection set the OPJTAG 1 0 bits for the LPD operation mode Allowing hot plug in con
7. Rev 2 00 Page 14 of 30 Oct 01 2015 RENESAS E1 E20 Emulator 2 Connecting the Emulator and User System Power supply from the E1 emulator depends on the quality of the USB power supply of the host machine and as such precision is not guaranteed When writing a program that requires reliability do not use the power supply function of the El emulator Use a stable separate power supply for the user system When writing a program for mass production processes use the Renesas Flash Programmer For details on the flash programming software refer to http www renesas com products tools flash_prom_programming Warning for Turning the Power On Off When supplying power ensure that there are no shorts between the user system and power circuit Only connect the El or E20 after confirming that there are no mismatches of alignment on the user system port connector Incorrect connection will result in the host machine the emulator and the user system emitting smoke or catching fire 2 3 4 Hot plug in adapter for the E1 emulator For hot plug in connection use the hot plug in adapter for the E1 emulator ROEO00010ACBO00 that is separately available from Renesas 2 3 5 Isolator for the E1 emulator For a debugging environment where there is a difference in potential between the GND of the user system and that of the host PC use the isolator for the E1 emulator ROEOOOO10ACB20 which is separately available from Renesas 2 3
8. are not detected with the emulator To emulate ECC errors set the following options Initialize the RAM area when the emulator is started No Set OPJTAG in LPD connection before connecting No No 7 OTP flag Do not set the one time programming OTP flag in self programming with the emulator Setting the flag makes further debugging impossible R20UT3118EJ0200 Rev 2 00 Page 18 of 30 Oct 01 2015 RENESAS E1 E20 Emulator No 8 Operations in response to resets and interrupts when an emulator is in use 4 Notes on Usage When an emulator is in use operation in response to resets and interrupts differs according to the specifications of the reset mask and interrupt settings respectively as shown in the tables below Table 4 1 Reset mask specification with an emulator Relation between the State of Emulation and Presence of a Reset Mask State of emulation and presence of a reset mask In user program execution In single stepping In C source level stepping In breaks Mask specified Masked Masked Masked Masked Mask not specified Not masked Masked Depends on the debugger Masked Note Do not allow the generation of a reset in the form of a pin reset other than while the program is in execution regardless of presence of a mask above Table 4 2 Settings for interrupts Relation between the State of Emulation and Acceptance of Interrupts State of
9. changed to 11B for JTAG which requires rewriting of the flash memory The setting of the OPJTAGI and OPJTAGO bits of the option byte 2 register can be left as 01B 4 pin LPD When LPD interface is also used the next time the emulator is connected we recommend exit from the program without changing the settings from that for the LPD interface If power to the target system is turned off because of an abnormal end to the emulator session the OPJTAGI and OPJTAGO bits of the option byte 2 register are not rewritten and so retain the value 01B for LPD If you wish to change the OPJTAGI and OPJTAGO bits of the option byte 2 register to 11B for JTAG please do so at the end of the E1 or E20 emulator session R20UT3118EJ0200 Rev 2 00 Page 20 of 30 Oct 01 2015 RENESAS E1 E20 Emulator 4 Notes on Usage No 6 Initialization of RAM areas All RAM areas for use by a program must be initialized when an emulator is in use Before the emulator is used if any setting is made to initialize the RAM area when the emulator is started ECC errors are not generated since the debugger initializes the RAM area However when the actual device is operated with a program which does not initialize the RAM area ECC errors will be generated preventing normal program operation ROMization is also required because any data downloaded from the emulator to the RAM before program execution will also be initialized For details refer to the user
10. emulation and acceptance of interrupts In user program execution In single stepping In C source level stepping In breaks DI Not accepted Not accepted Not accepted Not accepted El Accepted Some held pending Depends on the debugger Held pending Note Exceptions that are held pending are EIINT FEINT and FPI and the other exceptions are all accepted No 9 Option byte register The debugger cannot write new values to the bits of the option byte register indicated below since they are used by the emulator Also do not attempt self programming to write new values to these bits e OPJTAGI and OPJTAGO bits bits 30 and 29 of the OPBT2 register The value of the OPJTAGI and OPJTAGO bits while an emulator is connected is 01B if the 4 pin LPD interface is selected and 10B if the 1 pin LPD interface is selected R20UT3118EJ0200 Rev 2 00 Oct 01 2015 TENESAS Page 19 of30 E1 E20 Emulator 4 Notes on Usage 4 2 Cautionary notes on debugging No 1 Handling of devices which were used for debugging Do not use devices that were used for debugging in mass production This is because writing to the flash memory of such devices has already proceeded during debugging so we cannot guarantee the number of times rewriting of the flash memory can proceed Debugger errors occur when programming of the flash memory is no longer possible Replace the device in such situati
11. is within 900 us e When you use hot plug in consider installation of a capacitor between the reset signal and GND in order to suppress a noise In this case however the specifications of the time described above must be satisfied R20UT3118EJ0200 Rev 2 00 Page 13 of 30 Oct 01 2015 RENESAS E1 E20 Emulator 2 Connecting the Emulator and User System 2 3 3 Connecting the TVDD pin 1 Power source monitoring function Connect the power source on the user system to pin 8 TVDD pin of the 14 pin connector For the RH850 P1x series this will be the source of the EVCC voltage The power source connected to the TVDD pin provides power to the final stage output buffer and first stage input buffer on the E1 E20 emulator circuit When the E1 or E20 emulator is connected it will draw current as described below in addition to the current drawn by the user system e El emulator Approx 20 mA when TVDD is 3 3 V and approx 40 mA when TVDD is 5 0 V e E20 emulator Approx 40 mA when TVDD is 3 3V and approx 100 mA when TVDD is 5 0 V If there is a possibility you will be using hot plug in you will need to configure the circuit as shown below Pin 8 of the E1 emulator is connected to a 4 7 uF capacitor as shown in 1 in Figure 2 8 so hot plug in connection of the emulator may lead to a momentary drop in the power supply voltage on the user system This might cause the MCU to be reset As shown in 2 in Figure 2 8 this effect can be reduce
12. not be generated during single step execution in response to processing for setting a software reset or when the debugger writes to the setting register for a software reset during a break the request for a reset will be held No 12 Interrupts when stepped execution is in use EIINT FEINT and FPI are held pending if they occur during single step execution Other interrupts are always accepted Acceptance of interrupts during C source level step execution depends on the facilities of the debugger No 13 Stepped execution of the HALT instruction When a HALT instruction is encountered during single step execution execution in units of assembly instruction a break is set at the next instruction following the HALT instruction and the mode does not change to the HALT mode When a HALT instruction is encountered during C source level stepped execution whether or not the transition to the HALT mode proceeds depends on the facilities of the debugger No 14 Cautionary note on connecting an emulator pin reset The reset signal continuing to be asserted while communications between the emulator and MCU are being prepared when the emulator is started raises the possibility of incorrect communications Thus ensure that the reset signal does not remain asserted when the emulator is started R20UT3118EJ0200 Rev 2 00 Page 23 of 30 Oct 01 2015 RENESAS E1 E20 Emulator 4 Notes on Usage No 15 Cautionary note on connecting an emulato
13. 00 Page 5 of30 Oct01 2015 RENESAS E1 E20 Emulator 2 Connecting the Emulator and User System CAUTION Note on connector insertion and removal When connecting or disconnecting the user system interface cable and the emulator or user system grasp the connector cover at the end of the cable Pulling the cable itself will damage the wiring Also be aware that the user system interface cable has the direction in which it must be inserted If the cable is connected in the wrong direction it may be damaged 2 2 Pin assignments of the connector Table 2 2 shows the pin assignments of the 14 pin connector Table 2 2 Pin Assignments of the 14 pin Connector 2 Signal name active low aj Debugging Programming 1 0 3 4 pin LPD 1 pin LPD 2 wire UART 1 wire UART 1 LPDCLK Input 2 1 GND GND GND GND 3 TRST TRST Input 4 FPMDO FPMDO FPMDO FPMDO Input 5 LPDO FPDT Output 6 7 LPDIO LPDIO FPDR FPDR I O 8 TVDD TVDD TVDD TVDD 9 ae 10 11 LPDCLKO Output 12 1 GND GND GND GND 13 2 RESETA RESET RESET RESET Input 14 1 GND GND GND GND Notes 1 Securely connect pins 2 12 and 14 of the connector to GND of the user system These pins are used for electrical GND and to monitor connection with the user system by the E1 or E20 emulator 2 Be particula
14. 1 2 Caution on using the E20 emulator The functions used for debugging of the RH850 family by using the E20 emulator are the same as in the E1 emulator Large trace function characteristic function of the E20 emulator cannot be used 1 3 Configuration of manuals Documentation for the El or E20 emulator manual is in two parts the El or E20 Emulator User s Manual and E1 or E20 Emulator Additional Document for User s Manual this manual The additional document is for a particular set of MCUs in this case MCUs of the RH850 P1M group Be sure to read both of the manuals before using the E1 or E20 emulator 1 E1 or E20 emulator user s manual The E1 E20 Emulator User s Manual describes hardware specifications including the following items e Components of the emulators e Emulator hardware specifications e Connecting the emulator to a host computer and user system 2 E1 or E20 emulator additional document for user s manual An El or E20 Emulator Additional Document for User s Manual describes functions of a debugger and its contents depend on the given set of MCUs In general an additional document has notes on items including the following e For use in hardware design an example of connection and the interface circuits required to connect the emulator e Notes on using the emulator R20UT3118EJ0200 Rev 2 00 Page 4 of 30 Oct 01 2015 RENESAS E1 E20 Emulator 2 Connecting the Emulator and User System 2 Connectin
15. 6 Small connector conversion adapter for the E1 emulator A small connector conversion adapter for the El emulator ROEO00010CKZI1 is separately available from Renesas for user system boards which are too small to mount the 14 pin connector that is the standard connector for the El emulator By using the adapter you can reduce the area taken up by the connector mounted on your system However when you use the small connector conversion adapter for the E1 emulator be aware that the pin assignments of the connector differ from those of the standard interface connector for the E1 emulator R20UT3118EJ0200 Rev 2 00 Page 15 of30 Oct01 2015 RENESAS E1 E20 Emulator 3 Specifications 3 Specifications Specifications are shown in the table below Broad Category Medium Category Narrow Category Specification Hardware in general Corresponding host machine Computer equipped with a USB port OS depends on the debugger User system interface 14 pin connector Host machine interface USB 2 0 full speed or high speed Connection to the user system Connection by the provided user system interface cable Power supply function only when the emulator is an E1 3 3 V or 5 0 V with current up to 200 mA can be supplied from TVDD to the user system make settings with the debugger Power supply for the emulator No need the host computer supplies power through the USB Debugging
16. C V o A VV Q 3 I LENESAS E1 E20 Emulator Additional Document for User s Manual Notes on Connection of RH850 P1M Supported Devices RH850 Family RH850 P1x Series All information contained in these materials including products and product specifications represents information on the product at the time of publication and is subject to change by Renesas Electronics Corp without notice Please review the latest information published by Renesas Electronics Corp through various means including the Renesas Electronics Corp website http www renesas com Renesas Electronics Rev 2 00 Oct 2015 www renesas com Notice l Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information 2 Renesas Electronics has used reasonable care in preparing the information included in this document but Renesas Electronics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information
17. I pin must be at the low level during programming Note 2 Pulling up of JPO 0 is only necessary if you are using 1 pin LPD If you are not using 1 pin LPD make the connections shown in Figure 2 2 R20UT3118EJ0200 Rev 2 00 Page 9 of30 Oct 01 2015 RENESAS E1 E20 Emulator 2 Connecting the Emulator and User System 3 Connection which allows Both debugging 1 pin LPD and programming 1 wire UART 14 pin connector EVCC VCC Target device GND GND GND LPDIO FPDR JPO 0 LPDIO FPDR LPDO FPDT LPDCLK FPCK TRST JPO 4 DCUTRST LPDCLKOUT FPMDO FLMDO P3 14FLMD1 Note 1 Reset circuit Figure 2 4 Example of Connection e Refer to section 2 3 2 Connecting the RESET pin for more information on the reset circuit e For details on TVDD refer to section 2 3 3 Connecting the TVDD pin e Make wiring runs between the 14 pin connector and target device as short as possible within 50 mm is recommended Do not connect the signal lines between the connector and MCU to other signal lines e Use GND to apply a guard ring for the wiring which runs between the 14 pin connector and target device Do not route high speed signal lines parallel to each other or allow them to cross each other e Pin names may vary among target devices Refer to the user s manual for the target device you are using for the actual pin names e Proceed with appropriate processing for pins of target devices which do not require connect
18. as Electronics products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics 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 appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or systems manufactured by you 8 Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations 9 Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or regulations You should not use Renesas Electronics products or technology described in this document for any purpos
19. d by placing a ferrite bead or inductor and relatively large capacitor with low equivalent series resistance near the TVDD line of the connector for connection of the emulator Note that this measure will not completely eliminate the voltage drop Note that hot plug in is only for use during debugging and a separately sold hot plug in adapter is necessary to use this function otherwise Ferrite bead or inductor Lo uF FAE LEE 14 pin connector 1 E1 E20 emulator internal circuit 2 The measure method of E1 Emulator Figure 2 8 Circuit Configuration for Hot Plug in 2 Power supply function applies only to the E1 emulator The E1 emulator can also supply power at 3 3 V or 5 0 V from the TVDD pin to the user system at a current of up to 200 mA When using this function take care of the following points e Do not use this function if power is being separately supplied to the user system Attempting to do so might break the E1 emulator e Do not use this function for a user system which draws a current of 200 mA or more The E1 emulator or USB interface of the host machine might be broken e Make sure that the supplied voltage is within the voltage range required by the user system e The 5 0 V supply depends on the voltage of the USB interface VBUS of the host machine Depending on the environment of the host machine in use the voltage might be lower than 5 0 V by 0 5 V or more R20UT3118EJ0200
20. e relating to military applications or use by the military including but not limited to the development of weapons of mass destruction When exporting the Renesas Electronics products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations 10 It is the responsibility of the buyer or distributor of Renesas Electronics products who distributes disposes of or otherwise places the product with a third party to notify such third party in advance of the contents and conditions set forth in this document Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of Renesas Electronics products 11 This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics 12 Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics 2012 4 E1 E20 Emulator Contents Contents
21. er s Manual Notes on Connection of RH850 P1M Publication Date Oct 01 2015 Rev 2 00 Published by Renesas Electronics Corporation LENESAS SALES OFFICES Renesas Electronics Corporation http Avww renesas com Refer to http www renesas com for the latest and detailed information Renesas Electronics America Inc 2801 Scott Boulevard Santa Clara CA 95050 2549 U S A Tel 1 408 588 6000 Fax 1 408 588 6130 Renesas Electronics Canada Limited 9251 Yonge Street Suite 8309 Richmond Hill Ontario Canada L4C 9T3 Tel 1 905 237 2004 Renesas Electronics Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH U K Tel 44 1628 585 100 Fax 44 1628 585 900 Renesas Electronics Europe GmbH Arcadiastrasse 10 40472 Dusseldorf Germany Tel 49 211 6503 0 Fax 49 211 6503 1327 Renesas Electronics China Co Ltd Room 1709 Quantum Plaza No 27 ZhiChunLu Haidian District Beijing 100191 P R China Tel 86 10 8235 1155 Fax 86 10 8235 7679 Renesas Electronics Shanghai Co Ltd Unit 301 Tower A Central Towers 555 Langao Road Putuo District Shanghai P R China 200333 Tel 86 21 2226 0888 Fax 86 21 2226 0999 Renesas Electronics Hong Kong Limited Unit 1601 1611 16 F Tower 2 Grand Century Place 193 Prince Edward Road West Mongkok Kowloon Hong Kong Tel 852 2265 6688 Fax 852 2886 9022 Renesas Electronics Taiwan Co Ltd 13F No 363 Fu Shing North Road Taipe
22. escriptions in Handling of Unused Pins in the user s manual for the target device Note 1 Design the circuit so that the FLMD1 pin must be at the low level during programming R20UT3118EJ0200 Rev 2 00 Page 12 of 30 Oct 01 2015 RENESAS E1 E20 Emulator 2 Connecting the Emulator and User System 2 3 2 Connecting the RESET pin While you are using the E1 or E20 emulator pin 13 RESET pin of the 14 pin connector must be connected to the reset pin of the target device Figure 2 7 below shows an example The El or E20 emulator fixes the RESET pin to the low level before the debugger is activated After the debugger is activated the emulator either keeps the pin at the low level or places it in the high impedance state in accord with the operation of the debugger 14 pin connector Target device An example 4 7Kto 10K RESET terminal Figure 2 7 Example of Connecting Reset Circuit e Output of the reset circuit should be either n channel open drain or be a signal generated solely by a resistor and capacitor and possible other components e The maximum sink current accepted by the RESET pin of the E1 or E20 emulator is 2 mA Select an appropriate pull up resistance which does not surpass this value e Inthe RH850 P1x series pull the RESET signal up to the VCC voltage e Adjust the time constant of the reset circuit so that the time elapsing before the signal reaches 80 of the high level from the low level
23. g the Emulator and User System To connect the E1 or E20 emulator a connector for the user system interface cable must be mounted on the user system When designing the user system read this chapter of this manual and the hardware manual for the MCUS to be used 2 1 Connector mounted on the user system Table 2 1 shows the recommended connectors for connection of the E1 or E20 emulator Table 2 1 Recommended Connectors Type Manufacturer Specification Number 14 pin 7614 6002 Sumitomo 3M Limited 14 pin straight type Japan connector 2514 6002 3M Limited 14 pin straight type other countries Figures 2 1 shows an example of the connection of the user system interface cable of an E1 emulator to a 14 pin connector If you intend to use the 14 pin connector do not mount components with heights exceeding 10 mm within 5 mm of the connector on the user system Note that this connector does not support direct connection of an E20 emulator which has a 38 pin connection To use an E20 emulator with a 14 pin connector use the 38 pin 14 pin conversion adapter ROEO00200CKAO0 that comes with the E20 14 pin user system interface cable 14 pin type connector a ee system A 5mm Area where restriction applies to mounted components components must have heights no greater than 10 mm Figure 2 1 Connecting the User System Interface Cable to the 14 pin Connector in the E1 or E20 Emulator R20UT3118EJ0200 Rev 2
24. hem Refer to the manual for the MCU you are using to check whether peripheral breaks are set R20UT3118EJ0200 Rev 2 00 Oct01 2015 TENESAS Page 17 of30 E1 E20 Emulator 4 Notes on Usage 4 Notes on Usage Cautionary notes on using the E1 or E20 emulator are given below 4 1 Notes on differences in operation between the actual device and the E1 or E20 emulator No 1 Cautionary note on the DBTRAP instruction The DBTRAP instruction is used for software breaks and thus cannot be used in programs with the emulator No 2 AUDR function When an emulator is connected the advanced user debugger RAM monitoring AUDR function which supports debugging of a program while mounted on a system cannot be used No 3 Serial programming function The serial programming function cannot be used with the emulator during debugging No 4 HALT mode A break leads to release from HALT mode No 5 Current drawn The amount of current drawn by an emulator is different from the actual device The target device consumes more power during debugging than in normal operation since the debugging functions are operating No 6 ECC error When an emulator is started local RAM and FCU RAM areas are initialized to H 0000 0000 This leads to the following differences from the actual device The initial values in RAM after starting an emulator are different from the initial values undefined values ECC errors due to non initialization of RAM
25. i 10543 Taiwan Tel 886 2 8175 9600 Fax 886 2 8175 9670 Renesas Electronics Singapore Pte Ltd 80 Bendemeer Road Unit 06 02 Hyflux Innovation Centre Singapore 339949 Tel 65 6213 0200 Fax 65 6213 0300 Renesas Electronics Malaysia Sdn Bhd Unit 1207 Block B Menara Amcorp Amcorp Trade Centre No 18 Jin Persiaran Barat 46050 Petaling Jaya Selangor Darul Ehsan Malaysia Tel 60 3 7955 9390 Fax 60 3 7955 9510 Renesas Electronics India Pvt Ltd No 777C 100 Feet Road HALII Stage Indiranagar Bangalore India Tel 91 80 67208700 Fax 91 80 67208777 Renesas Electronics Korea Co Ltd 12F 234 Teheran ro Gangnam Gu Seoul 135 080 Korea Tel 82 2 558 3737 Fax 82 2 558 5141 2015 Renesas Electronics Corporation All rights reserved Colophon 4 0 E1 E20 Emulator Additional Document for User s Manual Notes on Connection of RH850 P1M LENESAS Renesas Electronics Corporation R20UT3118EJ0200
26. included herein 3 Renesas Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document No license express implied or otherwise is granted hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others 4 You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from such alteration modification copy or otherwise misappropriation of Renesas Electronics product 5 Renesas Electronics products are classified according to the following two quality grades Standard and High Quality The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below Standard Computers office equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots etc High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems and safety equipment etc Renesas Electronics produc
27. ion if the intervals between the start and the end of one measurement and between the end of that measurement and the start of the next is short the measurement might not be possible To obtain correct measurements the interval should be long enough The required detection interval depends on the operating frequency and the LPD communications frequency of the MCU R20UT3118EJ0200 Rev 2 00 Oct01 2015 RENESAS Page 25 of 30 E1 E20 Emulator 5 Internal Circuits of the Emulator 5 Internal Circuits of the Emulator The internal interface circuits related to the communications interface between the E1 or E20 emulator and user system are shown in figures A and B below Please refer to these figures when determining parameters in board design 14 pin connector 100kQ x5 Emulator control circuit 13 RESET 2 12 GND Self recovering se Note Not used Figure A Interface Circuits in the E1 or E20 Emulator 1 Pin LPD 1 Wire UART R20UT3118EJ0200 Rev 2 00 Page 26 of 30 Oct 01 2015 RENESAS E1 E20 Emulator 5 Internal Circuits of the Emulator 14 pin connector 100kQ x 5 Li 220 Noise filter Emulator control circuit Lm 13 RESET 2 12 GND Self recovering se T74LVC125 Note Not used Figure B Interface Circuits in the E1 or E20 Emulator 4 Pin LPD 2 Wire UART R20UT3118EJ0200 Rev 2 00 Page 27 of30 Oct 01 2015 RENESAS E1 E20 Emulator Additional Document for Us
28. ion to the emulator in accord with the descriptions in Handling of Unused Pins in the user s manual for the target device Note 1 Design the circuit so that the FLMD1 pin must be at the low level during programming R20UT3118EJ0200 Rev 2 00 Page 10 of 30 Oct 01 2015 RENESAS E1 E20 Emulator 2 Connecting the Emulator and User System 4 Connection which allows Only programming 1 wire UART or 2 wire UART 14 pin connector EVCC EVCC VCC Target device TVDD GND GND GND FPDR FPDT FLMDO P3_14 FLMD1 Note1 Reset circuit 13 Figure 2 5 Example of Connection e Refer to section 2 3 2 Connecting the RESET pin for more information on the reset circuit e For details on TVDD refer to section 2 3 3 Connecting the TVDD pin e Make wiring runs between the 14 pin connector and target device as short as possible within 50 mm is recommended Do not connect the signal lines between the connector and MCU to other signal lines e Use GND to apply a guard ring for the wiring which runs between the 14 pin connector and target device Do not route high speed signal lines parallel to each other or allow them to cross each other e Pin names may vary among target devices Refer to the user s manual for the target device you are using for the actual pin names e Proceed with appropriate processing for pins of target devices which do not require connection to the emu
29. lator in accord with the descriptions in Handling of Unused Pins in the user s manual for the target device Note 1 Design the circuit so that the FLMD1 pin must be at the low level during programming R20UT3118EJ0200 Rev 2 00 Page 11 of 30 Oct 01 2015 RENESAS E1 E20 Emulator 2 Connecting the Emulator and User System e Connection which allows Only programming 1 wire UART 14 pin connector EVCC EVCC VCC Target device TVDD GND GND GND FPDR JPO 0 FPDR FLMDO P3 14 FLMD1 Note1 Reset circuit 13 Figure 2 6 Example of Connection e Refer to section 2 3 2 Connecting the RESET pin for more information on the reset circuit e For details on TVDD refer to section 2 3 3 Connecting the TVDD pin e Make wiring runs between the 14 pin connector and target device as short as possible within 50 mm is recommended Do not connect the signal lines between the connector and MCU to other signal lines e Use GND to apply a guard ring for the wiring which runs between the 14 pin connector and target device Do not route high speed signal lines parallel to each other or allow them to cross each other e Pin names may vary among target devices Refer to the user s manual for the target device you are using for the actual pin names e Proceed with appropriate processing for pins of target devices which do not require connection to the emulator in accord with the d
30. ming Page 8 of 30 E1 E20 Emulator 2 Connecting the Emulator and User System 2 Connection which allows Both debugging 1 pin LPD or 4 pin LPD and programming 1 wire UART or 2 wire UART EVCC vcc Target device Note2 LPDIO FPDR JPO 0 LPDIO LPDI FPDR LPDO FPDT JPO 1 LPDO FPDT LPDCLK FPCK JPO 2 LPDCLK FPCK TRST JPO 4 DCUTRST LPDCLKOUT JPO 5 LPDCLKOUT FPMDO FLMDO P3 14 FLMD1 Note1 Figure 2 3 Example of Connection e Refer to section 2 3 2 Connecting the RESET pin for more information on the reset circuit e For details on TVDD refer to section 2 3 3 Connecting the TVDD pin e Make wiring runs between the 14 pin connector and target device as short as possible within 50 mm is recommended Do not connect the signal lines between the connector and MCU to other signal lines e Use GND to apply a guard ring for the wiring which runs between the 14 pin connector and target device Do not route high speed signal lines parallel to each other or allow them to cross each other e Pin names may vary among target devices Refer to the user s manual for the target device you are using for the actual pin names e Proceed with appropriate processing for pins of target devices which do not require connection to the emulator in accord with the descriptions in Pin Treatment When Not in Use in the user s manual for the target device Note 1 Design the circuit so that the FLMD
31. nection prevents usage of the optional isolator for the E1 emulator the isolator is only for use with the RH850 and RL78 groups Allowing hot plug in connection prevents the supply of power to the user system by the E1 emulator If hot plug in connection is not to be used the RAM area will be initialized when the emulator is started Allowing hot plug in connection prevents this Thus when the emulator is started without initializing the RAM area to be used by a program there are cases where ECC errors occur and programs do not operate normally Therefore make sure to initialize the RAM area to be used by a program before setting up the system for hot plug in connection After completing hot plug in connection the user program will be running At this time only the emulator functions listed below are available Forced break Pseudo real time RAM monitoring Direct changes to values in memory Apply a forced break if you wish to return to using all functions supported by the emulator After the forced break functions equivalent to those that can be used after normal starting of a program become available Note The RAM area is only initialized if a setting is made to initialize the RAM area when the emulator is started No 19 Cases where hot plug in connection is not possible Hot plug in connection cannot be used when the microcontoller is in the reset input state No 20 Performance measurement In the case of measuring a specific sect
32. ons No 2 Power to the target system while debugging Do not turn the power to the target system off during debugging Doing so will require reconnection of the debugger No 3 Hardware break access function When the hardware break access function is in use a break in response to the reading or writing of specified data by a read modify write instruction will occur after the instruction Other hardware breaks access occur before the instruction No 4 Multiplexed functions of pins used for OCD signals Multiplexed functions of pins used for on chip debugging OCD cannot be used during debugging No 5 Debugging interface The E1 and E20 emulators support both 1 and 4 pin LPD interfaces Operation is as follows if the setting of the OPJTAGI and OPJTAGO bits of the option byte 2 register is 11B JTAG the JTAG interface is selected in the case of a blank chip a When starting connecting the E1 or E20 emulator Settings of the option byte 2 register are changed from the setting for JTAG to that for 1 or 4 pin LPD by the debugger on connection to an emulator Therefore the OPJTAGI and OPJTAGO bits of the option byte 2 register are either 10B 1 pin LPD or 01B 4 pin LPD during emulator operation b When exiting from a session with disconnecting the E1 or E20 emulator Settings of the option byte 2 register can be changed by the debugger The value of the OPJTAG1 and OPJTAGO bits of the option byte 2 register can be
33. r time required for preparing to communicate When an emulator is connected a program which was written to the MCU is executed from the reset vector before the OCD emulator and MCU become able to communicate Take care on this point When debugging of a program written to the MCU creates a problem eliminate the problem by inserting the waiting time indicated below before executing the program after a release from the reset state For the 1 pin LPD interface at least 140 ms waits are required For the 4 pin LPD interface at least 22 ms waits are required Note Time required for preparing communications depends on the host PC environment of the E1 or E20 emulator and the operating frequency of the MCU No 16 Cautionary note on connecting an emulator internal reset When the stored program generates an internal reset software reset or reset caused by the watchdog timer overflowing immediately after release from the initial reset state the internal reset may be generated before communications between the emulator and MCU have been established after the emulator is started raising the possibility of incorrect communications Accordingly insert a waiting time indicated below before applying an internal reset after a release from the initial reset state when debugging a program which includes an internal reset immediately after a release from the initial reset state For the 1 pin LPD interface at least 140 ms waits are required For the
34. related items Break Software break ROM area 2000 points RAM area Not available Hardware break 12 points including those used for both execution and CPU access conditions 8 points only for execution conditions and 4 points for either execution or access conditions Forced break Available Event Number of events that 8 points for execution 8 points for CPU access can be set and 4 points for DMA access Available function Break trace performance measurement Combination of events OR sequential Tracing Size Branch only 2 000 to 4 000 branches only for products including an internal tracing Data trace only 1 000 to 2 000 cycles of access Traced data Branches cycles of data access and cycles of function DMA access Conditions to start and Stopping of program execution event condition stop recording of data settings Data trace conditions Event conditions Perfor Time Measurement section From run to break mance 1 Items measured Execution time mea Performance 32 bit counters sure Time Measurement section From run to break or between two event points ment 2 Items measured Execution time total execution time pass count maximum execution time minimum execution time Performance 32 bit counters for three sections Other Items measured Number of instructions executed all or than branches only number of interrupts accepted time El level or FE level number of excep
35. rly sure to connect pin 13 before using the emulator 3 Input and output are defined from the perspective of the user system R20UT3118EJ0200 Rev 2 00 Page 6 of 30 Oct01 2015 RENESAS E1 E20 Emulator 2 Connecting the Emulator and User System 2 3 Examples of recommended connections between the connector and MCU This section describes examples of recommended connections between the target MCU and interface circuit 2 3 1 Example of recommended connections Multiple recommended examples for connection are given in accord with the purposes for which the emulator is to be used Select the appropriate circuit with reference to the table shown below Be sure to take the specifications of the target device as well as measures to prevent noise into consideration when designing your circuit Purpose Figure E kras cado 4 pin LPD and programming 1 wire UART or 2 wire Figure 2 2 six 1 pin LPD or 4 pin LPD and programming 1 wire UART Figure 2 3 Both debugging 1 pin LPD and programming 1 wire UART Figure 2 4 Only programming 1 wire UART or 2 wire UART Figure 2 5 Only programming 1 wire UART Figure 2 6 R20UT3118EJ0200 Rev 2 00 Oct01 2015 RENESAS Page 7 of 30 E1 E20 Emulator 14 pin connector EVCC TVDD GND GND GND LPDIO FPDR LPDO FPDT LPDCLK FPCK TRST LPDCLKOUT 4 FPMDO 1h N k P 2 Connecting the Emulator and User System 1 Connection
36. tions accepted instruction asynchronous or instruction synchronous clock cycles all while interrupts are inhibited or other than for the processing of interrupts number of instruction fetches requested number of hits on the instruction cache Measurement section From run to break or between two event points Items measured Latest value total value pass count maximum value minimum value Performance 32 bit counters for four sections R20UT3118EJ0200 Rev 2 00 Oct01 2015 TENESAS Page 16 of30 E1 E20 Emulator 3 Specifications Pseudo real time RAM monitoring Direct memory modification Available occupies a bus steals cycles Available occupies a bus steals cycles Debugging console Unavailable Downloading of the external flash memory Not possible Hot plug in requires a separately sold hot Possible plug in adapter Peripheral breaks Available Security 16 byte ID code authentication Connection interface 1 pin LPD 500 Kbps 1 Mbps 2 Mbps or 4 pin LPD 5 5 MHz 11 MHz Programming related items Security flag settings Available Connection interface 2 wire UART 1 wire UART Note The function to stop peripheral I O operation in a break is called the peripheral break function Whether peripheral breaks are set or not is determined by the debugger Refer to the manual for the debugger you are using for how to set t
37. ts are neither intended nor authorized for use in products or systems that may pose a direct threat to human life or bodily injury artificial life support devices or systems surgical implantations etc or may cause serious property damages nuclear reactor control systems military equipment etc You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application for which it is not intended Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for which the product is not intended by Renesas Electronics 6 You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges 7 Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions Further Renes
38. which allows Both debugging 4 pin LPD and programming 1 wire UART or 2 wire UART EVOC VCC Vv 7 5 1 9 3 11 6 x Reset circuit 13 Target device JPO 0 LPDI FPDR JPO 1 LPDO FPDT JPO 2 LPDCLK FPCK JPO 4 DCUTRST JPO 5 LPDCLKOUT FLMDO P3_14 FLMD1 Note1 Figure 2 2 Example of Connection Refer to section 2 3 2 Connecting the RESET pin for more information on the reset circuit For details on TVDD refer to section 2 3 3 Connecting the TVDD pin Make wiring runs between the 14 pin connector and target device as short as possible within 50 mm is recommended Do not connect the signal lines between the connector and MCU to other signal lines Use GND to apply a guard ring for the wiring which runs between the 14 pin connector and target device Do not route high speed signal lines parallel to each other or allow them to cross each other Pin names may vary among target devices Refer to the user s manual for the target device you are using for the actual pin names Proceed with appropriate processing for pins of target devices which do not require connection to the emulator in accord with the descriptions in Handling of Unused Pins in the user s manual for the target device R20UT3118EJ0200 Oct 01 2015 Rev 2 00 TENESAS Note 1 Design the circuit so that the FLMDI pin must be at the low level during program
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 - 三菱電機 Hunter Fan 42834-01 Fan User Manual /解=(和田邸 オイルキャッチャー68L ノクノク/タク糊周 取扱説明書 取扱説明書 - Panasonic 別紙 1.防毒マスク用吸収缶 CA−710/AM (合格番号 TN212 Toro GreensPro 1200 Brochure JOHANNUS Copyright © All rights reserved.
Failed to retrieve file