Advertisement

Quick Links

AVR461: Quick Start Guide for the Embedded
Introduction
Congratulations with your AVR Embedded Internet Toolkit. This Quick-start Guide
gives an introduction to using the AVR Embedded Internet Toolkit and can be used as
a guide for getting started with embedded Internet applications
System Requirements
The minimum hardware and software requirements are:
PC with 486 Processor (Pentium
16 MB RAM.
3 MB Free Hard Disk Space.
®
Windows
95/98/2000 or Windows NT
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 Imagecraft
STK500 Starter Kit or Other Programming Equipment Capable of In-System
Programming megaAVR
Internet Toolkit
®
is recommended).
®
4.0 or Higher.
C-compiler.
.
8-bit
Microcontroller
Application
Note
Rev. 2499B–AVR–05/02
1

Advertisement

Table of Contents
loading

Summary of Contents for Atmel AVR461

  • Page 1 AVR461: Quick Start Guide for the Embedded Internet Toolkit 8-bit Introduction Microcontroller Congratulations with your AVR Embedded Internet Toolkit. This Quick-start Guide gives an introduction to using the AVR Embedded Internet Toolkit and can be used as a guide for getting started with embedded Internet applications...
  • Page 2 IP address 169.254.111.111. This address is in the address area reserved for local networks not connected to the Internet. For direct connection between the PC and the Toolkit, a crossover Ethernet cable is required. The yellow Ethernet cable pro- vided with the Toolkit is a crossover cable. AVR461 2499B–AVR–05/02...
  • Page 3 AVR461 Figure 2. The PC is Connected Directly to the EIT Yellow Cable To set up your PC to connect directly to the Embedded Internet Toolkit, an IP address in ® the same range as the Toolkit’s must be assigned to the PC. In Windows environ- ®...
  • Page 4 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. AVR461 2499B–AVR–05/02...
  • Page 5: Testing The Connection

    AVR461 The PC is Connected In If there is an Ethernet network available (see Figure 5), the Embedded Internet Toolkit can be connected to any Ethernet connection or hub belonging to the network. If the PC Network is connected to a network, there is a strong possibility that the default IP address of the Toolkit is outside the range of the network (the address doesn’t belong to the IP subset...
  • Page 6: Viewing Webpages

    IP a d d r e ss a n d a ss ig n a sy mb o lic n a m e fo r it ( fo r in s ta n c e www.atmel.com). To use symbolic names for the Embedded Internet Toolkit, contact the local network administrator and ask for a symbolic name for a specified IP address.
  • Page 7 AVR461 Installing the Web The Embedded Internet Toolkit includes software for configuring the Toolkit. For a com- plete description of the configuration settings, please see the AVR Web Server Server Terminal documentation. Software The web server terminal software is included on the CD-ROM provided with the Toolkit.
  • Page 8: Web Server Setup

    Internet Toolkit. When clicking the Ping choice in the Tools menu, the program will ping the address currently in the IP Address field, and display the result in a DOS window. For an explanation of the ping responses, please see “Setting Up and Testing the Ether- net Connection” on page 2. AVR461 2499B–AVR–05/02...
  • Page 9: Web Browser

    AVR461 Web Browser If Internet Explorer is installed on the PC, the web server terminal can be used as a web browser. Simply click the View menu and then web browser to display the web contents of the address specified in the IP Address field.
  • Page 10 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 terminal program). Figure 9 below shows a screen shot of the logon screen. Figure 9. Using FTP from a DOS Window AVR461 2499B–AVR–05/02...
  • Page 11 AVR461 Figure 10. Listing of Files in the File System To view the files in the file system, type “ls” or “dir”. To transfer files from a location on the PC to the Toolkit, type “put name.ext”, where name.ext is the name of the file. To transfer files from the Toolkit to the PC type “get name.ext”...
  • Page 12 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 Included in the Full Configuration AVR461 2499B–AVR–05/02...
  • Page 13: Downloading New Software

    AVR461 Figure 12. Setting Output File Format Figure 11 shows the files an IAR project including all the files necessary to use all soft- ware modules. To save code space, unused modules may be removed. The code size for the modules included in Figure 7 is approximately 30 Kbytes with maximum size compression.
  • Page 14: Formatting The File System

    Formatting the File 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. System Figure 13. Specifying Linker File AVR461 2499B–AVR–05/02...
  • Page 15: Troubleshooting Guide

    AVR461 Trouble-shooting 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. guide Table 1. Troubleshooting Guide Checkpoint Solution No network connection is detected. The Ethernet cable is either not plugged in or wrong type of cable is used.
  • Page 16 No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel’s products are not authorized for use as critical components in life support devices or systems.

Table of Contents