Oki Dr.63514 User Manual Download Page 83

Chapter 4.  Additional Usage Notes

4-8

6. RESETB terminal

Reset inputs to the RESETB pin can be enabled or disabled with commands. This pin can be set to use
either an internal pull-up resistor or and external pull-up resistor with the mask option function. Mask
option data settings in the Dr.63514 in-circuit emulator are implemented by defining the mask option
data allocation area at location 0FE2H (1FE2H) in code memory in the same manner as in the
ML63512/514.

RESET

Reset input to
evaluation chip

Reset signal from
main CPU

Reset switch
signal

30k

C

I/O

I/O

Mask option

RESET circuit

(LCA)

HC4066

VDD

MAX901

operational amplifier

10k

30k

10k

MAX901

AD826

D

CLK

Q

+

-

+

-

+

-

+

-

+

-

VDD

Figure 4-8  RESETB terminal

Also note that the input circuit discussed above have the following hysteresis characteristics.

Table 4-1  User interface circuit hysteresis characteristics

ML63512/514

Dr.63514

VIL

VIH

VIL

VIH

VDD=1.5V

0.3V

1.2V

0.3V

0.7V

VDD=3.0V

0.6V

2.4V

0.5V

1.6V

VDD=5.0V

1.0V

4.0V

0.8V

2.6V

Table 4-2  Hysteresis value (rated value)

ML63512/514(Typ.)

Dr.63514(Typ.)

VDD=1.5V

0.1V

0.40V

VDD=3.0V

0.5V

1.10V

VDD=5.0V

1.0V

1.80V

Summary of Contents for Dr.63514

Page 1: ...512 514 Program Development Support System Second Edition Feb 5 1999 This manual contains important information pertaining to the safe use of the above product Before using the product read these safe...

Page 2: ...e setup and operation of the Dr 63514 in circuit emulator the hardware portion of the Dr 63514 development support system for developing user application programs for Oki Electric s ML63512 514 of 4 b...

Page 3: ...r unusual physical or electrical stress including but not limited to exposure to parameters beyond the specified maximum ratings or operation outside the specified operating range 5 Neither indemnity...

Page 4: ...Table of Contents...

Page 5: ...2 Operation 2 6 2 3 Emulation Operation 2 8 2 3 1 Single Step Emulation 2 8 2 3 2 Real time Emulation 2 9 2 3 2 1 Breaks with Parameters 2 11 2 3 2 2 Breaks on Specific Conditions 2 16 2 3 2 3 Forced...

Page 6: ...tor 2 46 2 18 Power Supplies 2 47 Chapter 3 Setting Up and Starting Up 3 1 1 Setting up and turning on the Dr 63514 in circuit emulator 3 2 1 1 Device configuration 3 2 1 2 Switch and Jumper Settings...

Page 7: ...Preface...

Page 8: ...Product Inquiries Thank you for purchasing the Dr 63514 Development Support System Please direct any comments or questions that you may have about this product to your nearest Oki Electric Industry r...

Page 9: ...abel indicates precautions that if ignored or otherwise not completely followed could lead to personal injury or property damage Icons A triangular icon draws your attention to the presence of a hazar...

Page 10: ...isconnect all external power cords Continued use risks fire and electrical shock Do not use the product in an environment exposing it to moisture or high humidity Such exposure risks fire and electric...

Page 11: ...ccessories provided Using non compatible parts risks fire and breakdown Please read this page before using the product Caution Do not use the cables and other accessories provided with other systems S...

Page 12: ...only in KB kilobytes and KW kilowords 10 3 1000 10 3 10 6 10 9 second s Terms H level L level High signal level that is the VDD voltage level Low signal level that is the VSS voltage level Cross Refer...

Page 13: ...e emulator and its parts Chapter 2 Functions This chapter describes the functions of the emulator Chapter 3 Setting and Starting Up This chapter describes configuring the emulator and powering it up C...

Page 14: ...63514 development support system check the package contents against the Dr 63514 packing list Oki Electric has every confidence that the contents are both complete and undamaged Should a component be...

Page 15: ...Chapter 1 Overview...

