Z-World RabbitCore 2000 Manuel utilisateur

RabbitCore 2000
C-Programmable Core Module
Getting Started
001004 - C

RabbitCore 2000
RabbitCore 2000 Getting Started
Part Number 019-0080 • 001004 - C • Printed in U.S.A.
Copyright
© 2000 Z-World, Inc. • All rights reserved.
Z-World, Inc. reserves the right to make changes and improvements to its products with-
out providing notice.
Trademarks
•Dynamic C®is a registered trademark of Z-World, Inc.
•Windows®is a registered trademark of Microsoft Corporation
Notice to Users
When a system failure may cause serious consequences, protecting life and property
against such consequences with a backup system or safety device is essential. The buyer
agrees that protection against consequences resulting from system failure is the buyer’s
responsibility.
This device is not approved for life-support or medical systems.
All Z-World products are 100 percent functionally tested. Additional testing may include
visual quality control inspections or mechanical defects analyzer inspections. Specifica-
tions are based on characterization of tested sample units rather than testing over tempera-
ture and voltage of each unit. Rabbit Semiconductor may qualify components to operate
within a range of parameters that is different from the manufacturer’s recommended
range. This strategy is believed to be more economical and effective. Additional testing
or burn-in of an individual unit is available by special arrangement.
Company Address
Z-World, Inc.
2900 Spafford Street
Davis, California 95616-6800
USA
Telephone: (530) 757-3737
Facsimile: (530) 753-5141
Web site: http://www.zworld.com
E-mail: zworld@zworld.com
Rabbit Semiconductor
2932 Spafford Street
Davis, California 95616-6800
USA
Telephone: (530) 757-8400
Facsimile: (530) 757-8402
Web site: http://www.rabbitsemiconductor.com
E-mail: sales@rabbitsemiconductor.com

Getting Started
Table of Contents
About This Manual
1. Installing Dynamic C......................................................................................................1
1.1 Requirements...............................................................................................................................2
1.2 Installation...................................................................................................................................2
1.3 Desktop Icons..............................................................................................................................6
2. Introduction to Dynamic C .............................................................................................7
2.1 The Nature of Dynamic C...........................................................................................................8
2.1.1 Speed..........................................................................................................................8
2.2 Dynamic C Libraries...................................................................................................................9
2.3 Using Dynamic C......................................................................................................................10
2.4 Upgrading Dynamic C ..............................................................................................................11
2.4.1 Workarounds............................................................................................................11
2.4.2 Upgrades..................................................................................................................12
3. Hardware Connections..................................................................................................13
3.1 Connections...............................................................................................................................14
3.2 Starting Dynamic C...................................................................................................................16
3.3 Run a Sample Program..............................................................................................................16
Installing Dynamic C .....................................................................................................................16
3.4 Where Do I Go From Here?......................................................................................................17
4. Sample Programs..........................................................................................................19
4.1 Running Sample Program FLASHLED.C................................................................................21
4.2 Single-Stepping.........................................................................................................................22
4.2.1 Watch Expression.....................................................................................................22
4.2.2 Break Point ..............................................................................................................22
4.2.3 Editing the Program.................................................................................................23
4.2.4 Watching Variables Dynamically.............................................................................23
4.2.5 Summary of Features...............................................................................................23
4.3 Cooperative Multitasking..........................................................................................................24
4.4 Advantages of Cooperative Multitasking..................................................................................26
Schematics

RabbitCore 2000

Getting Started
About This Manual
Z-World customers develop software for their programmable controllers using Z-World’s
Dynamic C development system running on an IBM-compatible PC. Dynamic C provides
an interactive compiler, editor, and source-level debugger. The controller is connected to
a COM port on the PC (COM1 by default) whose default operation is at 115,200 bps.
This manual introduces the Dynamic C development system to write software for a Rab-
bitCore 2000 based on the Rabbit microprocessor. The Rabbit 2000 microprocessor is a
new high-performance 8-bit microprocessor developed by Rabbit Semiconductor, a com-
pany affiliated with Z-World. The Rabbit 2000 can handle C language applications of
approximately 1 megabyte (50,000+ C statements).
Conventions
Table 1 lists and defines the typographic conventions that may be encountered in Dynamic C
.
Table 1: Typographic Conventions
Example Description
while Bold Courier font indicates a program, a fragment of a
program, or a Dynamic C keyword or phrase.
// IN-01… Program comments are in normal Courier font.
Italics
Courier italics indicate that something should be typed
instead of the italicized words (e.g., type a file name where
filename is shown).
Edit Bold sans serif font indicates a menu or menu selection.
…An ellipsis indicates that (1) irrelevant program text is
omitted for brevity, or that (2) the preceding program text
may be repeated indefinitely.
[ ] Square brackets in a C function’s definition or program
segment indicate that the enclosed directive is optional.
< > Angle brackets are used to enclose classes of terms.
a | b | c A vertical bar indicates that a choice should be made from
among the items listed.

