TiWi-SL Simple Web Server Demo Quickstart Guide

Similar documents
Embedded Webserver Demo (SPI Flash) Quickstart Guide

I2S Master slicekit Loopback Demo Quickstart Guide

LIN Bus Demo Quickstart Guide

Multi-Uart Com Port Demo Quickstart Guide

Ethernet Slice Simple Webserver Application Quickstart

AVB-DC Quick Start Guide

Display Controller Component

Wi-Fi Component REV A. Publication Date: 2013/3/8 XMOS 2013, All Rights Reserved.

TiWi-SL Wi-Fi Component

Application Note: AN00153 Programming OTP memory via SPI boot

Application Note: AN00198 Getting Started with Simulator Tracing in xtimecomposer Studio

Application Note: AN00194 Getting Started with VCD Tracing in xtimecomposer

Application Note: AN00193 Getting Started with Debugging in xtimecomposer

XMOS xsoftip Audio BiQuad Function Library

Application Note: AN00181 xcore-200 explorer - Accelerometer

Use xtimecomposer to simulate a program

LCD component REV A. Publication Date: 2013/11/15 XMOS 2013, All Rights Reserved.

LCD Component REV A. Publication Date: 2012/10/15 XMOS 2012, All Rights Reserved.

LCD Component REV A. Publication Date: 2013/2/19 XMOS 2013, All Rights Reserved.

Application Note: AN00152 xscope - Bi-Directional Endpoint

Extending startkit using the PCIe slot and slicecards

Application Note: AN00175 A startkit LED demo

Application Note: AN00130 USB HID Class - Extended on slicekit

Application Note: AN00151 xscope - Custom Host Endpoint

Lock handling Library

XMOS xsoftip Audio Delay-line Function Library

XMOS xsoftip Audio Delay-line Function Library

Application Note: AN00192 Getting Started with Timing Analysis in xtimecomposer Studio

Application Note: AN00189 Using QuadSPI for application overlay data

Multi-UART Module Usage Manual

Application Note: AN00160 How to use the SPI library as SPI master

Application Note: AN00144 xcore-xa - xcore ARM Boot Library

Application Note: AN00174 A startkit glowing LED demo

XC-3 LED Tile Control Kit Quick Start Guide

xcore VocalFusion Speaker Evaluation Kit Quick Start Guide

Application Note: AN00142 xcore-xa - xcore ARM Bridge Library

The SC receives a public IP address from the DHCP client of the ISP. All traffic is automatically sent out through the WAN interface.

C-Assist Set up Guide

User Guide AE6000. Wireless Mini USB Adapter AC580 Dual Band

PRIMARE APP User Guide ios

Wireless Setup Guide (for Windows XP, Windows Vista, Windows 7 and Mac OSx)

Application Note: AN00182 USB HID Class - Extended on xcore-200 Explorer

Application Note: AN00188 Using QuadSPI flash memory for persistent storage with xcore-200

Application Note: AN00177 A startkit ADC demo

XC-1A Development Board Tutorial

Lab Guide Rev. 0 TWRWIFIG1011MILAB

ArduCAM CC3200 UNO board

Network Name displays the name of the wireless network your machine is connected to (this says network name when not connected to a network).

BCM4343W IoT Starter Kit Getting Started Guide Version 2.1

Procedure to Upgrade Verizon FiOS Router and Configure Xbox 360 to connect with Microsoft USB WiFi Adapter

Application Note: AN00136 USB Vendor Specific Device

DFU loader for XMOS USB AUDIO devices

Wireless Setup Guide (for Windows XP, Windows Vista, Windows 7 and Mac OSx) (3GM2Wn)

Thank You for Choosing the CRICKET CROSSWAVE

Quick Installation Guide

TELST R A E LITE GAT E WAY QUICK START GUIDE

woodbourne setup instructions using Wi-Fi or ethernet connections

Connecting Your Device to a Wireless Network

Figure 5-25: Setup Wizard s Safe Surfing Screen

XC-3 Hardware Manual. Version 1.3. Publication Date: 2009/09/25 Copyright 2009 XMOS Ltd. All Rights Reserved.

OTC Student Wireless Network

Smart Plug User Guide

Setup Guide Multi-Link

Wireless Setup Guide (for Windows XP, Windows Vista, Windows 7, Windows 8 and Mac OSx)