Page 16: ...Chapter 1 Overview 1 2 1 Overview The Dr 63514 in circuit emulator supports the development of user application programs for the Oki ML63512 514 of CMOS 4 bit microcontroller...

Page 17: ...RS232C cable TCS DRIBM Probe cable TCX 63514 User cables TCU 63514 Accessories AC power cable TCP 2 This cable connects the host computer to the emulator This cable plugs into the probe cable connecto...

Page 18: ...mputer Dr 63514 In Circuit Emulator Dedicated debugger Probe cable User application system RS232C cable User cable AC power pack 2 Evaluation This configuration is for stand alone execution of the use...

Page 19: ...m Front view 74mm USR 186mm Left side view PROBE 20 21 19 MODE EVA EMU LOW HIGH PIN32 PIN28 t t XT SEL IN EXT 17 OSC SEL IN EXT 18 P O W E R R U N E R R O R V C H E C K H A L T 248mm Rear view DC 9V P...

Page 20: ...BACKUP Turns the backup function on or off 6 Reset switch RESET This switch resets the emulator and initializes its firmware 7 DC power input jack DC9V Jack for DC power input Connect the DC power ca...

Page 21: ...VDD the positive power supply voltage between internal and external sources 16 Evaluation emulation switch MODE This switches emulator operation between evaluation and emulation 17 Low speed clock swi...

Page 22: ...Chapter 2 Functions...

Page 23: ...ks Breaks with parameters Address break Address pass count break RAM data match break RAM address match break Internal ROM table data match break Internal ROM table address match break Breaks on speci...

Page 24: ...d A enabled operation under control of the 48 64 switch User interface cables Flat cables with 60 pins pitch 2 54 mm Comparator selection function Switches between comparator enabled and comparator di...

Page 25: ...a user interface for the package type ________________________________________________________________________________________________________________________________ n Note 4 n_______________________...

Page 26: ...ghest code memory address in the target microcontroller s ROM and thus the number of breakpoint bits trace enable bits instruction executed IE bits and sync out bits Enable and disable RAM and SFR add...

Page 27: ...ressed MODE switch Configuration EMU Emulation EVA Evaluation 2 2 2 Operation The evaluation configuration produces real time emulation of the user application program from EPROMs The two EPROM socket...

Page 28: ...________________________________________________________________ After starting a real time emulation if an area in which program execution is not possible an N area including the test data area is ac...

Page 29: ...ion and access these internal device components The pins that the evaluation chip shares with the volume production masked ROM version are connected to the user application system through the user cab...

Page 30: ...Real time Emulation Real time emulation runs nonstop or until there is a break from the following list Breaks with parameters Address break Address pass count break RAM data match break RAM address ma...

Page 31: ..._____________________________________________ Figure 2 3 shows the interaction between these break conditions and the break condition register BP TF CC XPPD PCRG Break request Break condition register...

Page 32: ...address has executed the specified number of times 100H 101H 102H 103H Specifying a break address of 103H and a count of 5 produces a break after the fifth execution of the MOV HL A instruction at add...

Page 33: ...writes and always return 1 and addresses with read only bits ________________________________________________________________________________________________________________________________ n Note 2...

Page 34: ...____________________ RAM address match breaks are available over the entire data memory address space even SFR addresses _______________________________________________________________________________...

Page 35: ...s 403H ROM table 400H 401H 403H 800H 801H 802H 404H 68H 53H 22H 33H 57H 28H NOP MOVHB HL 800H NOP NOP The break timing is not immediately after the instruction satisfying the break condition but an ad...

Page 36: ...address 200H b Address match Specifying a RAM address of 120H and a mask of 0FFF0H produces a match for all addresses from 120H to 12FH among others __________________________________________________...

Page 37: ...ied by program counter PC Breakpoint break request If these breaks are enabled execution of the instruction at that address produces a break request of this type n Note 1 n____________________________...

Page 38: ...ving the location of the next entry to be written within its 8192 entry trace table produces a break request of this type The emulator has room for 8192 trace entries 0 Trace information 1 2 3 4 8190...

Page 39: ...______________________________________ n Note 4 n________________________________________________________________________________________________________________ The cycle counter value after the brea...

Page 40: ...ing onto or popping from that stack during real time emulation produces a break request of this type n Note 7 n ________________________________________________________________________________________...

