Wildcat (BL2000)
C-Programmable Single-Board Computer with Ethernet
User’s Manual
019–0094
• 090529–O
Wildcat (BL2000) User’s Manual
Part Number 019-0094 • 090529–O • Printed in U.S.A.
©2001–2009 Digi International Inc. • All rights reserved.
No part of the contents of this manual may be reproduced or transmitted in any form or by any means
without the express written permission of Digi International.
Permission is granted to make one or more copies as long as the copyright page contained therein is
included. These copies of the manuals may not be let or sold for any reason without the express written
permission of Digi International.
Digi International reserves the right to make changes and
improvements to its products without providing notice.
Trademarks
Rabbit and Dynamic C are registered trademarks of Digi International Inc.
Rabbit 2000 is a trademark of Digi International Inc.
The latest revision of this manual is available on the Rabbit Web site,
www.rabbit.com,
for free, unregistered download.
Digi International Inc.
www.rabbit.com
Wildcat (BL2000)
T
ABLE OF
C
ONTENTS
Chapter 1. Introduction
1
1.1 BL2000 Description..............................................................................................................................1
1.2 BL2000 Features...................................................................................................................................1
1.2.1 Connector Options ........................................................................................................................2
1.3 Development and Evaluation Tools......................................................................................................3
1.3.1 Tool Kit .........................................................................................................................................3
1.3.2 Software ........................................................................................................................................4
1.4 CE Compliance .....................................................................................................................................5
1.4.1 Design Guidelines .........................................................................................................................6
1.4.2 Interfacing the BL2000 to Other Devices .....................................................................................6
Chapter 2. Getting Started
2.1
2.2
2.3
2.4
2.5
7
BL2000 Connections ............................................................................................................................7
Installing Dynamic C ..........................................................................................................................10
Starting Dynamic C ............................................................................................................................11
PONG.C ..............................................................................................................................................12
Where Do I Go From Here? ...............................................................................................................12
Chapter 3. Subsystems
13
3.1 BL2000 Pinouts ..................................................................................................................................14
3.1.1 Headers and Screw Terminals.....................................................................................................15
3.1.2 Power Supply Pins ......................................................................................................................16
3.2 Digital I/O ...........................................................................................................................................17
3.2.1 Digital Inputs...............................................................................................................................17
3.2.2 Digital Outputs............................................................................................................................19
3.3 Relay Outputs .....................................................................................................................................21
3.4 Serial Communication ........................................................................................................................22
3.4.1 RS-232 ........................................................................................................................................22
3.4.2 RS-485 ........................................................................................................................................22
3.4.3 Ethernet Port ...............................................................................................................................24
3.4.4 Programming Port .......................................................................................................................25
3.5 A/D Converter Inputs..........................................................................................................................27
3.6 D/A Converter Outputs .......................................................................................................................28
3.7 Memory...............................................................................................................................................30
3.7.1 SRAM .........................................................................................................................................30
3.7.2 Flash Memory .............................................................................................................................30
3.8 Programming Cable ............................................................................................................................31
3.8.1 Changing Between Program Mode and Run Mode ....................................................................31
3.9 Other Hardware...................................................................................................................................32
3.9.1 External Interrupts.......................................................................................................................32
3.9.2 Clock Doubler .............................................................................................................................32
3.9.3 Spectrum Spreader ......................................................................................................................33
Chapter 4. Software
35
4.1 An Overview of Dynamic C ...............................................................................................................35
4.1.1 Upgrading Dynamic C ................................................................................................................37
User’s Manual
4.2 Sample Programs................................................................................................................................ 38
4.2.1 General BL2000 Sample Programs ............................................................................................ 38
4.2.2 Digital I/O................................................................................................................................... 38
4.2.3 Serial Communication ................................................................................................................ 39
4.2.4 A/D Converter Inputs ................................................................................................................. 39
4.2.5 D/A Converter Outputs............................................................................................................... 40
4.2.6 Real-Time Clock ........................................................................................................................ 40
4.2.7 TCP/IP Sample Programs........................................................................................................... 40
4.3 BL2000 Libraries ............................................................................................................................... 41
4.4 BL2000 Function Calls ...................................................................................................................... 42
4.4.1 Board Initialization ..................................................................................................................... 42
4.4.2 Digital I/O................................................................................................................................... 44
4.4.3 Serial Communication ................................................................................................................ 45
4.4.4 Relay and LED Outputs.............................................................................................................. 46
4.4.5 A/D Converter Inputs ................................................................................................................. 47
4.4.6 D/A Converter Outputs............................................................................................................... 50
Chapter 5. Using the TCP/IP Features
53
5.1 TCP/IP Connections ........................................................................................................................... 53
5.2 TCP/IP Sample Programs................................................................................................................... 55
5.2.1 How to Set IP Addresses in the Sample Programs..................................................................... 55
5.2.2 How to Set Up your Computer’s IP Address for a Direct Connection ...................................... 56
5.3 Run the PINGME.C Sample Program................................................................................................ 57
5.4 Running More Sample Programs With a Direct Connection ............................................................. 58
5.5 Where Do I Go From Here? ............................................................................................................... 58
Appendix A. Specifications
59
A.1 Electrical and Mechanical Specifications.......................................................................................... 60
A.1.1 Headers ...................................................................................................................................... 63
A.2 Conformal Coating ............................................................................................................................ 64
A.3 Jumper Configurations ...................................................................................................................... 65
A.4 Use of Rabbit 2000 Parallel Ports ..................................................................................................... 67
Appendix B. Plastic Enclosure
69
B.1 Assembly ........................................................................................................................................... 70
B.2 Dimensions ........................................................................................................................................ 72
Appendix C. Power Supply
73
C.1 Power Supplies .................................................................................................................................. 73
C.1.1 Power for Analog Circuits ......................................................................................................... 74
C.2 Batteries and External Battery Connections...................................................................................... 74
C.2.1 Replacing the Backup Battery ................................................................................................... 75
C.2.2 Battery-Backup Circuit .............................................................................................................. 75
C.2.3 Power to VRAM Switch ............................................................................................................ 76
C.2.4 Reset Generator.......................................................................................................................... 77
C.3 Chip Select Circuit............................................................................................................................. 78
Appendix D. Demonstration Board
81
D.1 Connecting Demonstration Board ..................................................................................................... 81
Index
Schematics
85
89
Wildcat (BL2000)
1. I
NTRODUCTION
The BL2000 is a high-performance, C-programmable single-
board computer that offers built-in digital and analog I/O com-
bined with Ethernet connectivity in a compact form factor. A
Rabbit
®
2000 microprocessor operating at 22.1 MHz provides
fast data processing. An optional plastic enclosure is available,
and may be wall-mounted or panel-mounted.
1.1 BL2000 Description
The BL2000 is an advanced single-board computer that incorporates the powerful Rabbit
2000 microprocessor, flash memory, static RAM, digital I/O ports, A/D converter inputs,
D/A converter outputs, an SPDT relay output, and a 10Base-T Ethernet port.
1.2 BL2000 Features
•
Rabbit
®
2000 microprocessor operating at 22.1 MHz.
•
128K static RAM and 256K flash memory.
•
Up to 28 digital I/O:
11 protected digital inputs (plus up to 7 dual-purpose unbuffered analog inputs that
may be software-configured for use as digital inputs) and 10 high-current digital
sinking outputs that may be factory-configured as sourcing outputs.
•
11 analog channels: nine 12-bit A/D converter inputs, two 12-bit D/A converter outputs.
•
Onboard SPDT relay.
•
One RJ-45 Ethernet port compliant with IEEE 802.3 standard for 10Base-T Ethernet
protocol.
•
Eight status LEDs.
•
4 serial ports (2 RS-232 or 1 RS-232 with RTS/CTS, 1 RS-485, and 1 CMOS-compati-
ble programming port).
•
Real-time clock.
•
Watchdog supervisor.
•
Voltage regulator.
User’s Manual
1