Z-World RabbitCore RCM2100 Series Parts list manual

RabbitCore RCM2100
C-Programmable Module with Ethernet
Getting Started Manual
019–0093 • 050505–F

RabbitCore RCM2100
Z-World, Inc.
2900 Spafford Street
Davis, California 95616-6800
USA
Telephone: (530) 757-3737
Fax: (530) 757-3792
www.zworld.com
Rabbit Semiconductor
2932 Spafford Street
Davis, California 95616-6800
USA
Telephone: (530) 757-8400
Fax: (530) 757-8402
www.rabbitsemiconductor.com
RabbitCore RCM2100 Getting Started Manual
Part Number 019-0093 • 050505–F • Printed in U.S.A.
©2001–2005 Z-World Inc. • All rights reserved.
Z-World reserves the right to make changes and
improvements to its products without providing notice.
Trademarks
Rabbit is a registered trademark of Rabbit Semiconductor.
Rabbit 2000 and RabbitCore are trademarks of Rabbit Semiconductor.
Z-World is a registered trademark of Z-World Inc.
Dynamic C is a registered trademark of Z-World Inc.

Getting Started Manual
TABLE OF CONTENTS
Chapter 1. Introduction & Overview 1
1.1 RCM2100 Description .................................................................................................... 1
1.1.1 Standard Ethernet Versions ......................................................................................................... 2
1.1.2 Standard Non-Ethernet Versions ................................................................................................. 2
1.1.3 Physical & Electrical Specifications ........................................................................................... 2
1.2 Development Software.................................................................................................... 4
1.3 How to Use This Manual ................................................................................................. 5
1.3.1 Additional Product Information .................................................................................................. 5
1.3.2 Additional Reference Information .............................................................................................. 5
1.3.3 Using Online Documentation ...................................................................................................... 5
Chapter 2. Getting Started 7
2.1 Development Kit Contents............................................................................................... 7
2.2 Overview of the Prototyping Board.................................................................................... 8
2.2.1 Prototyping Board Features ......................................................................................................... 9
2.2.2 Prototyping Board Expansion ................................................................................................... 10
2.3 Connections ................................................................................................................ 11
2.3.1 Attach Module to Prototyping Board ........................................................................................ 12
2.3.2 Connect Programming Cable .................................................................................................... 13
2.3.3 Connect Power .......................................................................................................................... 14
2.4 Run a Sample Program.................................................................................................. 15
2.4.1 Troubleshooting ........................................................................................................................ 15
2.5 Where Do I Go From Here? ........................................................................................... 16
2.5.1 Technical Support ..................................................................................................................... 16

RabbitCore RCM2100
Chapter 3. Software Installation & Overview 17
3.1 An Overview of Dynamic C............................................................................................17
3.2 Installing Dynamic C.....................................................................................................19
3.2.1 Early Versions of Dynamic C ....................................................................................................19
3.3 Sample Programs..........................................................................................................20
3.3.1 Getting to Know the RCM2100 ................................................................................................21
3.3.2 Serial Communication ............................................................................................................... 24
3.3.3 Other Sample Programs .............................................................................................................25
3.3.4 Sample Program Descriptions ...................................................................................................26
3.4 Upgrading Dynamic C ...................................................................................................29
3.4.1 Add-On Modules .......................................................................................................................29
Chapter 4. Using the TCP/IP Features 31
4.1 TCP/IP Connections ......................................................................................................31
4.2 TCP/IP Primer on IP Addresses .......................................................................................33
4.3 IP Addresses Explained..................................................................................................35
4.4 How IP Addresses are Used ............................................................................................36
4.5 Dynamically Assigned Internet Addresses .........................................................................37
4.6 Placing Your Device on the Network ................................................................................38
4.7 Running TCP/IP Sample Programs...................................................................................39
4.8 How to Set IP Addresses in the Sample Programs................................................................40
4.9 How to Set Up your Computer’s IP Address for Direct Connect.............................................41
4.10 Run the PINGME.C Sample Program..............................................................................42
4.11 Running More Sample Programs With Direct Connect .......................................................42
4.11.1 Sample Program: PINGLED.C ............................................................................................... 42
4.11.2 Sample Program: ETHCORE1.C ............................................................................................44
4.11.3 Additional Sample Programs ...................................................................................................45
4.11.4 More Information ....................................................................................................................45
4.12 Where Do I Go From Here? ..........................................................................................46
Notice to Users 47
Index 49
Schematics 51