Page 41: ...memory address not physically present produces a break request of this type 0FFFFH 1000H 0FDFH 0000H N area Code memory area Code memory 2000H 1FDFH Test data area 4K words 8K words n Note 1 n_______...

Page 42: ...produces a break request of this type Real time emulation immediately terminates n Note 4 n ____________________________________________________________________________________________________________...

Page 43: ...pair of object files one for the upper 8 bits and another for the lower 8 bits Code Memory 16 bits Load Save Verify Disk Files xxx HXH higher 8 bits xxx HXL lower 8 bits Figure 2 4 Data Operations bet...

Page 44: ...___ 2 4 3 Displaying Changing Moving Code Memory Displaying changing code memory can be performed at the instruction code level or instruction mnemonic level Moving code memory can be performed at the...

Page 45: ..._________________ n Note 2 n________________________________________________________________________________________________________________ Changing the code memory expansion setting resets the evalu...

Page 46: ...hat number it recycles overwriting the oldest entry first 0 Trace data 1 2 3 4 8190 8191 Trace memory Trace signal 13 bit counter Trace pointer Overflow signal Trace memory full break request Trace en...

Page 47: ...a 4 In addition to the above the emulator also traces interrupt requests for post mortem analysis of interrupts during real time emulation 2 5 2 Real time Trace Control Real time tracing offers three...

Page 48: ...esses are traced unless limited with the trace enable bit option There are three possible trigger combinations a Specifying both a start and stop address Tracing starts when real time emulation visits...

Page 49: ..._______________________________________ The trigger fires just before execution of the instruction at the corresponding address so the instruction at the start address is traced but not the one at the...

Page 50: ...also repeat between such instructions _______________________________________________________________________________________________________________________________ n Note 6 n _______________________...

Page 51: ...mulation sets the corresponding IE bit to 1 Examining these bits then reveals which instructions were executed during the emulation 0000H 0001H 0002H 0003H 0004H Code memory Execution sets the IE bit...

Page 52: ...ions are counted 2 Free running count Instructions are counted for all code memory addresses 3 Trigger count All instructions between start and stop triggers based on code memory addresses are counted...

Page 53: ...at the stop address Counting covers from the MOV A 3H instruction at the start address through to the INCB HL instruction preceding the stop address Count start address Count stop address MOV A 3H MO...

Page 54: ...robe cable 51K 1 2 VDD Rising edge detection circuit External break request Figure 2 11 Break Signal Input A built in voltage conversion circuit converts the break EXT BRK input level of VDD the port...

Page 55: ...Level conversion Code memory Figure 2 13 Sync Out Bits A built in voltage conversion circuit converts the sync out SYNC OUT signal H level to VDD the positive power supply voltage 0 9 to 5 5 V for ou...

Page 56: ...4 Trace Inputs Built in voltage conversion circuits convert the trace PROBE0 to PROBE3 inputs to the internal H level from VDD the positive power supply voltage 0 9 to 5 5 V Input is latched at the be...

Page 57: ...XT or OSC Using the faster OSC clock signal however introduces the risk of losing synchronization with the lower XT during single step emulation or in the course of repeated breaks during real time em...

Page 58: ..._______________________________________________________________________________________________________________________ n Note 2 n _____________________________________________________________________...

Page 59: ...________________________________________________ User cable reset RESETB input is only relevant during evaluation and real time emulation It is always prohibited during single step emulation _________...

Page 60: ...written with commands 2 CLOCK Terminal In the ML63512 514 the following options can be specified in the mask options a crystal oscillator or an RC oscillator for the low speed clock an RC oscillator o...

Page 61: ...Figure 2 18 CMP Switch n Note 1 n________________________________________________________________________________________________________________ Since the P7 0 and P7 1 pin input port circuits are n...

Page 62: ...in the Dr 63514 in circuit emulator operating condition for the operating voltage Backup Switch 1 5 V internally or 0 9 to 1 8 V externally ON 1 8 to 5 5 V externally OFF ON OFF ON OFF BACKUP 38400 19...

Page 63: ...ator supports this difference with the 48 64 switch When the 48 64 switch is turned off the connections to the port 6 9 and A pins in the user cable are disconnected and signal I O is disabled Inverse...

