UM0897
User manual
Embedded Ethernet web client based on the STR91x
Introduction
This document describes the functioning of the STEVAL-PCC008V1 demonstration board
with an embedded Ethernet web client system which is based on ST's STR91xFAW
ARM966E-S™ 16/32-bit Flash MCU with Ethernet microcontroller. This system is designed
for viewing/monitoring jpeg images taken from an HTTP web server or from an IP camera
present on the network. The images are displayed on the TFT present on the board, thus
enabling surveillance. This system needs to be plugged into the network to access jpeg
images from the HTTP web server or from the IP camera. This system is compatible with
web servers which do not require support for secure socket layer (SSL) and it uses specific
programmed requests to capture images from specific web servers.
The system uses a 2.4" TFT for displaying the images captured from the network. The
captured jpeg images are displayed on the TFT by converting them into bitmap through a
jpeg decompression algorithm. A six-button keypad is provided for navigating through the
menus. The availability of the micro-SD card on the board helps in handling large quantities
of data from the network.
July 2010
Doc ID 17012 Rev 1
1/25
www.st.com
Contents
UM0897
Contents
1
Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1
1.2
Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Hardware setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2.1
1.2.2
1.2.3
Web client with local display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Hardware layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3
Network setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3.1
1.3.2
Setting up a local network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Using an existing network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4
HTTP web server setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4.1
1.4.2
Using a "Techlogica" HTTP web server . . . . . . . . . . . . . . . . . . . . . . . . . . 6
IPCAM board setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2
System overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1
2.2
Server client general description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
System architecture description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
STR9 microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
E-STE100P - single port fast Ethernet transceiver . . . . . . . . . . . . . . . . . 9
TFT: MB542B (AM-240320L8TNQW00H) . . . . . . . . . . . . . . . . . . . . . . . . 9
Power supply unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
User interface section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3
Running the system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.1
Powering up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4
5
6
Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Bill of material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2/25
Doc ID 17012 Rev 1
UM0897
List of figures
List of figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
Figure 10.
Figure 11.
Figure 12.
Figure 13.
Figure 14.
Figure 15.
Web client with local display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Hardware layout (bottom and top views) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Setting local network. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
"Techlogica" HTTP web server interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Server-client relationship . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Web-client architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
User interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Initial display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
TFT display 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
TFT display 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
TFT display 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Doc ID 17012 Rev 1
3/25
Getting started
UM0897
1
1.1
Getting started
Package
The embedded Ethernet web client based on the STR91x system package includes the
following items:
●
●
Hardware content
–
–
–
–
–
Demonstration board equipped with a TFT, micro-SD card, and keypad
Already programmed in the system
Object files of the firmware
Pictures/images
Set of images to work with the web server (as an example)
User manual (this document)
Firmware
●
Documentation:
–
1.2
1.2.1
Hardware setup
Web client with local display
The board will display the images taken from the network.
To use this mode, jumper J19 present on the board should be in position 2-3. Please refer to
Table 1.
Figure 1.
Web client with local display
4/25
Doc ID 17012 Rev 1
UM0897
Getting started
1.2.2
Jumper settings
The jumper configurations are listed in the table below. Jumper JP19 is used to make the
system work either as "Web Client with local display" or as "Web Client with remote display".
Table 1.
Jumper settings
Jumper
JP19
JP19
Jumper position
2-3
1-2
Function
Web client with local display
Not used
1.2.3
Hardware layout
The system is built around STMicroelectronics' ARM
®
core-based STR912FAW44X6 in a
128-pin LQFP128 package.
Figure 2
shows the layout of different sections of the board.
Figure 2.
Hardware layout (bottom and top views)
Doc ID 17012 Rev 1
5/25