English
Language : 

Z8F2480 Datasheet, PDF (14/24 Pages) Zilog, Inc. – Load current up to 3 amps
Z8F2480 Power Monitor with an eZ80F91 Webserver
Reference Design
To recompile the Webserver software, observe the following procedure:
1. Launch the ZDSII – eZ80Acclaim! program by navigating via the Windows Start
menu to: All Programs → Zilog → ZDSII_eZ80Acclaim!_<version_number> →
ZDSII_eZ80Acclaim! <version_number>.
2. From the File menu, select Open Project to display the Open dialog box.
3. In the Open dialog, browse the following default installation filepath:
C:\Program Files (x86)\Zilog\ZDSII_eZ80Acclaim!_5.2.1\
ZTP\ZTP2.4.1_Lib\ZTP\SamplePrograms\F91_WebServer
4. From the F91_WebServer folder, select the ZTPDemo_eZ80F91x150MODG.zdsproj
file and click Open to display the initial ZDSII program screen. To view the source files,
double-click the Project Files folder on the left side of the IDE interface. Double-click
an individual file to open the file in the ZDSII file editor.
5. Click the Rebuild All toolbar icon (seen in Figure 7). When the build completes, a
Build Succeeded message will appear.
If changes are made to the index.html file, it will be necessary to delete the ZDS II-
generated index_htm.c file located in the
RD0027_PM_Web\F91_WebServer\WebSite path before performing a Rebuild
All. Deleting this file ensures that ZDS II will regenerate the index_htm.c file and
include any changes made to the file in the new program image.
Note: If it is necessary to use static IP addresses, then change the value of the b_use_dhcp variable
in the ZTPConfig.c file from TRUE to FALSE. Additionally, the default values used in the
ifTbl array for the Ethernet interface may require modification to match the static IP config-
uration assigned by your network administrator. It is not necessary to make any changes to the
ZTPConfig.c file if the network uses a DHCP server to assign IP parameters.
6. To reprogram the Power Board, it is necessary to use a Zilog debug tool such as the
USB SmartCable. Before proceeding to download new code to the Power Board, dis-
connect AC power from the Power Board, but leave the 5 V wall adapter plugged into
an AC outlet.
7. Connect the 6-pin ribbon cable between the USB SmartCable and the Power Board’s
J5 connector.
8. In the ZDSII IDE, click the Download icon ( ) to reprogram the Webserver Mod-
ule.
9. When the download is complete, disconnect the 6-pin ribbon cable from the Power
Board, then unplug the 5 V wall adapter from the Webserver Module.
10. Reconnect AC main power to the Power Board, then plug in the 5V wall adapter.
RD002702-0814
Page 14 of 24