A micro web server TAP controller application

Download Report

Transcript A micro web server TAP controller application

A micro web server TAP
controller application
J. M. Martins Ferreira
FEUP / DEEC - Rua Dr. Roberto Frias
4200-537 Porto - PORTUGAL
Tel. 351 225 081 748 / Fax: 351 225 081 443
([email protected] / http://www.fe.up.pt/~jmf)
Introduction to design for test techniques – A micro web server TAP controller
© J. M. Martins Ferreira - University of Porto (FEUP / DEEC)
1
Objectives
• To enable the students to write real test
programs in SVF and to execute online
• To provide a tool for test program validation
• To facilitate hands-on sessions with real
1149.X hardware
Introduction to design for test techniques – A micro web server TAP controller
© J. M. Martins Ferreira - University of Porto (FEUP / DEEC)
2
Outline
• The test setup
– The micro web server board
– IP address and connections
• The MWS-TAP application
– Set IP address and connect
– The SVF test program
– Example
Introduction to design for test techniques – A micro web server TAP controller
© J. M. Martins Ferreira - University of Porto (FEUP / DEEC)
3
Setup: The MWS board
• The micro web server TAP controller
application uses a DSTINIm400 networked
microcontroller
evaluation board
(Maxim-Dallas)
• The current
prototype controls
one BS chain
Introduction to design for test techniques – A micro web server TAP controller
© J. M. Martins Ferreira - University of Porto (FEUP / DEEC)
4
TMS
TCK
TDO
TDI
MWS board: the JTAG pins
Introduction to design for test techniques – A micro web server TAP controller
© J. M. Martins Ferreira - University of Porto (FEUP / DEEC)
5
Setup: IP and connections
• Use the MWS RS232C
connector and the MTK
tool to program a valid IP
address into the micro web server board
• Use FTP to load the server application into
the MWS board and
Telnet to launch the
server process
Introduction to design for test techniques – A micro web server TAP controller
© J. M. Martins Ferreira - University of Porto (FEUP / DEEC)
6
Set up (cont.)
• If the current IP of the MWS is known, a
quicker set up procedure is possible:
– Connect the card directly to a computer using a
regular LAN cable and telnet to its IP address
– Set up the new IP address (cuts the current
connection if in different subnets),
e.g. ipconfig -a 158.36.164.12 -m 255.255.254.0 -g 158.36.164.1
– Set the current IP of the computer to the same
subnet and reconnect (or use the LAN)
Introduction to design for test techniques – A micro web server TAP controller
© J. M. Martins Ferreira - University of Porto (FEUP / DEEC)
7
MWS-TAP – set IP and
connect
Introduction to design for test techniques – A micro web server TAP controller
© J. M. Martins Ferreira - University of Porto (FEUP / DEEC)
8
MWS-TAP – Open / write a
new SVF test program
Introduction to design for test techniques – A micro web server TAP controller
© J. M. Martins Ferreira - University of Porto (FEUP / DEEC)
9
MWS-TAP – Example
(demo board leds)
Introduction to design for test techniques – A micro web server TAP controller
© J. M. Martins Ferreira - University of Porto (FEUP / DEEC)
10