Rabbit 2000 Getting Started

Download or browse on-line these Getting Started for Rabbit 2000 Computer Hardware, Microcontrollers.

Rabbit 2000 Manual Information:

This manual for Rabbit 2000, given in the PDF format, is available for free online viewing and download without logging on. The guide contains 43 pages, and the size of the file at download is . The document type is Getting Started.

Download Manual

More Manuals:

In case you failed to obtain relevant information in this document, please, look through related operating manuals and user instructions for Rabbit 2000. Just click one of the links below to go to the selected manual:

Summary of Contents:

[Page 1] Rabbit 2000

Rabbit 2000™ Microprocessor Development Kit Getting Started 010118 - D ...

[Page 2] Rabbit 2000

Rabbit 2000 Development Kit Rabbit 2000 Development Kit Getting Started Manual Part Number 019-0068 • 010118 - D • Printed in U.S.A. Copyright © 1999 Rabbit Semiconductor • All rights reserved. Rabbit Semiconductor reserves the rig...

[Page 3] Rabbit 2000

Getting Started Manual Table of Contents About This Manual 1. Introduction.....................................................................................................................1 1.1 Kit Contents.........................................

[Page 4] Rabbit 2000

Rabbit 2000 Development Kit ...

[Page 5] Rabbit 2000

Getting Started Manual About This Manual This manual provides instructions for installing, testing, configuring, and interconnecting the Rabbit 2000 microprocessor using the Jackrabbit controller and the Jackrabbit Devel- opment board. Assumptions A...

[Page 6] Rabbit 2000

Getting Started Manual 1 1. Introduction The Rabbit 2000 a a new and powerful microprocessor. Both hardware and software design are easy with the Rabbit. This kit has the essentials that you need to design your own a microprocessor-based sys- tem,...

[Page 7] Rabbit 2000

2 Rabbit 2000 Development Kit 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 onli...

[Page 8] Rabbit 2000

Getting Started Manual 3 You have a choice of doing your software development in the flash memory or in the static RAM included on the Jackrabbit board. There are 128K in each memory. Versions of the Jackrabbit board are available that support only...

[Page 9] Rabbit 2000

4 Rabbit 2000 Development Kit ...

[Page 10] Rabbit 2000

Getting Started Manual 5 2. Detailed Installation Instructions Chapter 2 contains detailed instructions for installing the software on your PC and for con- necting the Jackrabbit board to your PC in order to run sample programs. 2.1 Software Instal...

[Page 11] Rabbit 2000

6 Rabbit 2000 Development Kit 2.2.1 Prototyping Board To attach the Jackrabbit board to the Prototyping Board, turn the Jackrabbit board over so that the battery is facing up. Plug headers J4 and J5 into the sockets on the Prototyping Board as in...

[Page 12] Rabbit 2000