Page 64: ...power supply VDD VDD SEL switch Internal power supply 1 5 V Figure 2 21 Operating power supply selection circuit The VDD SEL switch switches between internal and external power supply operation When...

Page 65: ...XT OUT signal This pin monitors the low speed XT clock signal to the evaluation chip 3 High speed clock OSC OUT signal This pin monitors the high speed OSC clock signal to the evaluation chip n Note 1...

Page 66: ...0bps OFF ON ON ON All other serial interface parameters are fixed 8 bits no parity 1 stop bit XON XOFF flow control n Note 1 n _________________________________________________________________________...

Page 67: ...revents correct operation 4 VCHECK This LED lights when power supply voltage falls below 0 7V in USR VDD pin 5 HALT This LED lights when the evaluation chip is in halt mode n Note 1 n_________________...

Page 68: ...e emulator can be used to provide the required 9 V DC power DC power jack DC 9V Caution Do not use any DC power supply other than the provided AC adapter Damage to the emulator or fire can result if p...

Page 69: ...Chapter 3 Setting Up and Starting Up...

Page 70: ...EEPROM so reconfiguration is only necessary when the target microcontroller changes Before using the utility set the SETICE switch at the rear of the emulator to its ON position the one for updating...

Page 71: ...the 51 200bps and 76 800bps speeds When turning on or resetting the Dr 63514 if an initialization message is not produced on the dedicated debugger s screen or a communication error occurs lower both...

Page 72: ...n turning on or resetting the Dr 63514 if an initialization message is not produced on the dedicated debugger s screen or a communication error occurs lower both the Dr 63514 baud rate setting and the...

Page 73: ...comparator usage Used function CMP switch Input ports OFF Comparator ON 8 BACKUP switch Set the BACKUP switch as follows according to the way the operating voltage is supplied Operating voltage usage...

Page 74: ...n_____________________________________________________________________________________________________ The host computer and the RS232C cable are not required when operating the emulator in evaluation...

Page 75: ...4 Turn on the power to the user application system 2 Evaluation mode 1 Turn on the power to the emulator 2 Wait for the emulator s POWER LED to light 3 Wait for the emulator s RUN LED to light 4 Turn...

Page 76: ...Chapter 4 Additional Usage Notes...

Page 77: ...I O characteristics differ from the corresponding pins in the ML63512 514 1 VDD VSS terminal The pins on the Dr 63514 in circuit emulator user cable operate at the voltage level between the VDD note...

Page 78: ...n channel open drain output can be selected port0 to 6 9 A port LCA 150k 100 HC4066 HC4066 HC4066 HC4066 port6 9 A VDD MAX901 operational amplifier 10k 30k 10k MAX901 AD826 D CLK Q VDD C I O I O C I...

Page 79: ...DD MAX901 operational amplifier 10k 30k 10k MAX901 AD826 port hysteresis circuit port7 0 7 1 port LCA 150k D CLK Q analog input ML63514 C I O I O 5V VDD 5V CMP ON OFF 150k HC4066 HC4066 HC4066 C I O I...

Page 80: ...refore the port circuit is automatically disconnected when the level detector is operating This will achieves level detector characteristics identical to those of the ML63512 514 150k VDD 5V C I O I O...

Page 81: ...IO C OFF ON 5V BACKUP Figure 4 5 ML63514 test mode circuit n Note 5 n_____________________________________________________________________________________________________ This BACKUP switch is comple...

Page 82: ...ut PORT Port 8 in the ML63512 514 is an n channel open drain port that can drive LEDs port circuit LCA port8 5V SN7407 Figure 4 6 Output port 5 MD terminal melody circuit LCA MD HC4066 HC4066 VDD C C...

Page 83: ...L63512 514 RESET Reset input to evaluation chip Reset signal from main CPU Reset switch signal 30k C I O I O Mask option RESET circuit LCA HC4066 VDD MAX901 operational amplifier 10k 30k 10k MAX901 AD...

Page 84: ...5 5V These selected clocks are output to user cable for monitoring These pins have output signal levels of 5V HC541 HC541 150K 150K External low speed clock USR OSC User cable USR XT User cable High...