Getting Started 1
1. INTRODUCTION & OVERVIEW
The RCM2100 series is an advanced line of modules that incor-
porates the powerful Rabbit 2000®microprocessor, flash mem-
ory, static RAM and an RJ-45 Ethernet port, all on a PCB the
size of a business card.
Throughout this manual, the term RCM2100 refers to the complete series of RCM2100
RabbitCore modules unless other production models are referred to specifically.
The RCM2100 modules are designed for use on a motherboard that supplies power and
interface to real-world I/O devices. Up to 40 pins of I/O and four serial ports are available
for system interfacing.
To accommodate a variety of user and production needs, the RCM2100 family includes
versions with varying amounts of onboard memory. Models with and without the Ethernet
port are available, to permit simultaneous development of Ethernet-capable and cheaper
non-Ethernet versions of production systems. All modules within the family are pin-for-
pin compatible and may be installed or swapped in a matter of minutes.
1.1 RCM2100 Description
There are four production models in the RCM2100 series. Their standard features are
summarized in Table 1.
Table 1. RCM2100 Versions
Feature RCM2100 RCM2110 RCM2120 RCM2130
Microprocessor Rabbit 2000 running at 22.1 MHz
Flash Memory 512K 256K 512K 256K
Static RAM 512K 128K 512K 128K
General-Purpose I/O 34 40
Ethernet 10/100-compatible
10Base-T interface None
Serial Ports 4, high-speed, CMOS-compatible;
2 configurable as clocked ports;
1 clocked port dedicated to programming port use.

2RabbitCore RCM2100
1.1.1 Standard Ethernet Versions
There are two RCM2100 models that incorporate an RJ-45 Ethernet port:
RCM2100. The RCM2100 is the most fully equipped module in the family, with an Ethernet port, 512K
flash memory, and 512K static RAM. The Ethernet port uses some of the Rabbit 2000 microproces-
sor’s parallel ports, reducing the available number of I/O pins to 34. This is the model included in
the Development Kit.
RCM2110. The RCM2110 is identical to the RCM2100 except that it is equipped with 128K SRAM and
256K flash memory.
1.1.2 Standard Non-Ethernet Versions
To accommodate developers and users who want the RCM2100’s footprint and capabili-
ties without the integrated Ethernet port, two standard versions of the module are available
without the Ethernet hardware:
RCM2120. The RCM2120 is equipped with 512K flash memory and 512K static RAM, but does not
include the Ethernet port hardware. In its place, ports D and E of the Rabbit 2000 microprocessor
are enabled, giving this module 40 I/O pins.
RCM2130. The RCM2130 is identical to the RCM2120 except that it is equipped with 128K SRAM and
256K flash memory.
1.1.3 Physical & Electrical Specifications
Table 2 lists the basic specifications for the RCM2100 models.
NOTE: For complete product specifications, see Appendix A in the RabbitCore
RCM2100 User’s Manual.
Table 2. RCM2100 Specifications
Specification Data
Power Supply 4.75–5.25 V DC (140 mA at 22.1 MHz clock speed)
Size 2.0" × 3.5" × 0.85" (51mm × 89 mm × 22 mm)
Environmental –40°C to 70°C, 5–95% humidity, noncondensing

Getting Started 3
The RCM2100 modules have two 40-pin headers to which cables can be connected, or
which can be plugged into matching sockets on a production device. The pinouts for these
connectors are shown in Figure 1 below.
Figure 1. RCM2100 Pinout
GND
PA7
PA5
PA3
PA1
BA12
BA10
BA8
BA6
BA4
BA2
BA0
PC1
PC3
PC5
PC7-RXA
PD1
PD3
PD5
PD7
VCC
PCLK
PA6
PA4
PA2
PA0
BA11
BA9
BA7
BA5
BA3
BA1
PC0
PC2
PC4
PC6-TXA
PD0
PD2
PD4
PD6
J1
PB0
PB2
PB4
PB6
GND
BD6
BD4
BD2
BD0
PE6
PE4
PE2
PE0
VCC
VRAM
SMODE1
/RES_OUT
STATUS
/B ORD
GND
PB1-CLKA
PB3
PB5
PB7
BD7
BD5
BD3
BD1
PE7
PE5
PE3
PE1
GND
VBAT
/WDO
SMODE0
/RES_ N
/B OWR
/BBUFEN
VCC
J2
Note: These pinouts are as seen on
the Bottom Side of the module.

4RabbitCore RCM2100
1.2 Development Software
The RCM2100 modules use the Dynamic C development environment for rapid creation
and debugging of runtime applications. Dynamic C provides a complete development
environment with integrated editor, compiler and source-level debugger. It interfaces
directly with the target system, eliminating the need for complex and unreliable in-circuit
emulators.
Dynamic C must be installed on a Windows workstation with at least one free serial
(COM) port for communication with the target system. See Chapter 3., “Software Installa-
tion & Overview,” for complete information on installing Dynamic C.
NOTE: The RCM2100 modules require Dynamic C v7.04 or later for development. A
compatible version is included on the Development Kit CD-ROM.

Getting Started 5
1.3 How to Use This Manual
This Getting Started manual is intended to give users a quick but solid start with the
RCM2100 modules. It does not contain detailed information on the module hardware
capabilities, the Dynamic C development environment, or the TCP/IP software support for
the integrated Ethernet port. Most users will want more detailed information on some or
all of these topics in order to put the RCM2100 module to effective use.
1.3.1 Additional Product Information
Detailed information about the RCM2100 will be found in the RabbitCore RCM2100
User’s Manual, provided on the accompanying CD-ROM in both HTML and Adobe PDF
format.
Some advanced users may choose to skip the rest of this introductory manual and proceed
directly with the detailed hardware and software information in the User’s Manual.
NOTE: We recommend that anyone not thoroughly familiar with Z-World controllers at
least read through the rest of this manual to gain the necessary familiarity to make use
of the more advanced information.
1.3.2 Additional Reference Information
In addition to the product-specific information contained in the RabbitCore RCM2100
User’s Manual, several higher-level reference manuals are provided in HTML and PDF
form on the accompanying CD-ROM. Advanced users will find these references valuable
in developing systems based on the RCM2100 modules:
•Dynamic C User’s Manual
•An Introduction to TCP/IP
•Dynamic C TCP/IP User’s Manual
•Rabbit 2000 Microprocessor User’s Manual
1.3.3 Using Online Documentation
We provide the bulk of our user and reference documentation in two electronic formats,
HTML and Adobe PDF. We do this for several reasons.
We believe that providing all users with our complete library of product and reference
manuals is a useful convenience. However, printed manuals are expensive to print, stock
and ship. Rather than include and charge for manuals that every user may not want, or pro-
vide only product-specific manuals, we choose to provide our complete documentation
and reference library in electronic form with every development kit and with our Dynamic
C development environment.
NOTE: The most current version of Adobe Acrobat Reader can always be downloaded
from Adobe’s web site at http://www.adobe.com.
We recommend that you use version 4.0 or later.

6RabbitCore RCM2100
Providing this documentation in electronic form saves an enormous amount of paper by
not printing copies of manuals that users don’t need. It reduces the number of outdated
manuals we have to discard from stock as well, and it makes providing a complete library
of manuals an almost cost-free option. For one-time or infrequent reference, electronic
documents are more convenient than printed ones—after all, they aren’t taking up shelf or
desk space!
Finding Online Documents
The online documentation is installed along with Dynamic C, and an icon for the docu-
mentation menu is placed on the workstation’s desktop. Double-click this icon to reach the
menu. If the icon is missing, create a new desktop icon that points to default.htm in the
docs folder, found in the Dynamic C installation folder.
The latest versions of all documents are always available for free, unregistered download
from our web sites as well.
Printing Electronic Manuals
We recognize that many users prefer printed manuals for some uses. Users can easily print
all or parts of those manuals provided in electronic form. The following guidelines may be
helpful:
•Print from the Adobe PDF versions of the files, not the HTML versions.
•Print only the sections you will need to refer to more than once.
•Print manuals overnight, when appropriate, to keep from tying up shared resources dur-
ing the work day.
•If your printer supports duplex printing, print pages double-sided to save paper and
increase convenience.
•If you do not have a suitable printer or do not want to print the manual yourself, most
retail copy shops (e.g. Kinkos, AlphaGraphics, etc.) will print the manual from the PDF
file and bind it for a reasonable charge—about what we would have to charge for a
printed and bound manual.

Getting Started 7
2. GETTING STARTED
This chapter describes the RCM2100 hardware in more detail,
and explains how to set up and use the accompanying prototyp-
ing and development board.
NOTE: This chapter (and this manual) assume that you have the RabbitCore RCM2100
Development Kit. If you purchased an RCM2100 module by itself, you will have to
adapt the information in this chapter and elsewhere to your test and development setup.
2.1 Development Kit Contents
The RCM2100 Development Kit contains the following items:
•RCM2100 module with Ethernet port, 512K flash memory and 512K SRAM.
•RCM2100 Prototyping Board with accessory hardware and components.
•Wall transformer power supply, 12 V DC, 1 A. (Included only with Development Kits
sold for the North American market. Overseas users will have to substitute a power
supply compatible with their local mains power.)
•10-pin header to DE9 programming cable with integrated level-matching circuitry.
•Dynamic C CD-ROM, with complete product documentation on disk.
•This Getting Started manual.
•Registration card.

8RabbitCore RCM2100
2.2 Overview of the Prototyping Board
The Prototyping Board included in the Development Kit makes it easy to connect an
RCM2100 module to a power supply and a PC workstation for development. It also pro-
vides an array of basic I/O peripherals (switches and LEDs), as well as a prototyping area
for more advanced hardware development.
For the most basic level of evaluation and development, the Prototyping Board can be
used without modification.
As you progress to more sophisticated experimentation and hardware development, modi-
fications and additions can be made to the board without modifying or damaging the
RCM2100 module itself.
The Prototyping Board is shown in Figure 2 below, with its main features identified
Figure 2. RCM2100 Prototyping Board
RCM2100
Connectors
Voltage
Regulator
Power
nput Power
LED
Reset
Switch
User
LEDs
RS-232
Area
SMT Prototyping
Area
Through-Hole
Prototyping Area
RCM2100
Extension Headers
Vcc and GND
Buses

Getting Started 9
2.2.1 Prototyping Board Features
Power Connection. A 3-pin header is provided for connection of a power supply. Note that it is sym-
metrical, with both outer pins connected to ground and the center pin connected to the raw V+ input. The
cable of the wall transformer provided with the North American version of the Development Kit ends in
a connector that is correctly connected in either orientation.
Users providing their own power supply should ensure that it delivers 9–24 V DC at not less than 500
mA. The voltage regulator will get warm in use, but lower supply voltages will reduce thermal dissipa-
tion from the device.
Regulated Power Supply. The raw DC voltage provided at the POWER IN jack is routed to a 5 V
linear voltage regulator, which provides stable power to the RCM2100 module and the Prototyping
Board. A Shottky diode protects the power supply against damage from reversed raw power connections.
Power LED. The power LED lights whenever power is connected to the Prototyping Board.
Reset Switch. A momentary-contact, normally open switch is connected directly to the RCM2100’s
/RES_IN pin. Pressing the switch forces a hardware reset of the system.
I/O Switches & LEDs. Two momentary-contact, normally open switches are connected to the PB2 and
PB3 pins of the RCM2100 module, and may be read as inputs by sample applications.
Two LEDs are connected to the PA0 and PA1 pins of the module, and may be driven as output indicators
by sample applications. (Two more LEDs, driven by PA2 and PA3, may be added to the Prototyping
Board for additional outputs.)
All the LEDs are connected through JP1, which has traces shorting adjacent pads together. These traces
may be cut to disconnect the LEDs, and an 8-pin header soldered into JP1 to permit their selective recon-
nection with jumpers. See Figure 3 for details.
Expansion Areas. The Prototyping Board is provided with several unpopulated areas for expansion of
I/O and interfacing capabilities. See the next section for details.
Prototyping Area. A generous prototyping area has been provided for the installation of through-hole
components. Vcc (5 V DC) and Ground buses run around the edge of this area. An area for surface-
mount devices is provided to the right of the through-hole area. (Note that there are SMT device pads on
both top and bottom of the Prototyping Board.)

