Advertisement

Quick Links

EMUL–IP2K–PC™
User Guide
Edition 1, July 13, 2001
© 2001 Nohau Corporation. All rights reserved worldwide.

Advertisement

Table of Contents
loading

Summary of Contents for Nohau EMUL–IP2K–PC

  • Page 1 EMUL–IP2K–PC™ User Guide Edition 1, July 13, 2001 © 2001 Nohau Corporation. All rights reserved worldwide.
  • Page 2: Table Of Contents

    Selecting to Automatically Start the Seehau Configuration Program Configuring the Communications Interface Connect Tab Hardware Configuration Tab Configuring the Emulator Options From Within Seehau Hdw Config Tab Miscellaneous Setup Tab Starting Seehau Demo Mode Edition 1, July 2001, © Nohau Corporation...
  • Page 3 Non-Demo Mode Running Program Examples Using the Nohau Project Manager Overview Accessing the Nohau Project Manager Working with Workspaces Adding a New Workspace Opening a Workspace Saving a Workspace Working with Projects Adding a New Project Removing a Project Adding a File to the Project...
  • Page 4 Each optional adapter, cable, and extender is sold with a 90-day warranty, except that it may be subject to repair charges if damage was caused by the user’s actions. Nohau’s Seehau software is sold with no warranty, but upgrades can be obtained to all customers at the Nohua Web site: http://www.nohau.com.
  • Page 5 European CE Requirements Nohau has included the following information in order to comply with European CE requirements. User Responsibility The in-circuit debugger application, as well as all other unprotected circuits need special mitigation to ensure Electromagnetic Compatibility (EMC). The user has the responsibility to take required measures in the environment to prevent other activities from disturbances from the debugger application according to the user and installation manual.
  • Page 6 Failure to disable the pod’s resources can damage the pod or the target or both. When installing a controller into a pod, never press on the chip body. Press only on the carrier or cover. Pressing on the chip might bend pins and cause short circuits. Edition 1, July 2001, © Nohau Corporation...
  • Page 7: About This Guide

    • Creating Macros • Troubleshooting To download an electronic version of this guide, do the following: 1. Open Nohau’s home page at www.nohau.com. 2. Click Publications/Documents 3. Click Nohau Manuals 4. Scroll down to EMUL–IP2K–PC. Then select EMUL–IP2K–PC to download a PDF version of this guide.
  • Page 8: Overview Of The Emul-Ip2K-Pc Emulator System

    (not supplied by Nohau Corporation). The GNUPro tools and docu- mentation for programming the IP2022 processor are available from Red Hat. This special version of the assembler outputs in ELF format specifically for the Nohau debugger. Contact Nohau Tech- nical Support if you have questions.
  • Page 9 Chapter 1. Overview of the EMUL–IP2K–PC Emulator System Preliminary EMUL–IP2K–PC User Guide...
  • Page 10: Installing The Emul-Ip2K-Pc/Usb-Jtag

    Installing the EMUL–IP2K–PC/USB–JTAG USB Driver When installing the USB device, you must install the Seehau software first before connecting the Nohau hardware (Refer to Chapter 3, Installing the Seehau Software.”). This allows the computer to recognize the proper driver for the hardware. The USB option is not supported by Windows NT.
  • Page 11: Installation Instructions

    Chapter 2. Installing the EMUL–IP2K–PC/USB–JTAG Note The EMUL–IP2K-PC/USB–JTAG is a dual power ???. For the dual power to initialize correctly the Ubicom target board has a three-pin jumper (JP24) which must have pins +3.3 and TOOL selected (IN). The following table shows the signal layout of the connector: Name Description /TSS...
  • Page 12 EMUL–IP2K–PC User Guide Figure 2. EMUL–IP2K–PC/USB–JTAG with BERG Connector Edition 1, July 2001, © Nohau Corporation...
  • Page 13 Chapter 2. Installing the EMUL–IP2K–PC/USB–JTAG Preliminary EMUL–IP2K–PC User Guide...
  • Page 14: Installing The Seehau Software

    . The installation process will start when you select the correct path to the grams Install Downloading and Installing the Seehau Software From the Internet 1. Go to the Nohau web site (http://www.nohau.com/). Click . The Nohau Software Downloads Downloads page opens. 2. Click .
  • Page 15 Go to Download Available Download Areas 9. Click either option for a download site. The Nohau Software Updates page opens. 10. Click the EMUL–IP2K–PC link. 11. Click the ip2k.exe link. The application will start downloading. Remember which directory has this downloaded file.
  • Page 16: Configuring The Seehau Software

    From the menu, selct Start Programs Select . Then click to open the window displaying the Seehau IP2K Config Emulator Configuration tab (Figure 3). Connet Figure 3. Emulator Configuration Window Displaying the Connect Tab Edition 1, July 2001, © Nohau Corporation...
  • Page 17: Configuring The Communications Interface

    Chapter 4. Configuring the Seehau Software Note You do not need the hardware connected at this time Configuring the Communications Interface Connect Tab The graphical user interface for this tab is divided into four regions. Do the following in each region: 1.
  • Page 18: Hardware Configuration Tab

    • : Shown for reference only. PLL Pre Divider 1 = (000b) 2 = (001b) 3 = (010b) 4 = (011b) 5 = (100b) 6 = (101b) 7 = (110b) 8 = (111b) Edition 1, July 2001, © Nohau Corporation...
  • Page 19 Chapter 4. Configuring the Seehau Software • : Shown for reference only. PLL Post Divider 1 = (00b) 2 = (01b) 3 = (10b) 4 = (11b) • : Shown for reference only. Watch Dog Divider 1:1 = 16 ms = (000b) 1:2 = 32 ms = (001b) 1:4 = 64 ms = (010b) 1:8 = 128 ms = (011b)
  • Page 20 : Shown for reference only. This option is no longer valid. Host When you click , Seehau starts to load. For more information about starting Seehau, see the Finish “Starting Seehau” section at the end of this chapter. Edition 1, July 2001, © Nohau Corporation...
  • Page 21: Configuring The Emulator Options From Within Seehau

    Chapter 4. Configuring the Seehau Software Figure 5. Emulator Configuration Window Displaying the Hdw Config Tab Configuring the Emulator Options From Within Seehau From Seehau open the Emulator Configuration window. Select the menu and click Config Emulator The Emulator Configuration window opens displaying the tab (Figure 5).
  • Page 22 2.10 V = (100b) 2.05 V = (101b) 2.00 V = (110b) Disabled = (111b) PLL Wakeup Delay 60 us(000b) 120 us(001b) 240 us(010b) 480 us(011b) 960 us(100b) 1.92 ms(101b) 3.84 ms(101b) 7.68 ms(111b) Edition 1, July 2001, © Nohau Corporation...
  • Page 23 Chapter 4. Configuring the Seehau Software XTAL Wakeup Delay 60 us(000b) 960 us(001b) 3.84 ms(010b) 7.68 ms(011b) 15:36 ms(100b) 60 ms(101b) 480 ms(110b) 960 ms(111b) Miscellaneous • : Shown for reference only. Select this option to disable the watchdog timer Watch dog disable when programming the chip.
  • Page 24: Miscellaneous Setup Tab

    In Flash, you do not normally want to do this because you have to erase the Flash each time and the number of times you can do this is limited. If this option is checked then the Flash will Edition 1, July 2001, © Nohau Corporation...
  • Page 25: Starting Seehau

    At this time, you will need to load code. To open new windows, go to the menu and click a window option. For further information, refer to “Troubleshooting Tips” in Appendix A in this guide or contact Nohau Technical Support (support@nohau.com. Preliminary EMUL–IP2K–PC User Guide...
  • Page 26 EMUL–IP2K–PC User Guide Figure 7. Seehau for EMUL–IP2K–PC Edition 1, July 2001, © Nohau Corporation...
  • Page 27 Chapter 4. Configuring the Seehau Software Preliminary EMUL–IP2K–PC User Guide...
  • Page 28: Running Program Examples

    . The dialog box opens (Figure 8). Select one of the File Load Code Open program example files for your controller. Figure 8. Open Dialog Box Displaying the Program Example Directories Edition 1, July 2001, © Nohau Corporation...
  • Page 29 Chapter 5. Running Example Programs Figure 9. Program Example in Source Only 3. Highlight the program example file and click . The source file automatically displays the pro- Open gram example in source only (Figure 9). 4. To single-step in mixed mode, click the Assembly Step Into or Step Over button. You will seethe assembly code mixed in with the associated source lines (Figure 10).
  • Page 30: Using The Nohau Project Manager

    Using the Nohau Project Manager Overview The Nohau Project Manager is an external application that allows you to launch compilers and linkers for processing source files and linker command files as specified in the workspace. The Project Man- ager gives you different options of how to build the source files and automatically load the final object file into the emulator.
  • Page 31: Opening A Workspace

    Working with Projects Adding a New Project 1. Click on the workspace name in the left side of the Nohau Project Manager window. (In Figure 11 the example is My Workspace 2. From the menu, select .
  • Page 32: Removing A Project

    2. Select one of the compiler-specific tools (xxx.exe). (This file translates the errors generated by the compiler into a format that allows you to view the errors in the Source window. If your compiler does not have a Nohau error-translating tool, contact Nohau Technical Support at support@nohau.com.
  • Page 33: Changing The File Settings

    Cmperror.log file for Seehau to read it. The .log file should be in the following format: Filename#linenumber#the original error text With this convention, the Nohau tool supports most compilers and message outputs. Changing the File Settings 1. Select (highlight) the file name. (In Figure 12 the example is C:\Nohau\SeehauIP2K\Examples\C\Timer\time.c...
  • Page 34: Building A Project

    Forcing a Build of a Selected File 1. Select (highlight) the file. 2. From the menu select . (You can also click the Build Selected File button Build Build Selected File on the toolbar.) Edition 1, July 2001, © Nohau Corporation...
  • Page 35 Chapter 6. Using the Nohau Project Manager Preliminary EMUL–IP2K–PC User Guide...
  • Page 36 EMUL–IP2K–PC User Guide Edition 1, July 2001, © Nohau Corporation...

Table of Contents