How To Set Ip Addresses In The Sample Programs - Rabbit RCM3365 User Manual

C-programmable core module with nand flash mass storage and ethernet
Table of Contents

Advertisement

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. 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
,
MASK
MY_GATEWAY
2. You can leave
TCPCONFIG
to
, the netmask to
10.10.6.100
to
. If you would like to change the default values, for example, to use an IP
10.10.6.1
address of
10.1.1.2
you can edit the values in the section that directly follows the "General Configuration"
comment in the
TCP_CONFIG.LIB
directory.
3. You can create a
CUSTOM_CONFIG.LIB
than 100. Instructions for doing this are at the beginning of the
library in the
LIB\TCPIP
There are some other "standard" configurations for
ent features such as DHCP. Their values are documented at the top of the
library in the
FIG.LIB
Dynamic C TCP/IP User's Manual.
62
macro with individual
TCPCONFIG
, and
MY_NAMESERVER
at the usual default of 1, which will set the IP configurations
255.255.255.0
for the RCM3365/RCM3375 board, and
library. You will find this library in the
directory.
directory. More information is available in the
LIB\TCPIP
macro. This macro tells
TCPCONFIG
MY_IP_ADDRESS
macros in each program.
, and the nameserver and gateway
library and use a
TCPCONFIG
TCPCONFIG
RabbitCore RCM3365/RCM3375
macro.
TCPCONFIG
,
MY_NET-
for your PC,
10.1.1.1
LIB\TCPIP
value greater
TCP_CONFIG.LIB
that let you select differ-
TCP_CON-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rcm3375

Table of Contents