151-0153 Rabbit Semiconductor, 151-0153 Datasheet - Page 18

no-image

151-0153

Manufacturer Part Number
151-0153
Description
ASSEMBLY - RABBITFLEX CABLES
Manufacturer
Rabbit Semiconductor
Series
RabbitFLEX™r
Datasheet

Specifications of 151-0153

Accessory Type
Cable Assembly
For Use With/related Products
BL300F
Lead Free Status / RoHS Status
Vendor undefined / Vendor undefined
2.4.1 Direct Connection
A direct connection means that a crossover cable connects the target board to the host computer
running Dynamic C. Plug one end of the crossover cable into the RJ-45 jack on the core module
and the other end to the network interface card in your host PC.
2.4.2 Indirect Connection
An indirect connection means that a straight-through cable connects the target board to an Ethernet net-
work via a hub.
2.4.3 Setting IP Addresses
IP addressing is necessary to communicate on networks. IP addresses are like street addresses or phone
numbers in that they associate a unique number with an entity. Just as no two devices can have the same
phone number, no two devices on a network can have the same IP address.
The Dynamic C implementation of TCP/IP makes network configuration very easy. In most cases an appli-
cation only needs to define the configuration macro
define other configuration macros. In the sample programs you will see
the default network configuration, which will bring up the Ethernet interface and assign default IP
addresses for the system, as well as a netmask.
You only need to set the network configuration in Lib/tcpip/tcp_config.lib for most sample
programs to work. The following line of code was taken from tcp_config.lib:
The IP address is a 32-bit number that is expressed in the dotted decimal format shown in the above
#define statement. Unless there is a need to set a specific IP address to your Rabbit-based device, you may
proceed with the default address of 10.10.6.100. Otherwise, open tcp_config.lib and replace "10.10.6.100"
with the IP address for your Rabbit-based device. If your device is on a local network, this change may be
sufficient; however, if your device is addressable over the Internet, you must also set the macro
MY_GATEWAY to the IP address of the default gateway (router) used by your network.
The Dynamic C implementation of TCP/IP supports subnetting. Subnetting is done with a logical bitwise
AND of a netmask and the IP address. The following line of code was taken from tcp_config.lib:
If you do not know the correct values for your IP address and netmask, ask your network administrator.
If you have created an isolated network of just the PC running Dynamic C and the RabbitFLEX BL300F,
you can use any IP address and netmask that you like as long as they are in dotted decimal format and are
on the same network. For example, if using the default netmask, the first three octets of each IP address
must match.
12
#define _PRIMARY_STATIC_IP
#define _PRIMARY_NETMASK "255.255.255.0"
www.rabbit.com
"10.10.6.100"
TCPCONFIG
. This configuration macro is used to
TCPCONFIG
defined as 1. This is
Getting Started

Related parts for 151-0153