Distributed by: www.Jameco.com ✦ 1-800-831-4242 The content and copyrights of the attached material are the property of its owner.
RabbitCore RCM3100 C-Programmable Module Getting Started Manual 019–0114 • 040515–C
RabbitCore RCM3100 Getting Started Manual Part Number 019-0114 • 040515–C • Printed in U.S.A. ©2002–2004 Z-World Inc. • All rights reserved. Z-World reserves the right to make changes and improvements to its products without providing notice. Trademarks Rabbit and Rabbit 3000 are registered trademarks of Rabbit Semiconductor. RabbitCore is a trademark of Rabbit Semiconductor. Dynamic C is a registered trademark of Z-World Inc. Z-World, Inc.
Table of Contents Chapter 1. Introduction & Overview 1 1.1 Rabbit 3000 Microprocessor ................................................................................................................ 1 1.2 RCM3100 Series RabbitCore Modules................................................................................................ 2 1.2.1 Physical & Electrical Specifications ........................................................................................... 3 1.3 Development Software...........
Notice to Users 23 Index 25 Schematics 27 RabbitCore RCM3100
1. INTRODUCTION & OVERVIEW The Rabbit 3000 is a modern 8-bit microprocessor that is the central element of a complete and fully supported embedded design system that includes development tools, software libraries, core modules, sample designs, a parts store, and readily available expert, human support. This Development Kit has the essentials that you need to design your own microprocessor-based system, and includes a complete Dynamic C software development system.
1.2 RCM3100 Series RabbitCore Modules The RCM3100 series RabbitCore modules are designed for use on a customer-supplied motherboard that supplies power and interfaces to real-world I/O devices. Their two 34pin connection headers provide 54 digital parallel user I/O lines, shared with five serial ports, along with control lines. A sixth serial port and one additional I/O line are available on the programming header.
1.2.1 Physical & Electrical Specifications Table 2 lists the basic specifications for the RCM3100. Table 2. RCM3100 Specifications Specification Data Power Supply 3.15 – 3.45 V DC (75 mA at 29.4 MHz clock speed) Size 1.65" × 1.85" × 0.55" (42 mm × 47 mm × 14 mm) Environmental –40°C to 85°C, 5–95% humidity, noncondensing NOTE: For complete product specifications, see Appendix A in the RabbitCore RCM3100 User’s Manual.
1.3 Development Software The RCM3100 module uses 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 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 USB or COM port for communication with the target system.
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. However, printed manuals are expensive to print, stock and ship.
6 RabbitCore RCM3100
2. HARDWARE SETUP This chapter describes the RCM3100 hardware in more detail, and explains how to set up and use the accompanying Prototyping Board. NOTE: This chapter (and this manual) assume that you have the RCM3100 Development Kit. If you purchased an RCM3100 module by itself, you will have to adapt the information in this chapter and elsewhere to your test and development setup. 2.
2.2 Prototyping Board The Prototyping Board included in the Development Kit makes it easy to connect an RCM3100 series module to a power supply and a PC workstation for development. It also provides some 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.
2.2.1 Prototyping Board Features • Power Connection—A power-supply jack and a 3-pin header are provided for connection to the power supply. Note that the 3-pin header is symmetrical, with both outer pins connected to ground and the center pin connected to the raw V+ input. The cable of the AC adapter provided with the North American version of the Development Kit ends in a plug that connects to the power-supply jack.
• Current Measurement Option—Jumpers across pins 1–2 and 5–6 on header JP1 can be removed and replaced with an ammeter across the pins to measure the current drawn from the +5 V or the +3.3 V supplies, respectively. • Motor Encoder—A motor/encoder header is provided at header J6 for future use. • LCD/Keypad Module—Z-World’s LCD/keypad module (Z-World part number 101-0465) may be plugged in directly to headers J7, J8, and J10.
2.3 Development Hardware Connections There are four steps to connecting the Prototyping Board for use with Dynamic C and the sample programs: 1. Attach the RCM3100 series module to the Prototyping Board. 2. Connect the programming cable between the RCM3100 module and the workstation PC. 3. Connect the power supply to the Prototyping Board. 2.3.
2.3.2 Connect Programming Cable The programming cable connects the RabbitCore module to the PC running Dynamic C to download programs and to monitor the RabbitCore module for debugging. Connect the 10-pin connector of the programming cable labeled PROG to header J1 on the RCM3100 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 DIAG connector, which is used for a normal serial connection.
2.3.3 Connect Power When all other connections have been made, you can connect power to the RCM3000/RCM3100 Prototyping Board. Connect the wall transformer to jack J11 on the Prototyping Board as shown in Figure 5 below.
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. 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), compile it using the Compile menu, and then run it by selecting Run in the Run menu. The STDIO window will open and will display a small square bouncing around in a box. This program shows that the CPU is working. 2.
3. SOFTWARE INSTALLATION & OVERVIEW To develop and debug programs for the RCM3100 (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 RCM3100. 3.
• Dynamic C provides extensions to the C language (such as shared and protected variables, costatements and cofunctions) that support real-world embedded system development. Dynamic C supports cooperative and preemptive multi-tasking. • Dynamic C comes with many function libraries, all in source code. These libraries support real-time programming, machine level I/O, and provide standard string and math functions. • Dynamic C compiles directly to memory.
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 Start | Run menu or Windows Disk Explorer to launch SETUP.EXE from the root folder of the CD-ROM. The installation program will guide you through the installation process. Most steps of the process are self-explanatory and not covered in this section.
3.2.2 Installation Type Dynamic C has two components that can be installed together or separately. One component is Dynamic C itself, with the development environment, support files and libraries. The other component is the documentation library in HTML and PDF formats, which may be left uninstalled to save hard drive space or installed elsewhere (on a separate or network drive, for example). The installation type is selected in the installation menu shown above.
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 available port for Dynamic C’s use. If you are not certain which port is available, select COM1. This selection can be changed later within Dynamic C. NOTE: The installation utility does not check the selected COM port in any way.
3.3 Starting Dynamic C Once the RCM3100 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 installation (by default, COM1). Once detected, Dynamic C should go through a sequence of steps to cold-boot the module and compile the BIOS.
3.4 Sample Programs To help familiarize you with the RCM3100 modules, Dynamic C includes several sample programs. Loading, executing and studying these programs will give you a solid hands-on overview of the RabbitCore’s capabilities, as well as a quick start with Dynamic C as an application development tool. NOTE: The sample programs assume that you have at least an elementary grasp of ANSI C. If you do not, see the introductory pages of the Dynamic C User’s Manual for a suggested reading list.
22 RabbitCore RCM3100
NOTICE TO USERS ZWORLD PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFESUPPORT DEVICES OR SYSTEMS UNLESS A SPECIFIC WRITTEN AGREEMENT REGARDING SUCH INTENDED USE IS ENTERED INTO BETWEEN THE CUSTOMER AND Z-WORLD PRIOR TO USE.
24 RabbitCore RCM3100
INDEX A H S additional information online documentation .......... 5 references ............................ 4 C language ...................... 15, 16 hardware connections ........... 11 install RCM3100 on Prototyping Board ...................... 11 power supply ..................... 13 programming cable ........... 12 hardware reset ....................... 13 D M Development Kit ..................... 7 Dynamic C .................. 4, 15, 16 assembly language ............ 15 debugger ..............
26 RabbitCore RCM3100
SCHEMATICS 090-0144 RCM3100 Schematic www.rabbitsemiconductor.com/documentation/schemat/090-0144.pdf 090-0137 RCM3000/RCM3100 Prototyping Board Schematic www.rabbitsemiconductor.com/documentation/schemat/090-0137.pdf 090-0156 LCD/Keypad Module Schematic www.rabbitsemiconductor.com/documentation/schemat/090-0156.pdf 090-0128 Programming Cable Schematic www.rabbitsemiconductor.com/documentation/schemat/090-0128.