Connecting Your iphone, ipad, or ipod touch to the NEIU Secured Network

HSPA+ WiFi Router with Voice

The FSC receives a public IP address from the DHCP client of the ISP. All traffic is automatically sent out through the WAN interface.

NET-DYN USB Dual Band (Mediatek) Installation Guide. This manual is divided into three parts: Windows XP, Windows 7 / 8 / 8.

Application Note: AN00209 xcore-200 DSP Elements Library

Smart Device Simple World

The R25 Robot Series

Quick Installation Guide

Auburn Montgomery AUM Wi-Fi. Windows 7. User s Guide & System Documentation

PLEXTALK Pocket PTP1 Tutorial - Network Folder -

Lesson 10. Circuit Boards and Devices Ethernet and Wi-Wi Connectivity with the Internet

Installing Your Printer to Your Network for the First Time

NCR. Wi-Fi Setup Assistant. User guide

Embedded Webserver Library Programming Guide

Overview. Introduction. Contents. Linksys Wireless-N Range Extender. Front

Wireless Security Guide (for Windows XP, Windows Vista, Windows 7, Mac OSx)

How to refresh a Wireless Profile on your computer

Demonstration Instructions

[ Getting Started with Analyzer, Interactive Reports, and Dashboards ] ]

libquadflash API 1 General Operations

Radiant Systems Wireless Point-of-Sale Security Requirements

GPIO Library. Features. Operating modes. Software version and dependencies. Related application notes GPIO (1.1.0)

DFU loader for XMOS USB AUDIO devices

How to manually set up EW-7228APn to extender wireless range

Getting Your Printer Back On Your Network After A Router Or Network Change

Quick Setup Guide. for Standalone Omada Access Points. EAP110 / EAP115 / EAP225 / EAP245 / EAP320 / EAP330 / EAP115-Wall

The Launch GDS can be updated via a wireless internet connection as well as by USB or cat5 cable.

First: Obtain a Linksys "WUSB300N for V11A" adapter kit: it contains the USB wireless

PT100 and PT100W. PT100F and PT100FW. Ethernet Clock with Proximity Badge Reader

SysLINK 500 Family Quick Start Guide

A buffered receiver. receiver task FIFO ...

Yealink T48S Wireless Settings

Contents. 1. Downloading the ios Mobile App Configuration Additional Information... 9 LED indications... 9 Operating the Device...

Accessing the Web Interface on an SPSx50/x51 GPS Receiver using Bluetooth Wireless Technology

Wireless N USB Adapter. Model # AWLL6077 User s Manual. Rev. 1.0

Quick Start Guide. Figure 1 Voice Capture Board Plugged Directly into Raspberry Pi

Transcription:

TiWi-SL Simple Web Server Demo Quickstart Guide IN THIS DOCUMENT sc_wifi demo : Quick Start Guide 1 sc_wifi demo : Quick Start Guide This simple demonstration the XA-SK-WIFI-TIWISL Slice Card together with the xsoftip module_wifi_tiwisl to demonstrate how the module is used to: connect to a wireless access point, Run a very simple HTTP server to display a Hello World! webpage. 1.1 Hardware Setup The XP-SKC-L2 Slicekit Core board has four slots with edge connectors: SQUARE, CIRCLE, TRIANGLE and STAR. Access point setup: 1. Switch on the wireless router. 2. Make sure you know its advertized name (SSID), password (if any) and the security type (Unsecured, WEP, WPA or WPA2) 3. Make sure the host PC is on the above network. System setup: 1. Connect XA-SK-WIFI-TIWISL slice card to the TRIANGLE slot of the XP-SKC-L2 Slicekit core board. 2. Connect the XTAG Adapter to Slicekit Core board, and connect XTAG-2 to the Adapter. 3. Connect the XTAG-2 to host PC. Note that the USB cable is not provided with the Slicekit starter kit. 4. Set the XMOS LINK to ON on the XTAG Adapter. 5. Ensure the wireless access point is switched on and configured. 6. Switch on the power supply to the Slicekit Core board. Publication Date: 2013/3/8 XMOS 2013, All Rights Reserved