RabbitCore 2000
Development and Evaluation Tools
Development Kit
The Development Kit has the essentials that you need to design your own a microproces-
sor-based system, and includes a complete software development system (Dynamic C).
The items in the Development Kit and their use are as follows:
•CD-ROM with Dynamic C®SE software, RabbitCore 2000, and Rabbit™2000 micro-
processor documentation. You may install this software by inserting the disk into your
CD-ROM drive. If it doesn’t start automatically, click on “setup.exe.”This software
runs under Windows ‘95, Windows ‘98, Windows 2000, and Windows NT. We sug-
gest taking the option to load the documentation to your hard disk. The documentation
is in both HTML and Adobe PDF format, and may be viewed with a browser.
•RabbitCore 2000 (RCM2020). This is a complete controller board that includes a Rab-
bit 2000 processor, 256K of flash memory, 128K of SRAM.
•Prototyping Board. The RabbitCore 2000 can be plugged into this board. The Protoyp-
ing Board includes a 5 V supply for powering the RabbitCore 2000, and various acces-
sories such as pushbutton switches, and LEDs. In addition, you can add your own
circuitry using through-hole or surface mount parts in the prototyping space provided.
•Programming cable. The programming cable is used to connect your PC serial port
directly to the RabbitCore 2000 to write and debug C programs that run on the Rabbit
2000.
•AC adapter. The AC adapter is used to power the Prototyping Board and the Rabbit-
Core 2000. The wall transformer is supplied only for Development Kits sold for the
North American market. The RabbitCore 2000 can also be powered from any DC volt-
age source between 7.5 V and 25 V, but 12 V is recommended. The linear regulator
becomes rather hot for voltages above 15 V.
Documentation
•Our documentation is provided in paperless form on the CD-ROM included in the
Development Kit. (A paper copy of the “Getting Started”page is included.) Most doc-
uments, including this comprehensive RabbitCore 2000 User’s Manual, are provided
in two formats: HTML and PDF. HTML documents can be viewed with an Internet
browser, either Netscape Navigator or Internet Explorer. HTML documents are very
convenient because all the documents are hyperlinked together, and it is easy to navi-
gate from one place to another. PDF documents can be viewed using the Adobe Acro-
bat reader, which is automatically invoked from the browser. The PDF format is best
suited for documents requiring high resolution, such as schematics, or if you want to
print the document. Don’t print a hard copy from the HTML version because the
HTML version has no page numbers and the cross-references and table of contents
links only work if viewed on line. The PDF versions contain page number references
to allow navigation when reading a paper version of the manual. To view the online
documentation with a browser, open the file default.htm in the docs folder.

Getting Started 1
1. INSTALLING DYNAMIC C

2RabbitCore 2000
1.1 Requirements
Dynamic C software comes on CD. To install Dynamic C, your system must be running
one of the following.
•Windows 95
•Windows 98
•Windows 2000
•Windows NT
Your PC should have at least one free COM port
1.2 Installation
Insert the CD in the CD-ROM disk drive on your PC. As long as auto-install is enabled,
the CD installation will begin automatically. If not, issue the Windows Start > Run...
command and type the following.
The installation program will then guide you through the installation process described below.

Getting Started 3
Click the Next > button to continue to the license agreement.
After reading and agreeing to the terms of the license, continue with the Next > button to
select the destination folder where the files will be installed.
Click the Next > button to continue the installation. The Installation Wizard will prompt
you to select a Compact, a Custom, or a Typical installation.
•Compact Installation—Dynamic C files only, no documents
•Custom Installation—your choice of Dynamic C files and documents
•Typical Installation—all Dynamic C files and all documents

4RabbitCore 2000
After choosing the installation, click the Next > button to continue. The files selected for
installation are check-marked. Now select the PC COM port, usually, COM1.
Click the
Next >
button to continue.
Table des matières
Autres manuels Z-World Unité de contrôle
Manuels Unité de contrôle populaires d'autres marques

Festo
Festo Compact Performance CP-FB6-E Manuel de la liste des pièces

Elo TouchSystems
Elo TouchSystems DMS-SA19P-EXTME Manuel utilisateur

JS Automation
JS Automation MPC3034A Manuel utilisateur

JAUDT
JAUDT SW GII 6406 Series Guide rapide

Spektrum
Spektrum Air Module System Manuel utilisateur

BOC Edwards
BOC Edwards Q Series Manuel utilisateur
















