AVR32 UC3 EVK1100 Control Panel Tutorial

Slides:



Advertisements
Similar presentations
DSL-2730B, DSL-2740B, DSL-2750B.
Advertisements

DNR-322L & DNR-326.
ECE 4220 Real Time Embedded Systems Final Project Presentation Spring 2014 University of Missouri Columbia By: Michael Brauch Temperature Data Logger.
Programming Embedded Systems
6 February LAN-50/500 Ethernet Communication.
04/26/2011Marshall Electronics, Inc. © H.264 Cameras and Servers Sales & Technical Training Presented By: Jim LucasNigel Hamley, MBKS Product ManagerManager.
A+ Guide to Software, 4e Chapter 11 Supporting Printers and Scanners.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
What is Router? Router is a device which makes communication between two or more networks present in different geographical locations. Routers are data.
NORTEL NETWORKS CONFIDENTIAL CallPilot 150 Modem Access Jan 03, 2005 Version 1.5.
Silicon Labs ToolStick Development Platform
Section 2.1 Identify hardware Describe processing components Compare and contrast input and output devices Compare and contrast storage devices Section.
RemoteDrive. OVERVIEW OVERVIEW The RemoteDrive is a special software running on Windows TM and controlling the devices manufactured by Elettronica Santerno.
1 Web Server Administration Chapter 3 Installing the Server.
NETWORK CENTRIC COMPUTING (With included EMBEDDED SYSTEMS)
AT91SAM9261-EK WinCE 6.0 DEMO ATMEL AT91 Application & Support Group
ActEyes IP Cam Training Part 1: Camera Setup. Network Setup Overview Each IP Cam on the network will need its own IP address to be assigned. This address.
Lexmark Wireless Printer Adaptor Instructions Step 1. For a Mac, go to network preferences/ select built-in-ethernet and click on TCP/IP tab and annotate.
1 Fluke DAQ Software Visual Demo Guide 2680A-APSW.
GEN IV IP NVR Setup And Instructions. Playback Recordings 1)Click and select your device 2)Select Camera in next box a) To select more then one camera.
AT91SAM9261-EK WinCE 5.0 DEMO ATMEL AT91 Application & Support Group Version 1.O February 2007.
DSL-2544N Dual Band Wireless N600 Gigabit ADSL2+ Modem Router
EMerge Browser Managed Security Platform Module 3: Startup eMerge Certification Course  Physical connection  TCP/IP Characteristics of PC  Initial connection.
Ethernet port  Make sure that your computer has an Ethernet connection (RJ45 port).  Power the zSeries on and make sure the “network link” LED is solid.
 The Control Panel window will pop up. Existing LAN USB-to-Ethernet adapter  Use an inexpensive USB-to-Ethernet adapter and connect it to your computer’s.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
Getting to Know Your Computer Your File System Applications What’s running on your machine Its own devices Networking.
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
DHP Agenda: How to Access Web Interface of the DHP-1320 on Access Point Mode How to Access Web Interface of the DHP-1320 on Router Mode How to Change.
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
Envision Tutorial Horner APG, LLC July 18, Introduction The Cscape Remote Viewer allows remote interaction with the user interface on Horner OCS.
ChibiOS/RT Demo A free embedded RTOS
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
Semester 1 v CCNA 1 Module 1:Introduction. Semester 1 v Connecting to the Internet.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
ARL NGARA – Real Time Sound Acquisition System Introduction 1. Network Type The Ngara is a portable, battery operated NATA certified instrument designed.
Pasewark & Pasewark 1 Windows Vista Lesson 1 Windows Vista Basics Microsoft Office 2007: Introductory.
After Construction Name: Per #:.
Getting Started with Dreamweaver
Section 2.1 Section 2.2 Identify hardware
Computer Literacy BASICS
Getting Started with Application Software
Chapter Objectives In this chapter, you will learn:
CCNA Routing and Switching Routing and Switching Essentials v6.0
HOW WELL DO YOU KNOW THE BASICS OF USING YOUR COMPUTER?
Computer System Laboratory
One-Stop Solution for Device Networking
C without OMMERCIAL PRODUCT Without Product
Implementation of Embedded OS
CP220x The Industry’s Smallest Ethernet Controller
Chapter 5: Switch Configuration
Crouzet touch Quick start.
Chapter 10: Device Discovery, Management, and Maintenance
CCNA Routing and Switching Routing and Switching Essentials v6.0
Basic Computing for Teachers
Windows Operating Systems (Cont.)
Telnet/SSH Connecting to Hosts Internet Technology.
Chapter 10: Device Discovery, Management, and Maintenance
Hardware Appliance Installation and Configuration
OdaStat-G – Getting Started with the OdaLog Type L2
Always Connected introduces Tigo SMART 3.1 This guide is interactive!
Getting Started with Dreamweaver
Chapter 11 Supporting Printers and Scanners
bitcurator-access-webtools Quick Start Guide
Configuring Server to communicate with CET meters (Ethernet)
Windows Operating System
How to install and manage exchange server 2010 OP Saklani.
Basic Tips and Tricks For an Entry Level Desktop Support Technician
Presentation transcript:

AVR32 UC3 EVK1100 Control Panel Tutorial

Agenda What is the Control Panel? Control Panel Interfaces Description. Control Panel Use Case Ethernet Shell through RS232 USB Device USB Host September 18

Demo is a Control Panel... 1/4 Is an example of implementation of a real-time application that controls and monitors the EVK1100 sensors and actuators. September 18

Demo is a control panel... 2/4 The control panel is based on the freeRTOS operating system. FreeRTOS is a light Real Time Operating System. Support AVR32 UC3 microcontrollers. Multitasking: allows you to manage several programs or tasks on a single MCU. Real-Time Control: complex timing becomes the responsibility of the RTOS. Inter-Task Communication: allows tasks in your system to communicate between each other. September 18

Demo is a control panel... 3/4 It is based on freeRTOS.org OS and use most of the UC3 Software Library: USART SPI (Dataflash, LCD) MACB (Ethernet) Timer / Counter Interrupt controller PWM ADC Flash Power Manager GPIO USB: mass storage class with device and host MAC (Ethernet): TCP/IP Stack with HTTP protocol FAT12/16/32 September 18

Demo is a control panel... 4/4 On going sensors data logging Temperature, potentiometers, keys… Log data in Data-Flash (SPI) or MMC/SD (SPI) if present. Web server Check data log, remote configuration through HTTP! USB Host Mass Storage Plug your USB key to download the data log. USB Device Mass Storage Plug the control panel to your PC to access the data log. September 18

Control Panel Interfaces Laptop USB Key Network Memories (Dataflash, MMC) Actuators & Sensors September 18

Hardware Requirements For this tutorial, you will need: EVK1100 evaluation kit loaded with the control panel firmware. The control panel firmware can be found in the UC3 Software Library: \AT32UC3-1.0.0\APPLICATIONS\EVK1100-CONTROL-PANEL\AT32UC3A\GCC\uc3a0512-ctrlpanel.elf Power supply (8 to 20V) A JTAGICE mkII emulator A Ethernet cable A miniB plug to STD-A plug USB cable A miniA plug to STD-A Receptacle OTG cable A RS232 null-modem serial cable September 18

Power Up Power up the EVK1100 with an external power supply Configure your AC adaptor polarity switch to match the board's. Set it to provide from 8 to 20V. Plug it to the board's power supply jack. Set the board's POWER switch to EXT. Power Supply Selector September 18

Board MMI description 1/2 The board MMI of the Control Panel is made with the LCD and the joystick. The joystick is dedicated to act on the menu line . The first line of the LCD is an arbitrary date in the format: month/day/year hour:min:sec. The second line is the connectivity information line: when the Control Panel is plugged to an Ethernet network, its IP address is displayed on this line. When the Control Panel is acting as a USB Mass Storage device or host, a sort of a USB sign is displayed on the last column of this second line. September 18

Board MMI description 2/2 The third line is the menu line : the default "Press -> Mass Storage" menu message means "press the joystick to set the Control Panel as a USB Mass Storage device". The fourth line is the user message zone. September 18

Accessing the Control Panel acting as a Web server USE CASE 1 Accessing the Control Panel acting as a Web server September 18

