------------------------------------------------------------------------
Copyright (c) 1999 Steven Freyder, David Helland, and Bruce D. Lightner.
Use subject to licensing restrictions described in "PICOWEB SERVER
SOFTWARE LICENSE AGREEMENT DATED JULY 14, 1999" (See file LICENSE.txt).
------------------------------------------------------------------------

                                        Tue Sep 28 23:11:43 PDT 1999

PicoWeb Server Software Installation (Windows 95/98/NT):

 1. Unzip the PicoWeb Server software archive into a new directory.
    All of the subdirectories in this new directory path MUST have
    names which are legal MS-DOS 8+3 names (i.e., none greater
    than 8 characters, no spaces, etc.)!

 2. Read the file LICENSE.txt.

 3. Activate an "MS-DOS Prompt" Window (a.k.a. command shell) and change
    working directory to the newly created directory containing the
    PicoWeb software.

 4. Edit the source code to set the PicoWeb server's and IP address.
    The PicoWeb IP address is set in the file "ip".  This file MUST BE
    changed to an unused IP address in YOUR subnet.

 5. Edit the source code to set the PicoWeb server's Ethernet address
    The Ethernet address is set in the file "ether.inc".  This file need
    not be changed if this will be the only PicoWeb server on the network
    or if you are using the "breadboard version" which uses an ISA-bus 
    network card.

 6. Use BUILD.BAT to compile and link firmware.  Sample output follows:

       c:> build
       Deleting output files
       Making command table.
       Setting IP address
       192.245.227.127
       Preprocessing.
       Compiling strings.
       Assembling.
       avrasm -g -w picweb.i picweb.lst picweb.rom
       Code             :    897 words
       Constants (dw/db):   2571 words
       Unused           :      0 words
       Total            :   3468 words
       0 warnings/errors.
       Cracking picweb.eep into picweb.ep and picweb.el
       SEEPROM base B800
       Done.

 7. Attach the PicoWeb Server to the local network and attach the
    programming cable to a PC parallel port.  Optionally, you can plug the
    PicoWeb serial cable into the PC's serial port an run a terminal
    emulator (e.g., Hyperterm) set to 19200 baud in order to monitor
    the PicoWeb debug serial port.

 9. Verify that the programming cable is connected to the PC and then
    use LOAD1.BAT to download the microcontroller firmware into the
    PicoWeb server.  Sample output follows:

       c:> load1
       Begin loading PicoWeb Server
       Found LPT1 (I/O base 0x378)
       Sending the programming enable command
       Chip enabled 
       Sending the chip ERASE command
       Sending the programming enable command
       Chip enabled 
       writing Flash memory (0-3467)
       ...................................
       Found LPT1 (I/O base 0x378)
       Sending the programming enable command
       Chip enabled 
       writing EEPROM memory (1-5)
       .
       Done loading PicoWeb Server Microcontroller
       (Remove program cable and run LOAD2.BAT)

 10. Disconnect the programming cable from the PC You should be able to
     "ping" the PicoWeb server over the network after disconnecting the
     programming cable.

     CAUTION! On the "breadboard" version of the PicoWeb server, the
     upper 3 bits of the ISA-bus data bus is shared with the programming
     cable.  If the PicoWeb programming cable is left attached to the
     PC parallel port and the programming cable's reset signal is somehow
     driven high, damage to the Atmel microcontroller, the network card
     and/or the PC parallel port may result!  This should not be a
     problem if LOAD1.BAT is used as indicated above.

 11. Verify that the programming cable is disconnected from the PC and
     use LOAD2.BAT to download the Web pages into the PicoWeb server via
     the network connection.  Sample output follows:

       c:> load2
       Begin loading PicoWeb Server Web pages
       Loading PicoWeb EEPROM via network
       ....
       Processing HTML code/images
       00 base.html
       01 bruce.jpg
       02 davenew.jpg
       03 steve.jpg
       images.dat updated.
       Loading PicoWeb EEPROM via network
       .........................
       Resetting 8515 EEPROM 1FF to 0.
       Done loading PicoWeb Server Web pages

 12. Use a Web browser to retrieve a Web page using the assigned PicoWeb
     IP address is the URL.

Note that version 1.21 of Atmel's AVR assembler must be used with the
supplied PicoWeb Server software package.  That version (AVRASM.EXE)
is supplied with this software package.

The most current versions of this software (and the ZIP archive containing
AVRASM ver. 1.21) can be found at http://www.picoweb.net/.

------------------------------------------------------------------------
Bruce D. Lightner
Lightner Engineering
E-mail: lightner@lightner.net
------------------------------------------------------------------------

