Abatron BDI3000 User manual

bdiPro
®
for
XScale
User Manual
Manual Version 1.00 for BDI3000
©1993-2007 by Abatron AG

bdiPro
for BDI3000 (XScale) User Manual 2
© Copyright 1993-2007 by ABATRON AG V 1.00
1 Introduction ................................................................................................................................. 3
1.1 BDI3000................................................................................................................................. 3
1.2 Functions ............................................................................................................................... 4
2 Introduction ................................................................................................................................. 5
2.1 Connecting the BDI3000 to Target......................................................................................... 5
2.2 Connecting the BDI3000 to Power Supply............................................................................. 7
2.3 Status LED «MODE»............................................................................................................. 8
2.4 Connecting the BDI3000 to Host ........................................................................................... 9
2.4.1 Serial line communication ............................................................................................ 9
2.4.2 Ethernet communication ............................................................................................ 10
2.5 Installation of the bdiPro Software.......................................................................................11
2.6 Configuration ....................................................................................................................... 11
2.6.1 BDI3000 Setup/Update .............................................................................................. 12
3 Specifications ............................................................................................................................ 14
4 Environmental notice ................................................................................................................ 15
5 Declaration of Conformity (CE)................................................................................................ 15
6 Warranty ..................................................................................................................................... 16
Appendices
A Troubleshooting ........................................................................................................................ 17
B Maintenance .............................................................................................................................. 18
C Trademarks ................................................................................................................................ 18

bdiPro
for BDI3000 (XScale) User Manual 3
© Copyright 1993-2007 by ABATRON AG V 1.00
1 Introduction
bdiPro is a powerful software package, allowing on-board programming with the BDI3000 from
Abatron. bdiPro eliminates the inefficient, individual chip programming, particularly for surface-
mounted designs. The unprogrammed memories can be soldered to the printed circuit board and
programmed simultaneously on a just-in-time basis.
1.1 BDI3000
The BDI3000 is the main part of the bdiPro system.This small box implements the interface between
the BDM/JTAG pins of the target processor and a 10/100Base-T Ethernet or RS232 connector. The
firmware of the BDI3000 can be updated by the user with a simple Windows based configuration pro-
gram. The BDI3000 supports 1.2 – 5.0 Volts target systems.
PC Host BDI3000
AA
AAbb
bbaa
aattttrr
rroo
oonn
nn AA
AAGG
GG SS
SSww
wwiiiiss
ssss
ss MM
MMaa
aadd
ddeeee
Target System
JTAG Interface
Ethernet (10/100 BASE-T)
BDI3000
AA
AAbb
bbaa
aattttrr
rroo
oonn
nn AA
AAGG
GG SS
SSww
wwiiiiss
ssss
ss MM
MMaa
aadd
ddeeee
Target System
JTAG Interface
XScale
RS232
XScale

bdiPro
for BDI3000 (XScale) User Manual 4
© Copyright 1993-2007 by ABATRON AG V 1.00
1.2 Functions
The bdiPro software provides the following functions:
File
Load/Save
• Save and recall user defined program sets
Print
• Print the active program set
Print Preview
• Display the active program set on the screen
Print Setup
• Select the printer and the printer connection
Print Comment
• Edit the headers and comment
Edit
Load
• Load the program file (Binary, Motorola S-Record and Intel hex)
Store
• Store the local memory image in S-Record format
Dump
• Load the target system data into local memory
Edit
• Edit the local memory image
Clear
• Clear the local memory image
Fill
• Fill a local memory area with pattern
Checksum
• Calculation of checksum
Target
Erase
• Erase the target memory (all / sectors)
Program
• Program the target memory
Verify
• Compare the target system memory with local memory
Setup
Communication
• Communication setup between the PC and the BDI
Firmware
• Load and verify the firmware
Ta rget Memory
• Target memory setup (memory type and memory organisation)
Ta rget Initlists
• User configurable program sequences for target system initialization
(clock, chip select...)
• If required, you can write special routines that runs before or after
the program/erase process (pre-programming, post-programming /
pre-erase, post-erase).
Help
• Information about menus and dialog boxes by pressing the F1
function key