Getting Started Manual 7 2.2.2 Jackrabbit Board 1. Connect the 10-pin PROG connector of the programming cable to header J3 on the Jackrabbit board as shown in Figure 3. (If your programming cable has only one unla- beled 10-pin connector, attach t...

[Page 13] Rabbit 2000

8 Rabbit 2000 Development Kit 2.3 Starting Dynamic C Once the Jackrabbit board is connected as described in Section 2.2, start Dynamic C by double-clicking on the Dynamic C icon or by double-clicking on dwc.exe in the Dynamic C directory. Dynamic ...

[Page 14] Rabbit 2000

Getting Started Manual 9 3. Sample Programs A series of sample programs is provided in the Dynamic C Samples/JackRab folder. You can load a sample program by using the File Open menu in Dynamic C. The sample programs are listed in Table 1. The fi...

[Page 15] Rabbit 2000

10 Rabbit 2000 Development Kit 3.1 Running Sample Program DEMOJR1.C This sample program can be used to illustrate some of the functions of Dynamic C. First, open the file DEMOJR1.C, which is in the Samples/JackRab folder. The program will appear ...

[Page 16] Rabbit 2000

Getting Started Manual 11 • A message reports that “No Rabbit processor detected” in cases where the Jackrabbit and Prototyping Board are not connected together, the wall transformer is not con- nected, or is not plugged in. (The red power LED...

[Page 17] Rabbit 2000

12 Rabbit 2000 Development Kit You can set break points while the program is running by positioning the cursor to a state- ment and using the F2 key. If the execution thread hits the break point, a break point will take place. You can toggle the br...

[Page 18] Rabbit 2000

Getting Started Manual 13 • Setting break points. The F2 key is used to turn on or turn off (toggle) a break point at the cursor position if the program has already been compiled. You can set a break point if the program is paused at a break po...

[Page 19] Rabbit 2000

14 Rabbit 2000 Development Kit int vswitch; // state of virtual switch controlled by button S1 main(){ // begin main program // set up parallel port A as output WrPortI(SPCR,NULL,0x84); WrPortI(PADR,&PADRShadow,0xff); // turn off all LEDs vswitch...

[Page 20] Rabbit 2000

Getting Started Manual 15 The statement at (3) waits for a time delay, in this case 200 ms. The costatement is being executed on each pass through the big loop. When a waitfor condition is encountered the first time, the current value of MS_TIMER...

[Page 21] Rabbit 2000

16 Rabbit 2000 Development Kit ...

[Page 22] Rabbit 2000

Getting Started Manual 17 4. Software Reference 4.1 More About Dynamic C Dynamic C has been in use worldwide since 1989. Dynamic C is specially designed for programming embedded systems. Dynamic C features quick compile and interactive debuggin...

[Page 23] Rabbit 2000

18 Rabbit 2000 Development Kit is operating at 32.768 kHz. The interrupt routine cannot complete at this slow speed before the next tick of the periodic interrupt. In this situation, the hardware real-time clock can be read directly to provide th...

[Page 24] Rabbit 2000

Getting Started Manual 19 void digOut(int channel, int value) sets the state of a digital output bit. jrioInit must be called first. channel is the output channel number (0-3 on the Jackrabbit). value is the output value (0 or 1). void digOn(int ch...

[Page 25] Rabbit 2000

20 Rabbit 2000 Development Kit See Table 2 for a summary of the possible analog output voltages corresponding to values given in the anaOut function. The output value is set using the following function. void anaOut(int channel, int value) sets t...

[Page 26] Rabbit 2000

Getting Started Manual 21 4.2.4 Analog Input The analog input channel on the Jackrabbit (AD0 on header J5) works by varying analog output channel DA0 until its voltage matches the input voltage on AD0. DA0 obviously cannot be used while an input ...

[Page 27] Rabbit 2000

22 Rabbit 2000 Development Kit 4.3 Serial Communication Drivers The interface to the Rabbit serial library, RSERIAL.LIB, is designed to provide users with a set of functions that send and receive entire blocks of data without yielding to other tas...

[Page 28] Rabbit 2000

Getting Started Manual 23 4.3.2 Non-Cofunction Blocking Input Functions These are simple functions that do not use Dynamic C costatements. If no input data are available when called, they return immediately with appropriate status information in t...

[Page 29] Rabbit 2000

24 Rabbit 2000 Development Kit 4.3.3 Non-Cofunction Blocking Output Functions These are simple functions that do not use Dynamic C costatements. They immediately begin to perform their task, not yielding to other tasks until all characters have be...

[Page 30] Rabbit 2000

Getting Started Manual 25 4.3.4 Single-User Cofunction Input Functions These are Dynamic C cofunctions. If the input buffer they use is locked or becomes full during the course of their operation, they yield to other tasks, but do not return to ex...

[Page 31] Rabbit 2000

26 Rabbit 2000 Development Kit 4.3.5 Single-User Cofunction Output Functions These are Dynamic C cofunctions. If the output buffer they use is locked or becomes empty during the course of their operation, they yield to other tasks, but do not retu...

[Page 32] Rabbit 2000

Getting Started Manual 27 4.3.6 Circular Buffer Functions These functions act on or report status of the circular transmit/receive buffers. Macro definitions are used to establish the buffer sizes: xINBUFSIZE—read buffer size, where x is A, B, C,...

[Page 33] Rabbit 2000

28 Rabbit 2000 Development Kit int serXrdFree ( ); Calculates the free space in the serial port receive buffer. Parameters None Return Value The number of characters the serial port receive buffer can accept before becoming full. int serXwrFree ( ); ...

[Page 34] Rabbit 2000

Getting Started Manual 29 Appendix A. Specifications Table A-1 lists the electrical, mechanical, and environmental specifications for the Jack- rabbit board. Table A-1. Jackrabbit Board Specifications Parameter Specification Board Size 3.50" �...

[Page 35] Rabbit 2000

30 Rabbit 2000 Development Kit ...

[Page 36] Rabbit 2000

Getting Started Manual Schematics ...

[Page 37] Rabbit 2000

THIS DOCUMENT: APPEND THE FOLLOWING DOCUMENTS WHEN CHANGING ECO APPROVAL APPROVAL CONTROL DOCUMENT DATE REVISION HISTORY ENGINEER PROJECT DATE REV DESCRIPTION REVISION APPROVAL NONEDATE B DRAWING CONTENT: APPROVALS: INITIAL RELEASE SIGNATURES 2900 SP...

[Page 38] Rabbit 2000

B NONE B NONE ...

[Page 39] Rabbit 2000

B NONE B NONE ...

[Page 40] Rabbit 2000

THIS DOCUMENT: APPEND THE FOLLOWING DOCUMENTS WHEN CHANGING ECO APPROVAL APPROVAL CONTROL DOCUMENT DATE REVISION HISTORY ENGINEER PROJECT DATE REV DESCRIPTION REVISION APPROVAL NONEDATE B DRAWING CONTENT: APPROVALS: INITIAL RELEASE SIGNATURES 2900 SP...

[Page 41] Rabbit 2000

B NONE B NONE ...

[Page 42] Rabbit 2000

THIS DOCUMENT: APPEND THE FOLLOWING DOCUMENTS WHEN CHANGING ECO APPROVAL APPROVAL CONTROL DOCUMENT DATE REVISION HISTORY ENGINEER PROJECT DATE REV DESCRIPTION REVISION APPROVAL SIGNATURES APPROVALS: INITIAL RELEASE DRAWING CONTENT: B 2900 SPAFFORD ST...

[Page 43] Rabbit 2000

...