RabbitCore RCM2300 C-Programmable Module Getting Started Manual 019–0101 • 040515–D
RabbitCore RCM2300 Getting Started Manual Part Number 019-0101 • 040515–C • Printed in U.S.A. © 2001–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 2000 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 RCM2300 Description .....................................................................................................1 1.1.1 Other Factory Versions ................................................................................................................2 1.1.2 Physical & Electrical Specifications ............................................................................................2 1.2 Development Software .......................
RabbitCore RCM2300
1. INTRODUCTION & OVERVIEW The RabbitCore RCM2300 is a very small advanced core module that incorporates the powerful Rabbit 2000™ microprocessor, flash memory, static RAM, and digital I/O ports, all on a PCB that is just 1.15" × 1.60" (29.2 mm × 40.6 mm). 1.1 RCM2300 Description The RCM2300 is a very small core module that packs the processing power of a Rabbit 2000™ microprocessor into 1.84 square inches (11.9 cm2).
1.1.1 Other Factory Versions To accommodate developers with specific needs, alternate versions of the RCM2300 module can be obtained in production quantities on special order. Low-power variants of the RCM2300 running at 3.686 MHz and 3.3 V can be custom made in quantity. The clock can be changed dynamically to any one of five frequencies as low as 32 kHz to reduce power consumption even further. 1.1.2 Physical & Electrical Specifications Table 1 lists the basic specifications for the RCM2300. Table 1.
Fifteen additional connection points are available along one edge of the RCM2300 board. These connection points are 0.030" diameter holes spaced 0.05" apart. Nineteen additional connection points are available at locations J2 and J3. These additional connection points are reserved for future use. 1.2 Development Software The RCM2300 uses the Dynamic C development environment for rapid creation and debugging of runtime applications.
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.
2. HARDWARE SETUP This chapter describes the RCM2300 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 RabbitCore RCM2300 Development Kit. If you purchased an RCM2300 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 RCM2300 to a power supply for development. It also provides some basic I/O peripherals (switches and LEDs), as well as a prototyping area for more advanced hardware development. The Prototyping Board can be used without modification for the most basic level of evaluation and development.
2.2.1 Prototyping Board Features • Power Connection—A 3-pin header is provided at J5 for the power supply connection. Note that both outer pins are connected to ground and the center pin is connected to the raw V+ input. The cable from the wall transformer provided with the North American version of the Development Kit ends in a connector that may be connected in either orientation. Users providing their own power supply should ensure that it delivers 7.5–25 V DC at not less than 500 mA.
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 Section 3.5, you may wish to expand the Prototyping Board’s capabilities for further experimentation and development. Refer to the Prototyping Board schematic (090–0122) for details as necessary.
2.3 Development Hardware Connections There are three steps to connecting the Prototyping Board for use with Dynamic C and the sample programs: 1. Attach the RCM2300 to the Prototyping Board. 2. Connect the programming cable between the RCM2300 and the PC. 3. Connect the power supply to the Prototyping Board. 2.3.
Although you can install a single module into either the MASTER or the SLAVE position on the Prototyping Board, all the Prototyping Board features (switches, LEDs, serial port drivers, etc.) are connected to the MASTER position. We recommend you install a single module in the MASTER position. NOTE: It is important that you line up the pins on headers J4 and J5 of the RCM2300 exactly with the corresponding pins of headers J1 and J2 on the Prototyping Board.
2.3.3 Connect Power Supply When the above connections have been made, you can connect power to the RabbitCore Prototyping Board. Hook the connector from the wall transformer to header J5 on the Prototyping Board as shown in Figure 6. The connector may be attached either way as long as it is not offset to one side.
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 RCM2300 and the Prototyping 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.5 to get a basic familiarity with Dynamic C and the RCM2300’s capabilities. 2.
3. SOFTWARE INSTALLATION & OVERVIEW To develop and debug programs for the RCM2300 (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 RabbitCore RCM2300 module. 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. Interrupt service routines may be written in C. Dynamic C supports cooperative and preemptive multitasking. • 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.3 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 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.3.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.3.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.4 Starting Dynamic C Once the RabbitCore module 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.5 Sample Programs To help familiarize you with the RCM2300 modules, Dynamic C includes several sample programs. Loading, executing and studying these programs will give you a solid hands-on overview of the RCM2300’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.
20 RabbitCore RCM2300
NOTICE TO USERS Z-WORLD 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.
22 RabbitCore RCM2300
INDEX A F additional information online documentation .......... 4 references ............................ 3 features Prototyping Board ........... 6, 7 RCM2300 ............................ 1 C H C language ...................... 13, 14 hardware connections ............. 9 install RCM2300 on Prototyping Board ........................ 9 power supply ..................... 11 programming cable ........... 10 hardware reset ....................... 11 D description ...............................
24 RabbitCore RCM2300
SCHEMATICS 090-0119 RCM2300 Schematic www.rabbitsemiconductor.com/documentation/schemat/090-0119.pdf 090-0122 RCM2200/RCM2300 Prototyping Board Schematic www.rabbitsemiconductor.com/documentation/schemat/090-0122.pdf 090-0128 Programming Cable Schematic www.rabbitsemiconductor.com/documentation/schemat/090-0128.pdf The schematics included with the printed manual were the latest revisions available at the time the manual was last revised.