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.3 Status LED «MODE»......................8 2.4 Connecting the BDI2000 to the Host ..................9 2.4.1 Serial line communication ....................
Edge debugger. 1.1 BDI2000 The BDI2000 is a processor system in a small box. It implements the interface between the JTAG pins of the target CPU and a 10Base-T Ethernet / RS232 connector. The firmware and the program- mable logic of the BDI2000 can be updated by the user with a simple Windows based configuration program.
JTAG debug interface for EDGE Debugger, BDI2000 (PPC4xx) User Manual 4 2 Installation 2.1 Connecting the BDI2000 to Target The cable to the target system is a 16 pin flat ribbon cable. In case where the target system has an appropriate connector, the cable can be directly connected.
Page 5
3.0 – 5.0V with Rev. 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.
2.1.1 Changing Target Processor Type Before you can use the BDI2000 with an other target processor type (e.g. CPU32 <--> PPC), a new setup has to be done (see Appendix A). During this process the target cable must be disconnected from the target system.
2.2 Connecting the BDI2000 to Power Supply The BDI2000 needs to be supplied with 5 Volts (max. 1A) via the POWER connector. The available power supply from Abatron (option) or the enclosed power cable can be directly connected. In order to ensure reliable operation of the BDI2000, keep the power supply cable as short as possible.
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).
JTAG debug interface for EDGE Debugger, BDI2000 (PPC4xx) User Manual 9 2.4 Connecting the BDI2000 to the 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).
User Manual 10 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.
HTML Helpfile for the configuration program b20pp4fw.xxx Firmware for BDI2000 for PPC4xx targets pp4jed20.xxx JEDEC file for the BDI2000 (Rev. B) logic device programming pp4jed21.xxx JEDEC file for the BDI2000 (Rev. C) logic device programming bdiifc32.dll BDI Interface DLL for configuration program *.bdi...
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 13
This button is only active if there is a newer firmware or logic version pres- ent in the execution directory of the BDI setup software. Press this button to write the new firmware and/or logic into the BDI2000 flash memory / programmable logic.
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 15
JTAG debug interface for EDGE Debugger, BDI2000 (PPC4xx) User Manual 15 Special BDI Configuration Registers: In order to change some special configuration parameters of the BDI, the SPR entry in the init list is used. Normal PPC SPR's covers a range from 0 to 1023. Other SPR's are used to set BDI internal...
JTAG debug interface for EDGE Debugger, BDI2000 (PPC4xx) User Manual 16 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.
JTAG debug interface for EDGE Debugger, BDI2000 (PPC4xx) User Manual 17 4.1 Startup Mode Startup mode defines how the BDI interacts with the target system after a reset or power up sequence. 4.1.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.
JTAG debug interface for EDGE Debugger, BDI2000 (PPC4xx) User Manual 18 5 Working with Edge For information about using the Edge debugger look at the appropriate Edge user’s manual. 5.1 Direct Commands For special functions (mainly for flash programming) the BDI supports so called «Direct Commands».
JTAG debug interface for EDGE Debugger, BDI2000 (PPC4xx) User Manual 19 5.1.3 Flash.Setup In order to support loading into flash memory, the BDI needs some information about the used flash devices. Before any other flash related command can be used, this direct command must be execut- Syntax: flash.setup type=am29f size=0x80000 bus=32 workspace=0x1000...
JTAG debug interface for EDGE Debugger, BDI2000 (PPC4xx) User Manual 20 5.2 Download to Flash Memory The BDI supports programming flash memory. To automate the process of downloading to flash memory a codelet can be used. Following an example of such a codelet: void flash_load(int coreId) char output[256];...
Page 21
JTAG debug interface for EDGE Debugger, BDI2000 (PPC4xx) User Manual 21 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 22
JTAG debug interface for EDGE Debugger, BDI2000 (PPC4xx) User Manual 22 Note: Some Intel flash chips (e.g. 28F800C3, 28F160C3, 28F320C3) power-up with all blocks in locked state. In order to erase/program those flash chips, use the init list to unlock the appropriate blocks.
JTAG debug interface for EDGE Debugger, BDI2000 (PPC4xx) User Manual 23 6 Telnet Interface A Telnet server is integrated within the BDI that can be accessed when the BDI is connected via eth- ernet to the host. It may help to invertigate problems and allows access to target resources that can not directly be accessed by the debugger.
JTAG debug interface for EDGE Debugger, BDI2000 (PPC4xx) User Manual 24 7 Specifications 7.1 BDI2000 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...
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.
JTAG debug interface for EDGE Debugger, BDI2000 (PPC4xx) User Manual 28 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 29
JTAG debug interface for EDGE Debugger, BDI2000 (PPC4xx) User Manual 29 4.1 While holding the casing, slide carefully the print in position as shown in figure below Jumper settings DEFAULT INIT MODE Fuse Position Version B Fuse Position Version A Pull-out carefully the fuse and replace it Type: Microfuse MSF 1.6AF...
Need help?
Do you have a question about the BDI2000 and is the answer not in the manual?
Questions and answers