background image

QB-V850MINIL, QB-V850MINI Emulator                                                 5. Self-Testing 

R20UT0221EJ0400 Rev.4.00 

 

Page  70  of 86 

2013.08.30 

5.

 

Self-Testing 

 
This chapter describes how to perform self-testing of QB-V850MINIL or QB-V850MINI. 
When the debugger does not operate normally, this function can be used to determine whether the cause lies in 
QB-V850MINIL or QB-V850MINI, or in other hardware. 
 

5.1

 

System Configuration 

Figure 5-1 illustrates the system configuration for performing self-testing. 
 

 

Figure 5-1.  System Configuration for Self-Testing 

 

 

<1>  Host machine: 

With USB ports 

<2>  USB interface cable (accessory) 
<3>  QB-V850MINIL or QB-V850MINI (this product) 
<4>  OCD cable (accessory) 
<5>  Self-check board (accessory) 

 

<1> 

<2> 

<3> 

<5> 

<4> 

Содержание QB-V850MINI

Страница 1: ...nd product specifications represents information on the product at the time of publication and is subject to change by Renesas Electronics Corporation without notice Please review the latest informati...

Страница 2: ...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 Electroni...

Страница 3: ...efore Using QB V850MINIL or QB V850MINI If you have any questions about QB V850MINIL or QB V850MINI contact your local distributor This user s manual describes mainly the hardware specifications of QB...

Страница 4: ...system nor the host machine Purpose of use of the emulator This emulator is a device to support the development of systems that uses the Renesas microcomputers It provides support for system developme...

Страница 5: ...in Japan 5 Renesas Electronics Corporation cannot predict all possible situations and possible cases of misuse that carry a potential for danger Therefore the warnings in this user s manual and the w...

Страница 6: ...ghts or any other rights arising from the use of any information products or circuits presented in this user s manual 2 The information or data in this user s manual does not implicitly or otherwise g...

Страница 7: ...recautions described here WARNING WARNING indicates a potentially dangerous situation that will cause death or heavy wound unless it is avoided CAUTION CAUTION indicates a potentially dangerous situat...

Страница 8: ...be destroyed Make sure that the connectors on both ends of the user system interface cable are facing the right way relative to the user side connector on the emulator and the connector on the user s...

Страница 9: ...of your product is not complete it may be damaged during transportation When you pack your product in a bag make sure to use the conductive plastic bag supplied with the product usually a blue bag If...

Страница 10: ...E2M environment 27 3 1 2 System configuration in V850E2 V850E1 or V850ES environment 28 3 2 Setup Procedure 29 3 2 1 Installation of software 30 3 2 2 Switch settings 30 3 2 3 Connection and startup o...

Страница 11: ...3 6 Connection and startup of system 66 4 3 7 System shutdown 67 4 4 Default Settings V850MINI Self check board 67 4 5 Cautions on Using Sockets 68 4 5 1 Cautions on inserting removing sockets 68 4 5...

Страница 12: ...r emulation probe rewrite an emulator name and serial number in the text file you filled in earlier to register your new hardware products Your registered information is used for only after sale servi...

Страница 13: ...Emulator debugger This means a software tool that is started up from IDE and controls the emulator and enables debugging Host machine This means a personal computer used to control the emulator Target...

Страница 14: ...of 86 2013 08 30 V850MINIL self check board This means the self check board included with the QB V850MINIL Self check board General term used for both the V850MINI self check board and the V850MINIL s...

Страница 15: ...ry by using the flash self programming function of the microcontroller JTAG interface Nexus interface Using a JTAG or Nexus compliant interface the QB V850MINI can be used generally for V850E2S V850E2...

Страница 16: ...V850MINI be sure to check that all the items listed in the packing specifications are included QB V850MINIL or QB V850MINI package contains the items shown below If there are missing or damaged items...

Страница 17: ...50MINI The system must be configured appropriately according to each usage purpose of QB V850MINIL or QB V850MINI so check the following and refer to the relevant chapter To debug the target device mo...