USE CASE 1 In this scenario, you are a local user who wishes to access the Control Panel through its Web-server interface. Take the getting started sheet in the EVK1100 box and follow the instructions. At the end, the Web-server entry page should appear: September 18

Accessing the Control Panel acting as a USB Mass Storage device USE CASE 2 Accessing the Control Panel acting as a USB Mass Storage device September 18

USE CASE 2 Accessing the Control Panel acting as a USB Mass Storage device Press the joystick to switch the Control Panel to USB device mode. As mentioned on the LCD on line 3 "Press -> Mass Storage", press the joystick to switch to Mass Storage device mode. Once the joystick has been pressed, you may plug a USB host to the EVK1100 board : note that the message on the LCD on line 3 has changed to "Waiting for Host“. September 18

USE CASE 2 Accessing the Control Panel acting as a USB Mass Storage device Note that while the Control Panel is in USB device mode, the Web server is considered to be in maintenance mode. An access to the web server while the Control Panel is acting as a USB device will return the following web page. September 18

USE CASE 2 Connect the PC to the EVK1100 board USB plug. Use the miniB-plug-to-STD-A-plug USB cable to connect the EVK1100 board and the PC. The LCD screen line 2 and 3 should change. Line 2 of the screen(the status line) should display the USB icon meaning that a USB connection is up and running. Line 3 of the screen(the menu line) should display the information string "USB Mass Storage" meaning that the Control Panel is acting as a USB Mass Storage device. Access the Control Panel Mass Storage memory. There is no menu on the EVK1100 board in this mode. The Control Panel acts as a regular USB Mass Storage key in this mode. The PC sees the Control Panel as a removable disk: it has full access to the Control Panel file system. September 18

USE CASE 2 Assignment Open the index.htm file with a text editor (Notepad) and change the text below the section: <h2>Description</h2> Change the text by adding the date of today. Save the file. September 18

USE CASE 2 Unplug the USB disk from Windows. Reload the web server page from your internet browser. Your text here! September 18

Accessing the Control Panel through its shell interface on USART_0 USE CASE 3 Accessing the Control Panel through its shell interface on USART_0 September 18

USE CASE 3 Accessing the Control Panel through its shell interface on UART_0 Connecting to the shell. With a male-female serial cable, join your laptop COM port to the Control Panel's UART_0 COM port. On your laptop, launch hyperterminal, Fill-in the following properties to match the Control Panel's UART_0 settings (Bits per second=57600, Data bits=8, Parity=None, Stop bits=1, Flow control=None): September 18

USE CASE 3 List of all available command Assignment 1: Type help followed by enter: this will execute the help command that lists all available commands and a short description for each. Assignment 1: Type on the shell: set_actuator_value actuator=lcd usrmsg="Hello Goodbye!" time=10 This command writes the string "Hello Goodbye!" to the LCD user message zone (i.e. the 4th line) in 10 seconds from the moment you hit enter. The "time=10" argument is optional. September 18

USE CASE 3 Examples of file system commands. Suppose we want to see the content of the /WEB directory(i.e. the Web server files): The Control Panel supports multiple drives. By default, there is only one available drive, that is the dataflash. Let's display the available drives. We see that we currently have only one drive, the drive a. Mount the a drive: September 18

USE CASE 3 Display the current content of the top / directory on the a drive: Go to the WEB directory: type cd WEB then enter. Then display the content of the WEB directory. September 18

Accessing the Control Panel acting as a USB Mass Storage host USE CASE 4 Accessing the Control Panel acting as a USB Mass Storage host September 18

USE CASE 4 In this scenario, you are a local user who wishes to access the Control Panel through its USB interface. You are equipped with a USB key. The Control Panel will behave as a USB Mass Storage host while the USB key will be a USB Mass Storage device. Since the Control Panel behaves as a host in this mode, it has full control over its own memory and over the memory of the attached USB device. Do it by yourself and find how to copy ADC logs to your USB key. September 18

Summary You’ve learned: How to use the EVK1100 kit! How to use the control panel interface HTTP RS232 Shell USB device and host User interface (LCD, buttons, sensors….) You can find the user’s guide in the UC3 Software Library: AT32UC3-X.Y.Z\APPLICATIONS\EVK1100-CONTROL-PANEL\readme.html September 18