Home

QB-V850MINIL - Renesas Electronics

image

Contents

1. 22 Self Check Board The part names and functions of the self check board are described below The self check board included with the QB V850MINI differs from the self check board included with the QB V850MINIL For details see the following sections e Self check board included with QB V850MINI See 2 2 1 QB V850MINI self check board e Self check board included with QB V850MINIL See 2 2 2 QB V850MINIL self check board 224A V850MINI self check board Mam OSC cBMiis CN3 CN CNI Figure 2 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 the flash memory programmer 3 SW1 A switch used to set connection or disconnection of the target system For in circuit debugging Set to Adapter For self testing Set to Self Check Default setting Refer to 4 3 4 Switch settings for details on the settings 4 OSC1 A resonator board for the ceramic resonator that is used for the main clock An 8 MHz resonator is mounted in a socket at shipment Refer to 4 3 3 Clock settings when changing the main clock frequency 5 OSC2 A resonator for the subclock A 32 768 kHz resonator is mounted at shipment The frequency cannot be changed R20UT0221EJ0400 Rev 4 00 ENESAS Page 24 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 2 Names and functions of har
2. Table 3 2 Status of FLMDO Signal on QB V850MINIL or QB V850MINI Debugger Status Status of FLMDO When writing to the flash memory High level CMOS output When not writing to the flash memory High impedance While the user created program is executing Note When downloading a program or when writing in the Assemble or Memory window During a break When rewriting the flash memory during a break Figure 3 6 Timing of FLMDO on QB V850MINIL or QB V850MINI Handle the FLMDO signal as shown in either a or b below Whether the FLMDO signal needs to be connected or not depends on the specifications of the target device a When not performing flash self programming Connect the FLMDO signal output from QB V850MINIL or QB V850MINI to the FLMDO pin on the target device As long as there are no problems arising from the specifications of the target device pull the signal down to low level Determine the resistance value of the pull down resistor by referring to the user s manual of the target device QB V850MINIL Target system QB V850MINI 74LVC1T45 Target device FLMDO Figure 3 7 Example Connection of FLMDO Pin When Used by QB V850MINIL or QB V850MINI R20UT0221EJ0400 Rev 4 00 RENESAS Page 35 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging b When performing flash self programming To use the FLMD0 pin as a port pin when performing flash self programming by using
3. GND GND R20UT0221EJ0400 Rev 4 00 RENESAS Page 38 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 5 2 Cautions on target system design for V850E2 V850E1 or V850ES Note the following points when designing the target system circuits and the board 1 2 3 4 Keep the pattern length as short as possible If Von is between 2 0 and 5 5 V it is judged that target system power is being supplied and the signals switch to being used as debug signals If Von is not between 2 0 and 5 5 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 impedance regardless of the operating status of the debugger To avoid this be sure to input the voltage from the power supply pin on the target device directly to Vpop The circuit for connecting FLMDO varies when using flash self programming or using microcontrollers that do not have an on chip flash memory See 3 5 3 Connecting the FLMDO signal for V850E2 V850E1 or V850ES for details To reset the target device while the target system power supply is on connect the RESET signal See 3 5 4 Connecting RESET signal for V850E2 V850E1 or V850ES for details R20UT0221EJ0400 Rev 4 00 RENESAS Page 39 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 5 3 C
4. which the revision was applied Change of 3 4 3 7 b When performing flash self programming Addition of 3 4 3 7 c When the target device is not provided with an on chip flash memory Change of Table 3 3 List of Target Connectors for OCD Part Number and Manufacturer in 3 5 Target Connectors for OCD Addition of APPENDIX D REVISION HISTORY APPENDIX D REVISION HISTORY 3rd Addition of LI Features of 1 1 Features CHAPTER 1 Change of 3 5 Designing Target System Circuits When Using V850E2 V850E1 or V850ES Change of 5 2 Setup Procedure of 5 2 Setup Procedure Change of 5 2 Setup Procedure ssi SELF TESTING Change of CHAPTER 6 CAUTIONS Deletion of No 25 CHAPTER 6 CAUTIONS Deletion APPENDIX C INTERNAL ROM FLASH MEMORY SECURITY FUNCTION of APPENDIX C the previous edition INTERNAL ROM FLASH MEMORY SECURITY FUNCTION of the previous edition 3rd Change of Figure 3 5 Circuit Connection Example CHAPTER 3 On Chip edition Degugging Modified version R20UT0221EJ0400 Rev 4 00 RENESAS Page 82 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator AppendixC Revision history 4 edition Addition of V850E2S core Document whole Change of 5 2 4 Connection and startup of system CHAPTER 5 SELF TESTING R20UT0221EJ0400 Rev 4 00 ENESAS Page 83 of 86 2013 08 30 On Chip Debugger QB V850NIMIL QB V850MINI User s Manual Publication Date Aug 30 2013 Rev 4 00 Published by Renesas
5. 2 User system power OFF 3 Emulator power OFF Cautions to Be Taken for Handling This Product Use caution when handling the product Be careful not to apply a mechanical shock Do not touch the connector pins of the emulator and the target MCU connector pins directly Static electricity may damage the internal circuits When attaching and removing the cable hold the plug of the cable and do not touch the cable Do not pull the emulator by the communications interface cable or the flexible cable And excessive flexing or force may break conductors Note on Transporting the Product When sending your product for repair use the packing box and cushioning material supplied with the product when it was delivered to you and specify caution in handling handling as precision equipment If packing 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 you use a different bag it may lead to further trouble with your product due to static electricity Caution to Be Taken for System Malfunctions If the emulator malfunctions because of interference like external noise do the following to remedy the trouble 1 Exit the emulator debugger and shut OFF the emulator and the user system 2 After a lapse of 10 seconds turn ON the power of the emulator and the user system again then launch the em
6. ENESAS C d D m de lt Q C D On Chip Debug Emulator QB V850MINIL QB V850MINI Users Manual 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 Corporation without notice Please review the latest information published by Renesas Electronics Corporation through various means including the Renesas Electronics Corporation website http www renesas com Renesas Electronics Rev 4 00 Aug 2013 www renesas com 10 11 12 Notice 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 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 included herein Renesas Electronics does not assu
7. Table 4 3 Default Settings of Self Check Board Setting Description OSC1 An 8 MHz resonator is mounted at shipment There is no need to change the setting when using an 8 MHz resonator as is When changing the setting refer to 4 3 3 Clock settings for details OSC2 A 32 768 kHz resonator is mounted at shipment Do not change the frequency SwW1 Adapter SW1 is set to Self Check by default Refer to 4 3 4 Switch settings for how to set the switches R20UT0221EJ0400 Rev 4 00 RENESAS Page 67 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 4 Debugging with In Circuit method 4 5 Cautions on Using Sockets This section describes cautions on using sockets such as the target connector and exchange adapter The following symbols are used in this section e TC Target connector e EA Exchange adapter e MA Mount adapter e CA Check pin adapter e SA Space adapter e EP Extension probe 4 5 1 Cautions on inserting removing sockets e When inserting an adapter such as EA MA or SA in TC insert it so that the position of pin 1 where the corner is cut on each adapter matches Be sure to insert the connectors in the correct direction so that the positions match e Remove or insert the sockets in the correct direction see Figure 4 7 e Be sure to hold the lower mating connector or board with your fingers when inserting or removing a socket e Use a bamboo spit or similar object as a tool to remove the conne
8. Connects QB V850MINIL or QB V850MINI to the target system Connection parts e 16 pin conversion adapter Used to connect the OCD cable to a 16 pin general purpose connector Included with the QB V850MINIL but not with the QB V850MINI e 16 pin general purpose connector A 16 pin male connector with a pitch of 2 54 mm Sold separately e 20 pin general purpose connector A 20 pin male connector with a pitch of 2 54 mm Sold separately e Mictor adapter Used to connect the OCD cable to a Mictor connector Sold separately e Mictor connector A connector that supports a high speed interface Sold separately A debugging tool with tracing capability sold by an Renesas Electronics partner company can also be connected to this connector e SICA adapter Used to connect the OCD cable to an SICA connector Sold separately e SICA connector A small space saving connector Sold separately R20UT0221EJ0400 Rev 4 00 RENESAS Page 27 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 12 System configuration in V850E2 V850E1 or V850ES environment The system configuration when using the V850E2 V850E1 or V850ES is shown below The components used for connection can be selected to suit the features of the system being used QB V850MINIL USB cable Host machine Wa QB V850MINI main unit OCD cable KEL MN Mictor sica E adater sn y adapter y adapter SS A A deen KEL connector 20 pin Mictor connector SICA conn
9. Figure 3 18 Table 3 6 and Table 3 7 show the pin assignment and the pin functions of a target connector for OCD respectively Input output is indicated as seen from the target device 2 767004 2 Target system GROUND ORIENTATION HOLE 1 POSITION 1 2 POSITION 2 Figure 3 18 Mictor Connector Pin Assignment Diagram R20UT0221EJ0400 Rev 4 00 LEN ESAS Page 47 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging Table 3 6 Mictor Connector Pin Functions for V850E2S or V850E2M 1 and 2 GND Connect to GND 3 TCK IN Clock for DCU 4 Von Power supply The power supply for buffers of debugging interface or for power supply detection of target system 5 TMS IN DCU state transition control signal 6 IN DCU reset signal 7 IN Data signal transmitted to DCU 8 IN System reset input signal leave open when not used 9 OUT Data signal transmitted from DCU 10 IN Flash programming mode setting signal leave open when not used 12 OUT Synchronous signals 21 to 36 Open 37 38 GND Connect to GND Notes 1 As seen from the target device 2 Refer to 3 4 4 Connecting the RESET signal for V850E2S or V850E2M 3 Refer to 3 4 3 Connecting the FLMDO signal for V850E2S or V850E2M R20UT0221EJ0400 Rev 4 00 RENESAS Page 48 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging Table 3 7 Mictor Connector Pin Functions for V850E2 V850E1 or V850
10. To debug the target system with QB V850MINIL or QB V850MINI connected a circuit to connect QB V850MINIL or QB V850MINI is required on the target system This section presents information required for circuit design Read this information together with the information described in the user s manual of the target device Note that circuit design information when the target device is the V850E2 V850E1 or V850ES is described in 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 circuit that is used to connect QB V850MINIL or QB V850MINI lt R gt To determine the resistance value in the circuit see the user s manual of the target device On Chip Debug Emulator Target device RESET FLMDO GND Figure 3 5 Circuit Connection Example Signal Name Outline of Signal TCK Clock for DCU TMS DCU state transition control signal TDI Data signal transmitted to DCU TDO Data signal transmitted from DCU TRST DCU reset signal RDY Synchronous signals FLMDO Flash programming mode setting signal RESET System reset input signal Von Power supply The power supply for buffers of debugging interface or for power supply detection of target system GND GND R20UT0221EJ0400 Rev 4 00 RENESAS Page 33 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debuggin
11. a resonator without the capacitor or the oscillator the oscillator must be configured in OSC1 Refer to the user s manual of the target device for details on the oscillator R20UT0221EJ0400 Rev 4 00 RENESAS Page 63 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 4 Debugging with In Circuit method 4 3 4 Switch settings For the V850MINI self check board two types of mode can be selected by setting SW1 Set SW1 to Adapter when performing emulation with the in circuit method to set the adapter mode Table 4 2 SW1 Setting Self Check Board lt R gt 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 A setting to set the mode for performing self testing This setting is also used to set the mode for writing to the wPD70F3318YGJ on the V850MINI self check board using a flash memory programmer This mode is used to erase the on chip flash memory when the debugger cannot be activated because the user has skipped setting of the security ID code R20UT0221EJ0400 Rev 4 00 RENESAS Page 64 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 4 Debugging with In Circuit method 4 3 5 Mounting target connector Mount the target connector on the target system in the following order 1 Apply cream solder to the foot pattern for mounting the IC on the target system 2 The target connector has a c
12. n Ster P05 20 Gs V850ES KJ1 PCM5 gg PCM4 VDDOUT TC74HC4066AFT P06 ER PCMA gg PCM3 DAN AAA POGANTP3 PCM3 HLDRAO TF 5 NF5 53 P40 SI00 RXD2 PCM2 HLDAK E1 P41 50994XD2 PCM1ICLKOUJ L Ge 1 e Y ILR PCMI P30 Col P42 SCK00 PCMOMIAIL ga PCS3 NFM60R3T2 Pai 5a f P30 TxDo TO02 PCSI LSA az PCS VDD z 577 P31 RXDO INTP7 T003 PCS2 6S2 TF gt Ss VDD VDD p22 E Mr pesucsy LB gel VDD Sr IER ai z YDD TVDD R2 P36 La Sol wk oe 78 PCD1 2 131 4 7K VDD NF3 z ER PCDO 3 1 2 NFMGOR3T222 C33 P37 S eg g GES DEE e 76 P915 p TRESETZ E z S A EVSS gs 9 e NTP6 SITE P38 35 EVDO RE EI 3 E Be E 8 g OIT ET P913 5 Lal GG 5 P38 SDAO Y SS ER EE E gax SE S E 4526 PY3SAUNIPA 73 P912 6 Pasco SES B aan Jeoysgz B8908S83e5 4858 rose ADS 5882 Jen 229432088 SS SS 22SDP2 a ES Es DiE mie e Ee D REENER REEERE S592 5 8S 8 235 Ss SSo oo 900 DS PDAS o DD DO oO OO OO Oo Oo OO Oo OO OO Oo OO oo D OO OD OO OD D 0 V850ES KJ1 TELE ED AVREFO AVREF1 REGC c6 c7 c8 E Fa Fa Pa Fa CO a Fa odo fs Fa OF Es Es En ESE ss Eos Es Es ES 0 1uF 0 1uF 0 1uF VDD VDD osc2 TQC 1004 7C 32 768KH 2 REGC 1 2 TREGC XX dp PAD4 HK 2 G SHORT PAD5 TP2 VDD NVDD 1 2 p NF4 e 5 EH Lr 3 QB V850ESKX1H DA 27pF NFM60R3T222 R5 1K r r R20UT0221EJ0400 Rev 4 00 2013 08 30 QB V850MINIL QB V850MINI Emulator AppendixB External dimensions Appendix B External Dimensions B 1 QB V850MINIL QB V850MINI 84 5mm 88 5mm including screw Figure B 1
13. Adapter Not required Mictor connector SICA connector for example R20UT0221EJ0400 Rev 4 00 RENESAS Page 44 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 6 1 KEL connector for V850E2 V850E1 or V850ES A KEL connector is a target connector included with the QB V850MINI but not with the QB V850MINIL Note that the KEL connector cannot be used when using the V850E2S or V850E2M When using the KEL connector as the target connector for OCD mount either of the following connectors on the target system e 8830E 026 170S 26 pin straight type included with QB V850MINI e 8830E 026 170L 26 pin right angle type sold separately Remark 8830E 026 170S and 8830E 026 170L are products of KEL Corporation A conversion adapter is included with the QB V850MINI Figure 3 17 and Table 3 5 show the pin assignment and the pin functions of the KEL connector respectively Input output is indicated as seen from the target device 8830E 026 170S 8830E 026 1 70L Gy eee TOP VIEW A13 A12 Au lt Target system TOP VIEW Figure 3 17 KEL Connector Pin Assignment Diagram R20UT0221EJ0400 Rev 4 00 LEN ESAS Page 45 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging Table 3 5 KEL Connector Pin Functions for V850E2 V850E1 or V850ES A1 to AG GND e fo S S At WE RE T B13 VDD Notes 1 As seen from the targe
14. Emulator 4 Debugging with In Circuit method 4 2 2 System configuration when using optional products The figure shown below illustrates the system configuration when using optional products The items enclosed by dotted lines are the optional products Applications of the optional products are described on this page Refer to 4 2 3 List of optional product names for the corresponding product names L e SS aS IA LS gt a ae a KE Target system Figure 4 2 System Configuration with Optional Products lt 1 gt Host machine With USB ports lt 2 gt USB accessory lt 3 gt QB V850MINIL or QB V850MINI this product lt 4 gt OCD cable accessory lt 5 gt V850MINI Self check board accessory included with the QB V850MINI or QB V850ESKX1H DA lt 6 gt Check pin adapter sold separately An adapter used for monitoring waveforms with an oscilloscope etc lt 7 gt Coaxial type extension probe sold separately A cable used to extend the distance between the emulator and target system lt 8 gt Exchange adapter sold separately lt 9 gt Space adapter sold separately An adapter used to adjust the height lt 10 gt Mount adapter sold separately An adapter used to mount the device in the socket lt 11 gt Target connector sold separately A connector mounted on the target system R20UT0221EJ0400 Rev 4 00 RENESAS Page 60 of 86 2013 08 30 QB V850MIN
15. Example of circuit design tor VS 3062 V850E1 or V850ES ansia did 38 3 5 2 Cautions on target system design for V850E2 V850E1 or V850ES ccccccssseecseccsessseccceeeseesceeececonssnnscecsensseceseeeneesceccecseseseneceeeees 39 3 5 3 Connecting the FLMDO signal for V850E2 V850E1 or V850ES Luispnn iii 40 3 5 4 Connecting the RESET signal for V850E2 V850E1 or VSaObS cc ceccecscccecsssscececeeeesseeeceesesesseeececseesececeeeesaeeeseceeeesaeeeeseseeesseeeees 42 3 6 Tarcet Connectors 10r ER e E E E AN 44 R20UT0221EJ0400 Rev 4 00 RENESAS Page 10 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator Contents 3 6 1 KEL connector for V850E2 V850E1 Or VSS0ES eens trial li al ia dat iaa 45 3 6 2 Eege 47 3 6 3 TS MW EE 50 3 6 4 2 54 mm pitch 16 pin general purpose connector for V850E2S or VSaOEIM 53 3 6 5 2 54 mm pitch 20 pin general purpose connector A cats 55 4 Debugging with IN CINCUIT Metod BE 58 4 1 Taret REN 58 4 2 System NNT UU PPP e E o OU OO UE MEA 59 4 2 1 Min im m Sy ERENNERT 59 4 2 2 System configuration when using Optional Products ccceccccccessessecececeeseseeececeessseeeeceeeeseeeeceseeaeeeseesesaseeeceeeesaeeeeeeseeesaeeeeeeseseaeeeeeesaas 60 4 2 3 EENHEETEN 61 4 3 EE uno 15 ELE 62 4 3 1 cl A PP e A A A NA 63 4 3 2 Setting of b VS 0 MINIM or QB V850MI NL1 ecimiento 63 4 3 3 Clock EE 63 4 3 4 PMS i E 64 4 3 5 Mounting target connector eebe Eet 65 4 3 6 Connection andistartup ol s
16. QB V850MINI 5 2 3 Setting of self check board Set the self check board to the default setting when performing self testing See 4 4 Default Settings V850MINI Self check board for the default settings 5 2 4 Connection and startup of system Connect and start the system in the following order 1 Connecting QB V850MINIL or QB V850MINI to self check board Connect QB V850MINIL or QB V850MINI to the V850MINI self check board using the OCD cable Caution Do not connect QB V850MINIL or QB V850MINI to the host machine at this time Figure 5 2 Connecting QB V850MINIL or QB V850MINI to Self Check Board R20UT0221EJ0400 Rev 4 00 RENESAS Page 72 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 5 Self Testing 2 Connecting QB V850MINIL or QB V850MINI to host machine Connect QB V850MINIL or QB V850MINI to the host machine using the USB interface cable After performing this connection confirm that LEDs POWER and TARGET on QB V850MINIL or QB V850MINI are lit _ gt gt i gt SS Ges AA A A Gs Figure 5 3 Connecting QB V850MINIL or QB V850MINI to Host Machine lt R gt 3 Startup of V850 JTAG OCD Checker V850 JTAG OCD Checker can be started up by clicking Start menu Refer to the following table for the settings to be specified in the main dialog box After specifying these settings proceed according to the instructions in the V850 JTAG OCD Checker user s manual When usin
17. QB V850MINIL or QB V850MINI B 2 V amp 50MINI Self Check Board Adapter Top View Bottom View Unit mm Figure B 2 V850MINI Self Check Board R20UT0221EJ0400 Rev 4 00 ENESAS Page 79 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator AppendixB External dimensions B 3 Target Connectors for OCD The external dimensions described in this section are the dimensions required 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 used for emulation with the in circuit method are posted on the following Renesas Electronics webpage URL http www renesas com iecube v850 Top View Side View Figure B 3 KEL Connector 8830E 026 170S Top View Side View Figure B 4 KEL Connector 8830E 026 170L R20UT0221EJ0400 Rev 4 00 RENESAS Page 80 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator AppendixB External dimensions A N Peng CB Top View Side View Figure B 5 Mictor Connector 2 767004 2 Top View Side View Figure B 6 SICA Connector SICA2P20S R20UT0221EJ0400 Rev 4 00 RENESAS Page 81 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator AppendixC Revision history Appendix C Revision History Revisions up to the previous edition are shown below The Applied to column indicates the chapter in each edition to
18. V850MINI normally Perform setup using the following procedure Installation of software Install the USB driver software tool etc in the host machine See 4 3 1 Installation of software Proceed to the next step if installation of software has already been completed Setting of QB V850MINIL or QB V850MINI Set QB V850MINIL or QB V850MINI SWI to the default setting See 3 3 Default Setting for the default settings of QB V850MINIL or QB V850MINI Setting of clock At shipment an 8 MHz resonator ceramic resonator is mounted as the main clock in OSC1 on the V850MINI self check board A 32 768 kHz resonator is also mounted as the subclock See 4 3 3 clock settings for details Setting of switch The SW settings vary depending on the purpose of use of the V850MINI self check board At shipment SW1 is set to perform self testing self check mode See 4 3 4 Switch settings for details Mounting of target connector Mount the target connector on the target system See 4 3 5 Mounting of target connector Proceed to the next step if the target connector is already mounted Connection and startup of system 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 correct order System shutdown Shut down the system to terminate debugging See 4 3 7 System shutdown t
19. a user created program connect the FLMD0 signal as shown in Figure 3 8 QB V850MINIL Target system QB V850MINI Target SY TALVC1T4 PORT FLMDO FLMDO Figure 3 8 Example Connection of FLMDO Pin When Performing Flash Self Programming Remark The resistance of R2 must be at least 10 times the resistance of R1 When leaving the FLMDO signal output from QB V850MINIL or QB V850MINI open and connecting a port signal to FLMDO on the target device set the output of the port to high level in the SFR or other debugger window when writing to the flash memory during a break When not writing to the flash memory set the port output to low level or set the port to input mode R20UT0221EJ0400 Rev 4 00 RENESAS Page 36 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 4 4 Connecting the RESET signal for V850E2S or V850E2M To reset the target device while the target system power supply is on connect the reset signal output from QB V850MINIL or QB V850MINI to the RESET pin on the target device The RESET signal timing and an example connection circuit are shown below Target system power turned on Software starts up debugger starts running Software terminates debugger stops running Target system power turned off RESETH Low level j Low level Figure 3 9 Timing of RESET on QB V850MINIL or QB V850MINI QB V850MINIL Target system QB V850MINI VDD DN 74LVC1T45 Target dev
20. use QB V850MINIL or QB V850MINI safely and properly Be sure to read and understand this document before using QB V850MINIL or QB V850MINI Contact us if you have any questions about the precautions described here WARNING indicates a potentially dangerous situation that will cause death or heavy A WARNING wound unless it is avoided CAUTION indicates a potentially dangerous situation that will cause a slight injury or A CAUTION a medium degree injury or property damage unless it is avoided In addition to the two above the following are also used as appropriate Z means WARNING or CAUTION Example Bren AGAINST AN ELECTRIC SHOCK means PROHIBITION Example ee PROHIBITED means A FORCIBLE ACTION Example uni THE POWER CABLE FROM THE RECEPTACLE R20UT0221EJ0400 Rev 4 00 RENESAS Page 7 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator Safety Precautions WARNING Warnings for AC Power Supply Do not repair or remodel the emulator product by yourself in order to prevent danger such as an electric shock or fire and for the sake of quality assurance For after sale services in case of a mechanical or electrical fault please contact your local distributor Always switch off the host computer and user system before connecting or disconnecting any cables or parts Neglect of this precaution will result in getting an electric shock or will result in the emulator product or user system emitting smoke or catc
21. used for on chip debugging as mass production products is not guaranteed Guarantee for the case where only downloading of a program is performed but debugging is not performed is planned In a target device that incorporates an OCD unit some of the target interface signal pins for OCD may have alternate functions The alternate functions of these pins cannot be used during on chip debugging OCD IE When erasure and write are prohibited by setting the security flag for the flash memory programs cannot be downloaded via the debugger OCD IE If DMA transfer to the internal RAM is performed while a program is being downloaded to the flash memory downloading of the program may not be performed normally because the integrated debugger uses the internal RAM during program downloading OCD IE Do not use the ROM correction function or else unexpected breaks will occur Since the initial value of the ASID register in the V850E1 Series is undefined set the ASID register to OOH via the reset routine Initialization of the V850ES Series is not required normal operation mode because the OCD unit of the target device operates during debugging The break function may malfunctions when a reset occurs during RUN program execution depending on the target device See the documents of the target device user s manual restriction notification etc The I O buffer port pin may enter the reset status depending on the target device wh
22. 0MINI See 5 Self Testing R20UT0221EJ0400 Rev 4 00 LEN ESAS Page 17 of 86 2013 08 30 lt R gt QB V850MINIL QB V850MINI Emulator 1 Outline 1 3 Supported Devices The following describes the devices that are supported by QB V850MINIL or QB V850MINI as of June 2013 1 3 1 On Chip Debug Microcontrollers supported by QB V850MINIL or QB V850MINI are listed in the following table Be sure to use the latest software tools such as debuggers Supported devices V850E IA3 V850E IF3 V850E IG3 V850E IG4 V850E IH4 V850E 1G4 H V850F1 V850E IH4 H V850E IA4 V850E SJ3 H V850E SK3 H V850E MA3 V850E ME2 V850E RS1 V850E SV2 V850E DJ3 V850E DL3 V850E PHJ1 V850E PHO3 V850E PHC3 V850ES SG2 V850ES SJ2 V850ES SG3 V850ES SJ3 V850ES FE2 V850ES FF2 V850ES FG2 V850ES FJ2 V850ES FE3 V850ES FF3 V850ES FG3 V850ES FJ3 V850ES FK3 V850ES FE3 L V850ES FF3 L V850ES FG3 L V850ES HE2 V850ES HF2 V850ES HG2 V850ES HJ2 V850ES HE3 V850ES HF3 V850ES HG3 V850ES HJ3 V850ES IK1 V850ES IE2 V850ES V850ES JG2 V850ES JJ2 V850ES JG3 V850ES JJ3 V850ES JC3 L V850ES JE3 L V850ES JF3 L V850ES JG3 L V850ES JC3 H V850ES JE3 H V850ES JG3 H V850ES JH3 H V850ES JG3 U V850ES JH3 U V850ES JH3 E V850ES JG3 E V850ES JJ3 E V850ES KJ1 V850ES KJ1 V850ES KE2 V850ES KF2 V850ES KG2 V850ES KJ2 V850ES SG2 H V850ES SJ2 H V850ES ST3 V850E2 V850E2 ME3 V850E2 DJ4 V850E2 DK4 H V850E2 DN4 H V850E2 DP4 H V850E2 FK4 V850E
23. 1 2 1 ee 16 1 2 2 Checking purpose for using QB V850MINIL or OB NSNSOMINT 17 1 3 A e e O PR o REE POS ECO 18 1 3 1 Ow Chip EE Ee E 18 1 3 2 On chip debugging with in circuit melodia ii 19 1 4 Kee e EE 20 2 INES Al TU CONS Ol PAA Ae tia 21 2 1 Names OLLA E O i o 22 2 2 SEa e E 24 2 2 1 e EN EE 24 22a AV SOOMUNTE Elk E 25 2 en Ee gg e el E 26 3 1 SE E 21 3 1 1 System configuration in V850E2S or V850E2M environment ST 3 1 2 System configuration in V850E2 V850E1 or V850ES environment 28 3 2 Setup Procedu aee PPP O AQ e O COP o 5 A 29 3 2 Taaa TT O WY pene a a E E E E E E emt ectoeaete 30 3 2 2 PP O o PE O O E SE E EE CE E users gee esacguacuntatieaneneandemenstete 30 3 2 3 Connection and stattup of sy tits 31 3 2 4 KEE a1 016 e EE E o O E E A aa 32 3 3 Detault Eege 32 3 4 Designing Target System Circuits when Using V850E2S or VSaOEINM 33 3 4 1 Example of circuit design for V850E2S or V850E2M invscuoii a A EA 33 3 4 2 Cautions on target system design for V850E2S or VNSOEZM nn nnnnnnnnnnnnnnnnnnnnnnnnnnnannnnnnnnnnnns 34 3 4 3 Connecting the FLMDO signal for V850E2S or V850E2M ssscccccssssenscceseesscossccessesscecsecessssnsecuseessassecessessnansecessesaneseuseessnensecesees 35 3 4 4 Connecting the RESET signal for V850E2S or VSNSOEZM 37 3 5 Designing Target System Circuits When Using V850E2 V850E1 or V850ES ooooococcccnonococnnoconononnnnncnnonnonnnoncnnnnnnnnncnnnonnnnnnnnnnnnonnnnnnnnnnnnnnnnnnns 38 3 5 1
24. 2 FG4 V850E2 FJ4 V850E2 FL4 V850E2M vg50E2 FF4 M V850E2 FK4 H V850E2 FL4 H V850E2 FK4 G V850E2 PG4 V850E2 PJ4 V850E2 PG4 L V850E2 PJ4 E V850E2 PG4 S V850E2 MN4 V850E2 ML4 V850E2 SG4 H V850E2 SJ4 H V850E2 SK4 H V850E2S V850E2 FE4 L V850E2 FF4 L V850E2 FG4 L V850E2 FJ4 L V850E2 FF4 G V850E2 FG4 G Remark If your target device is not listed in the above table contact your local distributor R20UT0221EJ0400 Rev 4 00 RENESAS Page 18 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 1 Outline 1 3 2 On chip debugging with in circuit method For the following devices on chip debugging with the in circuit method is possible by using QB V850MINIL or QB V850MINI in combination with V8SOMINI self check board or debug adapter separately available V8SOMINIL self check board is not supported to this method Be sure to use the latest software tools such as debuggers and device files Supported Device Debug Adapter V850ES KE1 V850ES KF1 QB V850ESKX1 DA V850ES KG1 V850ES KJ1 or V850MINI self check board Ne V8S0ES KE1 V850ES KF 1 V850ES KG1 V850ES KJ1 or V850MINI self check board V850ES KE2 V850ES KF2 QB V850ESKX1H DAN 2 V850ES KG2 V850ES KJ2 or V850MINI self check board Ne Notes 1 Note that the POO pin outputs a low level during reset Should this cause a problem the problem can be avoided by using the QB V850ESKX1 DA separately available 2 The following operations differ from those of the devi
25. 20UT0221EJ0400 Rev 4 00 ENESAS Page 53 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging Table 3 10 2 54 mm Pitch 16 pin General Purpose Connector Pin Functions for V850E2S or V850E2M 1 GND Connect to GND RESET IN System reset input signal leave open when not used DO OUT Data signal transmitted from DCU gt JOJN li VDD Power supply The power supply for buffers of a debugging interface or for power supply detection of a target system 5 TDI IN Data signal transmitted to DCU 7 TCK IN Clock for DCU 8 RDY OUT Synchronous signals 9 TRST IN DCU reset signal 10 RESERVE Open 11 RESERVE Open M DCU state transition control signal 13 RESERVE Open 14 FLMDO Flash programming mode setting signal leave open when not used 15 For QB MINI2 OUT Signal of a separately sold QB MINI2 16 POWER Open Note 3 Z y ol 09 Z Notes 1 As seen from the target device 2 Refer to 3 4 4 Connecting the RESET signal for V850E2S or V850E2M 3 Refer to 3 4 3 Connecting the FLMDO signal for V850E2S or V850E2M 4 When using a separately sold QB MINI2 as the debug tool connect this signal to QB MINI2 Refer to QB MINI2 User s Manual for detail on the connection When using a QB MINI2 as the programming tool this signal is not required to be connected R20UT0221EJ0400 Rev 4 00 RENESAS Page 54 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debug
26. 850MINI SW1 to the default setting See 3 3 Default Setting for the default settings of QB V850MINIL or QB V850MINI Set the self check board to the default setting See 4 4 Default Settings for the default settings of the V850MINI self check board 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 perform setting in the correct order Terminate self testing and shut down the system See 5 2 5 System shutdown R20UT0221EJ0400 Rev 4 00 RENESAS Page 71 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 5 Self Testing 5 2 1 Installation of software Install the following software in the host machine before setting up the hardware Refer to the Setup manual supplied with the QB V850MINI for the procedures When using the ID850QB MULTI made by Green hills software Co Ltd The required device file is shown below This file differs depending on which self check board is being used A device file does not have to be installed when using CubeSuite e V850MINIL self check board DF703736 e V850MINI self check board DF703318 The device file can be downloaded from the following website http www renesas com ghs debug if 3 2 2 Setting of QB V8SOMINIL or QB V850MINI Set QB V850MINIL or QB V850MINI to the default setting when performing self testing See 3 3 Default Setting for the default settings of QB V850MINIL or
27. Connect to GND System reset input signal leave open when not used Connect to GND Flash programming mode setting signal leave open when not used Connect to GND Synchronous signal Connect to GND Data signal transmitted from DCU Connect to GND Power supply The power supply for buffers of a debugging interface or for power supply detection of a target system 2 Refer to 3 4 4 Connecting the RESET signal for V850E2S or V850E2M 3 Refer to 3 4 3 Connecting the FLMDO signal for V850E2S or V850E2M R20UT0221EJ0400 Rev 4 00 2013 08 30 ENESAS Page 56 of 86 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging Table 3 12 2 54 mm Pitch General Purpose Connector Pin Functions for V850E2 V850E1 V850ES U UJ lt Z O Mm A O O O O O O O Z Z Z Z O O O O O O O O O DRST O o INIo oa R IO JIN Z RESERVE zech 12 RESET 13 N 14 FLMDO 15 N 16 RESERVE 17 N 18 19 GND 20 Von Notes 1 As seen from the target device Z Z Z Z IN Z OUT Connect to GND Clock for DCU Connect to GND DCU state transition control signal GND Data signal transmitted to DCU Connect to GND DCU reset signal Connect to GND Open Connect to GND System reset input signal leave open when not used Connect to GND Flash programming mode setting signal leave open when not used Connect to GND Open Connect to GND Data signal transmitted from
28. DCU Connect to GND Power supply The power supply for buffers of a debugging interface or for power supply detection of a target system 2 Refer to 3 5 4 Connecting the RESET signal for V850E2 V850E1 or V850ES 3 Refer to 3 5 3 Connecting the FLMDO signal for V850E2 V850E1 or V850ES R20UT0221EJ0400 Rev 4 00 2013 08 30 ENESAS Page 57 of 86 QB V850MINIL QB V850MINI Emulator 4 Debugging with In Circuit method 4 Debugging with in circuit method This chapter describes how to use QB V850MINIL or QB V850MINI for debugging with the in circuit method In the in circuit method an emulator is connected in the position where the device is to be mounted By using the V850MINI self check board included with the QB V850MINI or the separately sold QB V850ESKX1H DA QB V850MINIL or QB V850MINI can be used to debug the target devices shown 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 using QB V850MINIL or QB V850MINI for the following target devices V850ES KE1 V850ES KF1 V850ES KG1 V850ES KJ1 V850ES KE1 V8S0ES KF1 V8S0ES KG1 V8S0ES KJ1 Note One caution applies to debugging using the V850MINI self check board included with the QB V850MINI See No 23 in Table 6 1 for details This caution item is not applicable when using the QB V850ESKX1 DA sold s
29. DH5 P69 P75 22 SND_s GND ZG PEB MEM es p SERA D74 20 P75 EACONNZ 197 D P67 P34 TRESETZ P73 18 P74 P715 f 17 Y Pra P66 P51 P33 r15___ P00 P72 16 P73 P714 15 P713 pS EE E E E P50 p SES PO z AA P72 P713 Ap P64 m P38 P31 AY TELMDO P70 ESA P712 5411 ec J ro E P30 KS C10 P70 P711 CS GOU P62 ES P39 P42 7 TREGC P11 pg AVSS P710 7 p79 P61 5 PAT 5 P10 CH kal P79 5 P78 Gei SA p POE SA La o A P10 P78 3 E KEE P36 P40 pa Lt PAD XI ee p77 1 Ge Ox PAD AVREFO P76 SS AXK5S50330P AXK5S50330P AXK6S50635P AVREF1 AVREFO r HK 2 G HK 2 G HK 2 G HK 2 G TP3 TP4 TP5 TP6 e LEE d TVDD BVDD AVREFO AVREF1 lala o Lo Lo als os Ps o aale ala e lo E E E E Lo e EN EIS E Era E e EE e dom d AVREF1 AVREFO ee 250203205290 EELER Ne 22 22 2 222 22 2 SS S222222 22000000 SS SS S SS CS S22 Fa Fee OH TITAS SK KK KKK SS REAS NFMGOR3T222 AVREF1 AVREFO BYDD x PERE EEREEE S 90 258 658 05 8a 8 9975 Aa aac a 1 3 vp vDD Fei 1 FERRERO 1111136060090 Fi wes ES EE go Kg P10 U2 oe pi 1 T P10 ANOO S PDL1 AD1 13 VDD A P111ANO1 PDLO ADO Pao eee BVDD IR gt NF2 eu T BVSS MN l P01 TOH1 PCT7 ei VDD NFM60R3T222 FLMDO _8 1 3 y FLMDO PCT6 ASTB HIF3FC 16PA 2 54DSA 3 gp 2 BES ER VOD POIS f g9 PCT4 p l L A PAD3 mu RESC en o8 PCT3 Tg c3 SHORT 13 x BGL 96 PCT1 d 0 1uF H pense L oan xn C15 RESET PCTO WRO Ca PCS7 XT2 ETE aly GE 93 PCS6 gt Pp a rae U1 J D HK 2 G y P03 18 PO2 NMI PCS5 Co PCS4 Im ar DOA Ig PO3ANTPO PCS F
30. ES 1 and 2 GND Connect to GND DCK Clock for DCU w Z 4 Vop Power supply The power supply for buffers of a debugging interface or for power supply detection of a target system 5 IN DCU state transition control signal 6 IN DCU reset signal 7 mm o IN Data signal transmitted to DCU 8 IN System reset input signal leave open when not used 9 DDO o o OUT Data signal transmitted from DCU 10 IN Flash programming mode setting signal leave open when not used 11 Open not connected 13 Open not connected 14 Connect to GND 15 Open not connected 16 Connect to GND 17 GND Connect to GND 18 Connect to GND 19 GND Connect to GND 21 to 38 GND Connect to GND Notes 1 As seen from the target device 2 Refer to 3 5 4 Connecting the RESET signal for V850E2 V850E1 or V850ES 3 Refer to 3 5 3 Connecting the FLMDO signal for V850E2 V850E1 or V850ES 4 When the TRCCE signal trace compression enable input is connected as the trace interface for Renesas Electronics partner company s emulator the SW1 settings in QB V850MINIL or QB V850MINI must be changed Refer to 3 2 2 Switch settings for details R20UT0221EJ0400 Rev 4 00 RENESAS Page 49 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 6 3 SICA connector The SICA connector is a compact target connector Use of this connector 1s effective in cases such as when a mounting area cannot be secure
31. Electronics Corporation ENESAS SALES OFFICES Renesas Electronics Corporation http www renesas com Refer to http www renesas com for the latest and detailed information Renesas Electronics America Inc 2880 Scott Boulevard Santa Clara CA 95050 2554 U S A Tel 1 408 588 6000 Fax 1 408 588 6130 Renesas Electronics Canada Limited 1101 Nicholson Road Newmarket Ontario L3Y 9C3 Canada Tel 1 905 898 5441 Fax 1 905 898 3220 Renesas Electronics Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH U K Tel 44 1628 651 700 Fax 44 1628 651 804 Renesas Electronics Europe GmbH Arcadiastrasse 10 40472 D sseldorf Germany Tel 49 211 65030 Fax 49 211 6503 1327 Renesas Electronics China Co Ltd 7th Floor Quantum Plaza No 27 ZhiChunLu Haidian District Beijing 100083 P R China Tel 86 10 8235 1155 Fax 86 10 8235 7679 Renesas Electronics Shanghai Co Ltd Unit 204 205 AZIA Center No 1233 Lujiazui Ring Rd 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 Mongkok Kowloon Hong Kong Tel 852 2886 9318 Fax 852 2886 9022 9044 Renesas Electronics Taiwan Co Ltd 13F No 363 Fu Shing North Road Taipei Taiwan Tel 886 2 8175 9600 Fax 886 2 8175 9670 Renesas Electronics Singapore Pte Lt
32. IL QB V850MINI Emulator 4 Debugging with In Circuit method 4 2 3 List of optional product names The tables below list the optional product names On chip debugging is also possible for the V850ES KJ1 or V850ES KJ1 The external dimensions of optional products are posted on the following Renesas Electronics webpage URL http www renesas com iecube v850 Table 4 1 List of Optional Product Names 1 2 No Name Target Device to Be Emulated V850ES KE1 V850ES KE1 V850ES KF1 V850ES KF1 64 pin GB 64 pin GK 80 pin GC 80 pin GK Check pin adapter QB 144 CA 01 Extension probe QB 144 EP 01S coaxial e lt g gt Exchange adapter adapter QB 64 EA 01S QB 80GC EA 02S QB 80GK EA 01S Space adapter QB 64 SA 01S QB 80 SA 01S Mount adapter QB 64GB MA 01S QB 80GC MA 01S QB 80GK MA 01S Target connector QB 64GB TC 01S QB 80GC TC 01S QB 80GK TC 01S Table 4 1 List of Optional Product Names 2 2 QB 64GK MA 01S QB 64GK TC 01S Name Target Device to Be Emulated V850ES KG1 V850ES KG1 V850ES KJ1 V850ES KJ1 100 pin GC 100 pin GF 144 pin GJ Extension probe Target connector QB 100GC TC 01S QB 100GF TC 01S QB 144GJ TC 01S es Check pin adapter QB 144 CA 01 R20UT0221EJ0400 Rev 4 00 RENESAS Page 61 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 4 Debugging with In Circuit method 4 3 Setup Procedure This section describes QB V850MINIL or QB V850MINI setup procedure to operate QB V850MINIL or QB
33. IL or QB V850MINI with the default setting all OFF e A Mictor connector 1s used as the target connector e Renesas Electronics partner company s emulator that supports the trace interface 1s used together with QB V850MINIL or QB V850MINI e Pin 20 of the Mictor connector is used as TRCCE trace compression enable input When all the above conditions are satisfied set SW1 as follows Table 3 1 SW1 Setting When Conditions Are Satisfied 1to7 OFF Default setting Any other settings are prohibited 8 ON Setting to turn off the power supply to the self check board R20UT0221EJ0400 Rev 4 00 RENESAS Page 30 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 2 3 Connection and startup of system Connect and start the system in the following order 1 Connecting QB V850MINIL or QB V850MINI to target system Connect QB V850MINIL or QB V850MINI to the target system using the adapter and target connector Refer to the system configuration diagrams shown in 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 A Target system Figure 3 3 Connecting QB V850MINIL or QB V850MINI to Target System 2 Connecting QB V850MINIL or QB V850MINI to host machine Connect QB V850MINIL or QB V850MINI to the host machine using a USB interface cable After performing this connection co
34. MINI R20UT0221EJ0400 Rev 4 00 RENESAS Page 40 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging b When performing flash self programming To use the FLMD0 pin as a port pin when performing flash self programming by using a user created program connect the FLMD0 signal as shown in Figure 3 14 QB V850MINIL Target system QB V850MINI Target 3 3V 74LVC1T4 PORT FLMDO Figure 3 14 Example Connection of FLMDO Pin When Performing 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 signal to FLMDO on the target device set the output of the port to high level in the SFR or other debugger window when writing to the flash memory during a break When not writing to the flash memory set the port output to low level or set the port to input mode c When target device not having an internal flash memory The FLMDO pin is not required to be connected R20UT0221EJ0400 Rev 4 00 RENESAS Page 41 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 5 4 Connecting the RESET signal for V850E2 V850El or V850ES This is the system reset input signal QB V850MINIL or QB V850MINI controls the RESET signal as follows Target system power turned on Software starts up debugger starts running Software terminates debugger sto
35. Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire m 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 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 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 purpose relating to military applications or use by the military including but not
36. X2 XT1 and XT2 pins are not connected to the target system Consequently the oscillation circuit in the target system cannot be used Do not apply a high voltage 5 5 V or higher to the Ver pin otherwise QB V850MINIL or QB V850MINI may be damaged The REGC pin is not connected to the target system The REGC pin is connected to Von inside the emulator QB V850MINIL or QB V850MINI and the flash memory programmer cannot be connected at the same time QB V850MINIL or QB V850MINI outputs a high level signal to the FLMDO pin while a program is being downloaded QB V850MINIL or QB V850MINI output becomes the high impedance state when no program is being downloaded Note the FLMDO pin connection on the target system side When the flash memory programmer is connected no clock can be supplied from the programmer Use a clock on the self check board 8 MHz at shipment for writing or erasing data from the flash memory programmer Note the following points concerning the settings in the Configuration screen when the debugger is activated e Chip area Select the device to be used Clock area Set as follows Main OSC Input a frequency of the resonator mounted in OSC1 with the socket Input 8 when using OSC1 with the default setting Multiply rate Input the maximum multiplication rate of the frequency used for the resonator mounted in OSC1 with the socket Sub OSC Input 32 768 ID Code area Inpu
37. ading of subsequent chapters Also check the hardware while reading this chapter This way you may detect damage if any and this prevents adverse effects on the system R20UT0221EJ0400 Rev 4 00 RENESAS Page 21 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 2 Names and functions of hardware 2 1 Names of Parts in Main Unit The part names and functions of QB V850MINIL or QB V850MINI are described below a Main unit top view QB V850MINIL Sw1 Inside the unit USB connector OCD connector Screw LED b Left side c Right side USB connector Screw OCD connector for QB V850MINIL or QB V850MINI Figure 2 1 Names of Parts in QB V850MINIL or QB V850MINI R20UT0221EJ0400 Rev 4 00 LEN ESAS Page 22 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 2 Names and functions of hardware 1 SW1 Switches used for performing the initial settings for QB V850MINIL QB V850MINI They are set to OFF by default Refer to 3 2 2 Switch settings for details on the settings 2 USB connector A connector used for connecting the USB interface cable 3 OCD connector A connector used for connecting the OCD cable 4 Screw A screw used for fixing QB V850MINIL or QB V850MINI main unit 5 LED The meanings of each LED are listed below Display Name connected to QB V850MINI R20UT0221EJ0400 Rev 4 00 RENESAS Page 23 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 2 Names and functions of hardware
38. alls into any of the following categories the fault will be corrected by replacing the entire product instead of repairing it or you will be advised to purchase a new product depending on the severity of the fault a Faulty or broken mechanical portions b Flaws separation or rust in coated or plated portions c Flaws or cracks in plastic portions d Faults or breakage caused by improper use or unauthorized repair or modification e Heavily damaged electric circuits due to overvoltage overcurrent or shorting of power supply f Cracks in the printed circuit board or burnt down patterns g A wide range of faults that make replacement 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 repairing products of that model may become impossible 4 Carriage fees for sending your product to be repaired Carriage fees for sending your product to us for repair are at your own expense 12 How to Make Request for Repair If your product is found faulty fill in a Repair Request Sheet downloadable from the following URL And email the sheet and send the product to your local distributor http www renesas com repair e AKCAUTION Note on Transporting the Product O When sending your product for repair use the packing box and cushioning material supplied with the
39. ce e The POO pin outputs a low level during reset e The subclock cannot be selected as the count clock for timer H1 If the subclock is specified as the count clock for timer H1 using TMHMDl1 register the operation is not guaranteed R20UT0221EJ0400 Rev 4 00 RENESAS Page 19 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 1 Outline 1 4 Specifications This section describes QB V850MINIL or QB V850MINI hardware specifications and specifications for the debug function when using the Integrated debugger Table 1 1 Hardware Specifications lt R gt QB V850MINIL Operating power supply 5 V USB bus powered type 500 mA Max Ho QB V850MINI Operating clock Clock mounted in QB V850MINIL or QB V850MINI main unit Operating environment Temperature O to 40 C Humidity 10 to 80 RH no condensation Storage environment Temperature 15 to 40 C Humidity 10 to 80 RH no condensation External dimensions 88 5 x 56 5 x 26 1 mm see Appendix B External Dimensions for details Weight Target host machine IBM PC AT compatibles Target OS Windows XP Windows 7 S 1 1 2 0 USB cable length Approximately 90 g lt R gt Host machine interface C UU 2 000 mm max Current consumption Approximately 350 mm lt R gt Target interface Target device Microcontroller with V850E2S V850E2M V850E2 V850E1 V850ES Series on chip debug unit and microcontroller with Nx85ET core OCD cable length Clo
40. ck frequency 200 mm Equivalent to specifications supported by the target device 2 0 to 5 5 V V850E2 V850E1 V850ES 5 V850E2S V850E2M 6 Number of signals occupied for debugging Voltage range lt R gt V850E2S V850E2M V850ES signals signals DD TDI Data signal transmitted to DCU wo fmo oae sioner transmite from BOY P rove T Synomrooussgnals OOS Number of signals used for flash IA Number of signals for target power 1 supply detection Vop Power supply The power supply for buffers of a debugging interface or for power supply detection of a target system Number of GND signal lines depends on the target connector for OCD GND GND signal Clock for DCU DCU state transition control signal Number of signals for reset interface RESET System reset input signal Note Not all hardware combinations of host machine USB device and USB hub are guaranteed to work R20UT0221EJ0400 Rev 4 00 RENESAS Page 20 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 2 Names and functions of hardware 2 Names and functions of hardware This chapter describes the part names and functions of QB V850MINIL or QB V850MINI and the self 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 grasp of QB V850MINIL or QB V850MINI and the self check board that will facilitate re
41. ctor 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 the connector will be damaged If only a metallic object such as a screwdriver is available as leverage wrap its tip in a soft cloth Figure 4 7 How to Insert Remove a Socket 4 5 2 Causes of faulty contact of connectors and countermeasures for them Possible causes of faulty connector contact and countermeasures are listed below e If flux gets inside TC when it is mounted Thoroughly clean the flux with a solvent such as alcohol Cleaning must be performed at least 5 to 6 times If conduction is still not stable repeat cleaning e If dirt gets inside the connector If dirt such as threads gets inside the connector defective conduction occurs Remove any dirt with a brush e Cautions on using CA SA and EP When CA SA or EP is inserted a very small amount of delay in the signal propagation and capacitance occur Thoroughly evaluate these points after CA SA or EP is connected to the target system R20UT0221EJ0400 Rev 4 00 RENESAS Page 68 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 4 Debugging with In Circuit method 4 6 Recovery of Security ID This section describes how to recover from the case where the software tool cannot be activated because the user forgot the ID code or has skipped setting of the ID code when using the V850MINI self check boa
42. d 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 906 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 Korea Co Ltd 11F Samik Lavied or Bldg 720 2 Yeoksam Dong Kangnam Ku Seoul 135 080 Korea Tel 82 2 558 3737 Fax 82 2 558 5141 O 2013 Renesas Electronics Corporation and Renesas Solutions Corp Colophon 1 3 On Chip Debugger QB V850MINIL QB V850MINI User s Manual QE NI ESAS R20UT0221EJ0400 Renesas Electronics Corporation
43. d 4 2 for the connection of other optional products Caution Perform connection while the power to the target system is off Target system Figure 4 5 Connecting QB V850MINIL or QB V850MINI to Target System 2 Connecting QB V850MINIL or QB V850MINI to host machine Connect QB V850MINIL or QB V850MINI to the host machine using the USB interface cable After performing this connection confirm that the POWER LED on QB V850MINIL or QB V850MINI is lit Caution Perform connection while the power to the target system is off E e SSS ee Se AAA SS a XX Figure 4 6 Connecting QB V850MINIL or QB V850MINI to Host Machine R20UT0221EJ0400 Rev 4 00 RENESAS Page 66 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 4 Debugging with In Circuit method 3 Power application to target system Apply the power to the target system After power application confirm that the TARGET LED on QB V850MINIL or QB V850MINI is lit 4 Running the software Start up and run the software as described in the supplied user s manual 4 3 7 System shutdown Terminate debugging and shutdown the system in the following order 1 Terminate the software 2 Turn 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 Default Settings V8SOMINI Self check board
44. d on the target system Note that the SICA connector may not support Renesas Electronics partner company s emulators When using the SICA connector as the target connector for OCD mount the following connector on the target system e SICA2P20S 20 pin type sold separately Remark SICA2P20S is a product of Tokyo Eletech Corporation The ordering code is SICA2P20S05 which is for a set of five units Contact Tokyo Eletech Corporation to purchase this product The following adapter is required for connection with the emulator e SICA20PP sold separately Remark SICA20I2P is a product of Tokyo Eletech Corporation SICA2P208 TOP VIEW AMMES _ J MAS mm TOP VIEW Figure 3 19 SICA Connector Pin Assignment Diagram R20UT0221EJ0400 Rev 4 00 RENESAS Page 50 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging Table 3 8 SICA Connector Pin Functions for V850E2S or V850E2M O A Z Z o a jo U 4 lt TDI TRST O o INIo oa R IO JIN Z O P EE i Z Z Z U U U U U o POWER zech 12 RESET 13 N FLMDO 15 N 16 RDY 17 N 18 19 GND 20 VDD Notes 1 As seen from the target device Z Z Z Z IN Z OUT Connect to GND Clock for DCU Connect to GND DCU state transition control signal GND Data signal transmitted to DCU Connect to GND DCU reset signal Connect to GND Open Conn
45. dware 6 U1 V850ES KJ1 The PD70F3318YGJ is mounted 7 CN1 CN2 CN3 Connectors used for connecting QB V850MINIL or QB V850MINI to the target system An exchange adapter and a target connector are required separately 222 V850MINIL self check board Figure 2 2 Part Names of V850MINIL Self Check Board 1 NWIRE1 A connector used for connecting QB V850MINIL or QB V850MINI 2 FW1 A connector used for connecting the flash memory programmer 3 X1 The main clock A 5 kHz resonator is mounted at shipment 6 U1 V850ES JF3 L The PD70F3736GK is mounted R20UT0221EJ0400 Rev 4 00 ENESAS Page 25 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 On Chip Debugging This chapter describes how to use QB V850MINIL or QB V850MINI when performing on chip debugging OCD On chip debugging is a method to debug a microcontroller mounted on the target system Since debugging is performed with the real device operating on the board this method is suitable 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 system Refer to 3 4 Designing Target System Circuits when using V850E2S or V850E2M and for the latter refer to 3 5 Designing Target System Circuits when using V850E2 V850E1 or V850ES for information on designing target system circuits Also re
46. e for user registration 1s created on your PC Fill 1t in and email it to your local distributor If you have replaced an emulator main unit or 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 services and not for any other purposes Without user registration you will not be able to receive maintenance services such as a notification of field changes or trouble information So be sure to carry out the user registration For more information about user registration please contact your local distributor R20UT0221EJ0400 Rev 4 00 RENESAS Page 12 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator Terminology Terminology Some specific words used in this user s manual are defined below Integrated development environment This tool provides powerful support for the development of embedded applications for Renesas microcomputers It has an emulator debugger function allowing the emulator to be controlled from the host machine via an interface Furthermore it permits a range of operations from editing a project to building and debugging it to be performed within the same application In addition it supports version management 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 co
47. ect to GND System reset input signal leave open when not used Connect to GND Flash programming mode setting signal leave open when not used Connect to GND Synchronous signals Connect to GND Data signal transmitted from DCU Connect to GND Power supply The power supply for buffers of a debugging interface or for power supply detection of a target system 2 Refer to 3 4 4 Connecting the RESET signal for V850E2S or V850E2M 3 Refer to 3 4 3 Connecting the FLMDO signal for V850E2S or V850E2M R20UT0221EJ0400 Rev 4 00 2013 08 30 ENESAS Page 51 of 86 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging Table 3 9 SICA Connector Pin Functions for V850E2 V850E1 or V850ES U UJ lt Z O Mm A Z Z Z Z O O O O O O O O O DRST O o INIo oa R IO JIN Z RESERVE zech 12 RESET 13 N 14 FLMDO 15 N 16 RESERVE 17 N 18 19 GND 20 VDD Notes 1 As seen from the target device Z Z Z Z IN Z OUT Connect to GND Clock for DCU Connect to GND DCU state transition control signal GND Data signal transmitted to DCU Connect to GND DCU reset signal Connect to GND Open Connect to GND System reset input signal leave open when not used Connect to GND Flash programming mode setting signal leave open when not used Connect to GND Open Connect to GND Data signal transmitted from DCU Connect to GND Power supply The pow
48. ector general purpose connector Figure 3 2 System Configuration When Using V850E2 V850E1 or V850ES Common parts e Host machine For software tool operation e USB cable Connects the host machine to QB V850MINIL or QB V850MINI main unit e QB V850MINIL or QB V850MINI main unit On chip debug emulator main unit e OCD cable Connects QB V850MINIL or QB V850MINI to the target system Connection parts e KEL adapter Used to connect the OCD cable to a KEL connector Included with the QB V850MINI but not with the QB V850MINIL e KEL connector Standard connector for V850E2 V850E1 or V850ES Sold separately Included with the QB V850MINI but not with the QB V850MINIL e 20 pin general purpose connector A 20 pin male connector with a pitch of 2 54 mm Sold separately e Mictor adapter Used to connect the OCD cable to a Mictor connector Sold separately e Mictor connector A connector that supports a high speed interface Sold separately A debugging tool with tracing capability sold by an Renesas Electronics partner company can also be connected to this connector e SICA adapter Used to connect the OCD cable to an SICA connector Sold separately e SICA connector A small space saving connector Sold separately R20UT0221EJ0400 Rev 4 00 RENESAS Page 28 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging a2 Setup Procedure This section describes QB V850MINIL or QB V850MINI setup procedure to opera
49. ems 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 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 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 Renesas Electronics products are not subject to radiation resistance design
50. en a reset is input from the pin even if reset is masked by the mask function See the documents of the target device user s manual restriction notification etc 1 No break occurs in an interrupt service routine for an interrupt acknowledged during self programming even if an event breakpoint has been set OCD IE When using the self programming function set the debugger so that the clock for the peripheral macros does not stop during breaks otherwise the flash memory may be damaged OCD IE When using the self programming function do not set software breaks to the ROM area otherwise an unexpected break may occur With the V850E1 Series a forced break may be executed via the debugger operation during flash self writing After a forced break reexecute the program via the debugger or reset the CPU The current consumption in the target device increases during debugging compared with that in R20UT0221EJ0400 Rev 4 00 RENESAS Page 74 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 6 Cautions Table 6 1 List of Cautions 2 2 14 IE 15 UE 16 IE 17 IE 18 UE 19 IE 20 IE 21 IE 22 IE 23 IE w 2 24 Vop and EVpp are shorted on the self check board Therefore be sure to input the same voltage level to Voo and EVoob The P05 P52 P53 P54 and P55 pins are used for connecting the on chip debug emulator so these ports cannot be used The X1
51. eparately Refer to the technical document for the QB V850ESKX1 DA ZUD CD 04 0120 for details Contact your local distributor for how to obtain this document R20UT0221EJ0400 Rev 4 00 RENESAS Page 58 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 4 Debugging with In Circuit method 4 2 System Configuration This section describes the system configuration for debugging with the in circuit method 4 2 1 Minimum system configuration The system configuration shown in the following figure illustrates the minimum system configuration required for debugging with the in circuit method Note that items lt 6 gt and lt 7 gt in Figure 4 1 are not included with the QB V850MINI or QB V850MINIL Note also that item lt 5 gt is included with the QB V850MINI but not with the QB V850MINIL A SSS SS SSS Se SS Kaes ASS SS geen _ Target system Figure 4 1 Minimum System Configuration for Debugging with In Circuit Method lt 1 gt Host machine With USB ports lt 2 gt USB cable accessory lt 3 gt QB V850MINIL or QB V850MINI this product lt 4 gt OCD cable accessory lt 5 gt V850MINI Self check board included with the QB V850MINI or QB V850ESKX1H DA lt 6 gt Exchange adapter sold separately lt 7 gt Target connector sold separately A connector mounted on the target system R20UT0221EJ0400 Rev 4 00 RENESAS Page 59 of 86 2013 08 30 QB V850MINIL QB V850MINI
52. er supply for buffers of a debugging interface or for power supply detection of a target system 2 Refer to 3 5 4 Connecting the RESET signal for V850E2 V850E1 or V850ES 3 Refer to 3 5 3 Connecting the FLMDO signal for V850E2 V850E1 or V850ES R20UT0221EJ0400 Rev 4 00 2013 08 30 ENESAS Page 52 of 86 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 6 4 2 54 mm pitch 16 pin general purpose connector for V850E2S or V850E2M After attaching the 2 54 mm pitch 16 pin general purpose connector 1t can also be used to connect a separately sold flash memory programming tool Note that the 2 54 mm pitch 16 pin general purpose connector cannot be used when using the V850E2 V850El 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 16 pin general purpose connector e HIF3FC 16PA 2 54DS sold separately e HIF3FC 16PA 2 54DSA sold separately Remark HIF3FC 16PA 2 54DS and HIF3FC 16PA 2 54DSA are products of Hirose Electronic Co Ltd The following adapter is required when connecting an emulator e QB V850MINIL AGI1 included with the QB V850MINIL but not with the QB V850MINI 16pin general purpose connector TS v 1 OOOOOODO A ETA a yf Uf Be d AWA O IN N Target system 16 2 Figure 3 20 2 54 mm Pitch 16 pin General Purpose Connector Pin Assignment Diagram R
53. fer to the user s manual for the target device Refer to 3 6 Target Connectors for OCD for the target connectors for OCD that can be mounted on the target board R20UT0221EJ0400 Rev 4 00 RENESAS Page 26 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 1 System Configuration This section describes the system configuration for performing on chip debugging The system configurations differ between V850E2S V850E2M environment and V850E2 V850E1 V850ES environment For the former see 3 1 1 System configuration in V850E2S or V850E2M environment and for the latter see 3 1 2 System configuration in V850E2 V850E1 or V850ES environment 3 1 1 System configuration in V850E2S or V850E2M environment The system configuration when using the V850E2S or V850E2M is shown below The components used for connection can be selected to suit the features of the system being used QB V850MINIL USB cable Host macnine Loe QB V850MINI main unit OCD cable 16 pin 5 Mictor sica E conversion E adapter e adapter adapter 16 pin 20 pin general purpose general purpose connector connector Mictor connector SICA connector Figure 3 1 System Configuration When Using V850E2S or V850E2M Common parts e Host machine For software tool operation e USB cable Connects the host machine to QB V850MINIL or QB V850MINI main unit e QB V850MINIL or QB V850MINI main unit On chip debug emulator main unit e OCD cable
54. g 3 4 2 Cautions on target system design for V850E2S or V850E2M Note the following points when designing the target system circuits and the board 1 Keep the pattern length as short as possible 2 If Von is between 2 0 and 5 5 V it is judged that target system power is being supplied and the signals switch to being used as debug signals If Von is not between 2 0 and 5 5 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 impedance regardless of the operating status of the debugger To avoid this be sure to input the voltage from the power supply pin on the target device directly to Vpop 3 The circuit for connecting FLMDO varies when using flash self programming See 3 4 3 Connecting the FLMDO signal for V850E2S or V850E2M for details 4 To reset the target device while the target system power supply is on connect the RESET signal See 3 4 4 Connecting RESET for V850E2S or V850E2M for details R20UT0221EJ0400 Rev 4 00 RENESAS Page 34 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 4 3 Connecting the FLMDO signal for V850E2S or V850E2M FLMD0 is the signal used to switch the system to flash programming mode Control the status of FL MDO on QB V850MINIL or QB V850MINI as follows in accordance with the status of the debugger
55. g Device file Specify DF3736 800 V850MINIL self check Clock Select 5 000 for Main OSC Internal ROM Sequrity Select the ID code check box and input the security code specified at addresses 0x70 to 0x79 board Emulator Select IE V850E1 CD NW QB V850MINI DCK 20 MHz When using Device file Specify DF3318Y 800 V850MINI self check Clock Select 8 000 for Main OSC Internal ROM Sequrity Select the ID code check box and input the security code specified at addresses 0x70 to 0x79 board Emulator At shipment the debugger can be activated by inputting FFFFFFFFFFFFFFFFFFFF Select IE V850E1 CD NW QB V850MINI DCK 10 MHz 52 5 System shutdown Terminate self testing and shutdown the system in the following order 1 Terminate the V850 JTAG OCD Checker 2 Disconnect the USB cable from the host machine Caution Ifthe above order is not observed QB V850MINIL or QB V850MINI or the self check board may be damaged R20UT0221EJ0400 Rev 4 00 RENESAS Page 73 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 6 Cautions 6 Cautions This chapter lists cautions on using QB V850MINIL or QB V850MINI Caution items are classified m the following three categories so refer to the relevant items OCD Cautions for performing on chip debugging TE Cautions for performing debugging with in circuit method SC Cautions for performing self testing Table 6 1 List of Cautions 1 2 Use of target devices
56. ging 3 6 5 2 54 mm pitch 20 pin general purpose connector A 2 54 mm pitch general purpose connector do not need connection of adaptor Note that 2 54 mm pitch 20 pin general purpose connectors may not 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 20PA 2 54DSA sold separately straight type Remark HIF3FC 20PA 2 54DS and HIF3FC 20PA 2 54DSA are products of Hirose Electronic Co Ltd 20 pin general purpose connector TOP VIEW 19 y 1 A Ze Target system OS 20 2 TOP VIEW Figure 3 21 2 54 mm Pitch General Purpose Connector Pin Assignment Diagram R20UT0221EJ0400 Rev 4 00 LEN ESAS Page 55 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging Table 3 11 2 54 mm Pitch General Purpose Connector Pin Functions for V850E2S or V850E2M O A Z Z o a jo U 4 lt TDI TRST O o INIo oa R IO JIN Z O w Ti i Z Z Z Z O O O O O O POWER N gt RESET 14 FLMDO 15 N 16 RDY 17 N 18 TDO 19 GND 20 Von Notes 1 As seen from the target device Z Z Z Z IN Z OUT Connect to GND Clock for DCU Connect to GND DCU state transition control signal GND Data signal transmitted to DCU Connect to GND DCU reset signal Connect to GND Open
57. gramming FT Show Address Cancel Figure 4 8 Example of Settings for QB Programmer R20UT0221EJ0400 Rev 4 00 2013 08 30 ENESAS Page 69 of 86 QB V850MINIL QB V850MINI Emulator 5 Self Testing 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 SS SS A ae A ee E GE SSS a _ SS Se Figure 5 1 System Configuration for Self Testing lt 1 gt Host machine With USB ports lt 2 gt USB interface cable accessory lt 3 gt QB V850MINIL or QB V850MINI this product lt 4 gt OCD cable accessory lt 5 gt Self check board accessory R20UT0221EJ0400 Rev 4 00 RENESAS Page 70 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 5 Self Testing 5 2 Setup Procedure This section describes QB V850MINIL or QB V850MINI setup procedure to operate QB V850MINIL or QB V850MINI normally Perform setup using the following procedure Install the USB driver software tool etc in the host machine See 5 2 1 Installation of software Proceed to the next step 1f installation of software has already been completed Set QB V850MINIL or QB V
58. hing fire Also the user program under debug will 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 system respectively Neglect of this precaution will result in getting an electric shock or will result in the emulator product or user system emitting smoke or catching fire Warnings to Be Taken for Handling Y Do not modify this product Personal injury due to electric shock may occur if this product is modified Modifying the product will void your warranty Warning for Installation Do not set this product in water or areas of high humidity Make sure that the product does not y get wet Spilling water or some other liquid into the product may cause un repairable damage Warning for Use temperature Care should be taken that a maximum ambient temperature is not exceeded when this emulator is to be used R20UT0221EJ0400 Rev 4 00 RENESAS Page 8 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator Safety Precautions CAUTION Cautions to Be Taken for Turning On the Power Observe the following specified order for the power on and power off procedures of the user system and the emulator Doing otherwise may cause the user system or the emulator to fail Power ON 1 Emulator power ON 2 User system power ON 3 Start emulator debugger Power OFF 1 Exit emulator debugger
59. ice RESET RESET Figure 3 10 RESET Pin Connection Example R20UT0221EJ0400 Rev 4 00 RENESAS Page 37 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 5 Designing Target System Circuits When Using V850E2 V850El or V850ES To debug the target system with QB V850MINIL or QB V850MINI connected a circuit to connect QB V850MINIL or QB V850MINI is required on the target system This section presents information required for circuit design Read this information together with the information described in the user s manual of the target device Note that circuit design information when the target device is the V850E2S or V850E2M is described in 3 4 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 that is used to connect QB V850MINIL or QB V850MINI QB V850MINIL QB V850MINI Target device RESET RESET VDD GND Figure 3 11 Circuit Connection Example Signal Name Outline of Signal DCK Clock for DCU DMS DCU state transition control signal DDI Data signal transmitted to DCU DDO Data signal transmitted from DCU DRST DCU reset signal FLMDO Flash programming mode setting signal RESET System reset input signal Von Power supply The power supply for buffers of a debugging interface or for power supply detection of a target system
60. ion 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 product will be repaired or replaced at cost a Failure or damage attributable to the misuse or abuse of the product or its use under other abnormal conditions b Failure or damage attributable to improper handling of the product after purchase such as dropping of the product when it is transported or moved c Failure or damage to the product caused by other pieces of equipment connected to it d Failure or damage attributable to fire earthquakes thunderbolts floods or other natural disasters or abnormal voltages etc e Failure or damage attributable to modifications repairs adjustments or other acts made to the product by other than Renesas Electronics Corporation 3 Consumables e g sockets and adapters are not covered by the aforementioned repair In the above cases contact your local distributor If your product is being leased consult the leasing company or the Owner R20UT0221EJ0400 Rev 4 00 RENESAS Page 76 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 7 Maintenance and Warranty 7 4 Repair Provisions 1 Repairs not covered by warranty Problems arising in products for which more than one year has elapsed since purchase are not covered by warranty 2 Replacement not covered by warranty If your product s fault f
61. 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 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 This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics 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 QB V850MINIL QB V850MINI Emulator Preface Preface QB V850MINIL and QB V850MINI are designed for use with the MCU s made by Renesa
62. me 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 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 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 products are neither intended nor authorized for use in products or syst
63. mputer used to control the emulator Target MCU This means the MCU to be debugged Target system This means a user s application system in which the MCU to be debugged is used User program This means the program to be debugged On chip debug unit This is a circuit in the device that is used for on chip debugging OCD An acronym that stands for on chip debug This is the debugging that 1s performed with the real device mounted on the target system DCU An acronym that stands for debug control unit This is a unit in the microcontroller that is used for on chip debugging V850MINI self check board This means the self check board included with the QB V850MINI R20UT0221EJ0400 Rev 4 00 RENESAS Page 13 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator Terminology V850MINIL self check board This means the self check board included with the QB V850MINIL Self check board General term used for both the V8SOMINI self check board and the V850MINIL self check board The symbol means that the signal 1s active low in this document R20UT0221EJ0400 Rev 4 00 ENESAS Page 14 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 1 Outline l Outline QB V850MINIL or QB V850MINI is an emulator to be connected to a target device with an on chip debug unit to efficiently debug hardware and software 1 1 Features O USB connection QB V850MINIL or QB V850MINI can be connected to the host machine via
64. nfirm that the POWER LED on QB V850MINIL or QB V850MINI is lit Caution Perform connection while the power to the target system is off lt E E o e A Zoe SSS SS m AAA n gr ere m O L gt Figure 3 4 Connecting QB V850MINIL or QB V850MINI to Host Machine R20UT0221EJ0400 Rev 4 00 RENESAS Page 31 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 Power application to target system Apply the power to the target system After power application confirm that the TARGET LED on QB V850MINIL or QB V850MINI is lit When using the QB V850MINIL if the yellow LED is on 1t means that an overvoltage may be being applied 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 4 System shutdown Terminate debugging and shutdown the system in the following order 1 Terminate the the software tool 2 Turn off the power to the target system 3 Disconnect the USB cable from the host machine 3 3 Default Setting All of switches 1 to 8 are set to OFF by default Refer to 3 2 2 Switch settings for how to set the switches R20UT0221EJ0400 Rev 4 00 RENESAS Page 32 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 4 Designing Target System Circuits when Using V850E2S or V850E2M
65. nt in human life Aerospace Nuclear power control Undersea repeaters If you are considering the use of the emulator for one of the above purposes please be sure to consult your local distributor R20UT0221EJ0400 Rev 4 00 RENESAS Page 5 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator Important About product changes We are constantly making efforts to improve the design and performance of our product Therefore the specification or design of the emulator or this user s manual may be changed without prior notice About rights 1 We assume no responsibility for any damage or infringement on patent rights 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 grant a license to patent rights or any other rights belonging to Renesas or to a third party 3 This user s manual and the emulator are copyrighted with all rights reserved by Renesas This user s manual may not be copied duplicated or reproduced in whole or part without prior written consent from Renesas About diagrams Some diagrams in this user s manual may differ from the objects they represent R20UT0221EJ0400 Rev 4 00 RENESAS Page 6 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator Safety Precautions Safety Precautions The Safety Precautions which should be taken in order to
66. nternal reset other than POC The OCDM register holds the value before reset R20UT0221EJ0400 Rev 4 00 RENESAS Page 42 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging QB V850MINIL Target system QB V850MINI VDD e 74LVC1T45 Target device RESET RESET Figure 3 16 RESET Pin Connection Example R20UT0221EJ0400 Rev 4 00 RENESAS Page 43 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 6 Target Connectors for OCD A target connector for OCD must be mounted on the target system in order to connect QB V850MINIL or QB V850MINI to the target system The target connector for OCD can be selected from the target connectors listed in the table below The features of each target connector are described in the following sections Table 3 4 List of Target Connectors for OCD Part Number and Manufacturer Target Connector Name Part Number Manufacturer KEL connector cannot be used 8830E 026 170S included with QB V850MINI KEL Corporation when using V850E2S or V850E2M 8830E 026 170L 2 54 mm pitch 16 pin general HIF3FC 16PA 2 54DS Hirose Electronic Co Ltd purpose connector cannot be used HIF3FC 16PA 2 54DSA when using V850E2 V850E1 or V850ES Adapter QB V850MINIL AG1 inclued with QB V850MINIL Renesas Electronics Corporation 2 54 mm pitch 20 pin general HIF3FC 20PA 2 54DS Hirose Electronic Co Ltd HIF3FC 20PA 2 54DSA for example purpose connector
67. o shut down the system in the correct order R20UT0221EJ0400 Rev 4 00 RENESAS Page 62 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 4 Debugging with In Circuit method 4 3 1 Installation of software Install the software tool in the host machine before setting up the hardware Refer to the Setup Manual supplied with this product for the procedures 4 3 2 Setting of QB V850MINIL or QB V850MINI Set QB V850MINIL or QB V850MINI to the default setting See 3 3 Default Setting for the default settings of QB V850MINIL or QB V850MINI 4 3 3 Clock settings The oscillation clock of the target device is set by the clock settings for the V850MINI self check board Main clock oscillation frequency The frequency can be changed 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 clock oscillation frequency is determined by the clock mounted in OSC1 An 8 MHz ceramic resonator is mounted at shipment There is no need to change the setting when using an 8 MHz resonator When changing the setting remove the 8 MHz resonator from the parts board of OSC1 and insert the relevant resonator as shown in Figure 4 3 Resonator UPD70F3318YGI Figure 4 3 OSC1 Setting A 3 pin resonator with the capacitor can be inserted easily When using a resonator other than the 3 pin resonator
68. onnecting the FLMDO signal for V850E2 V850E1 or V850ES FLMD0 is the signal used to switch the system to flash programming mode Control the status of FLMDO on QB V850MINIL or QB V850MINI as follows in accordance with the status of the debugger Table 3 3 Status of FLMDO Signal on QB V850MINIL or QB V850MINI Debugger Status Status of FLMDO When writing to the flash memory High level CMOS output When not writing to the flash memory High impedance While the user created program is executing Note When downloading a program or when writing in the Assemble or Memory window During a break When rewriting the flash memory during a break Figure 3 12 Timing of FLMDO 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 not depends on the specifications of the target device a When not performing flash self programming Connect the FLMDO signal output from QB V850MINIL or QB V850MINI to the FLMDO pin on the target device As long as there are no problems arising from the specifications of the target device pull the signal down to low level Determine the resistance value of the pull down resistor by referring to the user s manual of the target device QB V850MINIL QB V850MINI Target system 33V 74LVC1T45 Target device FLMDO Figure 3 13 Example Connection of FLMDO Pin When Used by QB V850MINIL or QB V850
69. os ria oasis 66 4 3 7 A O A come O O POCO A ney Teter ny 67 4 4 Default Settings Vs SOMINE Self check DOM rra 67 4 5 Cautions on Using SOS dc dal 68 4 5 1 Cautions on inserting removing sockets miii di ces 68 4 5 2 Causes of faulty contact of connectors and countermeasures for them ccccececssscececeesessecececeesessecececseseeeeceseesaeeececeesesaeeeeeeseeeaseeeeees 68 4 6 Recovery of Security E 69 dy E UN e tit 70 5 1 EE ET 70 5 2 Setup Procedure PPP E E e Ud RO E ts 71 5 2 1 EAS AOS A A san E A 72 5 2 2 Setting of QB V850MINIL or QB V850MI NL1 eene eeneg egen Beleeg dese dase ab iano niadatansied 72 5 2 3 Setting of self check board a ba 72 5 2 4 Connection and startup of system D 72 5 2 5 SVS EM SHUA OW E 73 o ee 74 EEN Ee Ee erte WE gn EE 76 7 1 E E EE a EE 76 7 2 Ee EE He 7 3 A A 76 7 4 a E e Ro UE COS ORO E A ages 77 7 5 How to Make Requestior ET EE 77 Appendix A V850MINI Self Check Board Circuit Diagrams ocococcncccccnnccccncconcnonononcnnnnnnnnnnnnnnnnnnnnnnnnnnnnnrnnnnnnnnnnnnnnnnnnnnrnnnnnrnnnnnnnnannnnns 78 Appendix B extemal DiS SiO EE 79 Bal OB VYSS0OMINIL OB VSIOMINI RE 79 B2 ores NUT Ant it Be iett BO dani eee R E re eT er ere 179 Bio Target Connectors for OC ad tia 80 Appendix C nn o A PE O PEO E EP O O PEE 82 R20UT0221EJ0400 Rev 4 00 RENESAS Page 11 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator User Registration User Registration When you install debugger software a text fil
70. product when it was delivered to you and specify caution in handling handling as precision equipment If packing 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 you use a different bag it may lead to further trouble with your product due to static electricity R20UT0221EJ0400 Rev 4 00 RENESAS Page 77 of 86 2013 08 30 it diagrams 1fCUl AppendixA V850MINI Self Check board c it Diagrams 1fCUl V850MINI Self Check Board C A Page 78 of 86 ENESAS QB V850MINIL QB V850MINI Emulator Appendix VDD CN1 TVDD CN2 TYDD BVDD CN3 DQ 49 pg POM 49 D 50 49 PDL P94 EX PCDO PCM2 Dar _PCS6 C48 BYSS PDL9 47 PDL10 P93 L 7 PCD1 PCMO as Ren PDLO 16 BVDD PDL10 45 PDL11 NVDD VDDOUT pg A P91 7 AS z ED C44 PDLO PDL11 f3 ED P91 Pa P915 PCS2 a1 Y PCT2 PDL1 47 4 PDL3 PDL12 Co PDL13 NWIRE1 Pan KE Po 7 SR z PD CAT PDL1 PDL13 CS PDI 1 P81 NET P911 PCSO C37 Zap PDLA 38 y PDL2 PDL14 37 PDL15 P80 35 P910 PCD3 135 ___ PCI5 PDL5 36 PDLA PDL15 735 PDHO J ES pao PCD SKS CIS DLE 347 PDLS PDHO PDH P614 ER P98 PCM3 ERR PCTZ PDL7 32 PDL6 PDH1 31 PDH2 PE RR pa PCMA IR p PDLE 3074 PDL PDH2 720 PDH P612 ES P96 PCM5 C27 RS PDH6 128 PDL8 PDH3 27 PDH4 P611 P04 25 Y P03 PDH7 26 4 PDH6 PDH4 795 PDH5 JA ER SR Ji AAA PDH7 P
71. ps running Target system power turned off RESETA Hi Z Low level i Low level Figure 3 15 Timing of RESET on QB V850MINIL or QB V850MINI Connect the RESET signal as shown in Figure 3 16 if any of the conditions listed below is satisfied At this time make sure that the RESET signal does not conflict with the RESET signal generated on the target system When none of the following conditions are satisfied leave open the pin for the RESET signal that is output from QB V850MINIL or QB V850MINI e The target device should be kept in the reset state before debugger startup or after debugger termination e The OCD signal pins DCK DDI DDO DMS and DRST are alternate 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 routine For example when using a device in which the pins that alternately function as the OCD signal pins are controlled by the OCDMO register as shown below the OCDMO register is cleared to 0 upon reset by POC so the OCD signals are not specified and as a result on chip debugging cannot be performed normally 7 6 5 4 3 2 1 0 Specification of alternate function pin for on chip debug function on Use as port peripheral function pin CA Use as on chip debug function pin Remark Initial value At RESET pin input OCDMO 1 After reset by POC OCDMO 0 After i
72. rd Perform the following steps to recover from the above cases 1 Remove the V850MINI self check board from the target system 2 Set SW1 on the V8S50MINI 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 the self check board when the flash memory programmer is connected Do not supply the clock from the flash memory programmer during writing erasure Use OSC1 on the self check board as a clock for writing 4 Enter the settings for the flash memory programmer Figure 4 8 shows setting examples when using the QB Programmer as the flash memory programmer 5 Perform a chip erase operation After the chip erasure the security ID is set to OxFFFFFFFFFFFFFFFFFFFF Standard Advanced Standard Advanced Command options Parameter File 0F3318prm Target Device Connection Supply Oscillator jw On Target Port UART ch0 vr Frequency 1800 ae MHz Speed 153600bps el Multiply rate Im Operation Mode Chip Stat Jung gt Block End 127 e OK Cancel Run after Disconnect Read verify after Program ish Iw Security flag after Program M Checksum after Program Security flag settings Disable Chip Erase Reset Disable Block Erase Boot Block end 000 Disable Program FS Bloc wf Disable Read vd Disable Boot block cluster repro
73. s Electronics All components of QB V850MINIL and QB V850MINI are listed under 1 2 Before 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 V850MINIL or QB V850MINI For information on emulator debuggers and other related products please see the additional document for user s manuals included with each product You can download the latest manuals from the Renesas Tools homepage http www renesas com R20UT0221EJ0400 Rev 4 00 RENESAS Page 3 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator Important Important Before using the emulator be sure to read this user s manual carefully Keep this user s manual and refer to it when you have questions about the emulator Emulator Emulator in this user s manual collectively refers to the QB V850MINIL and QB V850MINI emulators manufactured by Renesas Electronics Corporation Emulator herein encompasses neither the customer s user 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 development in both software and hardware The emulator is not guaranteed for use in the production line Be sure to use the emulator correctly according to said purpose of use Please avoid using
74. s not fall within the scope of applicability of the Electrical Appliance and Material Safety Law and protection against electromagnetic interference when used in Japan 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 warning labels attached to the emulator do not necessarily cover all such possible situations and cases The customer is responsible for correctly and safely using the emulator The emulator covered by this document has not been through the process of checking conformance with UL or other safety standards and IEC or other industry standards This fact must be taken into account when the emulator is taken from Japan to some other country Renesas Electronics Corporation will not assume responsibility of direct or indirect damage caused by an accidental failure or malfunction in the emulator When disposing of the emulator Penalties may be applicable for incorrect disposal of this waste in accordance with your national legislation Usage restrictions The emulator has been developed as a means of supporting system development by users Therefore do not use it as an embedded device in other equipment Also do not use it to develop systems or equipment for use in the following fields 1 2 3 4 5 Transportation and vehicular Medical equipment that has an involveme
75. t device Connect to GND Data signal transmitted to DCU Clock for DCU DCU state transition control signal Data signal transmitted from DCU DCU reset signal System reset input signal leave open when not used Flash programming mode setting signal leave open when not used Connect to GND Connect to GND Connect to GND Power supply The power supply for buffers of a debugging interface or for power supply detection of a target system 2 Refer to 3 5 4 Connecting the RESET signal for V850E2 V850E1 or V850ES 3 Refer to 3 5 3 Connecting the FLMDO signal for V850E2 V850E1 or V850ES R20UT0221EJ0400 Rev 4 00 2013 08 30 ENESAS Page 46 of 86 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 6 2 Mictor connector The Mictor connector is conventionally supported as a target connector for OCD that supports the high speed trace interface When combining use of QB V850MINIL or QB V850MINI and an emulator with tracing capability sold by Renesas Eloctronics partner company use the Mictor connector When using the Mictor connector as the target connector for OCD mount the following connector on the target system e 2 767004 2 38 pin type sold separately Remark 2 767004 2 is a product of Tyco Electronics AMP K K The following adapter is required for connection with the emulator e QB V850MINIL AM1 sold separately Remark QB V850MINIL AM1 is products of Renesas Electronics Corporation
76. t the security code that has been set at addresses 0x70 to 0x79 At shipment the debugger can be activated by inputting FFFFFFFFFFFFFFFFFFFF N Wire I F area Be sure to select DCK 10MHZ The debugger may not operate if DCK 20MHZ is selected The POO pin outputs a low level signal during a reset Exercise care when performing emulation of the V850ES KE1 V850ES KF1 V850ES KG1 or V850ES KJ1 Do not connect the target system when performing self testing R20UT0221EJ0400 Rev 4 00 2013 08 30 ENESAS Page 75 of 86 QB V850MINIL QB V850MINI Emulator 7 Maintenance and Warranty d Maintenance and Warranty This chapter covers basic maintenance warranty information provisions for repair and the procedures for requesting a repair 7 1 User Registration When you purchase our product be sure to register as a user For user registration refer to User Registration page 12 of this user s manual T2 Maintenance 1 If dust or dirt collects on this product wipe it off with a dry soft cloth Do not use thinner or other solvents because these chemicals can cause the surface coating to separate 2 When you do not use this product for a long period disconnect it from the power supply host machine and user system 7 3 Warranty 1 This product comes with a one year limited warranty after purchase Should the product break down or be damaged while you re using it under normal condit
77. te QB V850MINIL or QB V850MINI normally Perform setup using the following procedure Installation of software Install the USB driver software tool etc in the host machine See 3 2 1 Installation of software Proceed to the next step if installation of software has already been completed Setting of switch Set SWI This step is not necessary when using a connector other than the Mlictor connector as the target connector See 3 2 2 Switch settings to perform setting in the correct order Connection and startup of system Connect the host machine QB V850MINIL or QB V850MINI and target system and start the entire system See 3 2 3 Connection and startup of system to perform setting in the correct order System shutdown Shut down the system to terminate debugging See 3 2 4 System shutdown R20UT0221EJ0400 Rev 4 00 RENESAS Page 29 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 3 On Chip Debugging 3 2 1 Installation of software Install the following software tool in the host machine before setting up the hardware Refer to the Setup manual supplied with QB V850MINIL or QB V850MINI for the procedures e USB driver e Debugger e Device file Ee Switch settings Set SW1 SWI is mounted inside QB V850MINIL or QB V850MINI main unit Loosen the screw open the cover and then set SW1 Change the SW1 setting only when all the following conditions are satisfied otherwise use QB V850MIN
78. the USB interface 1 1 2 0 Since it operates on power supplied via USB an external power supply is unnecessary O On chip debugging Debugging is possible with the target microcontroller mounted on the target system Programs can be downloaded programming to the flash memory by using the flash self programming function of the microcontroller lt R gt O JTAG interface Nexus interface Using a JTAG or Nexus compliant interface the QB V850MINI can be used generally for V850E2S V850E2M V850E2 V850E1 and V850ES microcontrollers with the on chip debug unit QB V850MINIL or QB V850MINI is a successor of the IE V850E1 CD NW PCMCIA type so that the debugging environment for the IE V850E1 CD NW can be ported as is to the QB V850MINI Note that the IE V850E1 CD NW cannot be used with V850E2S andV850E2M microcontrollers O Inclusion of self check board Using the self check board that is supplied with QB V850MINIL or QB V850MINI can perform self testing for faults The self check board comes with QB V850MINI can also be used as the debug adapter for the V850ES KJ1 V850ES KG1 V850ES KF1 and V850ES KE1 R20UT0221EJ0400 Rev 4 00 RENESAS Page 15 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 1 Outline 1 2 Before Using QB V850MINIL or QB V850MINI Be sure to confirm the package contents listed in this chapter before using QB V850MINIL or QB V850MINI To utilize this document effectively familiarize yourself with the
79. the emulator other than for its intended purpose of use For those who use the emulator The emulator can only be used by those who have carefully read the user s manual and know how to use it Use of the emulator requires basic knowledge of electric circuits logical circuits and MCUs R20UT0221EJ0400 Rev 4 00 RENESAS Page 4 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator Important When using the emulator 1 2 3 4 5 6 7 The emulator is a development support unit for use in your program development and evaluation stages When a program you have finished developing is to be incorporated in a mass produced product the judgment as to whether it can be put to practical use is entirely your own responsibility and should be based on evaluation of the device on which it is installed and other experiments In no event shall Renesas Electronics Corporation be liable for any consequence arising from the use of the emulator Renesas Electronics Corporation strives to provide workarounds for and correct trouble with products malfunctions with some free and some incurring charges However this does not necessarily mean that Renesas Electronics Corporation guarantees the provision of a workaround or correction under any circumstances The emulator covered by this document has been developed on the assumption that it will be used for program development and evaluation in laboratories Therefore 1t doe
80. ulator debugger Caution to Be Taken for Disposal Q Penalties may be applicable for incorrect disposal of this waste in accordance with your national legislation opean Union regulatory notices The WEEE Waste Electrical and Electronic Equipment regulations put responsibilities on producers for the collection and recycling or disposal of electrical and electronic waste Return of WEEE under these regulations is applicable in the European Union only This equipment including all accessories is not intended for household use After use the equipment cannot be disposed of as household waste and the WEEE must be treated recycled and disposed of in an environmentally sound manner Renesas Electronics Europe GmbH can take back end of life equipment register for this service at http www renesas eu weee R20UT0221EJ0400 Rev 4 00 RENESAS Page 9 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator Contents Contents A 3 euer e Ro uo prs E eet E te aac eannise nda E 4 See FSC AU E A EA E A AAE AEI EA tinea aneskbonsuneersanucecees 7 NS EE 10 A E E E A o nr o E 12 PPP ro O e E OE O E PO E O ia buaucasidian se webiateelannenu awed oniuanehehymncbin dignthoeny anni hen 13 Te QUIN apio ios 15 1 1 AP E nu EE T 4 aauand tenga sae E 15 1 2 Before Using QB V850MINIL or QB V850MINI1 o ooooooonccnnnoooonnonnnononononononononnnnncnnnnnnnnnnnnnnn nn nro nnnnnN NR nnnnnnnnNNnnnnnnnnn NN Nnnnnnnnnnnnnnnnnnnnnennnnnnnnnnnnnnnnnnns 16
81. usage purposes of QB V850MINIL or QB V850MINI described in this chapter Kc Package contents When purchasing QB V850MINIL or QB 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 contact your local distributor Note that the items in the QB V850MINI package differ from those in the QB V850MINIL package Y QB V850MINI OCD cable Self check board KEL adapter KEL connector ID850QB Disk Accessory Disk Setup manual Y QB V850MINIL USB cable OCD cable Figure 1 1 Package Contents of QB V850MINI Self check board Se 16 pin conversion adaptor Setup manual for V850E2S and V850E2M Figure 1 2 Package Contents of QB V850MINIL R20UT0221EJ0400 Rev 4 00 ENESAS Page 16 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 1 Outline 1 202 Checking purpose for using QB V850MINIL or QB V850MINI There are mainly three purposes for using QB V8SOMINIL or QB V850MINI 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 O To debug the target device mounted on the target system See 3 On Chip Debugging O To debug V850ES Kx1 with in circuit method See 4 Debugging with In Circuit method O To perform self testing for faults in QB V850MINIL or QB V85
82. ylindrical projection in the center of the underside Figure 4 4 Apply a two component hardening type epoxy adhesive agent a type that hardens in 15 to 30 minutes sparingly to the underside of the projection to temporarily 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 board t Figure 4 4 Target Connector Projection Diagram 3 Mount the target connector under the following conditions a To mount the target connector by reflow 245 C within 20 seconds heating b To mount the target connector by manual soldering 320 C within 5 seconds per pin Caution The flux splashing that takes place while the connector is being mounted often results in defective conduction Be sure to cover the upper part of the connector with aluminum foil Avoid flux cleaning since the connector has a structure in which flux solvent is likely to remain R20UT0221EJ0400 Rev 4 00 RENESAS Page 65 of 86 2013 08 30 QB V850MINIL QB V850MINI Emulator 4 Debugging with In Circuit method 4 3 6 Connection and startup of system Connect and start the system in the following order 1 Connecting QB V850MINIL or QB V850MINI to target system Connect QB V850MINIL or QB V850MINI to the target system using the exchange adapter and target connector Refer to the system configuration diagrams shown in Figures 4 1 an

Download Pdf Manuals

image

Related Search

Related Contents

  AD/BELL 212/29 - Civil Aviation Safety Authority  Philips N Coffee maker HD7447/20  Optoma DS211 User Guide Manual    OWI LGS300 User's Manual  Instalační a uživatelská příručka konvektoru Ecoflex PREMIER    Bosch Security Systems  

Copyright © All rights reserved.
Failed to retrieve file