Страница 18: ...850ES FG3 L V850ES HE2 V850ES HF2 V850ES HG2 V850ES HJ2 V850ES HE3 V850ES HF3 V850ES HG3 V850ES HJ3 V850ES IK1 V850ES IE2 V850ES JG2 V850ES JJ2 V850ES JG3 V850ES JJ3 V850ES JC3 L V850ES JE3 L V850ES J...

Страница 19: ...50ES KF1 V850ES KG1 V850ES KJ1 QB V850ESKX1 DA or V850MINI self check boardNote 1 V850ES KE1 V850ES KF1 V850ES KG1 V850ES KJ1 QB V850ESKX1H DA or V850MINI self check board V850ES KE2 V850ES KF2 V850ES...

Страница 20: ...0 mm Target interface Target device Microcontroller with V850E2S V850E2M V850E2 V850E1 V850ES Series on chip debug unit and microcontroller with Nx85ET core OCD cable length 200 mm Clock frequency Equ...

Страница 21: ...f check board The part names described in this chapter are used throughout this document This chapter provides an overview of the various functions Reading it through the reader will gain a basic gras...

Страница 22: ...s in Main Unit The part names and functions of QB V850MINIL or QB V850MINI are described below a Main unit top view QB V850MINIL b Left side c Right side Figure 2 1 Names of Parts in QB V850MINIL or Q...

Страница 23: ...ain unit 5 LED The meanings of each LED are listed below Display Name Lit Extinguished Meaning POWER Lit The power supply to QB V850MINIL or QB V850MINI is on Extinguished The power supply to QB V850M...

Страница 24: ...2 Part Names of V850MINI Self Check Board 1 NWIRE1 A connector used for connecting QB V850MINIL or QB V850MINI HIF3FC 20PA 2 54DSA made by Hirose Electric Co Ltd 2 FW1 A connector used for connecting...

Страница 25: ...B V850MINI to the target system An exchange adapter and a target connector are required separately 2 2 2 V850MINIL self check board Figure 2 2 Part Names of V850MINIL Self Check Board 1 NWIRE1 A conne...

Страница 26: ...table for field debugging On the other hand on chip debugging takes up five or six function pins for communication with the host machine Moreover communication circuits must be mounted on the target s...

Страница 27: ...INI main unit On chip debug emulator main unit OCD cable Connects QB V850MINIL or QB V850MINI to the target system Connection parts 16 pin conversion adapter Used to connect the OCD cable to a 16 pin...

Страница 28: ...ble to a KEL connector Included with the QB V850MINI but not with the QB V850MINIL KEL connector Standard connector for V850E2 V850E1 or V850ES Sold separately Included with the QB V850MINI but not wi...

Страница 29: ...of software Proceed to the next step if installation of software has already been completed Setting of switch Set SW1 This step is not necessary when using a connector other than the MIictor connector...

Страница 30: ...Change the SW1 setting only when all the following conditions are satisfied otherwise use QB V850MINIL or QB V850MINI with the default setting all OFF A Mictor connector is used as the target connecto...

Страница 31: ...Figure 3 1 and Figure 3 2 for the adapter and target connector to be used Caution Perform connection while the power to the target system is off Figure 3 3 Connecting QB V850MINIL or QB V850MINI to Ta...

Страница 32: ...ed Check the target system s power supply and make sure that an appropriate voltage is being applied 4 Running the software Start up and run the software as described in the supplied user s manual 3 2...

Страница 33: ...n 3 5 Designing Target System Circuits When Using V850E2 V850E1 or V850ES 3 4 1 Example of circuit design for V850E2S or V850E2M Figure 3 5 illustrates an example of the design of a target system circ...

Страница 34: ...V it is judged that the system has not been configured correctly regardless of whether target system power is being supplied or not In this case the DRST DCK DMS DDI FLMD0 and RESET pins become high i...

