101-0401 Rabbit Semiconductor, 101-0401 Datasheet - Page 42

KIT DEV RABBIT2000/TCP/IP

101-0401

Manufacturer Part Number
101-0401
Description
KIT DEV RABBIT2000/TCP/IP
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 2000r
Type
MPU Moduler
Datasheet

Specifications of 101-0401

Rohs Status
RoHS non-compliant
Contents
Rabbit 2000™ TCP/IP Development Board, Demo Board, Power Supply, Cable and Software
Processor To Be Evaluated
Rabbit 2000
Interface Type
RS-232, RS-485
For Use With/related Products
RCM2000, RCM2010, RCM2020
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
101-0401
316-1005
Q906133
4.7.1 How to Set IP Addresses in the Sample Programs
With the introduction of Dynamic C 7.30 we have taken steps to make it easier to run
many of our sample programs. You will see a
Dynamic C to select your configuration from a list of default configurations. You will
have three choices when you encounter a sample program with the
1. You can replace the
2. You can leave
3. You can create a
There are some other “standard” configurations for
ent features such as DHCP. Their values are documented at the top of the
TCP_CONFIG.LIB
the Dynamic C TCP/IP User’s Manual.
IP Addresses Before Dynamic C 7.30
Most of the sample programs use macros to define the IP address assigned to the board and
the IP address of the gateway, if there is a gateway. Instead of the
will see a
In order to do a direct connection, the following IP addresses can be used for the TCP/IP
Development Board:
In this case, the gateway and nameserver are not used, and are commented out. The IP
address of the board is defined to be
as
38
10.1.1.1
MY_NETMASK
to
to
address of
you can edit the values in the section that directly follows the “General Configuration”
comment in the
directory.
than 100. Instructions for doing this are at the beginning of the
library in the
10.10.6.1
10.10.6.100
#define MY_IP_ADDRESS "10.10.6.170"
#define MY_NETMASK "255.255.255.0"
#define MY_GATEWAY "10.10.6.1"
#define MY_NAMESERVER "10.10.6.1"
#define MY_IP_ADDRESS "10.1.1.2"
#define MY_NETMASK "255.255.255.0"
// #define MY_GATEWAY "10.10.6.1"
// #define MY_NAMESERVER "10.10.6.1"
MY_IP_ADDRESS
10.1.1.2
.
LIB\TCPIP
,
TCPCONFIG
. If you would like to change the default values, for example, to use an IP
MY_GATEWAY
TCP_CONFIG.LIB
library in the
CUSTOM_CONFIG.LIB
, the netmask to
TCPCONFIG
for the TCP/IP Development Board, and
macro and other macros.
directory.
at the usual default of 1, which will set the IP configurations
, and
LIB\TCPIP
macro with individual
10.1.1.2
MY_NAMESERVER
255.255.255.0
library. You will find this library in the
library and use a
TCPCONFIG
directory. More information is available in
. The IP address of your PC can be defined
TCPCONFIG
, and the nameserver and gateway
macros in each program.
MY_IP_ADDRESS
macro. This macro tells
TCPCONFIG
TCPCONFIG
that let you select differ-
10.1.1.1
TCP_CONFIG.LIB
TCP/IP Development Kit
TCPCONFIG
value greater
,
for your PC,
LIB\TCPIP
macro, you
macro.

Related parts for 101-0401