TiWi-SL Simple Web Server Demo Quickstart Guide 2/6 1.2 Import and Build the Application Open xtimecomposer and check that it is operating in online mode. Open the edit perspective (Window->Open Perspective->XMOS Edit). Locate the 'app_tiwisl_simple_webserver' item in the xsoftip pane on the bottom left of the window and drag it into the Project Explorer window in the xtimecomposer. This will also cause the modules on which this application depends (in this case, module_wifi_tiwisl and module_spi_master) to be imported as well. Software setup: 1. Open the file app_tiwisl_simple_webserver\src\wifi_tiwisl_config.h 2. Change the SSID, password and security type according to your wireless router configuration. 3. Currently supported security types are: TIWISL_SEC_TYPE_UNSEC, TIWISL_SEC_TYPE_WEP, TIWISL_SEC_TYPE_WPA and TIWISL_SEC_TYPE_WPA2 For example, if your wireless router is known as testwifirouter with no password, then change the configuration as: #define WIFI_SSID testwifirouter #define WIFI_PASSWORD #define WIFI_SECURITY_TYPE TIWISL_SEC_TYPE_UNSEC Another example: If your wireless router is known as testwifirouter with password as testpwd and the security type as WEP, then change the configuration as: #define WIFI_SSID testwifirouter #define WIFI_PASSWORD testpwd #define WIFI_SECURITY_TYPE TIWISL_SEC_TYPE_WEP Click on the app_tiwisl_simple_webserver item in the Project Explorer pane then click on the build icon (hammer) in xtimecomposer. Check the console window to verify that the application has built successfully. For help in using xtimecomposer, try the xtimecomposer tutorial, which you can find by selecting Help->Tutorials from the xtimecomposer menu. Note that the Developer Column in the xtimecomposer on the right hand side of your screen provides information on the xsoftip components you are using. Select the module_wifi_tiwisl component in the Project Explorer, and you will see its description together with API documentation. Having done this, click the back icon until you return to this quickstart guide within the Developer Column. 1.3 Run the Application Now that the application has been compiled, the next step is to run it on the Slicekit Core Board using the tools to load the application over JTAG (via the XTAG2 and XTAG Adapter card) into the xcore multicore microcontroller. 1. Select the file main.xc in the app_tiwisl_simple_webserver project from the Project Explorer.

TiWi-SL Simple Web Server Demo Quickstart Guide 3/6 2. Click on the Run icon (the white arrow in the green circle). 3. At the Select Device dialog select XMOS XTAG-2 connect to L1[0..1] and click OK. 4. xtimecomposer console displays the IP address obtained by the DHCP client. Sample message on the console: ** WELCOME TO THE SIMPLE WEBSERVER DEMO ** Switching on Wi - Fi module... ok! Scanning available networks... testap1 testap2 testap3 testwifirouter ----end ---- Connecting to testwifirouter IP Address : 192.168.1.100 5. From a PC connected to the same network, open a web browser and open the link: http ://192.168.1.100 using the IP adress printed out by the application. This should display a Hello World! webpage. You have now got the XA-SK-WIFI_TIWISL slice up and running. 1.4 Next Steps 1. Examine the application code. In xtimecomposer navigate to the src directory under app_tiwisl_simple_webserver and double click on the xhttpd.xc file within it. The file will open in the central editor window. 1.4.1 Try the GPIO Wi-Fi combo Demo This example demonstrates the use of two Slice Cards, XA-SK-GPIO and XA-SK- WIFI-TIWISL slice together with the xsoftip components for Wi-Fi, SPI, I2C and WebServer to provide access to the GPIO slice features via a simple embedded webserver. Turn GPIO Slice Card LEDs on and off Read the room temperature via the on-board ADC and display on the web page Display GPIO Slice Card button press status Once you have both the XA-SK-GPIO and XA-SK-WIFI-TIWISL slices you can try the GPIO Wi-Fi combo demo by???

TiWi-SL Simple Web Server Demo Quickstart Guide 4/6 Figure 1: Hardware Setup for TiWi-SL Simple Web Server Demo

TiWi-SL Simple Web Server Demo Quickstart Guide 5/6 Figure 2: Hello World! web page

TiWi-SL Simple Web Server Demo Quickstart Guide 6/6 Copyright 2013, All Rights Reserved. Xmos Ltd. is the owner or licensee of this design, code, or Information (collectively, the Information ) and is providing it to you AS IS with no warranty of any kind, express or implied and shall have no liability in relation to its use. Xmos Ltd. makes no representation that the Information, or any particular implementation thereof, is or will be free from any claims of infringement and again, shall have no liability in relation to any such claims.