Rabbit 2000 Getting Started - page 13
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 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
or
starting Dynamic C, and this message is followed by “Target not responding,” it is possi-
ble 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
.
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.