bdiPro
for BDI3000 (XScale) User Manual 5
© Copyright 1993-2007 by ABATRON AG V 1.00
2 Introduction
2.1 Connecting the BDI3000 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.
In order to ensure reliable operation of the BDI (EMC, runtimes, etc.) the target cable length must not
exceed 20 cm (8").
For BDI TARGET B connector signals see table on next page.
Warning:
Before you can use the BDI3000 with an other target processor type (e.g. PPC <--> ARM), a new
setup has to be done (see chapter 2.5). During this process the target cable must be disconnected
from the target system.
To avoid data line conflicts, the BDI3000 must be disconnected from the target system while
programming a new firmware for an other target CPU.
!
BDI3000
AA
AAbb
bbaa
aattttrr
rroo
oonn
nn AA
AAGG
GG SS
SSww
wwiiiiss
ssss
ss MM
MMaa
aadd
ddeeee
Target System 1 - Vcc Target
2 - NC
3 - TRST
4 - NC
5 - TDI
6 - NC
7 - TMS
8 - GROUND
9 - TCK
10 - GROUND
11 - NC
12 - NC
13 - TDO
14 - NC
15 - RESET
16 - NC
17 - NC
18 - NC
19 - NC
20 - NC
20 pin JTAG
Connector
1 19
20
2
XScale
The green LED «TRGT» marked light up when target is powered up
BDI TARGET A TARGET B
9 1
10 2
BDI
TRGT
MODE
!

bdiPro
for BDI3000 (XScale) User Manual 6
© Copyright 1993-2007 by ABATRON AG V 1.00
BDI TARGET A Connector Signals
Note:
The BDI actively drives TRST. It does not require any special power-up circuitry. Simply, the require-
ment is that TRST is weakly pulled down at the processor. It is suggested that the value of the pull-
down resistor is 10k or greater.
Pin Name Describtion
1 reserved This pin is currently not used.
2 TRST
JTAG Test Reset
This output of the BDI3000 resets the JTAG TAP controller on the target.
3+5 GND
System Ground
4 TCK
JTAG Test Clock
This output of the BDI3000 connects to the target TCK line.
6 TMS
JTAG Test Mode Select
This output of the BDI3000 connects to the target TMS line.
7 RESET This open collector output of the BDI3000 is used to reset the target system.
8 TDI
JTAG Test Data In
This output of the BDI3000 connects to the target TDI line.
9 Vcc Target
1.2– 5.0V:
This is the target reference voltage. It indicates that the target has power and it is also used
to create the logic-level reference for the input comparators. It also controls the output logic
levels to the target. It is normally connected to Vdd I/O on the target board.
10 TDO
JTAG Test Data Out
This input to the BDI3000 connects to the target TDO line.

bdiPro
for BDI3000 (XScale) User Manual 7
© Copyright 1993-2007 by ABATRON AG V 1.00
2.2 Connecting the BDI3000 to Power Supply
The BDI3000 needs to be supplied with the enclosed power supply from Abatron (5VDC).
Before use, check if the mains voltage is in accordance with the input voltage printed on power
supply. Make sure that, while operating, the power supply is not covered up and not situated near
a heater or in direct sun light. Dry location use only.
For error-free operation, the power supply to the BDI3000 must be between 4.75V and 5.25V DC.
The maximal tolerable supply voltage is 5.25 VDC. Any higher voltage or a wrong polarity
might destroy the electronics.
Please switch on the system in the following sequence:
• 1 –> external power supply
• 2 –> target system
!
!
RS232 POWER
+5 VDC GND
TARGET A TARGET B
BDI
TRGT
MODE
The green LED «BDI» marked light up when 5V power is connected to the BDI3000
casing connected to ground terminal

bdiPro
for BDI3000 (XScale) User Manual 8
© Copyright 1993-2007 by ABATRON AG V 1.00
2.3 Status LED «MODE»
The built in LED indicates the following BDI states:
MODE LED BDI STATES
OFF The BDI is ready for use, the firmware is already loaded.
ON The output voltage from the power supply is too low.
BLINK The BDI «loader mode» is active (an invalid firmware is loaded or loading firmware is active).
TARGET A TARGET B
BDI
TRGT
MODE

bdiPro
for BDI3000 (XScale) User Manual 9
© Copyright 1993-2007 by ABATRON AG V 1.00
2.4 Connecting the BDI3000 to Host
2.4.1 Serial line communication
The host is connected to the BDI through the serial interface (COM1...COM4). The communication
cable (included) between BDI and Host is a serial cable. There is the same connector pinout for the
BDI and for the Host side (Refer to Figure below).
RS232 Connector
(for PC host)
BDI3000
AA
AAbb
bbaa
aattttrr
rroo
oonn
nn AA
AAGG
GG SS
SSww
wwiiiiss
ssss
ss MM
MMaa
aadd
ddeeee
Target System
RS232
PC Host
1 - NC
2 - RXD data from host
3 - TXD data to host
4 - NC
5 - GROUND
6 - NC
7 - NC
8 - NC
9 - NC
XScale
RS232 POWER
54321
9876

bdiPro
for BDI3000 (XScale) User Manual 10
© Copyright 1993-2007 by ABATRON AG V 1.00
2.4.2 Ethernet communication
The BDI3000 has a built-in 10/100 BASE-T Ethernet interface (see figure below). Connect an UTP
(Unshielded Twisted Pair) cable to the BD3000. Contact your network administrator if you have ques-
tions about the network.
The following explains the meanings of the built-in LED lights:
LED Function Description
LED 1
(green)
Link / Activity When this LED light is ON, data link is successful between the UTP port
of the BDI3000 and the hub to which it is connected.
The LED blinks when the BDI3000 is receiving or transmitting data.
LED 2
(amber)
Speed When this LED light is ON, 100Mb/s mode is selected (default).
When this LED light is OFF, 10Mb/s mode is selected
10/100 BASE-T
PC Host
Target System
Ethernet (10/100 BASE-T)
1 - TD+
2 - TD-
3 - RD+
4 - NC
5 - NC
6 - RD-
7 - NC
8 - NC
Connector
BDI3000
AA
AAbb
bbaa
aattttrr
rroo
oonn
nn AA
AAGG
GG SS
SSww
wwiiiiss
ssss
ss MM
MMaa
aadd
ddeeee
XScale
RS232 POWER
18
LED1 LED2

bdiPro
for BDI3000 (XScale) User Manual 11
© Copyright 1993-2007 by ABATRON AG V 1.00
2.5 Installation of the bdiPro Software
On the enclosed CD you will find the bdiPro software and the firmware required for the BDI. Copy all
the files to a directory on your harddisk.
The following files are on the CD:
b30pgxsc.exe bdiPro program
b30pgxsc.hlp Helpfile for bdiPro program
b30pgxsc.cnt Help contents file
b30xscfw.xxx Firmware for BDI3000 for XScale targets
bdiifc32.dll BDI Interface DLL
xxxxxx.pro Predefined Program sets
Installing BDI Pro:
• Create a new directory on your harddisk, for example C:\BDIPRO.
• Copy the entire contents of the enclosed CD into this directory.
2.6 Configuration
Before you can use the full functionality of the bdiPro software, you must configure the system
correctly. The Setup Menu enables you to perform the following configuration tasks:
• Set the correct communication parameters -->
Communication
between the PC and the BDI.
• Load or update the firmware / logic -->
Firmware
• Configure the target system: memory type -->
Target Memory
and memory organization
• Program the initialization routines for the -->
Target Initlists
target system.
Any time you need information about specific menus and dialog boxes, you can display the
integrated Help screens by pressing the F1 function key.
The Edit and Target menus will only become active when you have specified a memory type (see
Target Memory in the Setup Menu).

bdiPro
for BDI3000 (XScale) User Manual 12
© Copyright 1993-2007 by ABATRON AG V 1.00
2.6.1 BDI3000 Setup/Update
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 BDI3000 must be disconnected from the target system while
programming the firmware for an other target CPU family.
The following dialogbox is used to check or update the BDI firmware and to set the network param-
eters.
dialog box «BDI3000 Update/Setup»
The following options allow you to update the BDI3000 firmware and store the network parameters:
Port Select the communication port where the BDI3000 is connected during
this setup session.
Speed Select the baudrate used to communicate with the BDI3000 loader during
this setup session.
Connect Click on this button to establish a connection with the BDI3000 loader.
Once connected, the BDI3000 remains in loader mode until it is restarted
or this dialog box is closed.
Current Press this button to read back the current loaded BDI3000 firmware ver-
sion. The current firmware version will be displayed.
Erase Press this button to erase the current loaded firmware.
!

bdiPro
for BDI3000 (XScale) User Manual 13
© Copyright 1993-2007 by ABATRON AG V 1.00
Update This button is only active if there is a newer firmware version present in the
execution directory of the setup software. Press this button to write the
new firmware into the BDI3000 flash memory.
BDI IP Address Enter the IP address for the BDI3000. Use the following format:
xxx.xxx.xxx.xxx e.g.151.120.25.101
Ask your network administrator for assigning an IP address to this
BDI3000. Every BDI3000 in your network needs a different IP address.
Subnet Mask Enter the subnet mask of the network where the BDI is connected to.
Use the following format: xxx.xxx.xxx.xxxe.g.255.255.255.0
A subnet mask of 255.255.255.255 disables the gateway feature.
Ask your network administrator for the correct subnet mask.
Default Gateway Enter the IP address of the default gateway. Ask your network administra-
tor for the correct gateway IP address. If the gateway feature is disabled,
you may enter 255.255.255.255 or any other value.
Transmit Click on this button to store the configuration in the BDI3000 flash
memory.
Default IP: 192.168.53.72
Before the BDI is configured the first time, it has a default IP of 192.168.53.72 that allows an initial
configuration via Ethernet. If your host is not able to connect to this default IP, then the initial config-
uration has to be done via the serial connection.
Note:
If there is currently a bdiGDB firmware loaded, setup via the Network channel is only possible if the
BDI3000 is already in Loader mode (Mode LED blinking). To force Loader mode, enter "boot loader"
at the Telnet. The setup tool tries first to establish a connection to the Loader via the IP address
present in the "BDI IP Address" entry field. If there is no connection established after a time-out, it
tries to connect to the default IP (192.168.53.72).

bdiPro
for BDI3000 (XScale) User Manual 14
© Copyright 1993-2007 by ABATRON AG V 1.00
3 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 8
Parity Bits none
Stop Bits 1
Network Interface 10/100 BASE-T
BDM/JTAG clock up to 32 MHz
Supported target voltage 1.2 – 5.0 V
Operating Temperature + 5 °C ... +60 °C
Storage Temperature -20 °C ... +65 °C
Relative Humidity (noncondensing) <90 %rF
Size 160 x 85 x 35 mm
Weight (without cables) 280 g
Host Cable length (RS232) 2.5 m
Electromagnetic Compatibility CE compliant
Restriction of Hazardous Substances RoHS 2002/95/EC compliant
Specifications subject to change without notice

bdiPro
for BDI3000 (XScale) User Manual 15
© Copyright 1993-2007 by ABATRON AG V 1.00
4 Environmental notice
Disposal of the equipment must be carried out at a designated disposal site.
5 Declaration of Conformity (CE)

bdiPro
for BDI3000 (XScale) User Manual 16
© Copyright 1993-2007 by ABATRON AG V 1.00
6 Warranty
ABATRON Switzerland warrants the physical CD, cable and BDI3000 to be free of defects in materi-
als and workmanship for a period of 3 years following the date of purchase when used under normal
conditions.
In the event of notification within the warranty period of defects in material or workmanship,
ABATRON will replace defective CD, cable or BDI3000. The remedy for breach of this warranty shall
be limited to replacement and shall not encompass any other damages, including but not limited loss
of profit, special, incidental, consequential, or other similar claims.
ABATRON Switzerland specifically disclaims all other warranties - expressed or implied, including but
not limited to implied warranties of merchantability and fitness for particular purposes - with respect
to defects in the CD, cable and BDI3000, and the program license granted herein, including without
limitation the operation of the program with respect to any particular application, use, or purposes. 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.
Failure in handling which leads to defects are not covered under this warranty. The warranty is void
under any self-made repair operation.

bdiPro
for BDI3000 (XScale) User Manual 17
© Copyright 1993-2007 by ABATRON AG V 1.00
Appendices
A Troubleshooting
Problem
The firmware can not be loaded.
Possible reasons
• The BDI is not correctly connected with the Host (see chapter 2).
• A wrong communication port is selected (Com 1...Com 4).
• The BDI is not powered up
Problem
No working with the target system (loading firmware is okay).
Possible reasons
• Wrong pin assignment (BDM/JTAG connector) of the target system (see chapter 2).
• Target system initialization is not correctly –> enter an appropriate target initialization list.
• An incorrect IP address was entered (BDI3000 configuration)
• BDM/JTAG signals from the target system are not correctly (short-circuit, break, ...).
• The target system is damaged.
Problem
Network processes do not function (loading the firmware was successful)
Possible reasons
• The BDI3000 is not connected or not correctly connected to the network (LAN cable or media
converter)
• An incorrect IP address was entered (BDI3000 configuration)

bdiPro
for BDI3000 (XScale) User Manual 18
© Copyright 1993-2007 by ABATRON AG V 1.00
B Maintenance
The BDI needs no special maintenance. Clean the housing with a mild detergent only. Solvents such
as gasoline may damage it.
C Trademarks
All trademarks are property of their respective holders.
Other manuals for BDI3000
1
Table of contents