Rabbit ® 2000 microprocessor development kit getting started manual 019–0068 • 050515–f downloaded from elcodis.Com electronic components distributor.
Rabbit 2000 development kit rabbit semiconductor 2932 spafford street davis, california 95616-6800 usa telephone: (530) 757-8400 fax: (530) 753-8402 www.Rabbitsemiconductor.Com rabbit 2000 development kit getting started manual part number 019-0068 • 050515–f • printed in u.S.A. ©2000–2005 z-world i...
Getting started manual t able of c ontents chapter 1. Introduction 1 1.1 development kit contents....................................................................................................................1 1.2 development software ...............................................................
Rabbit 2000 development kit appendix a. Reference information 39 a.1 electrical and mechanical specifications.......................................................................................... 40 a.2 header pinout ..................................................................................
Getting started manual 1 1. I ntroduction the rabbit ® 2000 is a new and powerful microprocessor. Both hardware and software design are easy with the rabbit. This development kit has the essentials that you need to design your own a microprocessor-based system, and includes a com- plete software dev...
2 rabbit 2000 development kit 1.2 development software the bl1810 in the development kit 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 source-level debugg...
Getting started manual 3 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 use...
4 rabbit 2000 development kit 1.4 ce compliance equipment is generally divided into two classes. These limits apply over the range of 30–230 mhz. The limits are 7 db higher for frequen- cies above 230 mhz. Although the test range goes to 1 ghz, the emissions from rabbit- based systems at frequencies...
Getting started manual 5 i/o cables. Your results may vary, depending on your application, so additional shielding or filtering may be needed to maintain the class b emission qualification. Note: if no ferrite absorbers are fitted, the bl1800s will still meet en55022:1998 class a requirements as lon...
6 rabbit 2000 development kit safety • for personal safety, all inputs and outputs to and from the bl1800 series of single- board computers must not be connected to voltages exceeding selv levels (42.4 v ac peak, or 60 v dc). Damage to the rabbit 2000 microprocessor may result if voltages outside th...
Getting started manual 7 2. D etailed i nstallation i nstructions chapter 2 contains detailed instructions for installing the soft- ware on your pc and for connecting the bl1810 to your pc in order to run sample programs. 2.1 software installation you will need approximately 200 megabytes of free sp...
8 rabbit 2000 development kit 2.2 prototyping board the prototyping board included in the development kit makes it easy to connect a bl1810 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 ...
Getting started manual 9 2.2.1 prototyping board features • power led —the power led lights whenever power is connected to the prototyping board. • reset switch —a momentary-contact, normally open switch is connected directly to the bl1810’s /reset_in pin. Pressing the switch forces a hardware reset...
10 rabbit 2000 development kit 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 bl1810 to the prototyping board. 2. Connect the programming cable between the bl1810 and the workstation pc. 3. ...
Getting started manual 11 2.3.1 attach bl1810 to prototyping board to attach the bl1810 to the prototyping board, turn the bl1810 over so that the battery is facing up. Plug the pins from headers j4 and j5 on the bottom side of the bl1810 into the header sockets at j2 and j6 on the prototyping board...
12 rabbit 2000 development kit 2.3.2 connect programming cable the programming cable connects the bl1810 to the pc running dynamic c to download programs and to monitor the bl1810 during debugging. Connect the 10-pin connector of the programming cable labeled prog to header j3 on the bl1810 as shown...
Getting started manual 13 2.3.3 connect power when all other connections have been made, you can connect power to the bl1810. Hook up the connector from the wall transformer to header j1 on the bl1810 as shown in figure 3. The orientation of this connector is not important since the vin (positive) v...
14 rabbit 2000 development kit 2.4 start dynamic c once the bl1810 is connected as described in section 2.3, start dynamic c by double-click- ing on the dynamic c icon or by double-clicking on dcrabxxxx.Exe in the dynamic c root directory, where xxxx are version-specific characters . If you are usin...
Getting started manual 15 2.6 where do i go from here? If everything appears to be working, we recommend the following sequence of action: 1. Run all of the sample programs described in chapter 3 to get a basic familiarity with dynamic c and the bl1810’s capabilities. 2. For further development, ref...
16 rabbit 2000 development kit downloaded from elcodis.Com electronic components distributor.
Getting started manual 17 3. S ample p rograms a series of sample programs is provided in the dynamic c samples/jackrab folder. The sample programs are listed in table 1. The first five sample programs provide a step-by-step introduction to the bl1810 board. Additional sample programs illustrate mor...
18 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 in a window, as shown in figure 4 below (minus some c...
Getting started manual 19 • the programming cable must be connected to the bl1810. (the colored wire on the programming cable is closest to pin 1 on header j3 on the bl1810, as shown in figure 3.) the other end of the programming cable must be connected to the pc serial port. The com port specified ...
20 rabbit 2000 development kit editing the program click on the edit box on the task bar. This will set dynamic c into the edit mode so that you can change the program. Use the save as choice on the file menu to save the file with a new name so as not to change the demo program. Save the file as myt...
Getting started manual 21 • 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 point. You can also set a break point in a program that is...
22 rabbit 2000 development kit 3.1.1 other sample programs illustrating digital i/o • demojr2.C —repeatedly flashes led ds3 (which is controlled by pa2) on the proto- typing board. This sample program also illustrates the use of the runwatch() function to allow dynamic c to update watch expressions ...
Getting started manual 23 before running the lcd_demo.C sample program, you will need an lcd based on the hd44780 (or an equivalent) controller. • lcd_demo.C —demonstrates a 4-bit interface to an lcd based on the hd44780 (or an equivalent) controller. Connect the lcd to parallel port a. Pa0—lcd db4 ...
24 rabbit 2000 development kit 3.1.2 rs-232 serial communication sample programs • jr_flowcontrol.C —this program demonstrates hardware flow control by config- uring serial port c (pc3/pc2) for cts/rts with serial data coming from txb at 115,200 bps. One character at a time is received and is displa...
Getting started manual 25 3.1.3 rs-485 serial communication sample program the following sample program illustrates the use of the rs-485 serial drivers. The sample program shows a byte being transmitted, and then the rs-485 transceiver waits for a reply. Note: if your version of dynamic c is earlie...
26 rabbit 2000 development kit 3.2 cooperative multitasking cooperative multitasking is a convenient way to perform several different tasks at the same time. An example would be to step a machine through a sequence of steps and at the same time independently carry on a dialog with the operator via a...
Getting started manual 27 the numbers in the left margin are reference indicators and are not a part of the code. Load and run the program. Note that led ds4 flashes once per second. Push button s1 several times and note how led ds1 is toggled. The flashing of led ds4 is performed by the costatement...
28 rabbit 2000 development kit used to collect some operations that are helpful to do once on every pass through the loop. Place the cursor on this function name biglooptop() and hit to learn more. The statement at (3) waits for a time delay, in this case 200 ms. The costatement is being executed on...
Getting started manual 29 3.3 switching between program mode and run mode the bl1810 is automatically in program mode when the programming cable is attached, and is automatically in run mode when no programming cable is attached. See figure 5. Figure 5. Bl1810 program mode and run mode setup 3.3.1 d...
30 rabbit 2000 development kit downloaded from elcodis.Com electronic components distributor.
Getting started manual 31 4. S oftware r eference to develop and debug programs for the bl1810 (and for all other z-world and rabbit semiconductor hardware), you must install and use dynamic c. It runs on an ibm-compatible pc and is designed for use with z-world single-board computers and other devi...
32 rabbit 2000 development kit dynamic c has a number of standard features: • full-feature source and/or assembly-level debugger, no in-circuit emulator required. • royalty-free tcp/ip stack with source code and most common protocols. • hundreds of functions in source-code libraries and sample progr...
Getting started manual 33 4.1.1 upgrading dynamic c 4.1.1.1 patches and bug fixes dynamic c patches that focus on bug fixes are available from time to time. Check the web site • www.Zworld.Com/support/ for the latest patches, workarounds, and bug fixes. The default installation of a patch or bug fix...
34 rabbit 2000 development kit 4.2 bl1810 function calls 4.2.1 i/o drivers the bl1810 contains four high-power digital output channels, two d/a converter output channels, and one a/d converter input channel. These i/o channels can be accessed using the functions found in the jrio.Lib library. 4.2.1....
Getting started manual 35 sets the state of a digital output bit. Jrioinit must be called first. Channel is the output channel number (0-3 on the bl1810). Value is the output value (0 or 1). Sets the state of a digital output bit to on (1). Jrioinit must be called first. Channel is the output channe...
36 rabbit 2000 development kit the output value is set using the following function. Sets the state of an analog output channel. Jrioinit must be called first. Channel is the output channel number (0 or 1 on the bl1810). Value is an integer from 0–1024 that corresponds to an output voltage as shown ...
Getting started manual 37 4.2.1.4 analog input the analog input channel on the bl1810 (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 voltage is being measured, although channel da0 is still...
38 rabbit 2000 development kit 4.2.2 serial communication drivers library files included with dynamic c provide a full range of serial communications sup- port. The rs232.Lib library provides a set of circular-buffer-based serial functions. The packet.Lib library provides packet-based serial functio...
User’s manual 39 a ppendix a. R eference i nformation appendix a provides the specifications and other useful infor- mation for the bl1810. Downloaded from elcodis.Com electronic components distributor.
40 rabbit 2000 development kit a.1 electrical and mechanical specifications table a-1. Bl1810 specifications parameter bl1810 microprocessor rabbit 2000 @ 14.7 mhz flash eprom 128k (supports 128k–512k) sram 128k (supports 32k–512k) backup battery 3 v lithium coin type, 950 ma·h, supports real-time c...
User’s manual 41 a.2 header pinout figure a-1. Pinout for bl1810 headers j4 and j5 gnd rxc txc pc1 pc3 pc5 pc7 agnd da1 pd1 pd3 pd5 pd7 gnd 485+ vcc sm1 stat vbat gnd vcc rxb txb pc0 pc2 pc4 pc6 ad0 da0 pd0 pd2 pd4 pd6 gnd 485 vcc sm0 ioben gnd /rst j5 gnd pa0 pa2 pa4 pa6 gnd pb0 pb2 pb4 pb6 wdo gn...
42 rabbit 2000 development kit a.3 jumper configurations figure a-2 shows the header and jumper locations used to configure the various bl1810 options. Figure a-2. Location of bl1810 configurable positions r55 r56 d21 c27 d24 jp2 r16 r17 r18 jp1 z-world, inc. Jackrabbit jp3 top side bottom side caut...
User’s manual 43 table a-2 lists the configuration options. 0 Ω surface mount resistors are used for all the header positions. Note: header jp3 is available only on bl1810s labeled 175-0255. These boards were introduced in 2003. Table a-2. Bl1810 jumper configurations header description pins connect...
44 rabbit 2000 development kit a.4 use of rabbit 2000 parallel ports figure a-3 shows the use of the rabbit 2000 parallel ports. The bl1810 bl1810 has 24 general-purpose digital inputs/outputs available on headers j4 and j5—14 are bidirec- tional, six are inputs only, and four are outputs only, as s...
User’s manual 45 n otice to u sers rabbit semiconductor products are not authorized for use as critical com- ponents in life-support devices or systems unless a specific written agree- ment regarding such intended use is entered into between the customer and rabbit semiconductor prior to use. Life-s...
46 rabbit 2000 development kit downloaded from elcodis.Com electronic components distributor.
Getting started manual 47 i ndex a additional information online documentation .......... 3 references ............................ 2 b bl1810 electrical specifications ..... 40 c c language ............................ 31 ce compliance ........................ 4 design guidelines ................. ...
48 rabbit 2000 development kit downloaded from elcodis.Com electronic components distributor.
Getting started manual 49 s chematics 090-0092 bl1800 schematic www.Rabbitsemiconductor.Com/documentation/schemat/090-0092.Pdf 090-0088 prototyping board schematic www.Rabbitsemiconductor.Com/documentation/schemat/090-0088.Pdf 090-0128 programming cable schematic www.Rabbitsemiconductor.Com/document...
Downloaded from elcodis.Com electronic components distributor.