參數(shù)資料
型號(hào): 101-0552
廠商: Rabbit Semiconductor
文件頁數(shù): 93/138頁
文件大?。?/td> 0K
描述: KIT DEV RABBITCORE/RCM3200
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore 3000
類型: MPU 模塊
適用于相關(guān)產(chǎn)品: RCM3200
所含物品: RabbitCore 模塊、開發(fā)板、交流適配器、纜線和 Dynamic C? 光盤
產(chǎn)品目錄頁面: 620 (CN2011-ZH PDF)
其它名稱: 316-1023
52
RabbitCore RCM3200
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 MY_IP_ADDRESS and other macros, you will
see a TCPCONFIG macro. This macro tells 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 TCPCONFIG macro.
1. You can replace the TCPCONFIG macro with individual MY_IP_ADDRESS,
MY_NETMASK
, MY_GATEWAY, and MY_NAMESERVER macros in each program.
2. You can leave TCPCONFIG at the usual default of 1, which will set the IP configurations
to 10.10.6.100, the netmask to 255.255.255.0, and the nameserver and gateway
to 10.10.6.1. If you would like to change the default values, for example, to use an IP
address of 10.1.1.2 for the RCM3200 board, and 10.1.1.1 for your PC, you can edit
the values in the section that directly follows the “General Configuration” comment in
the TCP_CONFIG.LIB library. You will find this library in the LIB/TCPIP directory.
3. You can create a CUSTOM_CONFIG.LIB library and use a TCPCONFIG value greater
than 100. Instructions for doing this are at the beginning of the TCP_CONFIG.LIB file.
There are some other “standard” configurations for TCPCONFIG that let you select differ-
ent features such as DHCP. Their values are documented at the top of the
TCP_CONFIG.LIB
library. More information is available in the Dynamic C TCP/IP
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.
#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"
In order to do a direct connection, the following IP addresses can be used for the RCM3200:
#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"
In this case, the gateway and nameserver are not used, and are commented out. The IP
address of the board is defined to be 10.1.1.2. The IP address of your PC can be defined
as 10.1.1.1.
相關(guān)PDF資料
PDF描述
VI-JTM-EZ CONVERTER MOD DC/DC 10V 25W
VI-JTJ-EZ CONVERTER MOD DC/DC 36V 25W
REC3-4805DRWZ/H4/C CONV DC/DC 3W 18-72VIN +/-05VOUT
REC3-4805DRWZ/H4/A CONV DC/DC 3W 18-72VIN +/-05VOUT
REC3-243.3DRWZ/H6/C CONV DC/DC 3W 9-36VIN +/-3.3VOUT
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
10-105520-08P 制造商:Amphenol Aerospace 功能描述:PLUG
10-105520-08S 制造商:Amphenol Aerospace 功能描述:PLUG
10-105520-24P 制造商:Amphenol Aerospace 功能描述:PLUG
10-105520-24S 制造商:Amphenol Aerospace 功能描述:PLUG
101-0553 功能描述:KIT DEV RABBIT RCM3200 INTL RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 通用嵌入式開發(fā)板和套件(MCU、DSP、FPGA、CPLD等) 系列:RabbitCore 3000 標(biāo)準(zhǔn)包裝:1 系列:PICDEM™ 類型:MCU 適用于相關(guān)產(chǎn)品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,線纜,元件,CD,PICkit 編程器 產(chǎn)品目錄頁面:659 (CN2011-ZH PDF)