10 RabbitCore RCM2100
2.2.2 Prototyping Board Expansion
The Prototyping Board comes with several unpopulated areas, which may be filled with
components to suit the user’s development needs. After you have experimented with the
sample programs in Chapter 4, you may wish to expand the board’s capabilities for further
experimentation and development. Refer to the Prototyping Board schematic (090–0116)
for details as necessary.
Module Extension Headers The complete pin set of the RCM2100 module is duplicated at these
two headers. Developers can solder wires directly into the appropriate holes, or, for more flexible devel-
opment, two 40-pin header strips can be soldered into place. See Figure 1 on page 3 for the header
pinouts.
RS-232 Port Two 2-wire or one 5-wire RS-232 serial port can be added to the Prototyping Board by
installing a driver IC and four capacitors where indicated. The Maxim MAX232 driver chip or a similar
device is recommended for U2. Refer to the Prototyping Board schematic for additional details.
A 10-pin 0.1" spacing header strip can be installed at J6 to permit connection of a ribbon cable leading to
a standard DE-9 serial connector.
NOTE: The RS-232 chip, capacitors and header strip are available from electronics dis-
tributors such as Digi-Key and Mouser Electronics.
Additional LEDs Two additional LEDs (supplied with the development kit) can be soldered into place
at DS4 and DS5. The cathode lead (longer of the two, marked by a flat on the LED case) should go
towards the module.
Prototyping Board Component Header Several I/O pins from the module are hardwired to the
Prototyping Board LEDs and switches.
To disconnect these devices and permit the pins to be used for other purposes, cut the traces between the
pin rows. Use an exacto knife or similar tool to cut or break the traces crossing JP1, in the area indicated
in Figure 3.
To permit selective reconnection of the devices, jumpers may be placed across the 8-pin header strip at
JP1.
Figure 3. Where to Cut Traces to Permanently Disable
Demonstration Hardware on Prototyping Board

Getting Started 11
2.3 Connections
There are three steps to connecting the Prototyping Board for use with Dynamic C and the
sample programs:
1. Attach the RCM2100 module to the Prototyping Board.
2. Connect the programming cable between the RCM2100 module and the workstation PC.
3. Connect the power supply to the Prototyping Board.

12 RabbitCore RCM2100
2.3.1 Attach Module to Prototyping Board
Turn the RCM2100 module so that the Ethernet connector is on the left, as shown in Figure 4
below. Align the module headers J1 and J2 on the bottom side of the RCM2100 into header
sockets J1 and J3 on the Prototyping Board.
Figure 4. Installing the RCM2100 Module on the Prototyping Board.
Note the orientation of the module.
NOTE: It is important that you line up the RCM2100 pins on headers J1 and J2 exactly
with the corresponding pins of header sockets J1 and J3 on the Prototyping Board. The
header pins may become bent or damaged if the pin alignment is offset, and the module
will not work.
Press the module’s pins firmly into the Prototyping Board headers. The installed module is
shown in Figure 5 below.
Figure 5. RCM2100 Installed and Seated on the Prototyping Board

Getting Started 13
2.3.2 Connect Programming Cable
The programming cable connects the RCM2100 module to the PC running Dynamic C, to
download programs and to monitor the RCM2100 for debugging.
Connect the 10-pin connector of the programming cable labeled PROG to header J5 on
the RCM2100 module as shown in Figure 6 below. Be sure to orient the red edge of the
cable towards pin 1 of the connector. (Do not use the DIAG connector, which is used for a
normal serial connection.)
Figure 6. Attaching Programming Cable to the RCM2100
NOTE: The stripe on the cable is towards pin 1 of the header J5.
Connect the other end of the programming cable to a COM port on your PC. Make a note
of the port to which you connect the cable, as Dynamic C needs to have this parameter
configured when it is installed.
NOTE: COM 1 is the default port used by Dynamic C.
NOTE: Some PCs now come equipped only with a USB port. It may be possible to use
an RS-232/USB converter with the programming cable supplied with your RCM2100
module. An RS-232/USB converter is available through the Z-World Web store.
Note Pin 1 Indicator

14 RabbitCore RCM2100
2.3.3 Connect Power
When all other connections have been made, you can connect power to the RCM2100 Pro-
totyping Board.
Hook the connector from the wall transformer to header J5 on the Prototyping Board as
shown in Figure 7 below. The connector may be attached either way as long as it is not
offset to one side.
Figure 7. Power Supply Connections to Prototyping Board
Plug in the wall transformer. The power LED on the Prototyping Board should light up.
The RCM2100 and the Prototyping Board are now ready to be used.
NOTE: A RESET button is provided on the Prototyping Board to allow hardware reset
without disconnecting power.
To power down the Prototyping Board, unplug the power connector from J5. You should
disconnect power before making any circuit adjustments in the prototyping area, changing
any connections to the board, or removing the RCM2100 module from the Prototyping
Board.

Getting Started 15
2.4 Run a Sample Program
If you already have Dynamic C installed, you are now ready to test your programming
connections by running a sample program.
If you are using a USB port to connect your computer to the RCM2100 module, choose
Options > Project Options and select “Use USB to Serial Converter” under the
Communications tab.
Find the file PONG.C, which is in the Dynamic C SAMPLES folder. To run the program,
open it with the File menu (if it is not still open), then compile and run it by pressing F9 or
by selecting Run in the Run menu. The STDIO window will open and will display a small
square bouncing around in a box.
2.4.1 Troubleshooting
If Dynamic C appears to compile the BIOS successfully, but you then receive a communi-
cation error message when you compile and load the sample program, it is possible that
your PC cannot handle the higher program-loading baud rate. Try changing the maximum
download rate to a slower baud rate as follows.
•Locate the Serial Options dialog in the Dynamic C Options > Project Options >
Communications menu. Select a slower Max download baud rate.
If a program compiles and loads, but then loses target communication before you can
begin debugging, it is possible that your PC cannot handle the default debugging baud
rate. Try lowering the debugging baud rate as follows.
•Locate the Serial Options dialog in the Dynamic C Options > Project Options >
Communications menu. Choose a lower debug baud rate.
If there are any other problems:
•Check to make sure you are using the PROG connector, not the DIAG connector, on the
programming cable.
•Check both ends of the programming cable to ensure that they are firmly plugged into
the PC and the programming port on the RCM2100.
•Ensure that the RCM2100 module is firmly and correctly installed in its connectors on
the Prototyping Board.
•Select a different COM port within Dynamic C. From the Options menu, select
Project Options, then select Communications. Select another COM port from the list,
then click OK. Press <Ctrl-Y> to force Dynamic C to recompile the BIOS. If Dynamic C
still reports it is unable to locate the target system, repeat the above steps until you locate
the active COM port.

16 RabbitCore RCM2100
2.5 Where Do I Go From Here?
If everything appears to be working, we recommend the following sequence of action:
1. Run all of the sample programs described in Chapter 3 to get a basic familiarity with
Dynamic C and the RabbitCore module’s capabilities.
2. For further development, refer to the RabbitCore RCM2100 User’s Manual for details
of the module’s hardware and software components.
A documentation icon should have been installed on your workstation’s desktop; click
on it to reach the documentation menu. You can create a new desktop icon that points to
default.htm in the docs folder in the Dynamic C installation folder.
3. For advanced development topics, refer to the Dynamic C User’s Manual and the
Dynamic C TCP/IP User’s Manual, also in the online documentation set.
2.5.1 Technical Support
NOTE: If you purchased your RCM2100 through a distributor or through a Z-World or
Rabbit Semiconductor partner, contact the distributor or partner first for technical support.
If there are any problems at this point:
•Use the Dynamic C Help menu to get further assistance with Dynamic C.
•Check the Z-World/Rabbit Semiconductor Technical Bulletin Board at
www.zworld.com/support/bb/.
•Use the Technical Support e-mail form at www.zworld.com/support/questionSubmit.shtml.
This manual suits for next models
4
Table of contents
Other Z-World Control Unit manuals