Digi RCM4000 User Manual

Page 25

Advertising
background image

User’s Manual

19

As long as you have not modified the

TCPCONFIG 1

macro in the sample program,

enter the following server address in your Web browser to bring up the Web page
served by the sample program.

http://10.10.6.100

Otherwise use the TCP/IP settings you entered in the

TCP_CONFIG.LIB

library.

This sample program does not exhibit ideal behavior in its method of writing to the
NAND flash. However, the inefficiency attributable to the small amount of data written
in each append operation is offset somewhat by the expected relative infrequency of
these writes, and by the sample program's method of “walking” through the flash
blocks when appending data as well as when a log is cleared.

NFLASH_ERASE.c

—This program is a utility to erase all the good blocks on a NAND

flash chip. When the program starts running, it attempts to establish communication
with the NAND flash chip selected by the user. If the communication is successful, the
progress in erasing the blocks is displayed in the Dynamic C

STDIO

window as the

blocks are erased.

Follow these instructions to set up your PC or notebook. Check with your administra-
tor if you are unable to change the settings as described here since you may need
administrator privileges. The instructions are specifically for Windows 2000, but the
interface is similar for other versions of Windows.

TIP: If you are using a PC that is already on a network, you will disconnect the PC

from that network to run these sample programs. Write down the existing settings
before changing them to facilitate restoring them when you are finished with the
sample programs and reconnect your PC to the network.

1. Go to the control panel (

Start > Settings > Control Panel

), and then double-click

the Network icon.

2. Select the network interface card used for the Ethernet interface you intend to use

(e.g.,

TCP/IP Xircom Credit Card Network Adapter

) and click on the “Proper-

ties” button. Depending on which version of Windows your PC is running, you may
have to select the “Local Area Connection” first, and then click on the “Properties”
button to bring up the Ethernet interface dialog. Then “Configure” your interface
card for a “10Base-T Half-Duplex” or an “Auto-Negotiation” connection on the
“Advanced” tab.

NOTE: Your network interface card will likely have a different name.

3. Now select the

IP Address

tab, and check

Specify an IP Address

, or select TCP/IP

and click on “Properties” to assign an IP address to your computer (this will disable
“obtain an IP address automatically”):

IP Address : 10.10.6.101

Netmask : 255.255.255.0

Default gateway : 10.10.6.1

4. Click <OK> or <Close> to exit the various dialog boxes.

Advertising