Страница 35: ...n the Assemble or Memory window Figure 3 6 Timing of FLMD0 on QB V850MINIL or QB V850MINI Handle the FLMD0 signal as shown in either a or b below Whether the FLMD0 signal needs to be connected or not...

Страница 36: ...ming Flash Self Programming Remark The resistance of R2 must be at least 10 times the resistance of R1 When leaving the FLMD0 signal output from QB V850MINIL or QB V850MINI open and connecting a port...

Страница 37: ...I to the RESET pin on the target device The RESET signal timing and an example connection circuit are shown below Figure 3 9 Timing of RESET on QB V850MINIL or QB V850MINI Figure 3 10 RESET Pin Connec...

Страница 38: ...Designing Target System Circuits When Using V850E2S or V850E2M 3 5 1 Example of circuit design for V850E2 V850E1 or V850ES Figure 3 11 illustrates an example of the design of a target system circuit t...

Страница 39: ...een configured correctly regardless of whether target system power is being supplied or not In this case the DRST DCK DMS DDI FLMD0 and RESET pins become high impedance regardless of the operating sta...

Страница 40: ...the Assemble or Memory window Figure 3 12 Timing of FLMD0 on QB V850MINIL or QB V850MINI Handle the FLMD0 signal as shown in one of below a or b or C Whether the FLMD0 signal needs to be connected or...

Страница 41: ...of R2 must be at least 10 times the resistance of R1 When leaving the FLMD0 signal output from QB V850MINIL or QB V850MINI open and connecting a port signal to FLMD0 on the target device set the outpu...

Страница 42: ...ernate function pins in the specifications of the target device the OCD signal becomes inactive due to a reset by other than the RESET pin and the OCD signals are not set to active in the startup rout...

Страница 43: ...0MINI Emulator 3 On Chip Debugging R20UT0221EJ0400 Rev 4 00 Page 43 of 86 2013 08 30 Figure 3 16 RESET Pin Connection Example 3 3 V VDD 74LVC1T45 DIR RESET Target system Target device RESET VDD QB V85...

Страница 44: ...E2S or V850E2M 8830E 026 170S included with QB V850MINI 8830E 026 170L KEL Corporation Adapter QB V850MINIL AK1 included with QB V850MINI Renesas Electronics Corporation Mictor connector 2 767004 2 Ty...

Страница 45: ...et connector for OCD mount either of the following connectors on the target system 8830E 026 170S 26 pin straight type included with QB V850MINI 8830E 026 170L 26 pin right angle type sold separately...

Страница 46: ...from DCU A11 DRST IN DCU reset signal A12 RESET IN System reset input signal leave open when not used Note 2 A13 FLMD0 IN Flash programming mode setting signal leave open when not used Note 3 B1 to B...

Страница 47: ...tor connector as the target connector for OCD mount the following connector on the target system 2 767004 2 38 pin type sold separately Remark 2 767004 2 is a product of Tyco Electronics AMP K K The f...

Страница 48: ...et signal 7 TDI IN Data signal transmitted to DCU 8 RESET IN System reset input signal leave open when not used Note 2 9 TDO OUT Data signal transmitted from DCU 10 FLMD0 IN Flash programming mode set...

Страница 49: ...tted from DCU 10 FLMD0 IN Flash programming mode setting signal leave open when not used Note 3 11 N C Open not connected 12 RESERVE Open 13 N C Open not connected 14 PORT0_IN Connect to GND 15 N C Op...

Страница 50: ...e SICA connector as the target connector for OCD mount the following connector on the target system SICA2P20S 20 pin type sold separately Remark SICA2P20S is a product of Tokyo Eletech Corporation The...

Страница 51: ...OWER Open 11 GND Connect to GND 12 RESET IN System reset input signal leave open when not used Note 2 13 GND Connect to GND 14 FLMD0 IN Flash programming mode setting signal leave open when not used N...

Страница 52: ...RESERVE Open 11 GND Connect to GND 12 RESET IN System reset input signal leave open when not used Note 2 13 GND Connect to GND 14 FLMD0 IN Flash programming mode setting signal leave open when not us...

