ST62GP-DBE STMicroelectronics, ST62GP-DBE Datasheet

no-image

ST62GP-DBE

Manufacturer Part Number
ST62GP-DBE
Description
DEDICATED BOARD FOR ST EMULATORS
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST62GP-DBE

Accessory Type
Emulator Adaptor
For Use With/related Products
ST62GP-EMU2
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ST62GP-EMU2
HDS2 Series Emulator
User Manual
Release 1.2
December 2000
Ref: DOC-ST62GP-EMU2

Related parts for ST62GP-DBE

ST62GP-DBE Summary of contents

Page 1

... ST62GP-EMU2 HDS2 Series Emulator User Manual December 2000 Ref: DOC-ST62GP-EMU2 Release 1.2 ...

Page 2

... USE IN LIFE SUPPORT DEVICES OR SYSTEMS MUST BE EXPRESSLY AUTHORIZED. STMicroelectronics PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF STMicroelectronics. As used herein: 1. Life support devices or systems are those which (a) are intended for surgical implant into ...

Page 3

... External signal input on OSCIN pin ............................................................ 40 5.5 Changing the oscillator on the probe board ................................................ 40 5.6 Emulator electrical characteristics .............................................................. 42 5.7 Status LEDs ................................................................................................ 42 5.8 Step mode advantages of the ST62GP-EMU2 ........................................... 42 5.9 Using the trigger outputs ............................................................................. 43 5.10 Using the analyzer probe ............................................................................ 44 5.11 Emulator functional limitations and discrepancies ...................................... 45 Table of Contents ...

Page 4

Appendix A: Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 5

... ST62GP-EMU2 Emulator User Manual 1 INTRODUCTION Thanks for choosing ST6! This manual will help you get started with the ST62GP- EMU2 emulator kit. The ST62GP-EMU2 Emulator Kit allows you to control the execution of programs that you have written for the ST62 series of MCUs and assists you in debugging your application hardware as well as your software ...

Page 6

... ST6 devices. In addition to the ST WGDB6 debugger, a third-party debugger, Raisonance’s WRKit Devopment Suite software package, is supported by the ST62GP emulator. This software is included in the MCU-on-CD CD-ROM provided with your emulator kit. ...

Page 7

... ST62GP-EMU2 Emulator User Manual 1.1 About this manual.... Detailed instructions on how to install your emulator configuration are described in Chapter 2: Getting Started How to install your software is described in page 19. Chapter 4: Tutorial using an example program. The emulator kit’s hardware features are described in Features on page 39. ...

Page 8

... Introduction 8/57 ST62GP-EMU2 Emulator User Manual ...

Page 9

