background image

ST7MDTU3-EMU2B Emulator User Manual

Product Support

61/63

-

SMB kneed range

Ref.: 114165 for cable 2,6.

Ref.: 114163 for cable 4,2.

-

SMB to BNC range

Ref.: 191214. Adapter SMB female / BNC male.

Ref.: 191215. Adapter SMB female/ BNC female.

USA manufacturer

R-Tek

and product references

411 Quentin Road

Palatine, IL 60067

Phone: (847) 934-7900

Fax: (847) 934-7946

Adaptable female connector part numbers:

-

CCAX00168-2: cable length 2 ft, with SMB plug to BNC plug.

-

CCAX00168-3: cable length 3 ft, with SMB plug to BNC plug.

Yamaichi sockets

You can order additional Yamaichi QFP sockets directly from Yamaichi at:

http://www.yamaichi.de/Pu/quad_flat_pack/spec/a21-ic149.htm

Summary of Contents for HDS2 Series

Page 1: ...ST7MDTU3 EMU2B HDS2 Series Emulator User Manual Release 1 1 January 2002 Ref DOC ST7MDTU3 EMU2B...

Page 2: ...e which a are intended for surgical implant into the body or b support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided with the product...

Page 3: ...STVD7 18 3 3 About STVD7 debugging features 19 3 4 Workspaces 20 3 5 Toolchains and application files 21 3 6 Creating a workspace 24 3 7 Opening an existing workspace 26 3 8 Opening files directly for...

Page 4: ...cies 51 Appendix A Troubleshooting 53 A 1 Identifying the Problem 53 A 2 Changing the Parallel Port Setup on Your PC 53 A 3 Running the Hardware Test 54 Appendix B Glossary 57 Product Support 59 Getti...

Page 5: ...ardware Development System ST7 HDS2 which is the common mainframe to all ST7 emulators The ST7MDTU3 Active Probe dedicated to the family which constitutes the physical link between the emulator and yo...

Page 6: ...ed so that you can connect the emulator to your application board Figure 1 ST7MDTU3 EMU2B General Configuration 1 2 Emulator Operation A symbolic debugger ST7 Visual Debug also referred to as STVD7 is...

Page 7: ...the Emulator Kit The MCU on CD CD ROM contains ST7 Tools comprising the following software The source level graphic debugger ST7 Visual Debug that operates with ST7 HDS2 Emulators and ST7 Development...

Page 8: ...ST7 Family 8 bit MCUs Product Overview Ref BKST7 2 Software Tools for the ST7 Family Ref Doc ST7ASMLK SW ST7 Family Programming Manual 1 6 Getting Assistance For more information application notes FA...

Page 9: ...ery Checklist The emulator kit ref ST7MDTU3 EMU2B is delivered with the following refer to Figure 2 1 One emulator box containing the ST7 HDS2 main board ref MB176 and two 50 wire flat cables to conne...

Page 10: ...ill have to follow these general steps explained in detail later 1 Connect the ST7 HDS2 emulator to your PC using the parallel cable provided 2 Connect the two flat cables of your ST7 HDS2 emulator to...

Page 11: ...Connect one end of the parallel cable to the emulator s rear panel 25 pin SUB D connector and the other end to one of the PC s parallel ports LPT1 to LPT2 refer to Figure 4 Note Centronics or PC AT or...

Page 12: ...tion and the emulator are powered off 2 Plug the two 50 wire flat cables into the J1 and J2 connections on the probe as described below refer also to Figure 5 Figure 4 Connecting the Emulator to the P...

Page 13: ...illustration of where to attach the ferrites Step 3 Connecting the Probe to your Application Board Emulated devices of the ST7MDTU3 family are available in two packages Each package has its own conne...

Page 14: ...ur application follow these steps see Figure 7 1 Solder the SO34 device adapter ref DB354 DB355 to your application board 2 Connect the joined generic probe ref DB467 and ST72F63 TEB ref DB465 to the...

Page 15: ...nect the external power supply provided with the emulator to the rear panel of the mainframe using a 5 pin DIN connector 2 Plug the power supply into the mains using the supply cable provided Mains vo...

Page 16: ...ries ST7 Visual Debug also known as STVD7 is the STMicroelectronics debugger currently supporting the ST7 HDS2 emulator Third party debuggers supporting the ST7 HDS2 emulator include the following ST7...