Страница 53: ...e V850E2 V850E1 or V850ES Note that the 2 54 mm pitch 16 pin general purpose connector may not support Renesas Electronics partner company s emulators The followings are examples of the 2 54 mm pitch...

Страница 54: ...7 TCK IN Clock for DCU 8 RDY OUT Synchronous signals 9 TRST IN DCU reset signal 10 RESERVE Open 11 RESERVE Open 12 TMS IN DCU state transition control signal 13 RESERVE Open 14 FLMD0 IN Flash program...

Страница 55: ...support Renesas Electronics partner company s emulators The followings are examples of the 2 54 mm pitch 20 pin general purpose connector HIF3FC 20PA 2 54DS sold separately right angle type HIF3FC 20P...

Страница 56: ...ct to GND 10 POWER Open 11 GND Connect to GND 12 RESET IN System reset input signal leave open when not used Note 2 13 GND Connect to GND 14 FLMD0 IN Flash programming mode setting signal leave open w...

Страница 57: ...ct to GND 10 RESERVE Open 11 GND Connect to GND 12 RESET IN System reset input signal leave open when not used Note 2 13 GND Connect to GND 14 FLMD0 IN Flash programming mode setting signal leave open...

Страница 58: ...n in 4 1 below Note that the V850MINIL self check board included with the QB V850MINIL cannot be used for in circuit emulation 4 1 Target Devices Debugging with the in circuit method can be performed...

Страница 59: ...circuit method Note that items 6 and 7 in Figure 4 1 are not included with the QB V850MINI or QB V850MINIL Note also that item 5 is included with the QB V850MINI but not with the QB V850MINIL Figure 4...

Страница 60: ...Host machine With USB ports 2 USB accessory 3 QB V850MINIL or QB V850MINI this product 4 OCD cable accessory 5 V850MINI Self check board accessory included with the QB V850MINI or QB V850ESKX1H DA 6 C...

Страница 61: ...B 144 CA 01 7 Extension probe coaxial type QB 144 EP 01S 8 Exchange adapter QB 64 EA 01S QB 80GC EA 02S QB 80GK EA 01S 9 Space adapter QB 64 SA 01S QB 80 SA 01S 10 Mount adapter QB 64GB MA 01S QB 64GK...

Страница 62: ...stem Connect the host machine QB V850MINIL or QB V850MINI V850MINI self check board and target system and start the entire system See 4 3 6 Connection and startup of system to perform setting in the c...

Страница 63: ...by replacing the resonator mounted in OSC1 Subclock oscillation frequency The frequency is fixed to 32 768 kHz Do not change the frequency This chapter explains how to set the main clock The main cloc...

Страница 64: ...f Check Board SW1 Setting Mode Description Adapter Adapter mode A setting to set the mode for performing debugging with in circuit method Self Check Self check mode This is the default setting of SW1...

Страница 65: ...arily secure the connector at the specified location on the target system Make sure that the position of pin 1 of the connector where the corner is cut matches the position of pin 1 on the target boar...

Страница 66: ...hown in Figures 4 1 and 4 2 for the connection of other optional products Caution Perform connection while the power to the target system is off Figure 4 5 Connecting QB V850MINIL or QB V850MINI to Ta...

Страница 67: ...off the power to the target system 3 Disconnect the USB cable from the host machine Caution If the above order is not observed QB V850MINIL or QB V850MINI or the self check board may be damaged 4 4 De...

Страница 68: ...ject as a tool to remove the connector Insert the tool between TC and EA and remove TC in the correction direction as shown in Figure 4 7 If force is applied to the connector in the wrong direction th...

Страница 69: ...INI self check board to Self Check 3 Connect the flash memory programmer to the FW1 connector on the self check board Caution To avoid signal conflicts do not connect QB V850MINIL or QB V850MINI to th...

Страница 70: ...ally this function can be used to determine whether the cause lies in QB V850MINIL or QB V850MINI or in other hardware 5 1 System Configuration Figure 5 1 illustrates the system configuration for perf...

Страница 71: ...ady been completed Connection and startup of system Connect the host machine QB V850MINIL or QB V850MINI and target system and start the entire system See 5 2 4 Connection and startup of system to per...

Страница 72: ...llowing website http www renesas com ghs_debug_if 5 2 2 Setting of QB V850MINIL or QB V850MINI Set QB V850MINIL or QB V850MINI to the default setting when performing self testing See 3 3 Default Setti...

Страница 73: ...When using V850MINIL self check board Device file Specify DF3736 800 Clock Select 5 000 for Main OSC Internal ROM Sequrity Select the ID code check box and input the security code specified at addres...

Страница 74: ...ction or else unexpected breaks will occur 6 OCD Since the initial value of the ASID register in the V850E1 Series is undefined set the ASID register to 00H via the reset routine Initialization of the...

Страница 75: ...ance state when no program is being downloaded Note the FLMD0 pin connection on the target system side 21 IE When the flash memory programmer is connected no clock can be supplied from the programmer...

Страница 76: ...u re using it under normal condition based on its user s manual it will be repaired or replaced free of cost 2 However if the following failure or damage occurs to the product under warranty the produ...

Страница 77: ...lacement less expensive than repair h Faults that are not locatable or identifiable 3 Expiration of the repair period When a period of one year has elapsed after production of a given model ceased rep...

Страница 78: ...QB V850MINIL QB V850MINI Emulator AppendixA V850MINI Self Check board circuit diagrams R20UT0221EJ0400 Rev 4 00 Page 78 of 86 2013 08 30 Appendix A V850MINI Self Check Board Circuit Diagrams...

Страница 79: ...0UT0221EJ0400 Rev 4 00 Page 79 of 86 2013 08 30 Appendix B External Dimensions B 1 QB V850MINIL QB V850MINI Figure B 1 QB V850MINIL or QB V850MINI B 2 V850MINI Self Check Board Unit mm Figure B 2 V850...

Страница 80: ...ired for the target connector for OCD unit mm Refer to the dimension diagrams supplied by each connector manufacturer when designing boards The external dimension diagrams of optional products to be u...

Страница 81: ...QB V850MINIL QB V850MINI Emulator AppendixB External dimensions R20UT0221EJ0400 Rev 4 00 Page 81 of 86 2013 08 30 Figure B 5 Mictor Connector 2 767004 2 Figure B 6 SICA Connector SICA2P20S...

Страница 82: ...ISTORY APPENDIX D REVISION HISTORY 3rd edition Addition of 1 1 Features CHAPTER 1 OVERVIEW Change of 1 4 Specifications Change of 2 1 Names of Parts in Main Unit CHAPTER 2 NAMES AND FUNCTIONS OF HARDW...

Страница 83: ...AppendixC Revision history R20UT0221EJ0400 Rev 4 00 Page 83 of 86 2013 08 30 Edition Description Applied to 4 th edition Addition of V850E2S core Document whole Change of 5 2 4 Connection and startup...

Страница 84: ...On Chip Debugger QB V850NIMIL QB V850MINI User s Manual Publication Date Aug 30 2013 Rev 4 00 Published by Renesas Electronics Corporation...

Страница 85: ...d Pudong District Shanghai 200120 China Tel 86 21 5877 1818 Fax 86 21 6887 7858 7898 Renesas Electronics Hong Kong Limited Unit 1601 1613 16 F Tower 2 Grand Century Place 193 Prince Edward Road West M...

Страница 86: ...On Chip Debugger QB V850MINIL QB V850MINI User s Manual R20UT0221EJ0400...

Страница 87: ...03 1120270005 1120270006 1120275015 2181 2400303 2400573 2402617 2402618 2700194 2700291 2701356 2701453 2701455 2701456 2701680 2702191 2702546 2702579 2702889 2702980 2730132 2730307 2730404 2733 29...

Отзывы: