RabbitCore RCM2100C-Programmable Module with EthernetGetting Started Manual019–0093 • 050505–F
6 RabbitCore RCM2100Providing this documentation in electronic form saves an enormous amount of paper by not printing copies of manuals that users don
Getting Started 72. GETTING STARTEDThis chapter describes the RCM2100 hardware in more detail,and explains how to set up and use the accompanying pro
8 RabbitCore RCM21002.2 Overview of the Prototyping BoardThe Prototyping Board included in the Development Kit makes it easy to connect an RCM2100 mo
Getting Started 92.2.1 Prototyping Board FeaturesPower Connection. A 3-pin header is provided for connection of a power supply. Note that it is sym-m
10 RabbitCore RCM21002.2.2 Prototyping Board ExpansionThe Prototyping Board comes with several unpopulated areas, which may be filled with components
Getting Started 112.3 ConnectionsThere are three steps to connecting the Prototyping Board for use with Dynamic C and the sample programs:1. Attach t
12 RabbitCore RCM21002.3.1 Attach Module to Prototyping BoardTurn the RCM2100 module so that the Ethernet connector is on the left, as shown in Figur
Getting Started 132.3.2 Connect Programming CableThe programming cable connects the RCM2100 module to the PC running Dynamic C, to download programs
14 RabbitCore RCM21002.3.3 Connect PowerWhen all other connections have been made, you can connect power to the RCM2100 Pro-totyping Board.Hook the c
Getting Started 152.4 Run a Sample ProgramIf you already have Dynamic C installed, you are now ready to test your programming connections by running
RabbitCore RCM2100Z-World, Inc.2900 Spafford StreetDavis, California 95616-6800USATelephone: (530) 757-3737Fax: (530) 757-3792www.zworld.comRabbit Sem
16 RabbitCore RCM21002.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
Getting Started 173. SOFTWARE INSTALLATION & OVERVIEWTo develop and debug programs for the RCM2100 (and for all otherZ-World and Rabbit Semicondu
18 RabbitCore RCM2100Dynamic C has a number of standard features.• Full-feature source and/or assembly-level debugger, no in-circuit emulator required
Getting Started 193.2 Installing Dynamic CInsert the Dynamic C CD from the Development Kit in your PC’s CD-ROM drive. If the installation does not au
20 RabbitCore RCM21003.3 Sample ProgramsTo help familiarize you with the RCM2100 modules, several sample Dynamic C programs have been included. Loadi
Getting Started 213.3.1 Getting to Know the RCM2100The following sample programs can be found in the SAMPLES\RCM2100 folder.• EXTSRAM.C—demonstrates
22 RabbitCore RCM2100• FLASHLEDS.C—demonstrates the use of coding with assembly instructions, cofunc-tions, and costatements to flash LEDs DS2 and DS3
Getting Started 23• LCD_DEMO.C—demonstrates a simple setup for an LCD that uses the HD44780 con-troller or an equivalent.Connect the LCD to the RCM210
24 RabbitCore RCM21003.3.2 Serial CommunicationThe following sample programs can be found in the SAMPLES\RCM2100 folder.• CORE_FLOWCONTROL.C—This pro
Getting Started 25Two sample programs, MASTER2.C and SLAVE2.C, are available to illus-trate RS-485 master/slave communica-tion. To run these sample pr
Getting Started ManualTABLE OF CONTENTSChapter 1. Introduction & Overview 11.1 RCM2100 Description ...
26 RabbitCore RCM21003.3.4 Sample Program Descriptions3.3.4.1 FLASHLED.CThis program is about as simple as a Dynamic C application can get—the equiv
Getting Started 273.3.4.2 FLASHLEDS.CIn addition to Dynamic C’s implementation of C-language programming for embedded systems, it supports assembly-l
28 RabbitCore RCM2100tion of how Dynamic C handles multitasking with costatements and cofunctions, see Chapter 5, “Multitasking with Dynamic C,” and C
Getting Started 293.4 Upgrading Dynamic CDynamic C patches that focus on bug fixes are available from time to time. Check the Web sites• www.zworld.c
30 RabbitCore RCM2100
Getting Started 314. USING THE TCP/IP FEATURES4.1 TCP/IP ConnectionsProgramming and development can be done with the RCM2100 RabbitCore modules with
32 RabbitCore RCM2100The following options require more care in address selection and testing actions, as conflicts with other users, servers and syst
Getting Started 334.2 TCP/IP Primer on IP AddressesObtaining IP addresses to interact over an existing, operating, network can involve a num-ber of c
34 RabbitCore RCM2100If your system administrator can give you an Ethernet cable along with its IP address, the netmask and the gateway address, then
Getting Started 354.3 IP Addresses ExplainedIP (Internet Protocol) addresses are expressed as 4 decimal numbers separated by periods, for example:216
RabbitCore RCM2100Chapter 3. Software Installation & Overview 173.1 An Overview of Dynamic C...
36 RabbitCore RCM21004.4 How IP Addresses are UsedThe actual hardware connection via an Ethernet uses Ethernet adapter addresses (also called MAC ad
Getting Started 374.5 Dynamically Assigned Internet AddressesIn many instances, there are no fixed IP addresses. This is the case when, for example,
38 RabbitCore RCM21004.6 Placing Your Device on the NetworkIn many corporate settings, users are isolated from the Internet by a firewall and/or a pr
Getting Started 394.7 Running TCP/IP Sample ProgramsWe have provided a number of sample programs demonstrating various uses of TCP/IP for networking
40 RabbitCore RCM21004.8 How to Set IP Addresses in the Sample ProgramsWith the introduction of Dynamic C 7.30 we have taken steps to make it easier
Getting Started 414.9 How to Set Up your Computer’s IP Address for Direct ConnectWhen your computer is connected directly to the RCM2100 board via an
42 RabbitCore RCM21004.10 Run the PINGME.C Sample ProgramConnect the crossover cable from your computer’s Ethernet port to the RCM2100 board’s RJ-45
Getting Started 43Program DescriptionFor operation, network addresses must be correctly defined at the start of this program. The TCPCONFIG 1 macro in
44 RabbitCore RCM21004.11.2 Sample Program: ETHCORE1.CThe RCM2100 modules with Ethernet ports can act as micro Web page servers, with dynamic interac
Getting Started 45Generally, the other defined values may be left at their default settings. If you are operat-ing the system behind a firewall or pro
Getting Started 11. INTRODUCTION & OVERVIEWThe RCM2100 series is an advanced line of modules that incor-porates the powerful Rabbit 2000® micropr
46 RabbitCore RCM21004.12 Where Do I Go From Here?NOTE: If you purchased your RCM2100 through a distributor or through a Z-World or Rabbit Semiconduc
Getting Started 47NOTICE TO USERSZ-WORLD PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE-SUPPORT DEVICES OR SYSTEMS UNLESS A SPECIF
48 RabbitCore RCM2100
User’s Manual 49INDEXAadditional informationonline documentation ...5references ...5Ddescription ...
User’s Manual 50
Getting Started 51SCHEMATICS090-0114 RCM2100 Schematicwww.rabbitsemiconductor.com/documentation/schemat/090-0114.pdf090-0116 RCM2100 Prototyping Board
2 RabbitCore RCM21001.1.1 Standard Ethernet VersionsThere are two RCM2100 models that incorporate an RJ-45 Ethernet port:RCM2100. The RCM2100 is the
Getting Started 3The RCM2100 modules have two 40-pin headers to which cables can be connected, or which can be plugged into matching sockets on a prod
4 RabbitCore RCM21001.2 Development SoftwareThe RCM2100 modules use the Dynamic C development environment for rapid creation and debugging of runtime
Getting Started 51.3 How to Use This ManualThis Getting Started manual is intended to give users a quick but solid start with the RCM2100 modules. It
Komentarze do niniejszej Instrukcji