Page 85: ...onditions Breakpoint break call stack overflow break register stack overflow break Breakpoint bits All 0 Unchanged Break status Dummy No break status Trace memory Blank Unchanged Trace condition All a...

Page 86: ...M2 M3 S1 S2 CLK M1 S1 PC Trace Latch Trace Write S1 S2 S1 S2 S1 S2 S1 S2 S1 S2 S1 S2 Figure 4 10 Trace Timing Chart M1 M1 M1 M2 M1 M2 M3 S1 S2 CLK M1 S1 PC Cycle Counter up Syncout clock S1 S2 S1 S2...

Page 87: ...RESET CYCLE RST 4Hz RESETremove Figure 4 12 Reset Timing Chart M1 S1 PC M1 M1 M1 M1 M1 M1 M1 S1 S2 CLK S1 S2 S1 S2 S1 S2 S1 S2 S1 S2 S1 S2 HLT HALT RTI Interrupt request INT n n 1 INT INT 1 INT 2 n 2...

Page 88: ...Appendices...

Page 89: ...user connector a 60 pin connector This user connector is connected to the user cable and used to connect to the user s application circuit polar key side 59 pin 60 pin 2 pin 1 pin The 60 pin connector...

Page 90: ..._______________________________________________________________________________________________________ The HIF3BA 60D 2 54R manufactured by Hirose Electronics Ltd is used as the user application circ...

Page 91: ...P0 2 INT2 49 53 6 P0 3 INT3 I O 4 bit input output port 40 54 7 P1 0 TIM0CAP TIM0OVF 41 55 8 P1 1 TIM1CAP TIM1OVF 42 56 9 P1 2 T0CK 43 57 10 P1 3 T1CK I O 4 bit input output port 44 58 11 P2 0 TBCCLK...

Page 92: ...rt 20 26 39 MD O melody output pin 36 46 40 RESETB I reset input pin 35 45 41 N C 42 USR XT I external low speed clock input pin 43 N C 44 USR OSC I external high speed clock input pin 45 N C 46 HALT...

Page 93: ...ow SYNC OUT 2 VSS 10 VSS 3 Brown PROBE1 11 Green EXT BRK 4 VSS 12 VSS 5 Red PROBE2 13 Blue VSS 6 VSS 14 VSS 7 Orange PROBE3 15 Purple VSS 8 VSS 16 VSS n Note 1 n_______________________________________...

Page 94: ...Appendices A 7 black brown red orange yellow green blue purple Figure A 4 Probe cable layout...

Page 95: ...C Cable Wiring Diagrams TCS DRIBM 9 9 pin cable 9 pin D SUB connector female 9 pin D SUB connector male 2 m Emulator 1 9 2 3 4 5 6 7 8 DCD RXD TXD DTR GND DSR RTS CTS RI 1 9 2 3 4 5 6 7 8 DCD TXD RXD...

Page 96: ...RTS CTS DSR F GND DCD DTR 1 20 2 3 4 5 6 7 8 N C Emulator n Note 1 n _______________________________________________________________________________________________________________ All pins other than...

Page 97: ...Appendices A 10 6 RS232C Interface Circuit RS232C connector Dr 63514 MSM82C51 UART TXD RXD DSR DTR CTS RTS 5V N C 2 3 4 6 7 8 1 5 9 MAX237 Level converters Figure A 5 RS232C interface circuit...

Page 98: ...ers commands for transferring EPROM contents to code memory Install an EPROM in its socket with the following procedure 1 Turn off the power to the emulator 2 Flip the lever beside the socket to its v...

Page 99: ...position of pin 1 differs for each type MSM27512 and compatible devices 64K 5 8 bits 28 pins MSM27101 and compatible devices 128K 5 8 bits 32 pins 1 MSM27512 Pin 32 28 t t Pin 1 Pin 14 Install with pi...

Page 100: ..._____________________________________________________________ n Note 2 n _______________________________________________________________________________________________________________ A user applicat...

Page 101: ...he cable connections All LEDs other than the HALT display LED light The emulator s main control CPU has detected a system bus error due to noise etc Restart the emulator The LEDs do not light The debu...

Reviews: