| DeviceMate Development Kit Getting Started |
2. Hardware Setup
This chapter describes the DeviceMate hardware platform in more detail, and explains how to set up and use the accompanying Demonstration Board.
2.1 Development Kit Contents
The DeviceMate Development Kit contains the following items.
- RCM2200 DeviceMate hardware platform with Ethernet port, 256K flash memory, and 128K SRAM.
- RCM2300 working sample target device.
- DeviceMate Demonstration Board, which conveniently provides power and connections for the RCM2200 and RCM2300 modules, and also includes an RS-232 chip to allow serial communication with nonRabbit-based target devices.
- Wall transformer power supply, 12 V DC, 500 mA. (Included only with Development Kits sold for the North American market. Overseas users will have to substitute a power supply compatible with local mains power.)
- 10-pin header to DE9 programming cable with integrated level-matching circuitry.
- Standard 10-pin header to DE9 cable.
- Dynamic C SE CD-ROM, with complete product documentation on disk.
- This Getting Started manual.
- DeviceMate Software User's Manual
- Rabbit 2000 Processor Easy Reference poster.
- Registration card.
2.2 Overview of the Demonstration Board
The Demonstration Board included in the Development Kit makes it easy to connect the RCM2200 and RCM2300 modules to a power supply and a PC workstation for development and to run the sample programs. The Demonstration Board also provides some basic I/O peripherals (switches and LEDs), as well as a development area for more advanced hardware development.
For the most basic level of evaluation and development, the Demonstration Board can be used in conjunction with the RCM2200 and RCM2300 modules without modification.
As you progress to more sophisticated experimentation and hardware development, modifications and additions can be made to the Demonstration Board.
The Demonstration Board is shown below in Figure 2, with its main features identified.
2.2.1 Demonstration Board Features
Master and Slave Module Connectors
Power Connection
- A set of connectors is pre-wired to allow a sample DeviceMate hardware platform (the RCM2200) to be installed in the SLAVE slot to communicate with a target (the RCM2300) installed in the MASTER slot.
- All the Demonstration Board features (switches, LEDs, serial port drivers, etc.) are connected to the MASTER slot.
RS-232 Port
- A 3-pin header is provided for connection to the power supply. Note that it is symmetrical, 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 8-12 V DC at not less than 500 mA. The voltage regulator will get hot while in use.
Regulated Power Supply
- Two 2-wire serial ports or one 4-wire RS-232 serial port are available to the MASTER slot on the Demonstration Board. These are provided to facilitate using the DeviceMate hardware platform with a nonRabbit-based target where the DeviceMate hardware platform is installed in the MASTER slot. See Appendix B, "nonRabbit-Based Target Connections," for more details.
- A 10-pin 0.1-inch spacing header strip is installed at J6 to permit connection of a ribbon cable leading to a standard DE-9 serial connector.
Power LED
- 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 RCM2200 and RCM2300 modules, and to the Demonstration Board. A Shottky diode protects the power supply against damage from reversed raw power connections.
Reset Switch
- The power LED lights whenever power is connected to the Demonstration Board.
I/O Switches & LEDs
- A momentary-contact, normally open switch is connected directly to the /RES pin of the board in the MASTER slot (the RCM2300 target). Pressing the switch forces a hardware reset of the RCM2300.
Expansion Areas
- Two momentary-contact, normally open switches are connected to the PB2 and PB3 pins of the target RCM2300, and may be read as inputs by sample applications.
- Two LEDs are connected to the PE1 and PE7 pins of the MASTER slot, and may be driven as output indicators by sample applications.
- The LEDs and switches 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 reconnection with jumpers. See Figure 3 for details.
Prototyping Area
- The Demonstration Board is provided with several unpopulated areas for expansion of I/O and interfacing capabilities. See the next section for details.
- 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 Demonstration Board.) Each SMT pad is connected to a hole designed to accept a 30 AWG solid wire.
2.2.2 Demonstration Board Expansion
The Demonstration 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 Section 3.4, you may wish to expand the board's capabilities for further experimentation and development with your target. Refer to the Demonstration Board schematic (090-0122) for details as necessary.
Module Extension Headers
Demonstration Board Component Header
- The complete pin sets of both the MASTER and SLAVE slots are duplicated at these two sets of headers. Developers can solder wires directly into the appropriate holes, or, for more flexible development, 26-pin header strips can be soldered into place. See Figure A-6 for the header pinouts.
- Four I/O pins from the module are hardwired to the Demonstration 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 of JP1. Use a knife or similar tool to cut or break the traces crossing JP1 in the area between the silk-screened arrows, as indicated in Figure 3 below.
- Use jumpers across the positions on JP1 if you need to reconnect any of the devices later on.
- The headers and jumpers are included in a bag of parts that comes with the Development Kit.
![]()
Figure 3. Where to Cut Traces to Permanently Disable
Demonstration Hardware on Bottom of Demonstration Board2.3 Development Hardware Connections
There are five steps to connecting the Demonstration Board for use with Dynamic C and the sample programs:
1. Attach the DeviceMate hardware platform (the RCM2200 module) to the SLAVE position on the Demonstration Board.
2. Attach the DeviceMate target (the RCM2300 module) to the MASTER position on the Demonstration Board.
3. Connect the programming cable between the hardware platform (the RCM2200) and the workstation PC.
4. Connect the hardware platform's Ethernet port to a PC's Ethernet port, or to an Ethernet network. The Ethernet/Internet connections are described in Section 4.1.1, "Ethernet Connections." Step 4 may be done after the steps described in this chapter have been completed, and a sample program has been run to demonstrate that the hardware platform is hooked up and working correctly.
5. Connect the power supply to the Demonstration Board.
2.3.1 Attach Modules to Demonstration Board
1. Turn the RCM2200 module so that the Ethernet connector end of the module extends off the Demonstration Board, as shown in Figure 4 below. Align the module headers J4 and J5 into sockets J3 and J4 (the SLAVE slots) on the Demonstration Board. Press the module's pins firmly into the Demonstration Board headers.
2. Turn the RCM2300 module so that the header pins and the mounting hole of the RCM2300 line up with the sockets and mounting hole on the Demonstration Board as shown in Figure 4. Align the module headers J4 and J5 into sockets J1 and J2 (the MASTER slots) on the Demonstration Board. Press the module's pins firmly into the Demonstration Board headers.
2.3.2 Connect Programming Cable
The programming cable connects the RCM2200 module to the PC running Dynamic C to allow you to download and modify a canned program for the DeviceMate hardware platform.
Connect the 10-pin connector of the programming cable labeled PROG to header J1 on the RCM2200 module as shown in Figure 5 below. Be sure to orient the marked (usually 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.)
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. 2.3.3 Connect Power
When all other connections have been made, you can connect power to the Demonstration Board.
Hook the connector from the AC adapter to header J5 on the Demonstration Board as shown in Figure 6 below. The connector may be attached either way as long as it is not offset to one side.
Plug in the AC adapter. The power LED on the Demonstration Board should light up. The RCM2200 hardware platform and the RCM2300 target are now ready to be used.
To power down the Demonstration Board, unplug the power connector from J5. You should disconnect power before making any circuit adjustments in the Demonstration area, changing any connections to the board, or removing the modules from the board.
2.4 Where Do I Go From Here?
We recommend that you proceed to the next chapter and install Dynamic C (if you do not already have it installed), then run the first sample program to verify that the RCM2200 and the RCM2300 modules and the Demonstration Board are set up and functioning correctly.
If everything appears to be working, we recommend the following sequence of action:
1. Run all of the sample programs described in Section 3.4 to get a basic familiarity with Dynamic C and the RCM2200 module's capabilities.
2. Run the sample programs in Chapter 4 to become familiar with how the RCM2200 uses TCP/IP and its operation as a DeviceMate.
3. For further hardware development, refer to the RabbitCore RCM2200 User's Manual and the RabbitCore RCM2300 User's Manual for details of the modules' 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.
4. For advanced development topics, refer to the Dynamic C User's Manual, the DeviceMate Software User's Manual, and the Dynamic C TCP/IP User's Manual, also in the online documentation set.
2.4.1 Technical Support
If there are any problems at this point:
- Check the Z-World Technical Bulletin Board at http://www.zworld.com/support/bb/index.html.
- E-mail your questions to support@zworld.com.
- Call Z-World Technical Support at (530)757-3737.
| Z-World http://www.zworld.com Voice: (530) 753-3737 FAX: (530) 753-5141 sales@zworld.com |