Rabbit 2000 Dev Kit
Getting Started
PREV NEXT INDEX



2. Detailed Installation Instructions

Chapter 2 contains detailed instructions for installing the software on your PC and for connecting the Jackrabbit board to your PC in order to run sample programs.

2.1 Software Installation

You will need approximately 10 megabytes of free space on your hard disk. The software can be installed on your C drive or any other convenient drive.

2.2 Getting Hooked Up

Figure 1 below shows an overview of how the serial and power connections are made to Jackrabbit board, the Prototyping Board, and to your PC.


Figure 1. Jackrabbit Hookup Connections

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 indicated in Figure 2.


Figure 2. Attaching Jackrabbit Board to Prototyping Board


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 unlabeled 10-pin connector, attach that connector to header J3 on the Jackrabbit board.) Connect the other end of the programming cable to a COM port on your PC. Note that COM1 is the default COM port used by Dynamic C.

Figure 3. Power and Programming Cable Connections
to Jackrabbit Board

2. Hook up the connector from the wall transformer to header J1 on the Jackrabbit board as shown in Figure 3. The orientation of this connector is not important since the VIN (positive) voltage is the middle pin, and GND is available on both ends of the three-pin header J1.
3. Plug in the wall transformer. The Jackrabbit board and the Prototyping Board are ready to be used.
NOTE A RESET button is provided on the Prototyping Board (see Figure 2) to allow a harware reset.

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 C assumes, by default, that you are using serial port COM1 on your PC. If you are using COM1, then Dynamic C should detect the Jackrabbit board and go through a sequence of steps to cold-boot the Jackrabbit board and to compile the BIOS. If an error message appears, you have probably connected to a different PC serial port such as COM2, COM3, or COM4. You can change the serial port used by Dynamic C with the OPTIONS menu, then try to get Dynamic C to recognize the Jackrabbit board by selecting Recompile BIOS on the Compile menu. Try the different COM ports in the OPTIONS menu until you find the one you are connected to. If you can't get Dynamic C to recognize the target on any port, then the hookup may be wrong or the COM port is not working on your PC.

If you receive the "BIOS successfully compiled ..." message after pressing <ctrl-Y> or starting Dynamic C, and this message is followed by "Target not responding," it is possible that your PC cannot handle the 115,200 bps baud rate. Try changing the baud rate to 57,600 bps as follows.

1. Open the BIOS source code file RABBITBIOS.C in the BIOS directory.
2. Change the line

#define USE115KBAUD 1            // set to 0 to use 57600 baud
to read as follows.

#define USE115KBAUD 0            // set to 0 to use 57600 baud
3. Locate the Serial options dialog in the Dynamic C Options menu. Change the baud rate to 57,600 bps, then press <ctrl-Y>.

If you receive the "BIOS successfully compiled ..." message and do not receive a "Target not responding" message, the target is now ready to compile a user program.




Rabbit Semiconductor
http://www.rabbitsemiconductor.com
Voice: (530) 757-8400
FAX: (530) 757-8402
sales@rabbitsemiconductor.com
PREV NEXT INDEX