|
Before running WebCatPlus Publisher you have to prepare files you want to upload in one directory.
NOTE: if you use WebCat server don't use subfolders, because it does not support them.
Once you have all your files prepared, run the WebCatPus Publisher and click "Open project" command from "Project" menu.
This will open browse for directory dialog.
We will use existing example from WebCatPlus Publisher Release: [InstallDir]\Examples\WebCatPlus\Visitor\
[InstallDir] - directory where you installed WebCatPlus Publisher. If you installed it to default directory then it will be: c:\bipom\devtools\Publisher\

Select the directory and click OK. List of files in directory will appear.
You can edit HTML and ASP files by double-clicking on them.
When you will publish your project, WebCatPlus Publisher will use only selected files. So you have to select files before creating images. Size of the selected files is shown in the status bar. Please make sure that selected files size is smaller than disk image size.

Go to "Tools" menu and click "Options..." command.
In opened window you should configure two parameters:
Publishing Method - this is method which will be used to uploading files on the board. You should select "Publish Disk Image through COM port"
Disk Size - this is size of target disk image. It should be enough big in order to include a files from your project. But note then disk bigger then more time will be spent to download it to board.
You can leave all other options as is.

WebCat/WebCatPlus servers require configuration information in "config.txt" and "password.txt". WebCatPlus Publisher provides you with easy way to configure these files. Just click toolbar button and fill in corresponding fields in the dialog.
The main parameters:
TCP/IP
Settings
- IP Address - IP address
of your host. (Note: you don't configure gateway
or mask).
- Window Size - this is
size of Slide TCP Window for transmission. It should be in range from 2 to
254. This is number of packets which can be sent without acknowledgement.
- TCP activity in seconds -
It must be in range from 1 to 65535. This is the time-out for
TCP connection. If during time-out no bytes were sent through TCP
connection then WebCat will close this connection.
- Time for ACK in seconds -
It must be in range from 1 to 255. This timer determine how long
WebCat waits for acknowledgement after sending packets. If acknowledgement received, then WebCat send next window (several packets, maximum number
packets in window set in Window Size), if not received then WebCat sends
previous window.
- Re-transmission tries -
It should be in range from 1 to 255. Number
of times WebCat would resend window if no
aknowledgement received. If response is not received after this
numbers of tries WebCat close this connection. (Note: if window didn't confirm by first try, the
window will be reduced by 2 packets, otherwise the window will
increased by 2 packets (maximum number packets in window set in Window
Size ))
- Listen Port - This is the number of the port WebCat will
listen to. By default this port is 80.
HTTP
Settings
- Default page - name of
the site main page.
- Error page - name of a
page that will be sent when user request not existing page. (Note: if file has attribute HIDDEN it considers as
not existing. This way you can hide some files from web.)
COM port
settings
- Baud rate - It should be
one of following values: 300,600,1200,2400,4800,9600,19200,38400,57600,115200.
It is serial port speed in baud.
- Parity - bit of parity of
serial port. (NONE, ODD, EVEN)
Peripherals
- Initialize 4-bit LCD - If
YES, then WebCat uses LCD connector (port P0) to initialize attached LCD for command LCDC
and LCDD. If NO, users can use port P0 as general purpose port by tags ^T0.0^ .. ^T0.7^ and
commands CLR and SET.
- Enable 4x4 keypad - If
YES, then WebCat uses KEYPAD connector (port P2)
and start scan 4x4 keypad. If NO, users can use port P2 as general purpose
port by tags ^T2.0^ .. ^T2.7^ and commands CLR
and SET.
- Enable Debug Messages -
if selected then WebCat will insert the debug messages into pages.

Once you have selected the files you want to publish, click "Publish Project" toolbar button.
Once you click "Publish Project" toolbar button WebCatPlus Publisher will create virtual filedisk mapped to this file and will format it and copy selected files to it.
After this WebCatPlus Publisher open the dialog box that displays the progress and uploads your disk image to the board. Finally, application unmounts virtual filedisk and closes the dialog box.

Please type
http://xxx.xxx.xxx.xxx/
in your favorite WEB browser.
xxx.xxx.xxx.xxx - This is IP address what you assigned to WebCat/WebCatPlus board in Project Configuration dialog.

|