background image

15

AVR461

2499B–AVR–05/02

Trouble-shooting
guide

To be used with the Embedded Internet Quick Start Guide, which describes how to con-
nect the Embedded Internet Toolkit, plus the use of FTP and web browsers.

Table 1.

Troubleshooting Guide

No

Checkpoint

Y/N

Solution

1

Is the LAN LED on
and is the LINK LED
flashing with short
pulses?

NO

No network connection is detected. The Ethernet cable is
either not plugged in or wrong type of cable is used. For
connection to a network with a hub or switch, a normal
network cable can be used. For direct connection to a PC
network card, a twisted cable must be used.

YES

A network connection is detected, the Toolkit is
connected to the network

2

Does the Toolkit
respond to PING
requests?

NO

Either the Toolkit or the PC is set up with wrong IP
address.

To change the IP address of the Toolkit, use the terminal
program included on the Toolkit CD. Note that the file
must be saved as "server.ini" before pressing the "write"
button in the terminal program. A network connection
(checkpoint 1) must be established before the terminal
program can communicate with the Toolkit.

To change the IP address of a PC, use the Windows
"control panel ->network ->TCP/IP properties" and set up
an IP address close to the Toolkit IP address. I.e. as the
Toolkit is shipped with a default IP address of
169.254.111.111, the PC can be set up with IP address
169.254.111.150

YES

The PC and the Toolkit are set up with a correct IP
address and they are able to communicate with each
other

3

Can the Toolkit
communicate with a
DOS FTP program?

NO

The default user name and password is "ews". Check that
the user name and password are written in lowercase

YES

The user has access to the flash file system

4

Can the default web
pages be accessed
in a web browser?

NO

This is normally caused by the setup of the web browser.

In the "options" or "preferences" menu, check that the
web browser is configured for direct network connection
or local area network and NOT using a proxy server.

YES

No problems

Summary of Contents for AVR461

Page 1: ...re PC with 486 Processor Pentium is recommended 16 MB RAM 3 MB Free Hard Disk Space Windows 95 98 2000 or Windows NT 4 0 or Higher RS 232 Port COM Port Ethernet Network Connection or Ethernet Network Card with 10BaseT Interface Twisted Pair RJ45 Connector web browser Installed Internet Explorer or Netscape To modify the source code of the Toolkit the following items are required IAR C compiler or ...

Page 2: ... net work or directly to a PC if a network is not available then how to test either connection The PC is Not Connected to Network If the PC is equipped with an Ethernet network card but not connected to a network see Figure 2 a local network address should be used for communication between the Embedded Internet Toolkit and the PC The Embedded Internet Toolkit is shipped with the default IP address...

Page 3: ...viron ments this should be done as follows some Windows versions might deviate slightly in appearance Connect the PC and the Toolkit with the yellow crossover Ethernet cable Open the Windows Control Panel Select Network Select TCP IP the PC s Ethernet adapter from the Configuration tab as shown in Figure 3 Figure 3 TCP IP Configuration Push the Properties button A TCP IP Properties box similar to ...

Page 4: ...he IP Address tab Choose to Specify an IP address as shown in Figure 4 Insert the IP address 169 254 111 150 and the corresponding subnet mask as shown in Figure 4 Save your settings by pressing OK in both TCP IP properties and Network properties Reboot your PC ...

Page 5: ...ted to the EIT through a Network Testing the Connection To test the connection between the PC and the Internet Toolkit a simple program called ping can be used Ping sends a number of messages to the specified IP address and displays the response The ping program can be run from the command line or from a DOS window on the PC as follows Open the Windows Start Menu Click Run In the Open box type pin...

Page 6: ...l network administrator and ask for a symbolic name for a specified IP address To view the default resident web pages in the Toolkit start the web browser and write 169 254 111 111 into the address line of the browser window The main page of the Embedded Internet Toolkit will now be displayed in the browser window Figure 6 Viewing the Default Web Page in a Web Browser If no web page is displayed g...

Page 7: ...n to the start menu on the PC The PC may need to be restarted after the installation Using the Web Server Terminal Software To start the web server terminal software open the start menu select Programs and AVR Web Server Terminal to start the software To load the default setting open the File menu and select Load Figure 7 shows the settings in the web server terminal software Note The Toolkit s ne...

Page 8: ... FTP setup section specifies the user name and password to log on to the AVR Embedded Web Server using FTP File Transfer Protocol Write The software writes the configuration settings to a local file called server ini When the write button is pressed the local file is transferred via the RS 232 serial interface to the Internet Toolkit Make sure that an RS 232 cable is connected between the PC and t...

Page 9: ...splay the web contents of the address specified in the IP Address field Server ini The web server terminal program generates a configuration file called server ini with the following format System DHCP 0 IP0 A9FE IP1 6F6F MAC0 0004 MAC1 25FF MAC2 0010 SMTP sender anybody anywhere com receiver anybody anywhere com host anyhost maillp0 A9FE maillp1 6F60 FTP FTP 1 Username ews Password ews ...

Page 10: ... be of any type web pages pictures applications or JAVA applets being the most com mon ones The simplest way of using FTP is from a DOS window To open a DOS window in Windows 95 and Windows 98 click the start menu program and MS DOS Prompt Alternatively click the start menu click run and type command In the DOS window type ftp 169 254 111 111 or any other address set up with the web server termina...

Page 11: ...ted before re written To delete a file type rm name ext To change the directory from which you want to transfer the files from your PC type LS directory where directory is the target path on your PC For more information type The file server ini contains the configuration settings of the Toolkit and should not be deleted from the file system The file index htm is the default file that is displayed ...

Page 12: ...s For complete descriptions of the functions in the software please see the technical documentation included with the Toolkit This example explains how to use the IAR compiler for compiling the files to build a hex file for downloading into the Internet Toolkit For new users of the IAR C compiler it is recommended to complete the tutorial included in the C compiler documentation Figure 11 Files In...

Page 13: ... shows the settings for the linker file A linker command file is included with the code This linker command file should be selected The project can now be built The hex file can be downloaded to the Toolkit as explained below Downloading New Software When a hex file has been generated by the C compiler it must be downloaded into the Toolkit This downloading can be done with the AT90ISP programing ...

Page 14: ... 2499B AVR 05 02 Formatting the File System To format the file system of the EIT Dataflash short circuit pins 1 and 2 of the Expan sion Port header on the EIT while resetting it Figure 13 Specifying Linker File ...

Page 15: ...ile must be saved as server ini before pressing the write button in the terminal program A network connection checkpoint 1 must be established before the terminal program can communicate with the Toolkit To change the IP address of a PC use the Windows control panel network TCP IP properties and set up an IP address close to the Toolkit IP address I e as the Toolkit is shipped with a default IP ad...

Page 16: ...ldg 1 24 8 Shinkawa Chuo ku Tokyo 104 0033 Japan TEL 81 3 3523 3551 FAX 81 3 3523 7581 Memory 2325 Orchard Parkway San Jose CA 95131 TEL 1 408 441 0311 FAX 1 408 436 4314 Microcontrollers 2325 Orchard Parkway San Jose CA 95131 TEL 1 408 441 0311 FAX 1 408 436 4314 La Chantrerie BP 70602 44306 Nantes Cedex 3 France TEL 33 2 40 18 18 18 FAX 33 2 40 18 19 60 ASIC ASSP Smart Cards Zone Industrielle 13...

Reviews: