Page 1
® Rabbit 2000 Microprocessor Development Kit Getting Started Manual 019–0068 • 050515–F Downloaded from Elcodis.com electronic components distributor...
Page 2
Z-World reserves the right to make changes and improvements to its products without providing notice. Trademarks Rabbit is a registered trademark of Rabbit Semiconductor. Rabbit 2000 is a trademark of Rabbit Semiconductor. Z-World and Dynamic C are registered trademarks of Z-World Inc. Rabbit Semiconductor 2932 Spafford Street...
ABLE OF ONTENTS Chapter 1. Introduction 1.1 Development Kit Contents........................1 1.2 Development Software .........................2 1.3 How to Use This Manual ........................2 1.3.1 Additional Product Information ....................2 1.3.2 Additional Reference Information ....................2 1.3.3 Using Online Documentation......................3 1.4 CE Compliance .............................4 1.4.1 Spectrum Spreader ........................5 1.4.2 Design Guidelines .........................5 1.4.3 Interfacing the BL1800 to Other Devices ..................6 Chapter 2.
Page 4
Appendix A. Reference Information A.1 Electrical and Mechanical Specifications..................40 A.2 Header Pinout ............................ 41 A.3 Jumper Configurations ........................42 A.4 Use of Rabbit 2000 Parallel Ports ..................... 44 Notice to Users Index Schematics Rabbit 2000 Development Kit Downloaded from Elcodis.com...
(Dynamic C). This kit con- tains a powerful single-board computer (the BL1810). With this kit you will be able to write and test complex software. You will be able to prototype circuits that interface to a Rabbit 2000 microprocessor. 1.1 Development Kit Contents The Rabbit 2000 Development Kit contains the following items: •...
Rabbit 2000 microprocessor. It does not contain detailed information on the hardware capabilities or the Dynamic C development environment. Most users will want more detailed information on some or all of these topics in order to put the Rabbit 2000 microprocessor to effective use.
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.
The BL1800 series of single-board computers meets the following emission standards with the Rabbit 2000 spectrum spreader turned on and set to the normal mode. The spec- trum spreader is only available with Rev. C or higher of the Rabbit 2000 microprocessor.
Rabbit 2000 Development Kit. 1.4.1 Spectrum Spreader BL1800s that carry the CE mark have a Rabbit 2000 microprocessor that features a spec- trum spreader, which helps to mitigate EMI problems. By default, the spectrum spreader is on automatically for BL1810 boards that carry the CE mark when used with Dynamic C 7.32 or later versions so as to maintain CE compliance, but the spectrum spreader may...
SELV levels (42.4 V AC peak, or 60 V DC). Damage to the Rabbit 2000 microprocessor may result if voltages outside the design range of 0 V to 5.5 V DC are applied directly to any of its digital inputs.
2. D ETAILED NSTALLATION 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 space on your hard disk for a com- plete installation.
BL1810 itself. The Prototyping Board is shown below in Figure 1, with its main features identified. Figure 1. Prototyping Board Rabbit 2000 Development Kit Downloaded from Elcodis.com electronic components distributor...
PB2–PB5 pins of the Rabbit 2000 microprocessor on the BL1810, and may be read as inputs by sample applications. Four LEDs are connected to the PA1–PA4 pins of the of the Rabbit 2000 microproces- sor on the BL1810, and may be driven as output indicators by sample applications.
1. Attach the BL1810 to the Prototyping Board. 2. Connect the programming cable between the BL1810 and the workstation PC. 3. Connect the power supply to the BL1810. Rabbit 2000 Development Kit Downloaded from Elcodis.com electronic components distributor...
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 as indicated in Figure 2.
NOTE: Some PCs now come equipped only with a USB port. It may be possible to use an RS-232/USB converter with the programming cable supplied with the Rabbit 2000 Development Kit. An RS-232/USB converter is available through the Z-World Web store.
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) volt- age is the middle pin, and GND is available on both ends of the three-pin header J1.
OK. Press <Ctrl-Y> to force Dynamic C to recompile the BIOS. If Dynamic C still reports it is unable to locate the target system, repeat the above steps until you locate the active COM port. Rabbit 2000 Development Kit Downloaded from Elcodis.com...
3. For advanced development topics, refer to the Dynamic C User’s Manual, also in the online documentation set. 2.6.1 Technical Support NOTE: If you purchased your Rabbit 2000 Development Kit through a distributor or through a Rabbit Semiconductor partner, contact the distributor or partner first for technical support.
Page 20
Rabbit 2000 Development Kit Downloaded from Elcodis.com electronic components distributor...
3. S AMPLE ROGRAMS A series of sample programs is provided in the Dynamic C folder. SAMPLES/JACKRAB The sample programs are listed in Table 1. Table 1. BL1810 Sample Programs DEMOJR1.C DEMOJR2.C DEMOJR3.C JRIOTEST.C JR_FLOWCONTROL.C JR_PARITY.C JRIO_COF.C LCD_DEMO.C RABDB01.C RABDB02.C The first five sample programs provide a step-by-step introduction to the BL1810 board.
Compile menu. • A message reports that “No Rabbit processor detected” in cases where the BL1810 and Prototyping Board are not connected together, the wall transformer is not connected, or is not plugged in. (The red power LED lights whenever power is connected.)
Page 23
• 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.
Page 24
If the key is used, then descent into subroutines will take place. With the key the subroutine is executed at full speed when the statement that calls it is stepped over. Rabbit 2000 Development Kit Downloaded from Elcodis.com electronic components distributor...
Page 25
• Setting break points. The 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 running at full speed.
RABDB02.C install 3 mm LEDs such as the Vishay Telefunken TLUR4400 at DS5–DS8 on the Jack- rabbit Prototyping Board. These LEDs are included with the Rabbit 2000 Development Kit. —flashes LEDs DS5–DS8 on the Prototyping Board (which are connected •...
Page 27
Before running the sample program, you will need an LCD based on the LCD_DEMO.C HD44780 (or an equivalent) controller. —demonstrates a 4-bit interface to an LCD based on the HD44780 (or an • LCD_DEMO.C equivalent) controller. Connect the LCD to Parallel Port A. Jackrabbit Prototyping Board PA0—LCD DB4...
To set up the Prototyping Board, you will need to tie PC4 and PC3 (TxB and RxC) together at header J1 as shown in the diagram. The Dynamic C window will display the error sequence. STDIO Rabbit 2000 Development Kit Downloaded from Elcodis.com electronic components distributor...
( "%02x -> %02x\n",nEcho,nReply ); NOTE: If your version of Dynamic C is earlier than 6.55, see Technical Note 117, Jack- rabbit (BL1800 Series) RS-485 Bulletin, for information on restrictions on using both DA1 and RS-485 at the same time.
The first task flashes LED DS4 once a second. The second task uses button S1 on the Prototyping Board to toggle the logical value of a virtual switch, , and flash vswitch DS1 each time the button is pressed. This task also debounces button S1. Rabbit 2000 Development Kit Downloaded from Elcodis.com electronic components distributor...
Page 31
int vswitch; // state of virtual switch controlled by button main(){ // begin main program // set up parallel port A as output WrPortI(SPCR,NULL,0x84); WrPortI(PADR,&PADRShadow,0xff); // turn off all LEDs vswitch=0; // initialize virtual switch off (1) while (1) { // Endless loop BigLoopTop();...
Our solution for that is a device caused slicing that is further described in the Dynamic C User’s Manual. Rabbit 2000 Development Kit Downloaded from Elcodis.com...
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. Program Mode Run Mode RESET BL1810 when changing mode: Short out pads below header J5,...
Page 34
Rabbit 2000 Development Kit Downloaded from Elcodis.com electronic components distributor...
Alternatively, users can compile a program to an image file for later loading. Dynamic C runs on PCs under Windows 95, 98, 2000, NT, Me, and XP. Programs can be downloaded at baud rates of up to 460,800 bps.
Page 36
PC can be printf detected for debugging purposes. output may also be sent to a serial port or file. printf Rabbit 2000 Development Kit Downloaded from Elcodis.com electronic components distributor...
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 is to install the file in a directory (folder) dif- ferent from that of the original Dynamic C installation.
This function initializes the digital outputs and sets up the driver for the analog input/outputs. The digital outputs correspond to the Rabbit processor’s port E bits 0–3, and the analog I/O uses timer B; bits 1, 2, and 4 of port D; and bits 6 and 7 of port E.
Page 39
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 BL1810). value is the output value (0 or 1). void digOn(int channel); sets the state of a digital output bit to on (1). jrioInit must be called first.
Page 40
• Measure voltage V on DA0. • Set desired channel output to PWM_MAX0 • Measure voltage V on DA0. • A linear relation between input value and voltage can now be calculated: Rabbit 2000 Development Kit Downloaded from Elcodis.com electronic components distributor...
Page 41
– -------------------------------------------------------------------- - PWM_MAX0 PWM_MIN – × – m PWM_MAX0 × voltage m value 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 available.
3 (Data Enable) to be high for pins 6 and 7 to act as outputs, and low for those pins to act as inputs. Parallel Ports D and E on the Rabbit 2000 are double-buffered to provide precisely timed updating of the output pins. Each port is divided into an upper and a lower nibble. All bits of each nibble must be updated simultaneously.
A. R PPENDIX EFERENCE NFORMATION Appendix A provides the specifications and other useful infor- mation for the BL1810. User’s Manual Downloaded from Elcodis.com electronic components distributor...
A.3 Jumper Configurations Figure A-2 shows the header and jumper locations used to configure the various BL1810 options. Top Side Bottom Side Figure A-2. Location of BL1810 Configurable Positions Rabbit 2000 Development Kit Downloaded from Elcodis.com electronic components distributor...
Page 47
Table A-2 lists the configuration options. 0 Ω surface mount resistors are used for all the header positions. Table A-2. BL1810 Jumper Configurations Factory Header Description Pins Connected Default n.c. × SRAM Size 1–2 128K 2–3 512K × 1–2 128K/256K Flash Memory Size 2–3 512K ×...
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 shown in Figure A-3.
Specifications are based on characterization of tested sample units rather than testing over temperature and voltage of each unit. Rabbit Semiconductor products may qualify components to operate within a range of parameters that is different from the manufacturer’s recommended range.
Page 50
Rabbit 2000 Development Kit Downloaded from Elcodis.com electronic components distributor...
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/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. The online versions of the manual contain links to the latest revised schematic on the Web site.
Page 54
Downloaded from Elcodis.com electronic components distributor...
Need help?
Do you have a question about the 2000 and is the answer not in the manual?
Questions and answers