background image

 

To our customers, 

 

Old Company Name in Catalogs and Other Documents 

 

On April 1

st

, 2010, NEC Electronics Corporation merged with Renesas Technology 

Corporation, and Renesas 

Electronics Corporation 

took over all the business of both 

companies. 

Therefore, although the old company name remains in this document, it is a valid 

Renesas 

Electronics document. We appreciate your understanding. 

 

Renesas Electronics website: http://www.renesas.com 

 
 
 
 

April 1

st

, 2010 

Renesas Electronics Corporation 

 

 
 
 
 

Issued by: 

Renesas Electronics Corporation

 (http://www.renesas.com) 

Send any inquiries to http://www.renesas.com/inquiry. 

 

Summary of Contents for QB-78K0MINI

Page 1: ...ok over all the business of both companies Therefore although the old company name remains in this document it is a valid Renesas Electronics document We appreciate your understanding Renesas Electron...

Page 2: ...t for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas...

Page 3: ...User s Manual QB 78K0MINI On Chip Debug Emulator Document No U17029EJ3V0UM00 3rd edition Date Published March 2005 NS CP K 2004 Printed in Japan...

Page 4: ...User s Manual U17029EJ3V0UM 2 MEMO...

Page 5: ...ity 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...

Page 6: ...on cable or the like was bent or pulled excessively If the product got wet If the product and target system were connected while a potential difference existed between the GND of the product and the G...

Page 7: ...al has general knowledge in the fields of electrical engineering logic circuits and microcontrollers This manual describes basic setup steps and switch settings To learn more about the basic specifica...

Page 8: ...RAM contents during execution of a program Related Documents When using this manual also refer to the following manuals The related documents indicated in this publication may include preliminary ver...

Page 9: ...78K0MINI equivalent circuit 21 3 3 Target Reset Processing 22 3 4 Target Connectors 24 3 5 Connection Circuit Examples 25 3 6 Connections and Startup Procedure 27 3 6 1 Mounting clock 27 3 6 2 Connec...

Page 10: ...es communications that use port pins other than X1 and X2 Uses flash self programming function to enable downloading of programs to flash memory Does not require an external power supply power is supp...

Page 11: ...nsumption by target circuit Supervisor V850ES KG1 20 MHz operation Temperature characteristics 0 to 40 C Storage temperature 15 to 60 C no condensation Table 1 2 Target Interface Specifications Item S...

Page 12: ...ns 10 byte ID code authentication Event triggered break functions One break before execution zero if using a software break One access break Software break functions 2000 points Forced break functions...

Page 13: ...B A supplied with this product 3 QB 78K0MINI this product 4 Connection cable for QB 78K0MINI supplied with this product 5 Target connector for QB 78K0MINI 10 pin general purpose connector 2 54 mm pit...

Page 14: ...QB 30MC NQ 01T Note 1 sold separately 7 CD ROM supplied with this product Integrated debugger ID78K0 QB USB device driver OCD Checker auto diagnostic program Documents 8 Device filesNote 2 Notes 1 QB...

Page 15: ...B A supplied with this product 3 QB 78K0MINI this product 4 Connection cable for QB 78K0MINI supplied with this product 5 Self check board QB 78K0KX1H TB supplied with this product 6 CD ROM supplied w...

Page 16: ...t and return enclosed user registration form Figure 1 5 Package Contents 1 QB 78K0MINI 2 USB interface cable MINI B A 3 Connection cable for QB 78K0MINI 4 ID78K0 QB Disk 6 User registration form 7 Set...

Page 17: ...r provides the names of the QB 78K0MINI s parts 2 1 Names of Parts in Main Unit Figure 2 1 Main Unit Top View S T A T U S P O W E R T A R G E T Screw LED Figure 2 2 Main Unit Side Views a Left side b...

Page 18: ...CHAPTER 2 NAMES OF PARTS User s Manual U17029EJ3V0UM 16 Figure 2 3 External View of Board CN1 LED1 JP1 LED3 LED2 CLK1 USB1...

Page 19: ...B 78K0MINI to the target system must be created For details see the target device s user s manual Remark Since the environment used for on chip debugging is the same as the actual debugging environmen...

Page 20: ...onfigure oscillation circuit Be sure to use the manufacturer s recommended values for constants of the capacitors and resistors to be mounted Caution Be sure to turn off the QB 78K0MINI s power supply...

Page 21: ...IN Target reset input 2 RESET_OUT OUT Target CPU reset output 3 FLMD0 OUT 4 VDD_IN IN Target power supply detection 5 X2 IN OUT N CH connection for TXD and RXD 6 GND 7 X1 OUT Clock supply 8 GND 9 RES...

Page 22: ...er supplied from host machine OFF 3 2 Signal Functions of Target Interface 1 RESET_IN This is the target s reset input signal 2 RESET_OUT This is a reset signal output to the target device 3 VDD_IN An...

Page 23: ...surement by timer IN function Clock measurement by timer OUT function Clock output switch 14 pin oscillator or oscillation circuit C R X TAL RESET_OUT RESET_IN VDD_IN X2 5 V 74VHC125Note 74LV07 GND 74...

Page 24: ...b With this chip Short pins 1 and 2 target connector for QB 78K0MINI as is shown in Figure 3 2 Figure 3 2 Jumper Setting RESET Reset circuit Target device 1 2 9 10 2 When using selector logic auto sw...

Page 25: ...78K0MINI in which case a lack of drive capacity in the circuit where the reset occurs may prevent proper detection of the reset A reset circuit example is shown below Buffer Correct circuit example T...

Page 26: ...Remark 1 RESET_IN IN Target reset input signal 2 RESET_OUT OUT Reset signal output to target device 3 FLMD0 OUT Output signal Note used to control on chip debugging functions 4 VDD_IN IN This signal i...

Page 27: ...0MINI target connector P31 Note 2 FLMD0 X1 X2 Target reset RESET IN X2 X1 FLMD0 RESET VDD RESET OUT GND Shorted by jumper GND Note 1 Note 1 Notes 1 Connect a pull down resistor of 470 or higher 2 When...

Page 28: ...Ports A and B Note 1 Are Used QB 78K0MINI target connector VDD Target device P32 Note 3 FLMD0 P31Note 3 X2 Target reset RESET IN X2 X1 FLMD0 RESET VDD RESET OUT GND X1 GND Note 2 Note 2 Notes 1 The p...

Page 29: ...ns and Startup Procedure 3 6 1 Mounting clock The following describes mounting the clock to be supplied to the target system in the QB 78K0MINI 1 Loosen the QB 78K0MINI s screw 2 Remove the cover Use...

Page 30: ...17029EJ3V0UM 28 The product appears as shown below when the cover has been removed 3 Insert an oscillator or oscillation circuit Insert an oscillator or oscillation circuit for the clock to be supplie...

Page 31: ...NCTIONS User s Manual U17029EJ3V0UM 29 4 Replace the cover Make sure that the cover is aligned with the two tabs on the interface connector side 5 Close the cover and tighten the screw This completes...

Page 32: ...lated device be sure to install the integrated debugger ID78K0 QB USB driver OCD Checker and device files in the host machine 1 Attach the QB 78K0MINI connection cable QB 78K0MINI side Align the ridge...

Page 33: ...ck board or target system side Align the ridge in the QB 78K0MINI connection cable s socket with the groove in the target connector on the self check board or target system side for preventing reverse...

Page 34: ...DWARE SETTINGS AND FUNCTIONS User s Manual U17029EJ3V0UM 32 3 USB interface cable connection QB 78K0MINI side Connect the USB interface cable s MINI B connector to the QB 78K0MINI s USB connector MINI...

Page 35: ...HARDWARE SETTINGS AND FUNCTIONS User s Manual U17029EJ3V0UM 33 4 USB interface cable connection host machine side Connect the USB interface cable s A connector to the host machine s USB port A connec...

Page 36: ...When using a self check board After connecting the USB interface cable to the host machine turn on the power to the QB 78K0MINI and the self check board the QB 78K0MINI s TARGET and POWER LEDs are ON...

Page 37: ...8K0MINI s POWER LED is ON the QB 78K0MINI s power is ON and the target system s power is OFF When turning on the power to the target system POWER LED is ON the QB 78K0MINI s power is ON and the target...

Page 38: ...board 3 7 Pin Statuses at Power on Table 3 1 lists the statuses of pins at power on However when the USB interface cable is not connected if the target voltage does not start up right away VDD less t...

Page 39: ...ith a GND pattern Before shipping the product use jumpers or other means to physically separate the X1 and X2 pins from the target connector in order to ensure normal clock oscillation When debugging...

Page 40: ...hecking operation in this way be sure to refer to the self check board circuit diagram shown in Figure 4 1 When downloading user programs if any of the restrictions described below in chapter 5 have b...

Page 41: ...TO01 P10 SCK10 TXD0 P11 SI10 RXD0 P12 SO10 P13 TXD6 P14 RXD6 P15 TOH0 P16 TOH1 INTP5 P20 ANI0 P21 ANI1 P22 ANI2 P23 ANI3 P24 ANI4 P25 ANI5 P26 ANI6 P27 ANI7 P30 INTP1 P31 INTP2 portA P32 INTP3 portB...

Page 42: ...the flash programmer side Figure 4 2 3 Wire Serial I O Type With Handshaking Self check board FP1 connector Flash programmer 8 HS P15 HS 1 VSS EVSS AVSS 2 RESET 5 SO10 P12 3 SI10 P11 7 SCK10 P10 4 VDD...

Page 43: ...CHAPTER 4 CAUTIONS ON USE OF SELF CHECK BOARD User s Manual U17029EJ3V0UM 41 2 Enter the settings for the flash programmer Figure 4 3 Example of Settings for PG FP4 3 Perform a chip erase operation...

Page 44: ...ure 5 1 Timing of Target Reset RESET_OUT RESET_OUT RESET_IN when longer than 50 s RESET_IN when shorter than 50 s 15 s 50 s 25 s When setting to on chip debugging mode via the normal port without usin...

Page 45: ...rogram is executed Consequently the QB 78K0MINI always operates on the main clock during a break A fail safe break Uninitialize Stack Pointer a break that occurs due to a failure to perform stack poin...

Page 46: ...s displayed in the Memory window in order to prevent errors that occur by changing the value Uploaded data is also displayed as 0xFF In addition on chip debugging cannot be performed on these areas af...

Page 47: ...ID of addresses 0x85 to 0x8E can be changed in the Memory window etc If addresses 0x85 to 0x8E are overwritten by self programming communication is disabled after reset and debugging can no longer be...

Page 48: ...is displayed by selecting About form the Help menu in the ID78K0 QB 11 GUI operability The flash memory is overwritten when an operation described in 9 Overwriting flash memory during on chip debuggin...

Page 49: ...failure becomes invalid z Setting a software break z Write to the stack pointer from the Register window z Write to the flash memory from the Memory window etc If a software break occurs while the ini...

Page 50: ...h OCD Control Code V1 xx is displayed by selecting About from the Help menu in the ID78K0 QB 19 Caution on performing step execution Some peripheral registers remains stopped during step execution In...

Page 51: ...RUN as is 2 The priority ISP value of interrupts which occur during period B shown in 21 while RRM data are being collected is the same as that immediately before RRM is started 3 When RRM is used th...

Page 52: ...fer to the user s manual of the device used for the address and function is performed as follows When QB 78K0MINI is connected The option byte setting reflected in emulation The following shows a soft...

Page 53: ...INI 00b use prohibited any other value use enabled If the ID code input to the integrated debugger matches the ID code embedded in the on chip flash memory debugging can be performed Even if these two...

Page 54: ...ing debugger 3 6 Connections and Startup Procedure Addition and change of description CHAPTER 3 HARDWARE SETTINGS AND FUNCTIONS Second Addition of CAPTER 4 CAUTIONS ON USE OF SELF CHECK BOARD CHAPTER...

Reviews: