where everything is under control

eZ80 Remote Access

ZiLOG Application Note

How to make eZ80 Webservers configurable online, update its website contents and the firmware

  • Server Configuration

    The Server Configuration interface panel is shown in Figure 5. The window pane is displayed when the Server Configuration tab is clicked. The Network Services pane contains a list of IPWorks services and the controls that are used to enable and disable each particular service. The Network Parameters pane contains a list of IPWorks BootInfo entries such as IP Address of the server, network gateway, subnet mask and so on. The user can edit their values using edit controls. The Website select control determines which website should be used - one supplied with the Firmware HEX file or one updated during the Website Update session.


    Figure 5. Server Configuration interface

    The get configuration button requests the current configuration from the selected server. Once it is received the network services and the networks parameters are displayed in the module view panel. Those Network Services with a check in the check box indicate that the service is enabled. Those in bold but without a check are available but not enabled. Those greyed out are not available.

    The set configuration button submits the new modified parameters to the server. The new configuration file will be composed on the server side and stored to the flash.

    The reset button sends the command to reset the server. This command is necessary to remotely restart the server with a new set of parameters.

    work principle: the configuration is written in the flash at a certain address as a configuration file. The file is formatted with a validity flag and a checksum. Once started the server tries to read the information written in the configuration file. When the information is not valid, the default configuration stored in program code is used. When the client issues "gcon" command through a UDP socket 3000 the server transfers the contents of the file using TCP socket 3001. The client must access this socket to read the information requested. When the Client issues a "scon" command, the server prepares a TCP socket for accepting the new configuration file data. The client must connect to the socket and write the new information. The server reads this information, generates a configuration file and stores it into the flash.

    Documenation Index
    Home | Downloads | eZ80 Module