![]() |
RabbitLink User's Manual |
This chapter shows how to make the necessary hardware connections and how to configure the network parameters for the RabbitLink.
2.1 RabbitLink Connections
Position the RabbitLink board over the plastic enclosure base as shown below in Figure 3. Attach the RabbitLink board to the base at the top left and bottom right positions using the two 4-40 × ¼ screws supplied.
![]()
The plastic enclosure base facilitates handling the RabbitLink during development. The plastic enclosure is offered as a separate option when individual RabbitLink boards are purchased.
NOTE Appendix B, "Plastic Enclosure," provides additional information and specifications for the plastic enclosure. Connect the 10-pin DIAG connector of the programming cable to header J8, which is labeled PROG IN, on the RabbitLink. Ensure that the colored edge lines up with pin 1 as shown. Connect the other end of the programming cable to a COM port on your PC.
![]()
Two options are available for powering the RabbitLink--via an AC adapter to power supply jack J4, or through a screw terminal header at J5/J6. Option 1 is most convenient in a desktop environment, and Option 2 can be used to connect the RabbitLink to an existing power supply in a field installation. The red USER LED comes on once power is applied successfully.
Option 1 - Via AC Adapter
Plug the DC end of the power supply into jack J4, which is labeled POWER IN, as shown in Figure 5.
Option 2 - Via Screw Terminal Header J5/J6
![]()
Do not do this hookup if you have already connected the AC adapter (Option 1).
Connect the
+lead (red) to DCIN on header J5/J6, and connect the-lead (black) to GND on header J4/J5 as shown in Figure 5.![]()
![]()
It is important that you hook up the positive and negative power leads exactlyas described. There is no reverse polarity protection through header J5/J6.
Once the RabbitLink is powered up and connected to your PC, you are ready to configure the network parameters.
2.2 Configuring RabbitLink Network Parameters from Your PC
There are two ways to set the basic network parameters for the RabbitLink. The basic network parameters are:
2.2.1 Dynamically Assigned Network Parameters
The first, and easiest, way to set network parameters is to use a DHCP server. This method is available starting with RabbitLink firmware version 2.00. It removes the need to connect to a PC to configure the RabbitLink, which may be desirable on PCs without a COM port.
The RabbitLink tries to use the services of a DHCP server by default. If there is not a DHCP server on the network, or it is desired to set the parameters by hand, the second method may be used.
2.2.2 Statically Assigned Network Parameters
This method is required for setting anything beyond the basic network parameters. A terminal emulator is used to communicate with the RabbitLink serial console.
- Open a terminal emulator such as Tera Term or Windows Hypertermal on your PC. Configure the terminal emulator as follows.
COM port (COM1 or COM2) to which programming cable is connected Baud Rate 57,600 bps Data Bits 8 Parity None Stop Bits 1 Flow Control None
TIP: If no characters appear when you type, press return, then type
echo onto turn on the echoing of characters.
- Configure the RabbitLink network parameters. This is done using the serial console commands. Please refer to Appendix E, "Serial Console Commands," for a description of all the commands. If a DHCP server was not used , the following serial console commands are required:
set ip x.x.x.x // factory default is 10.10.1.100
set gateway x.x.x.x // factory default is 10.10.6.1
set netmask x.x.x.x // factory default is 255.255.255.255If you are using RabbitLink firmware version 2.00, you must first type
set dhcp offbefore setting the netmask or the IP address of either the RabbitLink or its gateway. Ask your network administrator for assistance, if necessary.The RabbitLink boots up whenever the power cycles, and then displays the message,
RabbitLink Serial Console Version X.XXThe RabbitLink serial console will respond OK after each command, or,
"ERROR <errnum>"2.3 Target System Connections to the RabbitLink
After network addresses have been set, put aside the programming cable and connect the program download cable as shown in Figure 6. The PROG connector on the program download cable connects to the programming header of the Rabbit-based target system. The unmarked connector connects to the PROG OUT header of the RabbitLink board.
.![]()
2.4 Ethernet Connections
Before proceeding, you will need to have either two straight-through Ethernet cables and an Ethernet hub or one Ethernet crossover cable. The Ethernet cables and Ethernet hub are available from Rabbit Semiconductor or Z-World in a TCP/IP tool kit. More information is available at
www.rabbitsemiconductor.comwww.zworld.comYour PC must have an RJ-45 Ethernet jack. You can identify the RJ-45 Ethernet jack by looking for an 8-connector (as opposed to a 6-connector RJ-11 phone jack) jack labeled ETHERNET or
<···>that usually has an LED or two on it. If your PC does not have Ethernet access, you will need to install a 10BaseT Ethernet card (available from your favorite computer supplier).Connect your PC and the RabbitLink board to an Ethernet hub as shown in Figure 7. The Ethernet hub may also be connected to your network.
![]()
Alternatively, you may use the crossover Ethernet cable to connect the RabbitLink directly to a PC RJ-45 Ethernet jack. This is useful when using RabbitLink as a high speed local programming interface.
2.5 Ready to Go
The green LED, labeled LINK, should light up once all the connections have been made correctly
Dynamic C (version 7.03 or later) or the Rabbit Field Utility (version 2.0 or later) on your PC may now be used to download a program to the Rabbit-based target system. The red LED labeled USER on the RabbitLink blinks while the download or a debug session is in progress.
| Z-World http://www.zworld.com Voice: (530) 757-3737 FAX: (530) 757-3792 sales@zworld.com |