Home

QB-V850MINI On-Chip Debug Emulator UM

image

Contents

1. Classification QB V850MINI main unit Table 1 1 Hardware Specifications Operating power supply Specifications Supplied via USB interface 5 V Operating clock Clock mounted in QB V850MINI Operating environment Temperature 0 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 Approximately 90 g Host machine interface Target host machine PC98 NX Series IBM PC AT compatibles Target OS Windows 98 Windows Me Windows 2000 Windows XP USB 1 1 2 0 USB cable length 2 000 mm max Current consumption Approximately 350 mm Target interface 12 Target device Microcontroller with V850E1 V850ES Series on chip debug unit and microcontroller with Nx85ET core OCD cable length 200 mm Clock frequency Equivalent to specifications supported by the target device Voltage range 2 0 to 5 5 V Number of signals occupied for 5 debugging DCK Clock input DMS Mode select input signal DDI Data input signal DDO Data output signal DRST On chip debug mode setting signal Number of signals used for flash 1 memory writing FLMDO Signal for writing to the flash memory Used when writing to the fl
2. 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 14 and Table 3 4 show the pin assignment and the pin functions of the KEL connector respectively Input output is indicated as seen from the target device Figure 3 14 KEL Connector Pin Assignment Diagram 8830E 026 170S 8830E 026 170L A13 A12 pay S AN Target system TOP VIEW 34 User s Manual U17638EJ2VOUM A1 to A6 Signal Name GND CHAPTER 3 ON CHIP DEBUGGING Table 3 4 KEL Connector Pin Functions Description Connect to GND A7 DDI Data input A8 DCK Clock input A9 DMS Transfer mode selection input DDO Data output A11 DRST Reset input to on chip debug unit A12 RESET Note 2 System reset input leave open when not used A13 FLMDO Note 3 Flash mode input leave open when not used B1 to B10 GND Connect to GND B11 PORTO IN Connect to GND PORT1 IN Connect to GND Von Connect to VDD for on chip debugging for target system power ON monitoring Notes 1 As seen from the target devi
3. K kilo 2 1 024 M mega 2 1 024 Users Manual U17638EJ2VOUM 5 Terminology The meanings of the terms used in this manual are described in the table below Target device This is the device to be emulated Target system This is the system to be debugged system provided by the user This includes the target program and the hardware provided by the user 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 is 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 MINICUBE Generic name for NEC Electronics high performance compact in circuit emulator Related Documents Please use the following documents in combination with this manual The related documents listed below may include preliminary versions However preliminary versions are not marked as such lt R gt O Documents Related to Development Tools User s Manuals Document Name Document Number QB V850MINI On Chip Debug Emulator This manual CA850 Ver 3 20 C Compiler Package Operation U18512E C Language U18513E Assembly Language U18514E Link Directives U18515E ID850QB Ver 3 40 Integrated Debugger Operation U18604E SM System Simulator Operation U18601E User
4. EP oa GND Connect to GND E o RESERVE Open ere A GND Connect to GND DDO Data output en Ke GND Connect to GND N o VDD Connect to Von for on chip debugging for target system power ON monitoring Notes 1 As seen from the target device 2 Refer to 3 4 3 8 RESET 3 Referto 3 4 3 7 FLMDO Users Manual U17638EJ2VOUM CHAPTER 3 ON CHIP DEBUGGING 3 5 5 2 54 mm pitch 20 pin general purpose connector When using a 2 54 mm pitch general purpose connector as the target connector for OCD mount a connector that can be connected to the OCD cable on the target system Note that 2 54 mm pitch 20 pin general purpose connectors may not support third party emulators The followings are examples of the 2 54 mm pitch 20 pin general purpose connector e HIF3FC 20PA 2 54DS sold separately right angle type e 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 Figure 3 18 2 54 mm Pitch General Purpose Connector Pin Assignment Diagram 20 pin general purpose connector ES TOP VIEW 19 y 1 j EE P eeu 20 2 TOP VIEW Target system 42 User s Manual U17638EJ2VOUM Table 3 8 Signal Name GND CHAPTER 3 ON CHIP DEBUGGING 2 54 mm Pitch General Purpose Connector Pin Functions Description Connect to GND DCK Cloc
5. Refer to the system configuration diagrams shown in Figures 4 1 and 4 2 for the connection of other optional products Caution Perform connection while the power to the target system is off Figure 4 5 Connecting QB V850MINI to Target System Target system 2 Connecting QB V850MINI to host machine Connect the QB V850MINI to the host machine using the USB interface cable After performing this connection confirm that the POWER LED on the QB V850MINI is lit Caution Perform connection while the power to the target system is off Figure 4 6 Connecting QB V850MINI to Host Machine 52 User s Manual U17638EJ2VOUM CHAPTER 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 the QB V850MINI is lit 4 Startup of ID850QB Start the ID850QB using the Start menu shortcut icon etc Refer to CHAPTER 6 CAUTIONS for the configuration settings Refer to ID850QB Ver 3 10 Integrated Debugger Operation User s Manual U17435E for operations after startup 4 3 7 System shutdown Terminate debugging and shutdown the system in the following order 1 Terminate the ID850QB 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 the QB V850MINI or the self check board may be damaged 4 4 Defau
6. The ID code will be set to OxFFFFFFFFFFFFFFFFFFFF User s Manual U17638EJ2VOUM 69 APPENDIX C INTERNAL ROM FLASH MEMORY SECURITY FUNCTION lt Setting example 1 gt The ID code can be specified in the Linker Options dialog box or the Compiler Common Options dialog box of the PM when a device file that supports CA850 Ver 2 60 or later and the security ID is used Input File Output File Library Device Option Others Create Flash Object Branch fable Addresse table Boot bIEGOETE rH 256M Byte Mode X256M Security ID lt sid o1 234567894BCDEF123D4 Cancel Hep lt Setting example 2 gt Example of assembler source description of device file that supports the security ID Add the following description in the startup file section SECURITY_ID Interrupt handler address 0x70 word 0x78563412 0 3 byte code word OxF1DEBC9A 4 7 byte code hword 0xD423 8 9 byte code lt Setting example 3 gt Example of assembler source description of device file that does not support the security ID Add the following description in the startup file When the handler at address 0x60 is ILGOP Interrupt handler address 0x60 Input ILGOP handler code Skip handler address to 0x70 0x78563412 0 3 byte code OxF1DEBC9A 4 7 byte code 0xD423 8 9 byte code 70 User s Manual U17638EJ2VOUM lt R gt APPENDIX D REVISION HISTORY Revisions up to the previous edition
7. for target system power ON monitoring DMS Transfer mode selection input DRST Reset input to on chip debug unit DDI Data input RESET Note 2 System reset input leave open when not used DDO Data output FLMDO Note 3 Flash mode input leave open when not used N C Open not connected RESERVE Open N C Open not connected PORTO_IN Connect to GND N C Open not connected PORT1_IN Connect to GND GND Connect to GND PORT2_IN Connect to GND GND Connect to GND POWER Note 4 Open GND Connect to GND Notes 1 As seen from the target device 2 Refer to 3 4 3 8 RESET 3 Refer to 3 4 3 7 FLMDO 4 When the TRCCE signal trace compression enable input is connected as the trace interface for a third party emulator the SW1 settings in the QB V850MINI must be changed Refer to 3 2 2 Switch settings for details Users Manual U17638EJ2VOUM 37 CHAPTER 3 ON CHIP DEBUGGING 3 5 3 XF2E connector The XF2E connector is a compact type target connector Use of this connector is effective in cases such as when a mounting area cannot be secured on the target system Note that the XF2E connector may not support third party emulators When using the XF2E connector as the target connector for OCD mount the following connector on the target system e XF2E 1515 1 15 pin type sold separately Remark
8. 11 1 User s Manual U17638EJ2VOUM General Precautions for Handling This Product 1 Circumstances not covered by product guarantee e f the product was disassembled altered or repaired by the customer e If it was dropped broken or given another strong shock e Use at overvoltage use outside guaranteed temperature range storing outside guaranteed temperature range e If power was turned on while connection to the USB interface cable or target system was in an unsatisfactory state e If the USB interface cable the connection cable or the like was bent or pulled excessively e If the product got wet e If this product is connected to the target system when there is a potential difference between the GND of this product and GND of the target system elf the connectors or cables are plugged unplugged while this product is in the power on state e f excessive load is applied to the connectors or sockets 2 Safety precautions e If used for a long time the product may become hot 50 C to 60 C Be careful of low temperature burns and other dangers due to the product becoming hot e Be careful of electrical shock There is a danger of electrical shock if the product is used as described above in 1 Circumstances not covered by product guarantee Users Manual U17638EJ2VOUM Readers Purpose Organization How to Read This Manual Conventions INTRODUCTION This manual is intended for users who wish to perform debugging
9. Jeep rosana Hi Ez fITPIS sos 38a 538 55 EE SE ds e SE SEBERS EEEE EERE 5 222 RATITO 22222252825 SES SES SSEESEE SE EES EE RE VO50ESIKIT El A DER dasa AVREFO AVREF1 ce c7 cs E EREB BERE ai 0 tuF 0 tuF yon sax iH SHORT PADS ed NELMDO R5 ue TO7SHOSF mn 20 nes pots fe 48 AT 130 CH Gite cl PDL11 SR FOLI2 Cot PDL13 39 ER PDL14 CG P54 GND 13 PDL15 DCK 237 PDHO GND z PDHI p DMS 31 PDH Es GND SCH PDH3 27 DI 1 5 ron 55 GND 317 PDHS 23 DRST ES ESCH GND 4 121 SND E CS EACONNZ L 5 VDDOUT P ie Pris DE ai P72 8 PI 15 d ens RESET P LA P713 3 p GND j 12 era FLMDO Ct P71 SH EID GND ER Fi E n D SCH PC SND Kl Lachen mes DDO 13 Pr te GND P76 e VDD_MON HIF3FC 20PA 2 54DSA AXKSSSUGSSP B REFO HK 2 G HK2 G HK 2 6 HK 2 G TP3 ma Va TS TVDD BVDD AVREFO AVREF1 BVDD DS NFM60R31222 AVREF1 AYREFO BYDD 3 vop HIF3FC 16PA 2 54DSA c3 D I HK 2 G TOTAHCAO66AFT vDD cs D I Adapter We Ven VDD NVDD NFA 4 i QB VBSOESKX1H DA NFM80R3T222 65 Users Manual U17638EJ2VOUM APPENDIX B EXTERNAL DIMENSIONS B 1 QB V850MINI Figure B 1 QB V850MINI STATUS TARGET POWER 26 1 mm 84 5 mm 88 5 mm including screw 56 5 mm B 2 Self Check Board Figure B 2 Self Check Board FW1 00000000 00000000 OSC1 N Q e O Top View Bottom View 66 User
10. Target System x N Ge Y 17 88 Target system 2 Connecting QB V850MINI to host machine Connect the QB V850MINI to the host machine using a USB interface cable After performing this connection confirm that the POWER LED on the QB V850MINI is lit Caution Perform connection while the power to the target system is off Figure 3 4 Connecting QB V850MINI to Host Machine 24 User s Manual U17638EJ2VOUM CHAPTER 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 the QB V850MINI is lit 4 Startup of ID850QB Start the ID850QB using the Start menu shortcut icon etc Refer to ID850QB Ver 3 40 Integrated Debugger Operation User s Manual U18604E for operations after startup 3 2 4 System shutdown Terminate debugging and shutdown the system in the following order 1 Terminate the ID850QB 2 Turn off the power to the target system 3 Disconnect the USB cable from the host machine 3 3 Default Setting Setting Description 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 Users Manual U17638EJ2VOUM 25 CHAPTER 3 ON CHIP DEBUGGING 3 4 Designing Target System Circuits To debug the target system with the QB V850MINI connected a circuit to connect the QB V850MINI is required on the target system This section presents information r
11. XF2E 1515 1 is a product of OMRON Corporation The following adapter is required for connection with the emulator e B 140 sold separately XF2E 1515 1 is included Remark B 140 is a product of Sumitomo Heavy Industries Mechatronics Ltd Figure 3 16 XF2E Connector Pin Assignment Diagram XF2E 1515 1 Target system TOP VIEW Pin 1 Pin 15 38 User s Manual U17638EJ2VOUM CHAPTER 3 ON CHIP DEBUGGING Table 3 6 XF2E Connector Pin Functions Signal Name or Description Connect to Voo for on chip debugging for target system power ON monitoring Note 2 System reset input leave open when not used Note 3 Flash mode input leave open when not used Open not connected Open not connected Open not connected Open not connected Open not connected 2 3 4 5 6 7 8 9 Data output E o Clock input Transfer mode selection input E N Data input w Reset input to on chip debug unit A Connect to GND al Connect to GND Notes 1 As seen from the target device 2 Refer to 3 4 3 8 RESET 3 Refer to 3 4 3 7 FLMDO User s Manual U17638EJ2VOUM 39 CHAPTER 3 ON CHIP DEBUGGING 3 5 4 SICA connector The SICA connector is a compact target connector Use of this connector is effective in cases such as when a mounting area cannot be secured on the target system Note tha
12. adapter QB 100GC EA 01S QB 100GF EA 01S QB 144GJ EA 02S Space adapter QB 100 SA 01S QB 144 SA 01S Mount adapter QB 100GC MA 01S QB 100GF MA 01S QB 144GJ MA 01S Target connector QB 100GC TC 01S QB 100GF TC 01S Users Manual U17638EJ2VOUM QB 144GJ TC 01S 47 CHAPTER 4 DEBUGGING WITH IN CIRCUIT METHOD 4 3 Setup Procedure This section describes the QB V850MINI setup procedure to operate the QB V850MINI normally Perform setup using the following procedure Installation of software Install the USB driver integrated debugger device file 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 V850MINI Set the QB V850MINI s SW1 to the default setting See 3 3 Default Setting for the default settings of the QB V850MINI Setting of clock At shipment an 8 MHz resonator ceramic resonator is mounted as the main clock in OSC1 on the self check board A 32 768 kHz resonator is also mounted as the subclock Setting of switch The SW1 settings vary depending on the purpose of use of the 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 connec
13. 1 KA dgdudiccnpm C 22 3 2 1 Installation of softWare 5 0 Eeer EE a e o e a UR 23 3 2 2 Switch settings o ced ide cR a dec ee edic Ut ized icm det ados Ve DEI ER E ces 23 3 2 3 Connection and startup of system sssssssssssssseseseeeeneen nennen nennen nennt nnne nnne nnne 24 ES etenim pali etim NI E 25 3 3 Default Setting E e RA a iaa 25 3 4 Designing Target System Circuits cccseccseessseesseeesseeesseeenseeesseesaseeenseesaseeseeeeeseneseeeeneneseeeesneneseseeensneeneeeess 26 3 4 1 Example of circuit design ute ari 26 3 4 2 Cautions on target system design ssssssssssseseeee eene nennen nennen nennen nnne nnne nns 27 3 4 3 Target interface signals 2 5 cine eae tere oe vee eens EES 28 3 5 Target Connectors for OCD noie indi 33 3 50 51 e EE 34 375 2 MOTOR Rene 36 9 5 3 XF2E Connector cies ities UL eed i Se en Ri 38 3 5 4 SICA connector sacs eee t avis cr age to deu cr ede aevo ede e eo ENEE tanec evi pect 40 3 5 5 2 54 mm pitch 20 pin general purpose connector oooocccononcccnononcnnnnnnnnnononcnonnnn ocn nano narran nemen 42 CHAPTER 4 DEBUGGING WITH IN CIRCUIT METHOD eeeeeesseeeeee esee enne nnne nnnm 44 4 1 IPde gc 44 WE Ree TL E 45 4 2 1 Minimum system configuration rsio cnn nnrn cn nono nr a p rre rre nnne 45 4 2 2 System configuration when using option
14. 17638EJ2VOUM Classification CHAPTER 6 CAUTIONS Table 6 1 List of Cautions 3 3 Caution Note the following points concerning the settings in the N Wire Checker main dialog box e Device file area Specify DF3318Y 800 Clock area Set as follows Main OSC Select 8 000 Internal ROM Security area Select ID Code and input the security code that has been set at addresses 0x70 to 0x79 At shipment the debugger can be activated by inputting FFFFFFFFFFFFFFFFFFFP Emulator area Select IE V850E1 CD NW QB V850MINI DCK 10MHz Figure 6 2 shows the screen image for the above settings Users Manual U17638EJ2VOUM 63 CHAPTER 6 CAUTIONS Figure 6 1 Image of Configuration Screen for Caution No 22 Configuration Chip Name uPD roraat8v D Main OSC MHz 8 000 y Cancel Internal ROM RAM i e Restore Internal ROM 2567 KBytes a Project Internal RAM About i ES Heb Programmable I O re en i Peripheral B Monitor Clock N Wire VF CR System 1 DCK 10MHz v C User GE O NMD P NMI NME HLDRQ T RESET T STOP watt DBINT MODEG12 Memory Mappine Access Size BBit C 16Bit C 32Bit Add Memory Attribute Mapping Address amp Chip Select Delete Target y SS or I Emulator Clock IE 70000 MC NW A Main OSC
15. 850ES KG1 V850ES KJ1 Note One caution applies to debugging using the 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 separately Refer to the technical document for the QB V850ESKX1 DA ZUD CD 04 0120 for details Consult an NEC Electronics sales representative or distributor for how to obtain this document 44 User s Manual U17638EJ2VOUM CHAPTER 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 8 gt and lt 9 gt in Figure 4 1 are not included with the QB V850MINI Figure 4 1 Minimum System Configuration for Debugging with In Circuit Method 1 lt 4 gt lt 5 gt E ELECTRONICS lt 2 gt lt 3 gt Target system lt 1 gt Host machine With USB ports 2 D850QB Disk accessory Software tools for debugging are packaged 3 Device file Download the device file from the following NEC Electronics webpage URL http www necel com micro ods eng index html 4 USB interface cable accessory lt 5 gt QB V850MINI this product lt 6 gt OCD cable accessory 7 Self chec
16. B V850MIN controls the FLMDO signal as follows Table 3 2 FLMDO Status in QB V850MINI Debugger Status FLMDO Status During break During flash memory programming High level Other than above High impedance During user program execution At termination Note When a program is being downloaded or during a write operation via the Assemble or Memory window Figure 3 9 Timing Chart of FLMDO in QB V850MINI During flash i a Memory programming y ME during a break es aas FLMDO 4 sb eee eee Hi Z i High level 1 Hi Z Connect the FLMDO signal with either method a or b below Whether or not the FLMDO signal should be connected depends on the target device specifications lt R gt a When not performing flash self programming Connect the FLMDO signal that is output from the QB V850MINI to the FLMDO pin in the target device Barring a problem arising from the specifications of the target device pull down this signal to low level Figure 3 10 FLMDO Pin Connection Example When Controlled by QB V850MINI QB V850MINI Target system 3 3V 74LVC1T45 Von Target device FLMDO FLMDO DIR 30 User s Manual U17638EJ2VOUM CHAPTER 3 ON CHIP DEBUGGING lt R gt b When performing flash self programming When the FLMDO pin is controlled by port signals when performing flash memory self programming in the user program connect the FLMDO pin as shown
17. DDI DDO and DRST pins may function alternately as general purpose ports Therefore connect these pins in accordance with the specifications of each target device When on chip pull up pull down resistors are used connection of external pull up pull down resistors is not necessary See the signals described in 3 4 3 1 DCK to 5 DRST for details Make sure that the signals driven from the QB V850MINI and the signals generated on the target system do not conflict during debugging 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 4 3 7 FLMDO for details Connection of the RESET pin depends on the target device specifications and control when the debugger is started See 3 4 3 8 RESET for details Users Manual U17638EJ2VOUM 27 lt R gt CHAPTER 3 ON CHIP DEBUGGING 3 4 3 Target interface signals This section describes the interface signals between the QB V850MINI and the target system 28 1 2 3 4 DCK This is the clock signal for the on chip debug unit DCU in the target system A 10 or 20 MHz clocks is supplied from the QB V850MINI according to the setting of the debugger The DMS and DDI signals are sampled in synchronization with the rising edge of the DCK signal in the DCU and the data DDO signal is output in synchronization with the falling edge of the DCK signal Barring a problem arising from the specifi
18. EC Electronics product depend on its quality grade as indicated below Customers must check the quality grade of each NEC Electronics product before using it in a particular application 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 Special Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems safety equipment and medical equipment not specifically designed for life support Specific Aircraft aerospace equipment submersible repeaters nuclear reactor control systems life support systems and medical equipment for life support etc The quality grade of NEC Electronics products is Standard unless otherwise expressly specified in NEC Electronics data sheets or data books etc If customers wish to use NEC Electronics products in applications not intended by NEC Electronics they must contact an NEC Electronics sales representative in advance to determine NEC Electronics willingness to support a given application Note 1 NEC Electronics as used in this statement means NEC Electronics Corporation and also includes its majority owned subsidiaries 2 NEC Electronics products means any product developed or manufactured by or for NEC Electronics as defined above M8E 02
19. Grand Century Place 193 Prince Edward Road West Mongkok Kowloon Hong Kong Tel 2886 9318 http www hk necel com NEC Electronics Taiwan Ltd 7F No 363 Fu Shing North Road Taipei Taiwan R O C Tel 02 8175 9600 http www tw necel com NEC Electronics Singapore Pte Ltd 238A Thomson Road 12 08 Novena Square Singapore 307684 Tel 6253 8311 http www sg necel com NEC Electronics Korea Ltd 11F Samik Lavied or Bldg 720 2 Yeoksam Dong Kangnam Ku Seoul 135 080 Korea Tel 02 558 3737 http www kr necel com G0706
20. MHz 8 000 C TE VE50E1 CD NW QB VESOMINI DCK 20MHz Internal ROM Security Ze E V850E1 CD NW GQB V850MINI DGK 10MHz v ID Code okooeoookoooooooooooor m N Wire emulator test DCK wave form test Test All Connect DDI output signal for oscilloscope DCU Reg Ox cceeccec Start w User s Manual U17638EJ2VOUM APPENDIX A SELF CHECK BOARD CIRCUIT DIAGRAMS AXK5S50330P AXK5SS0330P osct AAA Alo ATEH EEE Tn See ee H SSES TEETER ere cK 2885858 53555 EES 2222 26 oa 55 8 2 22 22 298 S838 i EE AVREFO ERRRR SERERE E PDLSIADS AVSS 3 PDL2 AD2 gt pio 3 27 Pi0 anoo E PDLT AD1 vDD AA P11 ANO1 PDLO ADD pag 3 AVREF1 BVDD NF2 Pa E Poorrono BYSS NFMBOR3T222 FLMD9 8 POWTOHT POTE 9 FLMDO PCTG ASTB 07 DD PCIA c7 qp 11 REGC PCTAIRD SHORT O vss PCT3 D S 15 BI H 17 2 PCTUMRA 15 RESET PCTO WRO 31 xn PCS7 T17 X12 ui Fee 18 P02NMI PCSS 185 PasaNTPO PCS 29 FAINT V850ES KJ1 POMS H PO6 INTP3 PCM3 NLDRQ 25 P40 SIO0 RXD2 PCM2 HLDAK fF P41150004XD2 PCM1 CLKQUE 135 P4Z SCKO0O PCMONIAIL 1567 P30 TXDO TOD2 POSYLSA 77 P31 RXDONNTP7 TO0S PCS7 GS2 1587 P32IASCKD ADTRG TOO1 POStIOSi DD K P33 T1000 T000 TIPO0 TOPOO PCSOICSO z 1507 P34 T1001 TO00 TIPO FOPO1 PCD3 xr 31 P25motorroot PCD2 NF3 E CS Ed SS NFMGOR3T222 133 Ss 88 POISIAMSA LH EI 2 e 3 El dad m ER E EL E
21. NEC User s Manual QB V850MINI On Chip Debug Emulator Document No U17638EJ2VOUMOO 2nd edition Date Published July 2008 NS O NEC Electronics Corporation 2005 Printed in Japan MEMO 2 User s Manual U17638EJ2VOUM MINICUBE is a registered trademark of NEC Electronics Corporation in Japan and Germany Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and or other countries PC AT is a trademark of International Business Machines Corporation The information in this document is current as of July 2008 The information is subject to change without notice For actual design in refer to the latest publications of NEC Electronics data sheets or data books etc for the most up to date specifications of NEC Electronics products Not all products and or types are available in every country Please check with an NEC Electronics sales representative for availability and additional information e No part of this document may be copied or reproduced in any form or by any means without the prior written consent of NEC Electronics NEC Electronics assumes no responsibility for any errors that may appear in this document NEC Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of NEC Electronics products listed in this document or any other liability arising from the use
22. Note 4 Available e When DCK 10 MHz Resolution 200 nsec Max measurement time 7 min e When DCK 20 MHz Resolution 100 nsec Max measurement time 3 min 30 sec Not available Trace function Notes 1 The following devices can be emulated only with the in circuit method Not available V850ES KE1 V850ES KF1 V850ES KG1 V850ES KE1 V850ES KF1 V850ES KG1 V850ES KE2 V850ES KF2 V850ES KG2 2 The number of points is equal to that used for the ROM correction function of the target device This function cannot be used when the flash self programming function is used 3 Pseudo RRM Real time RAM Monitor Function that reads the contents of the memory during program DMM Dynamic Memory Modification 4 Not provided in the V850E SV2 execution Function that rewrites the contents of the RAM during program execution Users Manual U17638EJ2VOUM 13 CHAPTER 2 NAMES AND FUNCTIONS OF HARDWARE This chapter describes the part names and functions of the 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 the QB V850MINI and the self check board that will facilitate reading of subsequent chapters Also check the hardware while reading this chapter This way you may detect damage if any and this prevents adverse effe
23. Open Interface U18212E RX850 Ver 3 20 Real Time OS Basics U13430E Installation U17419E Technical U13431E Task Debugger U17420E RX850 Pro Ver 3 20 Real Time OS Basics U13773E Installation U17421E Technical U13772E Task Debugger U17422E AZ850 Ver 3 30 System Performance Analyzer U17423E PM Ver 6 00 Project Manager U17178E Caution The related documents listed above are subject to change without notice Be sure to use the latest version of each document for designing etc 6 Users Manual U17638EJ2VOUM CONTENTS CHAPTER 1 OVERVIEW ee ee A te eege di 9 DNA CASA 9 1 2 Before Using OB V850MIN ii 10 132 1 Package Contents miii ect ee Ede A tetuer t 10 1 2 2 Checking purpose for using OB VOPOMINT essen nennen neret nnns 11 R 1 3 Supported Ne ide 11 TA SPOCHICATIOMNS DEM LR 12 CHAPTER 2 NAMES AND FUNCTIONS OF HARDWARE ccs ccccseseeesesssceeeesesceneesesceneessecenens 14 2 1 Names of Parts in Main Unit eeeeeeeeee esses esee rr 15 2 2 Self Check Board Me S a 17 CHAPTER 3 ON CHIP DEBUGGING W0 ccccccccessceeeeeescceeeeescceeeeeeeeeensenceeseseseeesesesceeseseseeeseseeeenenseesenees 19 3 1 System Configuration iii a di iia 20 3 1 1 Standard system configuration enne carr carne 20 3 1 2 System configuration with non supplied connector on target system sesseeee 2
24. QB V850MINI are lit Figure 5 3 Connecting QB V850MINI to Host Machine 3 Startup of N Wire Checker Start the N Wire Checker using the Start menu etc Refer to CHAPTER 6 CAUTIONS for settings in the main dialog box Refer to the N Wire Checker user s manual for operations after startup 5 2 5 System shutdown Terminate self testing and shutdown the system in the following order 1 Terminate the N Wire Checker 2 Disconnect the USB cable from the host machine Caution If the above order is not observed the QB V850MINI or the self check board may be damaged 60 User s Manual U17638EJ2VOUM CHAPTER 6 CAUTIONS This chapter lists cautions on using the QB V850MINI Caution items are classified in the following three categories so refer to the relevant items OCD Cautions for performing on chip debugging IE Cautions for performing debugging with in circuit method SC Cautions for performing self testing Table 6 1 List of Cautions 1 3 Classification Caution Use of target devices 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 a
25. Set SW1 on the self check board to Self Check Connect the flash memory programmer to the FW1 connector on the self check board Caution To avoid signal conflicts do not connect the 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 Enter the settings for the flash memory programmer Figure 4 8 shows setting examples when using the PG FPL as the flash memory programmer Perform a chip erase operation After the chip erasure the security ID is set to OxFFFFFFFFFFFFFFFFFFFP Figure 4 8 Example of Settings for PG FPL 1 2 Standard Advance Parameter file 70F331 8 prm Host connection Supply oscillator Port coma y Frequency 8 00 MHz Speed a600 y Multiply rate f 00 Operation Mode E Chip Start ooo z I C Block End f 27 y C Area F Show Addrese Target Reset Message OK vt User s Manual U17638EJ2V0UM 55 56 CHAPTER 4 DEBUGGING WITH IN CIRCUIT METHOD Figure 4 8 Example of Settings for PG FPL 2 2 User s Manual U17638EJ2VOUM CHAPTER 5 SELF TESTING This chapter describes how to perform self testing of the QB V850MINI When the debugger does not operate normally this function can be used to determine whether the cause lies in the QB V850MINI or in other hardwa
26. al products nennen 46 4 2 3 List of optional product NaMes oonmccconinnccnnnnocnno soccer 47 WE WE DEE 48 4 3 1 Installation of So ET 49 4 3 2 Setting of QB V9bOMINI EE 49 4 3 3 ele e ue EE 49 User s Manual U17638EJ2VOUM 7 4 3 4 Switch settings sce dese geed SNE a wines intends dedi ieee eine 50 4 3 5 Mounting lee deele 51 4 3 6 Connection and startup of system ssssssssssssseeeeeeneeenn enne nenne nnren nenne nnnen nennt nente rennen enn 52 4 9 7 SI OU A ia 53 4 4 Default Setting vicio cada 53 Zb Cautions on Using Sockets coc didnt 54 4 5 1 Cautions on inserting removing sockets cceecceeeeeeeeneeeeeeeeeeeeseaeeeseeeeaeeesaeeseeeeeaeeeseeeseeeseeeeeieeeneeeeeaes 54 4 5 2 Causes of faulty contact of connectors and countermeasures for them cc csccceeesseeeeeeteeeessteeeseenees 54 46 Recovery Of Security ID iii 55 CHAPTER 5 SELF TESTING eni reete A A en ell 57 5 1 System Configuration cune Seege 57 A HE 58 5 2 4 Installation of Software eo dh RE a 59 5 2 2 Setting of QB V85bOMINI sien Saki d ni ei an A ania 59 5 2 3 Setting of selt checkeboard 1 uui ERROR TRUNG BEER 59 5 2 4 Connection and startup of system oooonncccnnccnoccconnncnoncnnonnnnnn conan cn nan n cnn canon nennen neret n rsen nennen nennen nnns 59 5 2 5 System shutdoWn s uito t deed E et nee E ane co tee ic
27. ard Remark AccessoryDisk contains the hardware user s manual this document In addition to the above items usage cautions that are not covered by this document or additional information on supported devices may be included depending on the time of purchase so also check for such items 10 User s Manual U17638EJ2VOUM CHAPTER 1 OVERVIEW 1 2 2 Checking purpose for using QB V850MINI There are mainly three purposes for using the QB V850MINI The system must be configured appropriately according to each usage purpose of the QB V850MINI so check the following and refer to the relevant chapter O To debug the target device mounted on the target system See CHAPTER 3 ON CHIP DEBUGGING O To debug V850ES Kx1 with in circuit method See CHAPTER 4 DEBUGGING WITH IN CIRCUIT METHOD O To perform self testing for faults in QB V850MINI See CHAPTER 5 SELF TESTING lt R gt 1 3 Supported Devices See the following MINICUBE Web site or document for the devices supported by the QB V850MINI QB V850MINI Web site http www necel com micro en development asia v850 minicube html support Document Document name Notes on Using QB V850MINI Remark The above mentioned document is posted on the QB V850MINI Web site User s Manual U17638EJ2VOUM 11 CHAPTER 1 OVERVIEW 1 4 Specifications This section describes QB V850MINI s hardware specifications and specifications for the debug function when using the ID850QB integrated debugger
28. are shown below The Applied to column indicates the chapter in each edition to which the revision was applied Edition 2nd edition Description Change of Documents Related to Development Tools User s Manuals in INTRODUCTION Applied to INTRODUCTION Addition of 1 3 Supported Devices Change of Table 1 2 Debug Function Specifications in 1 4 Specifications CHAPTER 1 OVERVIEW Change of 3 4 2 Cautions on target system design Change of 3 4 3 1 DCK Change of 3 4 3 7 a When not performing flash self programming 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 CHAPTER 3 ON CHIP DEBUGGING Addition of APPENDIX D REVISION HISTORY Users Manual U17638EJ2VOUM APPENDIX D REVISION HISTORY 71 For further information please contact NEC Electronics Corporation 1753 Shimonumabe Nakahara ku Kawasaki Kanagawa 211 8668 Japan Tel 044 435 5111 http www necel com America NEC Electronics America Inc 2880 Scott Blvd Santa Clara CA 95050 2554 U S A Tel 408 588 6000 800 366 9782 http www am necel com Europe NEC Electronics Europe GmbH Arcadiastrasse 10 40472 D sseldorf Germany Tel 0211 65030 http ww
29. ash memory from the ID850QB Number of signals for target power 1 supply detection Von Power supply to the target system Used for monitoring power supplied to the target system Number of GND signal lines depends on the target connector for OCD GND GND signal Number of signals for reset interface 4 RESET Used for system reset User s Manual U17638EJ2VOUM lt R gt Debug Function CHAPTER 1 OVERVIEW Table 1 2 Debug Function Specifications Specifications Target Microcontroller Internal ROM flash memory security function Microcontrollers other than those listed to the right 10 byte ID code authentication Note 1 V850E ME2 V850E2 ME3 Not available Event detection break function Break before execution or access break x 2 selectable Break before execution x 2 Break after execution x 2 Access break x 4 Software break function 2 000 points Among these points 0 to 8 points can be set to the internal ROM flash memory area at one time Note 2 Forced break function Available Execution function Go free run Start from Here Come Here Restart step execution Slow Motion Pseudo RRM DMM functions Available Mask function Reset non maskable interrupt hardware STOP request external bus hold request Register manipulation function Available Execution time measurement function
30. cations of the target device pull up this signal to high level as shown in Figure 3 6 Figure 3 6 DCK Pin Connection Example QB V850MINI Target system 3 8V 74LVC1T45 Voo Voo Target device DCK DCK DIR DMS This is the DCU mode selection signal The state machine in the DCU changes according to the level of the DMS signal This signal is sampled in synchronization with the rising edge of the DCK signal in the DCU Barring a problem arising from the specifications of the target device pull up this signal to high level The connection example for this signal is the same as that shown in Figure 3 6 DDI This is the data signal transmitted to the DCU This signal is sampled in synchronization with the rising edge of the DCK signal in the DCU Barring a problem arising from the specifications of the target device pull up this signal to high level The connection example for this signal is the same as that shown in Figure 3 6 DDO This is the data signal transmitted from the DCU This signal is output from the DCU in synchronization with the falling edge of the DCK signal Barring a problem arising from the specifications of the target device pull up this signal to high level The connection example for this signal is the same as that shown in Figure 3 6 User s Manual U17638EJ2VOUM CHAPTER 3 ON CHIP DEBUGGING 5 DRST 6 This is the reset signal for the DCU This is a negative
31. ce 2 Refer to 3 4 3 8 RESET 3 Refer to 3 4 3 7 FLMDO Users Manual U17638EJ2VOUM CHAPTER 3 ON CHIP DEBUGGING 3 5 2 MICTOR connector The MICTOR connector is conventionally supported as a target connector for OCD that supports the high speed trace interface Since the QB V850MINI does not support the high speed trace interface the MICTOR connector cannot be used unless combined with a third party emulator 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 Either of the following adapters is required for connection with the emulator e B 137 sold separately right angle type e B 137A sold separately straight type Remark B 137 and B 137A are products of Sumitomo Heavy Industries Mechatronics Ltd Figure 3 15 and Table 3 5 show the pin assignment and the pin functions of the MICTOR connector respectively Input output is indicated as seen from the target device Figure 3 15 MICTOR Connector Pin Assignment Diagram Target system GROUND ORIENTATION HOLE TOP VIEW 1 POSITION 1 2 POSITION 2 36 User s Manual U17638EJ2VOUM Signal Name GND CHAPTER 3 ON CHIP DEBUGGING Table 3 5 MICTOR Connector Pin Functions Description Connect to GND DCK Clock input Von Connect to Von for on chip debugging
32. cts on the system 14 User s Manual U17638EJ2VOUM CHAPTER 2 NAMES AND FUNCTIONS OF HARDWARE 2 1 Names of Parts in Main Unit The part names and functions of the QB V850MINI are described below Figure 2 1 Names of Parts in QB V850MINI a Main unit top view SW1 inside the unit 8 9Gr cl USB connector a OCD connector Screw LED b Left side c Right side 00000 00000 USB connector Screw OCD connector Users Manual U17638EJ2VOUM 15 16 1 2 3 4 5 CHAPTER 2 NAMES AND FUNCTIONS OF HARDWARE SW1 Switches used for performing the initial settings for the QB V850MINI They are set to OFF by default Refer to 3 2 2 Switch settings for details on the settings USB connector A connector used for connecting the USB interface cable OCD connector A connector used for connecting the OCD cable Screw A screw used for fixing the QB V850MINI main unit LED The meanings of each LED are listed below Display Name Lit Extinguished Meaning Lit The power supply to the QB V850MINI is on Extinguished The power supply to the QB V850MINI is off TARGET Lit The power supply to the target system is on Extinguished The power supply to the target system is off or the target system is not connected to QB V850MINI STATUS Lit The QB V850MINI is running Extingui
33. e before setting up the hardware Refer to the Setup manual supplied with the QB V850MINI for the procedures e USB driver e Debugger e Device file 3 2 2 Switch settings Set SW1 SW1 is mounted inside the QB V850MINI main unit Loosen the screw open the cover and then set Swi Change the SW1 setting only when all the following conditions are satisfied otherwise use the QB V850MINI with the default setting all OFF e A MICTOR connector is used as the target connector e A third party s emulator that supports the trace interface is used together with the 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 Users Manual U17638EJ2VOUM 23 CHAPTER 3 ON CHIP DEBUGGING 3 2 3 Connection and startup of system Connect and start the system in the following order 1 Connecting QB V850MINI to target system Connect the 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 Figure 3 3 Connecting QB V850MINI to
34. e memory contents from being read by an unauthorized person The ID code specifications are as follows Embed the ID code in the internal ROM flash memory in accordance with these specifications Input the ID code in the Configuration dialog box of the integrated debugger to execute ID code authentication before starting debugging reading the code of the internal ROM flash memory of the target device using the integrated debugger and the QB V850MINI ID code specifications e Addresses 0x70 to 0x79 are used as the 10 byte ID code e Bit 7 at address 0x79 is used as the N Wire emulator use enable flag use disabled if 0 and enabled if 1 e Debugging can be started if the ID code input in the integrated debugger and the ID code embedded in the internal ROM flash memory match e Even if the ID code matches debugging cannot be performed if the N Wire emulator use enable flag is O e When the flash memory is in the erased status the ID code is OXFFFFFFFFFFFFFFFFFFFF Examples 1 to 3 for setting the ID code as shown in the following table are described on the following page Address Value 7 0 The ID code input in the Configuration dialog box of the integrated debugger ID850QB is 123456789ABCDEF123D4 or 123456789abcdef123d4 If the QB V850MINI cannot be activated because the user has forgotten the ID code or has skipped setting the ID code erase the on chip flash memory using the flash programmer
35. equired for circuit design Read it along with the user s manual of the target device 3 4 1 Example of circuit design Figure 3 5 illustrates an example of the design of a target system circuit that is used to connect the QB V850MINI Details on each signal are described in 3 4 3 Target interface signals Figure 3 5 is just a connection example so refer to the user s manual of the target device for circuit design Figure 3 5 Circuit Connection Example QB V850MINI Von Target connector Target device Signal Name DCK DMS DDI A DDO DRST FLMDO Von RESET Outline of Signal Clock for the debug control unit DCU in the target device DCU mode selection signal Data signal transmitted to DCU Data signal transmitted from DCU DCU reset signal Flash programming mode setting signal System reset input signal Power supply The QB V850MINI uses this signal for detection of target system power supply 26 GND User s Manual U17638EJ2VOUM lt R gt CHAPTER 3 ON CHIP DEBUGGING 3 4 2 Cautions on target system design Note the following points when designing the target system circuits and the board 4 5 Keep the pattern length as short as possible Vop is used for detecting whether the target board is powered on so supply the same voltage as the target device pins to Vop See 3 4 3 6 Voo for details The DCK DMS
36. his product lt 6 gt OCD cable accessory lt 7 gt Connection adapter sold separately Note jue 8 Target connector sold separately 9 2 54 mm pitch 20 pin general purpose connector sold separately Note Aconnector other than KEL connectors can also be used as the target connector Refer to 3 5 Target Connectors for OCD for details User s Manual U17638EJ2VOUM 21 CHAPTER 3 ON CHIP DEBUGGING 3 2 Setup Procedure This section describes the QB V850MINI setup procedure to operate the QB V850MINI normally Perform setup using the following procedure Installation of software Install the USB driver integrated debugger device file 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 SW1 This step is not necessary when using a connector other than the MICTOR 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 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 22 User s Manual U17638EJ2VOUM CHAPTER 3 ON CHIP DEBUGGING 3 2 1 Installation of software Install the following software in the host machin
37. in Figure 3 11 Figure 3 11 FLMDO Pin Connection Example When performing flash self programming QB V850MINI Target system 3 8V 7ALVC1T45 Von Target device PORT R1 FLMDO FLMDO DIR R2 Remark Make R2 a resistance value that is at least ten times that of R1 When writing to the flash memory during a break when the FLMDO signal output from the QB V850MINI is left open and the port signal is connected to the FLMDO pin of the target device set the port output to high level such as by using the I O register window of the debugger For an operation other than writing to the flash memory set the port output to low level or set the port mode to input lt R gt c When the target device is not provided with an on chip flash memory The FLMDO pin is not required to be connected 8 RESET This is the system reset input signal The QB V850MINI controls the RESET signal as follows Figure 3 12 Timing Chart of RESET in QB V850MINI Von target system 1 2 1 1 1 1 1 1 1 1 Ed eme a de rias e ee eee D 1 1 1 1 1 1 Power application to target system 2 Before debugger startup 3 Debugger is running 4 After debugger termination 5 Power shutdown to target system Users Manual U17638EJ2VOUM 31 32 CHAPTER 3 ON CHIP DEBUGGING Connect the RESET signal as shown in Figure 3 13 if any of the conditions listed below
38. ing downloaded The 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 Input 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 Figure 6 1 shows the screen image for the above settings 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 62 Do not connect the target system when performing self testing User s Manual U
39. 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 the 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 O 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 ocom o o o o o o o ocw Specification of alternate function pin for on chip debug function Use as port peripheral function pin Use as on chip debug function pin Remark Initial value At RESET pin input OCDMO 1 After reset by POC OCDMO 0 After internal reset other than POC The OCDM register holds the value before reset Figure 3 13 RESET Pin Connection Example QB V850MINI Target system 3 3V 7ALVC1TA5 Voo Targe
40. k board accessory lt 8 gt Exchange adapter sold separately lt 9 gt Target connector sold separately A connector mounted on the target system Users Manual U17638EJ2VOUM 45 CHAPTER 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 Figure 4 2 System Configuration with Optional Products NEG ELECTRONICS lt 2 gt lt 3 gt Target system lt 1 gt Host machine With USB ports 2 D850QB Disk accessory Software tools for debugging are packaged lt 3 gt Device file Download the device file from the following NEC Electronics webpage URL http www necel com micro ods eng index html lt 4 gt USB interface cable accessory lt 5 gt QB V850MINI this product lt 6 gt OCD cable accessory 7 Self check board accessory 8 Check pin adapter sold separately An adapter used for monitoring waveforms with an oscilloscope etc 9 Coaxial type extension probe sold separately A cable used to extend the distance between the emulator and target system 10 Exchange adapter sold separately 11 Space adapter sold
41. k input GND Connect to GND DMS Transfer mode selection input GND GND DDI Data input GND Connect to GND DRST Reset input to on chip debug unit Kess IAJ A JOJN GND Connect to GND o RESERVE Open n GND Connect to GND N RESET Note 2 System reset input leave open when not used GND Connect to GND A A FLMDO Note 3 Flash mode input leave open when not used EP oa GND Connect to GND E o RESERVE Open ere A GND Connect to GND DDO Data output en Ke GND Connect to GND N o Von Connect to Von for on chip debugging for target system power ON monitoring Notes 1 As seen from the target device 2 Refer to 3 4 3 8 RESET 3 Refer to 3 4 3 7 FLMDO Users Manual U17638EJ2VOUM CHAPTER 4 DEBUGGING WITH IN CIRCUIT METHOD This chapter describes how to use the 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 self check board included with the QB V850MINI devices in 4 1 Target Devices can be debugged 4 1 Target Devices Debugging with the in circuit method can be performed using the QB V850MINI for the following target devices V850ES KE1 V850ES KF1 V850ES KG1 V850ES KJ1 V850ES KE1 V850ES KF1 V
42. kpoint 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 OCD 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 Users Manual U17638EJ2VOUM 61 Classification CHAPTER 6 CAUTIONS Table 6 1 List of Cautions 2 3 Caution Voo and EVpn are shorted on the self check board Therefore be sure to input the same voltage level to Von and EVop 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 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 the 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 The QB V850MINI and the flash memory programmer cannot be connected at the same time The QB V850MINI outputs a high level signal to the FLMDO pin while a program is be
43. logic signal for initializing the DCU asynchronously Barring a problem arising from the specifications of the target device pull down this signal to low level as shown in Figure 3 7 Figure 3 7 DRST Pin Connection Example QB V850MINI Target system 3 3V 74LVC1T45 Target device T DRST i DRST When the debugger is started the QB V850MINI drives the DRST signal to high level to start the DCU in the target device When the DCU is started a reset occurs in the CPU of the target device Therefore when debugging is started by starting up the debugger CPU reset always occurs DIR Vpp This signal is used for detecting Voo supplied to the target system When Vpn is within the range of 2 0 to 5 5 V the QB V850MINI judges that the power to the target system is being supplied and controls each signal for debugging If Voo is outside the range of 2 0 to 5 5 V the QB V850MINI judges that the power to the target system has not been supplied and the entire system is not configured normally and sets the DRST DCK DMS DDI FLMDO and RESET pins to the high impedance state regardless of the debugger s operating status Input Voo directly as shown in Figure 3 8 Figure 3 8 Voo Pin Connection Example QB V850MINI Target system 3 3V 74ALVC1T45 Von w User s Manual U17638EJ2VOUM 29 CHAPTER 3 ON CHIP DEBUGGING 7 FLMDO This is the flash programming mode setting signal The Q
44. lt Settings Table 4 3 Default Settings of Self Check Board Setting Description 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 A 32 768 kHz resonator is mounted at shipment Do not change the frequency Adapter SW1 is set to Self Check by default Refer to 4 3 4 Switch settings for how to set the switches Self Check Users Manual U17638EJ2VOUM 53 CHAPTER 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 4 5 1 4 5 2 TC Target connector EA Exchange adapter MA Mount adapter CA Check pin adapter SA Space adapter EP Extension probe Cautions on inserting removing sockets 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 Remove or insert the sockets in the correct direction see Figure 4 7 Be sure to hold the lower mating connector or board with your fingers when inserting or removing a socket Use a bamboo spit or similar object as a tool to remove the connector Insert the tool between TC and EA and remove TC in
45. nd 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 OCD 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 OCD The current consumption in the target device increases during debugging compared with that in normal operation mode because the OCD unit of the target device operates during debugging OCD 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 UO buffer port pin may enter the reset status depending on the target device when 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 OCD No break occurs in an interrupt service routine for an interrupt acknowledged during self programming even if an event brea
46. of such products No license express implied or otherwise is granted under any patents copyrights or other intellectual property rights of NEC Electronics or others e Descriptions of circuits software and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples The incorporation of these circuits software and information in the design of a customer s equipment shall be done under the full responsibility of the customer NEC Electronics assumes no responsibility for any losses incurred by customers or third parties arising from the use of these circuits software and information e While NEC Electronics endeavors to enhance the quality reliability and safety of NEC Electronics products customers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely To minimize risks of damage to property or injury including death to persons arising from defects in NEC Electronics products customers must incorporate sufficient safety measures in their design such as redundancy fire containment and anti failure features NEC Electronics products are classified into the following three quality grades Standard Special and Specific The Specific quality grade applies only to NEC Electronics products developed based on a customer designated quality assurance program for a specific application The recommended applications of an N
47. re 5 1 System Configuration Figure 5 1 illustrates the system configuration for performing self testing Figure 5 1 System Configuration for Self Testing lt 1 gt Host machine With USB ports 2 D850QB Disk accessory Software tools required for debugging are packaged 3 Device file Download the device file from the following NEC Electronics webpage URL http www necel com micro ods eng index html lt 4 gt USB interface cable accessory lt 5 gt QB V850MINI this product lt 6 gt OCD cable accessory 7 Self check board accessory Users Manual U17638EJ2VOUM 57 CHAPTER 5 SELF TESTING 5 2 Setup Procedure This section describes the QB V850MINI setup procedure to operate the QB V850MINI normally Perform setup using the following procedure Install the USB driver self testing tool device file etc in the host machine See 5 2 1 Installation of software Proceed to the next step if installation of software has already been completed Set the QB V850MINI s SW1 to the default setting See 3 3 Default Setting for the default settings of the QB V850MINI Set the self check board to the default setting See 4 4 Default Settings for the default settings of the self check board Connect the host machine 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 s
48. s Manual U17638EJ2VOUM Unit mm APPENDIX B 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 NEC Electronics webpage URL http www necel com micro english iecube index html Figure B 3 KEL Connector 8830E 026 170S Top View Side View 13 7 Figure B 4 KEL Connector 8830E 026 170L 31 64 La A c pus Top View i Side View vg 3 Users Manual U17638EJ2VOUM 67 Top View Side View Top View Side View Top View Side View 68 APPENDIX B EXTERNAL DIMENSIONS Figure B 5 MICTOR Connector 2 767004 2 25 4 DILL LD DILL GALA E UssUTUSUUTTUUTUGUUTU TTT GE 6 91 O 8 72 TUTTTTTTTTTUTUTUTUTU i ZS 1 35 7 34 Y t A Figure B 6 XF2E Connector XF2E 1515 1 15 6 3 95 0 45 User s Manual U17638EJ2VOUM APPENDIX C INTERNAL ROM FLASH MEMORY SECURITY FUNCTION A ten byte ID code authentication function is provided in the microcontrollers with internal ROM flash memory to prevent th
49. s Manual U17638EJ2VOUM 17 CHAPTER 2 NAMES AND FUNCTIONS OF HARDWARE 6 U1 The uPD70F3318YGJ is mounted 7 CN1 CN2 CN3 Connectors used for connecting the QB V850MINI to the target system An exchange adapter and a target connector are required separately 18 User s Manual U17638EJ2VOUM CHAPTER 3 ON CHIP DEBUGGING This chapter describes how to use the 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 alternate 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 for information on designing target system circuits Also refer to the user s manual for the target device Refer to 3 5 Target Connectors for OCD for the target connectors for OCD that can be mounted on the target board Users Manual U17638EJ2VOUM 19 20 CHAPTER 3 ON CHIP DEBUGGING 3 1 System Configuration This section describes the system configuration for performing on chip debugging 3 1 1 Standard system configuration The system shown below is configured with the components included with the QB V850MINI Figure 3 1 Standard System Configuration for On Chip Debugging l
50. separately An adapter used to adjust the height 12 Mount adapter sold separately An adapter used to mount the device in the socket 13 Target connector sold separately A connector mounted on the target system 46 User s Manual U17638EJ2VOUM CHAPTER 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 NEC Electronics webpage URL http www necel com micro english iecube index html Table 4 1 List of Optional Product Names 1 2 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 QB 144 CA 01 QB 144 EP 01S Check pin adapter Extension probe coaxial type QB 64 EA 01S QB 64 SA 01S QB 64GB MA 01S QB 64GB TC 01S QB 80GC EA 02S QB 80 SA 01S QB 80GC MA 01S QB 80GC TC 01S Exchange adapter QB 80GK EA 01S Space adapter QB 64GK MA 01S QB 64GK TC 01S QB 80GK MA 01S QB 80GK TC 01S Mount adapter Target connector Table 4 1 List of Optional Product Names 2 2 Target Device to Be Emulated V850ES KG1 V850ES KG1 100 Pin GC 100 Pin GF V850ES KJ1 V850ES KJ1 144 Pin GJ Check pin adapter QB 144 CA 01 Extension probe coaxial type QB 144 EP 01S Exchange
51. shed The QB V850MINI is in the break state or the debugger is not active User s Manual U17638EJ2VOUM CHAPTER 2 NAMES AND FUNCTIONS OF HARDWARE 2 2 Self Check Board The part names and functions of the self check board are described below 1 2 3 4 5 Figure 2 2 Part Names of Self Check Board FWiloooooooo 00000000 a OSC1 9g L 1 D LSAYIMN Adapter a Sel VEEEEEETEETTETTII Check Top View Bottom View NWIRE1 A connector used for connecting the QB V850MINI HIF3FC 20PA 2 54DSA made by Hirose Electric Co Ltd FW1 A connector used for connecting the flash memory programmer PG FP4 or PG FPL Connectable flash memory programmers e PG FP4 e PG FPL e FL PR4 made by Naito Densei Machida Mfg Co Ltd e FL LITE made by Naito Densei Machida Mfg Co Ltd swt 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 OSCH 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 OSC2 A resonator for the subclock A 32 768 kHz resonator is mounted at shipment The frequency cannot be changed User
52. sonator from the parts board of OSC1 and insert the relevant resonator as shown in Figure 4 3 Figure 4 3 OSC1 Setting Resonator uPD70F3318YGJ A 3 pin resonator with the capacitor can be inserted easily When using a resonator other than the 3 pin resonator 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 Users Manual U17638EJ2VOUM 49 CHAPTER 4 DEBUGGING WITH IN CIRCUIT METHOD 4 3 4 Switch settings For the 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 SW1 Setting Description Adapter Adapter mode A setting to set the mode for performing debugging with in circuit method This is the default setting of SW1 Self Check Self check mode A setting to set the mode for performing self testing This setting is also used to set the mode for writing to the PD70F3318YGJ on the 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 50 User s Manual U17638EJ2VOUM CHAPTER 4 DEBUGGING WITH IN CIRCUIT METHOD 4 3 5 Mounting target connector Mount the target connector on the target sy
53. stem 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 cylindrical 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 Figure 4 4 Target Connector Projection Diagram T 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 User s Manual U17638EJ2VOUM 51 CHAPTER 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 V850MINI to target system Connect the QB V850MINI to the target system using the exchange adapter and target connector
54. 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 O Inclusion of self check board Using the self check board that is supplied with the QB V850MINI the QB V850MINI can perform self testing for faults The self check board can also be used as the debug adapter for the V850ES KJ1 V850ES KG1 V850ES KF1 and V850ES KE1 Users Manual U17638EJ2V0UM 9 CHAPTER 1 OVERVIEW 1 2 Before Using QB V850MINI Be sure to confirm the package contents listed in this chapter before using the QB V850MINI To utilize this document effectively familiarize yourself with the usage purposes of the QB V850MINI described in this chapter 1 2 1 Package contents The QB V850MINI package contains the following items Make sure they are all included If there are missing or damaged items please contact an NEC Electronics sales representative or an NEC Electronics distributor The online user registration card serves both as a warranty and a license arrangement card so be careful not to misplace Be sure to perform user registration or else the one year warranty following purchase may be invalid Figure 1 1 Package Contents 1 QB V850MINI m m d 4 Self check board 5 KEL adapter 6 KEL connector 7 ID850QB Disk y Y 7 8 Accessory Disk 9 Online user 10 Setup manual J E 11 Details of package registration c
55. t 2 gt lt 3 gt Target device Target system lt 1 gt Host machine With USB ports 2 D850QB Disk accessory Software tools required for debugging are packaged 3 Device file Download the device file from the following NEC Electronics webpage URL http www necel com micro ods eng index html lt 4 gt USB interface cable accessory lt 5 gt QB V850MINI this product lt 6 gt OCD cable accessory lt 7 gt KEL adapter accessory lt 8 gt KEL connector accessory A connector mounted on the target system User s Manual U17638EJ2VOUM CHAPTER 3 ON CHIP DEBUGGING 3 1 2 System configuration with non supplied connector on target system The system shown below is configured with some components not included with the QB V850MINI Refer to this configuration when you want to use a non supplied connector as the connector to be mounted on the target system Figure 3 2 System Configuration When Using Non Supplied Connector Ce No NC x 1 lt gt na 2 3 9 8 l Target device Target device ar Y p e Y rd 4 5 6 P4 Target system Target system 1 Host machine With USB ports 2 D850QB Disk accessory Software tools required for debugging are packaged 3 Device file Download the device file from the following NEC Electronics webpage URL http www necel com micro ods eng index html 4 USB interface cable accessory lt 5 gt QB V850MINI t
56. t device BESET RESET DIR User s Manual U17638EJ2VOUM CHAPTER 3 ON CHIP DEBUGGING 3 5 Target Connectors for OCD A target connector for OCD must be mounted on the target system in order to connect the 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 lt R gt Table 3 3 List of Target Connectors for OCD Part Number and Manufacturer Target Connector Name Part Number Manufacturer KEL connector 8830E 026 170S included with QB V850MINI KEL Corporation 8830E 026 170L Adapter B 136 included with QB V850MINI Sumitomo Heavy Industries Mechatronics Ltd MICTOR connector 2 767004 2 Tyco Electronics AMP K K Adapter B 137 B 137A Sumitomo Heavy Industries Mechatronics Ltd XF2E connector XF2E 1515 1 OMRON Corporation Adapter B 140 XF2E 1515 1 included Sumitomo Heavy Industries Mechatronics Ltd SICA connector SICA2P20S05 5 units as a set Tokyo Eletech Corporation Adapter SICA2012P SICA2P20S x 1 included 2 54 mm pitch 20 pin general HIF3FC 20PA 2 54DS Hirose Electronic Co Ltd purpose connector HIF3FC 20PA 2 54DSA for example Adapter Not required User s Manual U17638EJ2VOUM 33 CHAPTER 3 ON CHIP DEBUGGING 3 5 1 KEL connector A KEL connector is a target connector included with the QB V850MINI
57. t s eae 60 CHAPTER 6 CAUTIONS e eee erra EENS 61 APPENDIX A SELF CHECK BOARD CIRCUIT DIAGRAMS s eeeeeeeeseeeree esee ene nennen 65 APPENDIX B EXTERNAL DIMENSIONS eeeeieeee ess nunne esee enne rn 66 B 1 QB VI OMIN oasis eebe Eege DEEN 66 B 2 Self Check Board E 66 B 3 Target Connectors for OCD ccssccssseesseeceseeesseeesseeseseeesseesaseeesseesnseeeneeeeseeeseeesneeesseeessueesneeesseeesseeesaeeeseseess 67 APPENDIX C INTERNAL ROM FLASH MEMORY SECURITY FUNCTION 69 Rs APPENDIX D REVISION HISTORY eei id eegen 71 8 User s Manual U17638EJ2VOUM CHAPTER 1 OVERVIEW The 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 The QB V850MINI can be connected to the host machine via 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 O N Wire interface Using JTA compliant N Wire interface the QB V850MINI can be used generally for V850E1 and V850ES Series microcontrollers with the on chip debug unit The QB V850MINI is a
58. t the SICA connector may not support third party 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 SICA20I2P sold separately Remark SICA20I2P is a product of Tokyo Eletech Corporation Figure 3 17 SICA Connector Pin Assignment Diagram Pin 19 Pin 1 SICA2P20S TOP VIEW ABE gp Target system gr TOP VIEW Pin 20 Pin 2 40 User s Manual U17638EJ2VOUM Signal Name GND CHAPTER 3 ON CHIP DEBUGGING Table 3 7 SICA Connector Pin Functions Description Connect to GND DCK Clock input GND Connect to GND DMS Transfer mode selection input GND GND DDI Data input GND Connect to GND DRST Reset input to on chip debug unit Kess IAJ A JOJN GND Connect to GND o RESERVE Open n GND Connect to GND N RESET Note 2 System reset input leave open when not used GND Connect to GND A A FLMDO Note 3 Flash mode input leave open when not used
59. 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 Causes of faulty contact of connectors and countermeasures for them Possible causes of faulty connector contact and countermeasures are listed below 54 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 If dirt gets inside the connector If dirt such as threads gets inside the connector defective conduction occurs Remove any dirt with a brush 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 User s Manual U17638EJ2VOUM CHAPTER 4 DEBUGGING WITH IN CIRCUIT METHOD 4 6 Recovery of Security ID This section describes how to recover from the case where the ID850QB cannot be activated because the user forgot the ID code or has skipped setting of the ID code when using the self check board Perform the following steps to recover from the above cases 1 Remove the self check board from the target system 2 3
60. tor is already mounted Connection and startup of system Connect the host machine QB 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 to shut down the system in the correct order 48 User s Manual U17638EJ2VOUM CHAPTER 4 DEBUGGING WITH IN CIRCUIT METHOD 4 3 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 e USB driver e Debugger e Device file 4 3 2 Setting of QB V850MINI Set the QB V850MINI to the default setting See 3 3 Default Setting for the default settings of the QB V850MINI 4 3 3 Clock settings The oscillation clock of the target device is set by the clock settings for the 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 re
61. using the QB V850MINI The readers of this manual are assumed to be familiar with the device functions and usage and to have knowledge of debuggers This manual is intended to give users an understanding of the basic specifications and correct usage of the QB V850MINI This manual is divided into the following sections e Overview e Names and functions of hardware e On chip debugging e Debugging with in circuit method e Self testing e Cautions It is assumed that the readers of this manual have general knowledge in the fields of electrical engineering logic circuits and microcontrollers This manual describes the basic setup procedures and how to set switches To understand the overall functions and usages of the QB V850MINI Read this manual according to the CONTENTS The mark lt R gt shows major revised points The revised points can be easily searched by copying an lt R gt in the PDF file and specifying it in the Find what field To know the manipulations command functions and other software related settings of the QB V850MINI See the user s manual of the debugger supplied with the QB V850MINI to be used Note Footnote for item marked with Note in the text Caution Information requiring particular attention Remark Supplementary information Numeric representation Binary xxxx or xxxxB Decimal xxxx Hexadecimal xxxxH Prefix indicating power of 2 address space memory capacity
62. w eu necel com Hanover Office Podbielskistrasse 166 B 30177 Hannover Tel 0 511 33 40 2 0 Munich Office Werner Eckert Strasse 9 81829 M nchen Tel 0 89 92 10 03 0 Stuttgart Office Industriestrasse 3 70565 Stuttgart Tel 0 711 99 01 0 0 United Kingdom Branch Cygnus House Sunrise Parkway Linford Wood Milton Keynes MK14 6NP U K Tel 01908 691 133 Succursale Francaise 9 rue Paul Dautier B P 52 78142 Velizy Villacoublay C dex France Tel 01 3067 5800 Sucursal en Espa a Juan Esplandiu 15 28007 Madrid Spain Tel 091 504 2787 Tyskland Filial Taby Centrum Entrance S 7th floor 18322 T by Sweden Tel 08 638 72 00 Filiale Italiana Via Fabio Filzi 25 A 20124 Milano Italy Tel 02 667541 Branch The Netherlands Steijgerweg 6 5616 HS Eindhoven The Netherlands Tel 040 265 40 10 Asia amp Oceania NEC Electronics China Co Ltd 7th Floor Quantum Plaza No 27 ZhiChunLu Haidian District Beijing 100083 P R China Tel 010 8235 1155 http www cn necel com Shanghai Branch Room 2509 2510 Bank of China Tower 200 Yincheng Road Central Pudong New Area Shanghai P R China P C 200120 Tel 021 5888 5400 http www cn necel com Shenzhen Branch Unit 01 39 F Excellence Times Square Building No 4068 Yi Tian Road Futian District Shenzhen P R China P C 518048 Tel 0755 8282 9800 http www cn necel com NEC Electronics Hong Kong Ltd Unit 1601 1613 16 F Tower 2
63. ystem See 5 2 5 System shutdown 58 User s Manual U17638EJ2VOUM CHAPTER 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 e USB driver e Self testing tool N Wire Checker for Note 2 e Device file Notes 1 The N Wire Checker is automatically installed when the ID850QB is installed 2 Download the DF703318 from the NEC Electronics website 5 2 2 Setting of QB V850MINI Set the QB V850MINI to the default setting when performing self testing See 3 3 Default Setting for the default settings of the 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 for the default settings 5 2 4 Connection and startup of system Connect and start the system in the following order 1 Connecting QB V850MINI to self check board Connect the QB V850MINI to the self check board using the OCD cable Caution Do not connect the QB V850MINI to the host machine at this time Figure 5 2 Connecting QB V850MINI to Self Check Board Users Manual U17638EJ2VOUM 59 CHAPTER 5 SELF TESTING 2 Connecting QB V850MINI to host machine Connect the QB V850MINI to the host machine using the USB interface cable After performing this connection confirm that LEDs POWER and TARGET on the

Download Pdf Manuals

image

Related Search

Related Contents

Monarc Resident Guide - Melbourne Real Estate  TORO 25 G15 ENGL-ITA  Grandstream Networks, Inc.  WD TV Live Hub Media Center User Manual  Website User Manual  Manual do utilizador do Nokia 6220 classic    HT-IDE3000 User's Guide for HT86 Voice Series    Samsung RF221NCTABC User's Manual  

Copyright © All rights reserved.
Failed to retrieve file