... GETTING STARTED 2.1 Delivery checklist The following items are packed with the ST62GP-EMU2 (refer to • ST62GP-EMU2 box with two flat cables for connecting a probe. • One DB324/DIP probe board for use with ST6230, ST6218 and ST6228 target devices. • One DB324/SDIP42 probe board for use with the ST6232 target device. ...

Page 10

... Do not use other parallel interface cables, power adapters or other accessories with the ST62GP-EMU2. Flat Cables Power Cable Analyzer Probes SO Adapters SO16 SO20 Figure 1: ST62GP-EMU2 Emulator Kit Contents 10/57 ST62GP-EMU2 Emulator User Manual ST62GP-EMU2 Box Parallel Interface Cable 4 Probe Boards: DB324/DIP DB324/SDIP ...

Page 11

... To set up your emulator hardware, follow these steps: 2.3.1 Step 1: Connecting the emulator to your PC 1 Shut down and power off the PC that connected to the ST62GP-EMU2. 2 Ensure that both the ST62GP-EMU2 emulator and your application board are disconnected from their power supplies. 3 Connect the parallel interface cable supplied with the ST62GP-EMU2 emulator kit to a parallel connector on your PC (LPT1 or LPT2) ...

Page 12

... Table 1: Use of Probe Boards and Footprints 12/57 Fixed DIP Connector Probe Board DB448 with DIP16 footprint: interface to be added DB448 with DIP20 footprint: interface to be added DB448 with DIP28 footprint: interface to be added DB449 with DIP16 footprint: interface to be added ST62GP-EMU2 Emulator User Manual ...

Page 13

... ST62GP-EMU2 Emulator User Manual Target device ST6353C ST6260C ST6263C ST6255C ST6265C ST6230C ST6232C ST6235C ST6218 ST6228 Table 1: Use of Probe Boards and Footprints 2 Configure the probe board settings using the information in Jumper Setting W1 1-2 2-3 W2 1-2 Probe Board DB449 with DIP20 footprint: interface to be added ...

Page 14

... Getting Started 2.3.3 Step 3: Connecting the emulator to the probe 1 Remove the dedication board from the ST62GP-EMU2 enclosure as follows: a Completely loosen the two screws on the front panel of the dedication board (see Left Extractor Handle Screw Power Main Board ST6 HDS2 Emulator b Extract the board by placing your thumbs on the two handles and pressing them firmly outwards to loosen the board (see c Slide the board out gently and place static-safe surface ...

Page 15

... ST62GP-EMU2 Emulator User Manual 2 Connect the two flat cables between the dedication board and the emulator probe as follows (refer to a Connect one flat cable the probe board and J1 on the dedication board (see schema of dedication board in b Connect the other flat cable the probe board and J2 on the dedica- tion board ...

Page 16

... Getting Started 3 Slide the dedication board gently back in its slot in the ST62GP-EMU2, pressing it firmly into place. 4 Clip the two ferrites to the flat cables, positioning them as close as possible to each end of the flat cables (see J2 Connector Probe 2.3.4 Step 4: Powering up 1 Plug the power jack from the power adapter to the power connector on the ...

Page 17

... How to power on and off When powering on the emulator, always proceed in this order: 1 Power on the development PC. 2 Power on the ST62GP-EMU2. 3 Start WGDB6 and load your program. 4 Power on the application board. When turning off the emulator, proceed in the reverse order Getting Started Installing the Software on page 19 ...

Page 18

... Getting Started 18/57 ST62GP-EMU2 Emulator User Manual ...

Page 19

... ST62GP-EMU2 Emulator User Manual 3 WGDB6 3.1 Your system requirements To run/install the software provided on the MCU on CD CD-ROM, you must have a PC running either Microsoft 3.2 Installing WGDB6 and other ST6 software tools Your emulator comes with the MCU on CD CD-ROM which contains a number of ST6 software tools ...

Page 20

... A window pops up if you have not already installed this driver ( parstm.sys ). 7 Click OK. The following window appears: 8 Click Install. The following window appears: 9 Click OK, the installation is now complete. The following window appears. 10 Choose to read the Release Notes or start WGDB6, then click the Finish button. 20/57 ST62GP-EMU2 Emulator User Manual ...

Page 21

... ST62GP-EMU2 Emulator User Manual 3.3 Launching WGDB6 ® From Windows -> ST6 Tool Chain -> Development Tools, then choose Wgdb6 Emulator. Refer to the WGDB6 Windows Debugger for the ST6 Family User Manual for full instructions on how to use WGDB6. This manual is available in PDF format on the MCU on CD CD-ROM. ® ...

Page 22

... WGDB6 22/57 ST62GP-EMU2 Emulator User Manual ...

Page 23

... You can easily modify this example to work with other devices, because the hardware resources it uses can be found on all ST6 devices supported by the ST62GP-EMU2. To find out how to modify the program, refer to with ST62 devices other than the ST6265 The example program is located in the following directory: D:\Program Files\Stm\ST6toolchain\soft\6x-emu2\tutorial The file is called tutorial ...

Page 24

... This starts the software used for emulation. The About WGDB6 window (see Figure 8 ) pops up. Note: Do not click the “OK” button but wait for the communications link between the emulator and the synchronized. 24/57 Figure 8: About WGDB6 window ST62GP-EMU2 Emulator User Manual ...

Page 25

... ST62GP-EMU2 Emulator User Manual 3 After synchronization is completed, the Control Bar window (see pops up. 4 Once the WGDB6 is launched you can select a DBE family by selecting Commands-> DBE Family -> ST6xxx from the main menu. 5 After selecting the DBE family, select Commands -> Micro_Name..., the ...

Page 26

... Tutorial For example, the ST6265 emulator has the following Micro Configuration options: However, the ST6200 emulator has the following Micro Configuration options: 26/57 ST62GP-EMU2 Emulator User Manual ...

Page 27

... ST62GP-EMU2 Emulator User Manual The first option, frequency, is the same for all emulators. The options listed below this depend on the specific emulator. 8 Open the tutorial.hex file by selecting File -> Open from the main menu, and then browsing to D:\Program Files\Stm\ST6toolchain\soft\6x- emu2\tutorial where the tutorial.hex file is located. Double-click on the file to open it ...

Page 28

... Tutorial 1 In the Control Bar, click Windows -> Browser. The Browser window pops up (see Figure the Browser window, click the arrow next to Type, select data and click Apply. 28/57 ). Figure 12: Browser window ST62GP-EMU2 Emulator User Manual ...

Page 29

... ST62GP-EMU2 Emulator User Manual 3 Scroll through the symbols to find DDRB, click it once to highlight it and then click Add To Watch. This causes the Watch window (see displays the contents of DDRB to pop up the Watch window, click on DDRB and then Display, Base, Hexadecimal. This changes the DDRB register (because it is highlighted) from decimal to hexadecimal notation ...

Page 30

... DDRB register. 10 Click the Step button again. This loads the hexadecimal value 01h into the ORB register. 11 Click the Step button again. This loads the hexadecimal value 00h into the drbcopy register. 30/57 ST62GP-EMU2 Emulator User Manual ...

Page 31

... ST62GP-EMU2 Emulator User Manual We could continue this Stepping process and watch each register being loaded, as the instructions are executed one-by-one, but for the purposes of this tutorial we will leave the Stepping process and continue executing the program without stepping the tutorial.asm window, scroll down to the jrs instruction and click it once - this highlights the instruction in blue ...

Page 32

... Results: Look at the oscilloscope which is displaying the voltage level of pin PB0 and note that it has changed to high (5 V). The reason why it changed is because the last instruction that was executed changed PB0 from Output 32/57 Figure 16 ). Figure 16: Breakpoint encountered instruction which tests the zero bit of the drbcopy ST62GP-EMU2 Emulator User Manual ...

Page 33

... ST62GP-EMU2 Emulator User Manual Push-Pull with a “0” in its data register to Output Push-Pull with a “1” in its data register. Note: In the Watch window, the contents of the TSCR register is EFh in hexadecimal notation the Control Bar click the Step button. This resets the 7th bit of the TSCR register, making its value change to 6Fh ...

Page 34

... Hz PWM signal. This PWM will not stop until you click the Stop button in the Control Bar. Note: The Run button runs the code from the reset vector whereas the Cont button runs the code from the current Program Counter location (the last instruction that was executed). 34/57 ST62GP-EMU2 Emulator User Manual 0,drbcopy,lowbit ...

Page 35

... ST62GP-EMU2 Emulator User Manual 4.7 Conclusion Now that you have finished this tutorial, you can start stepping and running your own code in exactly the same way as we have done with the tutorial.asm program. You can customize your debug session by launching other windows from the Windows menu on the Control Bar such as: • ...

Page 36

... Tutorial If you have any questions please contact your local STMicroelectronics Microcontroller support person (refer to Figure 17: Stack, Registers and Dump windows 36/57 ST62GP-EMU2 Emulator User Manual Product Support on page 53). ...

Page 37

... ST62GP-EMU2 Emulator User Manual 4.8 Using the tutorial with ST62 devices other than the ST6265 You can easily modify the tutorial program to target a device other than the ST6265. You need only take into account the interrupt channel to which the timer is connected. Any other I/O port can be used for outputting signals. ...

Page 38

... Tutorial 38/57 ST62GP-EMU2 Emulator User Manual ...

Page 39

... ST62GP-EMU2 Emulator User Manual 5 EMULATOR FEATURES 5.1 Clock source The clock source can be configured by software on the dedication board and using jumpers W1 and W2 on the probe board. The clock source can also be configured from an oscillator on the: • Probe board, or • TTL signal input to the OSCIN pin of the probe. ...

Page 40

... The capacitors installed (470 pF, 1000 pF) have been tested with crystals in the range MHz; however, the results you obtain will depend on the characteristics of the crystal you use. These two capacitors can be modified. 40/57 Figure 18 Figure 18: Probe board layout ST62GP-EMU2 Emulator User Manual ). M74HC04 (drives user- installable oscillator) ...

Page 41

... ST62GP-EMU2 Emulator User Manual You can find these components in the following schematic Emulator Features 41/57 ...

Page 42

... This M74HC04 is always under power. To obtain 0 A power consumption on the probe board, remove the M74HC04 if you do not need it to drive an oscillator. 5.7 Status LEDs Three LEDs on the front panel of the ST62GP-EMU2 show the user the state of the emulated ST62 device as follow: Stop Wait On ...

Page 43

... ST62GP-EMU2 Emulator User Manual The SPI data register operates at full speed even in Step mode. For example, if you load the Data register in Step mode, the value will be output immediately on the pin. 5.9 Using the trigger outputs Two connectors for trigger output signals are available on the front panel of the ST62GP-EMU2 ...

Page 44

... OUT2 Figure 20: Timing Measurement Mode 5.10 Using the analyzer probe The ST62GP-EMU2 has an input connector for external signals which can be used to capture signals from your application hardware to be used as logical conditions for conditional breakpoints. Figure 21: Analyzer Probe Connector Pin Assignment By connecting the analyzer probe to various test points on your application board, ...

Page 45

... Click OK. These signals must be connected on the Lp (Logic Probe) pins of the Analyzer probe connector on the front panel of the ST62GP-EMU2. The inputs are CMOS compatible For more information on breakpoints, refer to the WGDB6 manual or to the WGDB6 on-line help. ...

Page 46

... When this option is selected the OSG and LFAO frequencies are fixed as follows 2 3 4 Note: The OSG and LFAO frequencies of the ST62GP-EMU2 are fixed relative to V real devices the OSG and LFAO frequencies may vary depending on both V temperature. 5.11.3 Optional external RC network (OSCIL) Not supported by the emulator. Note: The restrictions above should not prevent you from fully debugging your software, although you will not be able to test these features using the emulator ...

Page 47

... If the problem persists, save any work files, delete the directory c:\Program Files\Stm\St6toolchain\soft and re-install WGDB6. Check that the ST62GP-EMU2 is powered on, and that the emulator boards are fully inserted in their slots. Close WGDB6 and restart Windows. This message can occur if WGDB6 is installed over an existing version ...

Page 48

... LPT1 or LPT2 port on your PC is not compatible with the ST62GP-EMU2. This is a problem with some Windows 95/98 PCs but usually not with Windows NT PCs. ...

Page 49

... Dedication board A dedication board is one of the two boards installed in the enclosure of the ST62GP-EMU2 the part of the emulator that is specific to a set of ST6 devices. It emulates the RAM, EEPROM, oscillator, timers, watchdog, ADC, SPI and I/Os connected to the probe board by two flat cables. The ST6 HDS2 emulator is available in specific versions that support a group of ST6 devices ...

Page 50

... Emulator enclosure with only the main board installed. Main board The main board is the board installed in the bottom slot of the ST62GP-EMU2. It emulates the ST6 program memory, and contains the breakpoint logic, trace memory and all the logic needed for realtime emulation. ...

Page 51

... The ST6 HDS2 Series is a generic name covering several emulator versions each of which have a specific dedication board to support a set of ST6 devices. ST62GP-EMU2 The ST62GP EMU2 is the order code of this specific ST6 HDS2 emulator version with a dedication board for the ST620x, ST621x, ST622x, ST623x, ST625x, ST626x and ST6218/28 device families. ...

Page 52

... Appendix B: Glossary 52/57 ST62GP-EMU2 Emulator User Manual ...

Page 53

... ST62GP-EMU2 Emulator User Manual PRODUCT SUPPORT If you experience any problems with this product or if you need spare parts or repair, contact the distributor or ST sales office where you purchased the product: Getting prepared before you call Collect the following information about the product before contacting ST or your ...

Page 54

... Sydney (61-2) 9580 3811 Taipei (886-2) 2378-8088 Software updates You can get software updates from the ST Internet web site http://mcu.st.com. For information on firmware and hardware revisions, call your distributor or ST using the contact list given above. 54/57 ST62GP-EMU2 Emulator User Manual ...

Page 55

A A/D Converter Input Pins .................................. 46 assignment connector pin ............................................ 44 B board application................................................. 11 dedication.................................................... 6 removal ............................................. 14 main ............................................................ 6 probe......................................................... 40 C cable parallel interface........................................ 11 Clock Source..................................................... 39 connections emulator to PC .............................. 11, ...

Page 56

T troubleshooting ................................................. 47 TTL signal input ................................................ 39 tutorial.asm ....................................................... 24 V voltage measurement ....................................... 42 56/57 Index WAIT mode....................................................... 46 WGDB6 starting ...................................................... 21 Windows 3.x ..................................................... 19 Windows 95 ...

Page 57

... No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. ...

Related keywords