Abatron BDI2000 User Manual

Jtag debug interface for seecode debugger
Hide thumbs Also See for BDI2000:

Advertisement

SCI
bdi
JTAG debug interface for SeeCode™ Debugger
XScale
User Manual
Manual Version 1.00 for BDI2000
© 1999-2003 ABATRON AG

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BDI2000 and is the answer not in the manual?

Questions and answers

Summary of Contents for Abatron BDI2000

  • Page 1 JTAG debug interface for SeeCode™ Debugger XScale User Manual Manual Version 1.00 for BDI2000 © 1999-2003 ABATRON AG...
  • Page 2: Table Of Contents

    2 Installation ........................... 4 2.1 Connecting the BDI2000 to Target..................4 2.1.1 Changing Target Processor Type ................. 6 2.2 Connecting the BDI2000 to Power Supply................7 2.2.1 External Power Supply ....................7 2.2.2 Power Supply from Target System ................8 2.3 Status LED «MODE»......................
  • Page 3: Introduction

    The BDI2000 is a processor system in a small box. It implements the interface between the BDM/ JTAG pins of the target CPU and a 10Base-T Ethernet / RS232 connector. BDI2000 is powered by a MC68360, 512Kbyte RAM and a flash memory of 1024Kbyte. As a result of consistent implementa- tion of lasted technology, the BDI2000 is optimally prepared for further enhancements.
  • Page 4: Installation

    JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual 2 Installation 2.1 Connecting the BDI2000 to Target The enclosed target cable is designed for the Intel recommended 20pin JTAG connector. In case where the target system has an appropriate connector, the cable can be directly connected. The pin assignment is in accordance with the Intel specification.
  • Page 5 3.0 – 5.0V with Rev. A/B : This input to the BDI2000 is used to detect if the target is powered up. If there is a current limiting resistor between this pin and the target Vdd, it should be 100 Ohm or less.
  • Page 6: Changing Target Processor Type

    2.1.1 Changing Target Processor Type Before you can use the BDI2000 with an other target processor type (e.g. XScale <--> PPC), a new setup has to be done (see Appendix A). During this process the target cable must be disconnected from the target system.
  • Page 7: Connecting The Bdi2000 To Power Supply

    2.2 Connecting the BDI2000 to Power Supply 2.2.1 External Power Supply The BDI2000 needs to be supplied with 5 Volts (max. 1A) via the BDI OPTION connector (Rev. A) or via POWER connector (Rev. B/C). The available power supply from Abatron (option) or the enclosed power cable can be directly connected.
  • Page 8: Power Supply From Target System

    2.2.2 Power Supply from Target System The BDI2000 needs to be supplied with 5 Volts (max. 1A) via BDI MAIN target connector (Rev. A) or via TARGET A connector (Rev. B/C). This mode can only be used when the target system runs with 5V and the pin «Vcc Target»...
  • Page 9: Status Led «Mode

    MODE LED BDI STATES The BDI is ready for use, the firmware is already loaded. The power supply for the BDI2000 is < 4.75VDC. BLINK The BDI «loader mode» is active (an invalid firmware is loaded or loading firmware is active).
  • Page 10: Connecting The Bdi2000 To Host

    JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual 2.4 Connecting the BDI2000 to Host 2.4.1 Serial line communication The host is connected to the BDI through the serial interface (COM1...COM4). The communication cable between BDI and Host is a serial cable (RXD / TXD are crossed). There is the same connector pinout for the BDI and for the Host side (Refer to Figure below).
  • Page 11: Ethernet Communication

    User Manual 2.4.2 Ethernet communication The BDI2000 has a built-in 10 BASE-T Ethernet interface (see figure below). Connect an UTP (Un- shilded Twisted Pair) cable to the BD2000. For thin Ethernet coaxial networks you can connect a commercially available media converter (BNC-->10 BASE-T) between your network and the BDI2000.
  • Page 12: Installation Of The Configuration Software

    Helpfile for the configuration program b20xscfw.xxx Firmware for BDI2000 for XScale targets xscjed20.xxx JEDEC file for the BDI2000 (Rev. A/B) logic device programming xscjed21.xxx JEDEC file for the BDI2000 (Rev. C) logic device programming bdiifc32.dll BDI Interface DLL for configuration program armbdi.dll...
  • Page 13: Configuration

    First make sure that the BDI is properly connected (see Chapter 2.1 to 2.4). The BDI must be con- nected via RS232 to the Windows host. To avoid data line conflicts, the BDI2000 must be disconnected from the target system while programming the logic for an other target CPU (see Chapter 2.1.1).
  • Page 14 This button is only active if there is a newer firmware or logic version present in the execution directory of the BDI setup software. Press this button to write the new firmware and/or logic into the BDI2000 flash mem- ory / programmable logic.
  • Page 15: Init List

    In order to prepare the target for debugging, you can define an Initialization List. This list is stored in the Flash memory of the BDI2000 and worked through every time the target comes out of reset. Use it to get the target operational after a reset. The memory system is usually initialized through this list.
  • Page 16: Bdi Working Modes

    JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual 4 BDI working modes dialog box «BDI Working Mode» With this dialog box you can define how the BDI interacts with the target system. Identification Enter a text to identify this setup. This text can be read by the debugger with the appropriate Command.
  • Page 17: Debug Handler

    JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual JTAG Scan Chain The BDI can also handle systems with multiple devices connected to the JTAG scan chain. In order to put the other devices into BYPASS mode and to count for the additional bypass registers, the BDI needs some informa- tion about the scan chain layout.
  • Page 18: Startup Mode

    JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual 4.2 Startup Mode Startup mode defines how the BDI interacts with the target system after a reset or power up sequence. 4.2.1 Startup mode RESET In this mode no ROM is required on the target system. The necessary initialization is done by the BDI with the programmed init list.
  • Page 19: Working With Seecode

    -DLL=armbdi -io=port[,baud] [program [arguments]] port Specifies the IP address of the BDI2000 or the serial communication port where the BDI is connected. If a name is used for the IP address, there must be an appropriate entry in the hosts file.
  • Page 20: Properties

    If this property is used, all calls to the BDI interface are recorded in a file. The recorded calls are not useful for SeeCode user but may be used by Abatron to solve interface problems between the SeeCode debugger and the BDI.
  • Page 21: Direct Commands

    JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual 5.3 Direct Commands For special functions (mainly for flash programming) the BDI supports so called «Direct Commands». This commands can be entered in a command file (e.g. PRELOAD.CMD) or directly executed as property in the Command Line Window.
  • Page 22: Flash.erase

    JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual 5.3.3 Flash.Erase This command allows to erase one flash sector, block or chip. Syntax: flash.erase addr=0x02800000 mode=chip addr The start address of the flash sector to erase. mode This parameter defines the erase mode. The following modes are supported: CHIP, BLOCK and SECTOR (default is sector erase) 5.3.4 Flash.Load...
  • Page 23: Download To Flash Memory

    JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual 5.4 Download to Flash Memory The BDI supports download and debugging of code that runs out of flash memory. To automate the process of downloading to flash memory, the BDI looks for two command files in the working direc- tory.
  • Page 24 JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual Supported Flash Memories: There are currently 3 standard flash algorithm supported. The AMD, Intel and Atmel AT49 algorithm. Almost all currently available flash memories can be programmed with one of this algorithm. The flash type selects the appropriate algorithm and gives additional information about the used flash.
  • Page 25: Telnet Interface

    JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual 6 Telnet Interface A Telnet server is integrated within the BDI that can be accesses via the network connection. The Telnet is used by the BDI to output additional error messages and other information. The Telnet is useful during initial installation and to bring up new hardware.
  • Page 26: Specifications

    JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual 7 Specifications Operating Voltage Limiting 5 VDC ± 0.25 V Power Supply Current typ. 500 mA max. 1000 mA RS232 Interface: Baud Rates 9’600,19’200, 38’400, 57’600,115’200 Data Bits Parity Bits none...
  • Page 27: Environmental Notice

    JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual 8 Environmental notice Disposal of the equipment must be carried out at a designated disposal site. 9 Declaration of Conformity (CE) © Copyright 1999-2003 by ABATRON AG V 1.00...
  • Page 28: Warranty

    In no event shall ABATRON be liable for any loss of profit or any other commercial damage, including but not limited to special, incidental, consequential, or other damages.
  • Page 29: Appendices

    Problem Network processes do not function (loading the firmware was successful) Possible reasons • The BDI2000 is not connected or not correctly connected to the network (LAN cable or media converter) • An incorrect IP address was entered (BDI2000 configuration) ©...
  • Page 30: B Maintenance

    JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual B Maintenance The BDI needs no special maintenance. Clean the housing with a mild detergent only. Solvents such as gasoline may damage it. If the BDI is connected correctly and it is still not responding, then the built in fuse might be damaged (in cases where the device was used with wrong supply voltage or wrong polarity).
  • Page 31 JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual 4.1 While holding the casing, slide carefully the print in position as shown in figure below Jumper settings DEFAULT INIT MODE Fuse Position Rev. B/C Fuse Position Rev. A Pull-out carefully the fuse and replace it Type: Microfuse MSF 1.6AF...
  • Page 32: C Trademarks

    JTAG interface for SeeCode™ Debugger, BDI2000 (XScale) User Manual C Trademarks All trademarks are property of their respective holders. © Copyright 1999-2003 by ABATRON AG V 1.00...

Table of Contents