101-0521 Rabbit Semiconductor, 101-0521 Datasheet - Page 58

no-image

101-0521

Manufacturer Part Number
101-0521
Description
MODULE RABBITCORE RCM3210
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0521

Module/board Type
MPU Core Module
For Use With/related Products
RCM3210
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
101-521
101-521
6.4.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. Instead of the
see 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
User’s Manual.
IP Addresses Before Dynamic C 7.30
Most of the sample programs such as shown in the example below use macros to define the
IP address assigned to the board and the IP address of the gateway, if there is a gateway.
In order to do a direct connection, the following IP addresses can be used for the RCM3200:
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
52
10.1.1.1
MY_NETMASK
to
to
address of
the values in the section that directly follows the “General Configuration” comment in
the
than 100. Instructions for doing this are at the beginning of the
10.10.6.1
10.10.6.100
TCPCONFIG
#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"
TCP_CONFIG.LIB
10.1.1.2
.
,
TCPCONFIG
. If you would like to change the default values, for example, to use an IP
TCPCONFIG
MY_GATEWAY
macro. This macro tells Dynamic C to select your configuration from a
library. More information is available in the Dynamic C TCP/IP
CUSTOM_CONFIG.LIB
, the netmask to
TCPCONFIG
for the RCM3200 board, and
library. You will find this library in the
at the usual default of 1, which will set the IP configurations
macro.
, and
macro with individual
10.1.1.2
MY_NAMESERVER
255.255.255.0
library and use a
MY_IP_ADDRESS
. The IP address of your PC can be defined
TCPCONFIG
10.1.1.1
, and the nameserver and gateway
macros in each program.
MY_IP_ADDRESS
TCPCONFIG
and other macros, you will
that let you select differ-
for your PC, you can edit
LIB/TCPIP
TCP_CONFIG.LIB
RabbitCore RCM3200
value greater
,
directory.
file.

Related parts for 101-0521