RabbitCore RCM3000 Getting Started Manual

C-programmable module with ethernet

Advertisement

Quick Links

RabbitCore RCM3000
C-Programmable Module with Ethernet
Getting Started Manual
019–0109 • 020415–A

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RCM3000 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for RabbitCore RCM3000

  • Page 1 RabbitCore RCM3000 C-Programmable Module with Ethernet Getting Started Manual 019–0109 • 020415–A...
  • Page 2 RabbitCore RCM3000 Getting Started Manual Part Number 019-0109 • 020415–A • Printed in U.S.A. ©2002 Z-World Inc. • All rights reserved. Z-World reserves the right to make changes and improvements to its products without providing notice. Trademarks Rabbit 2000 is a trademark of Rabbit Semiconductor.
  • Page 3: Table Of Contents

    Table of Contents Chapter 1: Introduction & Overview 1.1 Rabbit 3000 Microprocessor ....................... 1 1.2 RCM3000 Series RabbitCore Modules....................2 1.2.1 Physical & Electrical Specifications ................... 3 1.3 Development Software........................4 1.4 How to Use This Manual ........................4 1.4.1 Additional Product Information ....................4 1.4.2 Additional Reference Information ....................
  • Page 4 4.8 How to Set Up your Computer’s IP Address for Direct Connect ............. 32 4.9 Run the PINGME.C Demo........................ 33 4.10 Running More Demo Programs With Direct Connect ..............33 4.11 Where Do I Go From Here?......................34 Legal Notice Index Schematics RabbitCore RCM3000...
  • Page 5: Chapter 1: Introduction & Overview

    Dynamic C software development system. This Development Kit contains a powerful RabbitCore module (the RCM3010) and Pro- totyping Board that will allow you to evaluate the Rabbit 3000 and to prototype circuits that interface to a Rabbit 3000 micropro- cessor.
  • Page 6: Rcm3000 Series Rabbitcore Modules

    The RCM3000 is equipped with a 10Base-T Ethernet port, 256K–512K flash memory and 128K–512K static RAM. There are two production models in the RCM3000 series. If the standard models do not serve your needs, other variations can be specified and ordered in production quantities.
  • Page 7: Physical & Electrical Specifications

    NOTE: For complete product specifications, see Appendix A in the RabbitCore RCM3000 User’s Manual. The RCM3000 modules have two 34-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.
  • Page 8: Development Software

    COM port for communication with the target system. See Chapter 3., “Software Instal- lation & Overview.” for complete information on installing Dynamic C. NOTE: The RCM3000 module requires Dynamic C v7.25 or later for development. A compatible version is included on the Development Kit CD-ROM.
  • Page 9: Using Online Documentation

    1.4.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.
  • Page 10 RabbitCore RCM3000...
  • Page 11: Chapter 2: Hardware Setup

    NOTE: This chapter (and this manual) assume that you have the RCM3000 Development Kit. If you purchased an RCM3000 module by itself, you will have to adapt the infor- mation in this chapter and elsewhere to your test and development setup.
  • Page 12: Prototyping Board

    The Prototyping Board included in the Development Kit makes it easy to connect an RCM3000 module to a power supply and a PC workstation for development. It also pro- vides some basic I/O peripherals (switches and LEDs), as well as a prototyping area for more advanced hardware development.
  • Page 13: Prototyping Board Features

    • I/O Switches and LEDs nected to the PG0 and PG1 pins of the master RCM3000 module and may be read as inputs by sample applications. Two LEDs are connected to the PG6 and PG7 pins of the master module, and may be driven as output indicators by sample applications.
  • Page 14 +5 V or the +3.3 V supplies, respectively. —A motor/encoder header is provided at header J6 for future use. • Motor Encoder —Z-World’s LCD/keypad module (Z-World part number • LCD/Keypad Module 101-0465) may be plugged in directly to headers J7, J8, and J10. RabbitCore RCM3000...
  • Page 15: Development Hardware Connections

    MASTER position. NOTE: It is important that you line up the pins on headers J1 and J2 of the RCM3000 series module exactly with the corresponding pins of headers J12 and J13 on the Proto- typing Board. The header pins may become bent or damaged if the pin alignment is off- set, and the module will not work.
  • Page 16: Connect Programming Cable

    Connect the 10-pin connector of the programming cable labeled to header J1 on PROG the RCM3000 series module as shown in Figure 4. Be sure to orient the marked (usually red) edge of the cable towards pin 1 of the connector. (Do not use the connector, DIAG which is used for a normal serial connection.)
  • Page 17: Connect Power

    2.3.3 Connect Power When all other connections have been made, you can connect power to the RCM3000 Pro- totyping Board. Connect the wall transformer to jack J11 on the Prototyping Board as shown in Figure 6 below. 3-pin power connector +3.3V...
  • Page 18: Run A Sample Program

    Dynamic C TCP/IP User’s Manual, also in the online documentation set. 2.5.1 Technical Support NOTE: If you purchased your RCM3000 through a distributor or through a Z-World or Rabbit Semiconductor partner, contact the distributor or partner first for technical support.
  • Page 19: Chapter 3: Software Installation & Overview

    OFTWARE NSTALLATION VERVIEW To develop and debug programs for the RCM3000 (and for all other Z-World and Rabbit Semiconductor hardware), you must install and use Dynamic C. This chapter takes you through the installation of Dynamic C, and then provides a tour of its major features with respect to the RCM3000.
  • Page 20: Hardware Requirements

    • Windows Me • Windows 2000 • Windows XP 3.1.1 Hardware Requirements The PC on which you install Dynamic C for development of RCM3000-based systems should have the following hardware: • A Pentium or later microprocessor • 32 MB of RAM •...
  • Page 21: Installing Dynamic C

    3.2 Installing Dynamic C Insert the Dynamic C CD-ROM in the drive on your PC. If autorun is enabled, the CD installation will begin automatically. If autorun is disabled or the installation otherwise does not start, use the Windows menu or Windows Disk Explorer to launch from the root folder Start | Run SETUP.EXE...
  • Page 22: Installation Type

    (default). Compact Installation — Only Dynamic C will be installed. • Custom Installation — You will be allowed to choose which components are • installed. This choice is useful to install or reinstall just the documentation. RabbitCore RCM3000...
  • Page 23: Select Com Port

    3.2.3 Select COM Port Dynamic C uses a COM (serial) port to communicate with the target development system. The installation allows you to choose the COM port that will be used. The default selection, as shown in the example above, is COM1. You may select any avail- able port for Dynamic C’s use.
  • Page 24: Starting Dynamic C

    3.3 Starting Dynamic C Once the RCM3000 is set up and connected as described in Chapter 2 and Dynamic C has been installed, start Dynamic C by double-clicking on the Dynamic C icon. Dynamic C should start, then look for the target system on the COM port you specified during installa- tion (by default, COM1).
  • Page 25: Sample Programs

    Once you have loaded and executed these five programs and have an understanding of how Dynamic C and the RCM3000 modules interact, you can move on and try the other sample programs, or begin building your own. Getting Started...
  • Page 26 RabbitCore RCM3000...
  • Page 27: Chapter 4: Using The Tcp/Ip Features

    Setup.” 2. Ethernet Connections There are four options for connecting the RCM3000 series module to a network for development and runtime purposes. The first two options permit total freedom of action in selecting network addresses and use of the “network,” as no action can interfere with other users.
  • Page 28 TIP: Checking and debugging the initial setup on a micro-LAN is recommended before connecting the system to a LAN or WAN. The PC running Dynamic C through the serial port on the RCM3000 does not need to be the PC with the Ethernet card.
  • Page 29: Running Tcp/Ip Sample Programs

    These programs require that the user connect his PC and the RCM3000 board together on the same network. This network can be a local private network (preferred for initial experimentation and debugging), or a connection via the Internet.
  • Page 30 The hub relays packets received on any port to all of the ports on the hub. Hubs are low in cost and are readily available. The RCM3000 board uses 10 Mbps Ethernet, so the hub or Ethernet adapter must be either a 10 Mbps unit or a 10/100 unit that adapts to either 10 or 100 Mbps.
  • Page 31: Ip Addresses Explained

    4.3 IP Addresses Explained IP (Internet Protocol) addresses are expressed as 4 decimal numbers separated by periods, for example: 216.103.126.155 10.1.1.6 Each decimal number must be between 0 and 255. The total IP address is a 32-bit number consisting of the 4 bytes expressed as shown above. A local network uses a group of adja- cent IP addresses.
  • Page 32: How Ip Addresses Are Used

    Each RCM3000 series RabbitCore module has its own MAC address, which consists of the prefix 0090C2 followed by the code that appears on the label affixed to the RCM3000 series module. For example, a MAC address might by 0090C2C002C0.
  • Page 33: Dynamically Assigned Internet Addresses

    DHCP server. The DHCP server may try to give you the same address each time, but a fixed IP address is usually not guaranteed. If you are not concerned about accessing the RCM3000 from the Internet, you can place the RCM3000 on the internal network using a private address assigned either statically or through DHCP.
  • Page 34: Placing Your Device On The Internet

    You can either place the RCM3000 directly on the Internet with a real Internet address or place it behind the firewall. If you place the RCM3000 behind the fire- wall, you need to configure the firewall to translate and forward packets from the Internet to the RCM3000.
  • Page 35: How To Set Ip Addresses In The Sample Programs

    IP address assigned to the board and the IP address of the gateway, if there is a gateway. #define MY_IP_ADDRESS "216.112.116.155" #define MY_NETMASK "255.255.255.248" #define MY_GATEWAY "216.112.116.153" In order to do a direct connection, the following IP addresses can be used for the RCM3000: #define MY_IP_ADDRESS "10.1.1.2" #define MY_NETMASK "255.255.255.248" // #define MY_GATEWAY "216.112.116.153"...
  • Page 36: How To Set Up Your Computer's Ip Address For Direct Connect

    4.8 How to Set Up your Computer’s IP Address for Direct Connect When your computer is connected directly to the RCM3000 board via an Ethernet connec- tion, you need to assign an IP address to your computer. To assign the PC the address 10.1.1.1 with the subnetmask 255.255.255.248 under Windows 98, do the following.
  • Page 37: Run The Pingme.c Demo

    STATIC.C SAMPLES\TCPIP\HTTP RCM3000 board be a Web server. In order to run these sample programs, edit the IP address as for the pingme program, compile the program and start it executing. Then bring up your Web browser and enter the following server address: http://10.1.1.2.
  • Page 38: Where Do I Go From Here

    4.11 Where Do I Go From Here? NOTE: If you purchased your RCM3000 through a distributor or through a Z-World or Rabbit Semiconductor partner, contact the distributor or Z-World partner first for tech- nical support. If there are any problems at this point: •...
  • Page 39: Legal Notice

    EGAL OTICE ZWORLD PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPO- NENTS IN LIFE-SUPPORT DEVICES OR SYSTEMS UNLESS A SPECIFIC WRIT- TEN AGREEMENT REGARDING SUCH INTENDED USE IS ENTERED INTO BETWEEN THE CUSTOMER AND Z-WORLD PRIOR TO USE. Life-support devices or systems are devices or systems intended for surgical implantation into the body or to sustain life, and whose failure to perform, when properly used in accordance with instruc- tions for use provided in the labeling and user’s manual, can be reasonably expected to...
  • Page 40 RabbitCore RCM3000...
  • Page 41: Index

    Board ...... 11 power supply ..... 13 sample programs ....21 Development Kit ..... 7 programming cable ... 12 getting to know the RCM3000 Dynamic C ....4, 15, 16 hardware reset ....... 13 BROWSELED.C ..21 assembly language .... 15 FLASHLED1.C ....
  • Page 42 RabbitCore RCM3000...
  • Page 43: Schematics

    CHEMATICS 090-0136 RCM3000 Schematic 090-0137 RCM3000/RCM3100 Prototyping Board Schematic 090-0128 Programming Cable Schematic Getting Started...
  • Page 44 REVISION HISTORY REVISION APPROVAL PROJECT APPROVAL DOCUMENT APPROVAL DESCRIPTION ENGINEER DATE CONTROL DATE 4/9/02 4/9/02 APPEND THE FOLLOWING DRAWING CONTENT: DOCUMENTS WHEN CHANGING THIS DOCUMENT: 2900 SPAFFORD ST. DAVIS, CA 95616 APPROVALS: INITIAL RELEASE 530 - 757 - 4616 SIGNATURES DATE NONE...
  • Page 45 NONE...
  • Page 46 NONE...
  • Page 47 REVISION HISTORY REVISION APPROVAL PROJECT APPROVAL DOCUMENT APPROVAL DESCRIPTION ENGINEER DATE CONTROL DATE 3/18/02 3/18/02 APPEND THE FOLLOWING DRAWING CONTENT: DOCUMENTS WHEN CHANGING THIS DOCUMENT: 2900 SPAFFORD ST. DAVIS, CA 95616 APPROVALS: INITIAL RELEASE 530 - 757 - 4616 D.MUSGROVE 3/18/02 R.MATTHEWS 3/19/02...
  • Page 48 NONE...
  • Page 49 REVISION HISTORY REVISION APPROVAL PROJECT APPROVAL DOCUMENT APPROVAL DESCRIPTION ENGINEER DATE CONTROL DATE 1/24/02 1/24/02 APPEND THE FOLLOWING DRAWING CONTENT: DOCUMENTS WHEN CHANGING THIS DOCUMENT: WORLD 2900 SPAFFORD ST. DAVIS, CA 95616 APPROVALS: INITIAL RELEASE 530 - 757 - 4616 SIGNATURES DATE NONE...

Table of Contents