Page 17: ...to debug more accurately and efficiently 3 1 Installing STVD7 Your emulator comes with the MCU on CD CD ROM which contains a number of ST7 software tools These tools run under the Windows 95 98 2000...

Page 18: ...and or the Assembler Linker As a minimum in order to emulate your application with your emulator you must install STVD7 for HDS2 If you also install the ST7 Assembly Toolchain you will be able to use...

Page 19: ...Trace window to view the contents of the trace buffer which permanently records in real time on 32 bits Address and data bus information Flag status and 4 external signal values You can record up to...

Page 20: ...on necessary for a successful build of an application commands to run makefile file etc Your workspace s project settings include the definition of your application toolchain see Section 3 5 The debug...

Page 21: ...s own application and executable file types project environment and building tools i e linkers and convertors The ST7 macroassembler toolchain from STMicroelectronics which generates either s19 or hex...

Page 22: ...able files used and produced by the toolchain The executable file types Table 1 Sample files included with STVD7 Toolchain Sample Workspace with default path Sample Make and or Batch files with defaul...

Page 23: ...you can load s19 or hex binary files directly and have limited debugging capabilities refer to Section 3 8 Table 2 Toolchain steps and their output files Toolchain ST Macroassembler Hiware Cosmic Comp...

Page 24: ...ser Manual 24 63 3 6 Creating a workspace 1 Select File New Workspace This command opens the New Workspace window where you define the name of your workspace and the directory in which you want to wor...

Page 25: ...able file For example if you wish to use the Hiware toolchain for ST7 your executable file will be of type abs refer to Table 2 click on the browse button to browse to the folder where your executable...

Page 26: ...h to Debug context see Section 3 12 for an explanation of STVD7 contexts the MCU Configuration window will automatically open to prompt you to choose you target MCU and confirm or modify its option an...

Page 27: ...into the STVD7 The Workspace window will show a structured representation of the project For example mywork wsp shows that it uses build mak as the make file and sample abs as the executable file Not...

Page 28: ...are no source files shown in the Source Directory tab of the Workspace window or you wish to list additional files stored in another folder you may browse to them by clicking the Double Click here fol...

Page 29: ...ring the MCU 3 8 Opening files directly for debugging abs s19 hex and elf You may also load abs elf s19 and hex files for debugging directly using the Open Workspace command without having to enter bu...

Page 30: ...lone programmable files s19 or hex If you do not have access to the map and lst files generated by the ST7 toolchain you may also load isolated s19 and hex files from within STVD7 The range of debuggi...

Page 31: ...programmable file hex or s19 and click Open The binary code in the s19 or hex file will be loaded into STVD7 and you will be able to access the Disassembly window and the Memory window A workspace fi...

Page 32: ...r User Manual 32 63 debugging You may also access your project or toolchain settings in the event you wish to change them From the main menu select Project Project Settings Figure 18 Project menu Figu...

Page 33: ...ns a browser window 3 11 Saving workspaces Whenever the current workspace is closed it is automatically saved This can happen either when exiting STVD or opening or creating a new workspace In additio...

Page 34: ...e the dialog box In addition open file contexts and current window positions are saved when the workspace is closed This feature restores the workspace window window layout and file views to that whic...

Page 35: ...ed in Section 3 13 and debug the executable file created while in the build context 3 12 1 Build Context The build context is the context set when starting STVD7 In this context it is not necessary to...

Page 36: ...MCU After you create or open a workspace the next step you must perform before starting your STVD7 debugging session is to define and configure the target device MCU that you wish to emulate The targ...

Page 37: ...e device are listed in the Option configuration fields Beside each option a default value is given You may change this value by clicking on it and choosing a new value from the drop down list This all...

Page 38: ...ngs on the MCU by typing in the start and stop addresses of each memory zone into the memory configuration window and by graphically moving the memory zone boundaries in the graphic memory configurati...

Page 39: ...rved as on the microcontroller It is not allocated to any use and is write protected This memory type cannot be modified Vectors This memory zone contains the user interrupt vectors zone It is write p...

Page 40: ...to create a new zone in a non modifiable memory space such as Stack or EEPROM To use the Graphic Memory Configuration viewer 1 In the memory configuration window click on the zone whose boundaries you...

Page 41: ...ft the last debugging session If you do not wish your MCU configuration information to be saved in the workspace file you must alter the default Configuration Setup options by clicking on the Conf but...

Page 42: ...3 STVD7 ST7MDTU3 EMU2B Emulator User Manual 42 63...

Page 43: ...t conditions Selective trace recording capability 2 Trigger output capability 4 probe inputs to display application signals in the trace 4 2 Specific Features The features described below are specific...

Page 44: ...he parallel link with the PC RAM memory 64K bytes for ROM and RAM emulation 64K bytes as break points control and Mapping 1K x 32 bit as trace memory Hardware breakpoint control logic to manage breakp...

Page 45: ...of two probe components a ST7 Generic Probe and a ST72F63 Target Emulation Board TEB included in the emulator kit See Step 3 Connecting the Probe to your Application Board on page 13 for more details...

Page 46: ...he communication buses connecting the active probe to the ST7 HDS2 board are buffered ST7 Address bus 16 bit of the ST72F63 in emulation mode Data bus 8 bit of the ST72F63 in emulation mode ST7 emulat...

Page 47: ...available via SUB click connectors located on the front panel of the ST7 HDS2 emulator box You can program the output signals to these triggers using ST7 Visual Debug 1 From the main menu in ST7 Visua...

Page 48: ...ed box 5 You may trigger output signals by setting an event on any of the following a whole variable creating an event for synchronization which enables you to preset the pulse synchronization for ext...

Page 49: ...main menu select Tools Logical Analyser to open the dialog box A full description of how to use this facility to control trace recording or trigger output signals is given in the ST7 Visual Debug onli...

Page 50: ...and HALT mode System Red not used with this emulator Reset Red not used with this emulator 4 7 On Chip Peripherals You can configure certain on chip peripherals in ST7 Visual Debug s MCU Configuration...

Page 51: ...4 7 3 WGD HALT This option allows you to determine if a reset is generated when entering HALT mode while the watchdog is active There are two options Reset where a reset is generated when entering Hal...

Page 52: ...4 Emulator Features ST7MDTU3 EMU2B Emulator User Manual 52 63...

Page 53: ...se of switch boxes between the parallel port connector of your PC and the development board is not recommended The development board is powered on The parallel cable used is the one supplied with the...

Page 54: ...dividually or all at the same time If problems occur during debugging such as bad debugger responses and unexpected behavior you should check for hardware problems using the Hardware Test function and...

Page 55: ...list of different tests that can be performed on the emulator Check the box of each test that you wish to perform they are all checked by default and click Apply to start the hardware test The Hardwa...

Page 56: ...Appendix A Troubleshooting ST7MDTU3 EMU2B Emulator User Manual 56 63...

Page 57: ...se the device adapter that corresponds to the type of package you have chosen for your application ECP Extended capabilities port communication standard EPP Enhanced parallel port communication standa...

Page 58: ...nt Kit or an HDS2 Emulator Target Device This is the ST7 MCU that you wish to use in your application and which your emulator or development kit will emulate for you TEB Target Emulation Board This is...

Page 59: ...he UK Continental Europe or the USA 4 Serial Number The serial number is located on the rear panel of the emulator box 5 Target Device The sales type of the microcontroller you are using in your devel...

Page 60: ...hardware you will require is included in the emulator kit However some special applications may require additional parts such as connecting an external clock or you may need additional sockets for yo...

Page 61: ...le USA manufacturer R Tek and product references 411 Quentin Road Palatine IL 60067 Phone 847 934 7900 Fax 847 934 7946 Adaptable female connector part numbers CCAX00168 2 cable length 2 ft with SMB p...

Page 62: ...Product Support ST7MDTU3 EMU2B Emulator User Manual 62 63...

Page 63: ...in life support devices or systems without the express written approval of STMicroelectronics The ST logo is a registered trademark of STMicroelectronics Intel is a U S registered trademark of Intel...

Page 64: ...ST7MDTU3 EMU2B Emulator User Manual 64...

Page 65: ...17 main features of 43 main functions of 5 operation of 6 software and documentation for 7 EPP definition of 57 F ferrites attaching to cables 13 H hardware installation 10 testing 54 I input signals...

Page 66: ...ng 17 main features 19 MCU configuration 36 opening binary files 29 opening workspaces 26 supported application files 21 supported toolchains 21 switching between contexts 36 toolchain paths 19 worksp...

Page 67: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information STMicroelectronics ST7MDTU3 EMU2B...

Reviews: