CCS + Opentest Enabling JTAG-Based DUT’s Control.

Slides:



Advertisements
Similar presentations
© Vidiom Systems Corp., 2004 AutoXlet Framework Requirements Framework design Xlet Script Test Results and Logging Synchronization control Examples Configure,
Advertisements

Three types of remote process invocation
PHP I.
Protocol Configuration in Horner OCS
UNIX Chapter 12 Redirection and Piping Mr. Mohammad Smirat.
1 Opentest Architecture Table of Content –The Design Basic Components High-Level Test Architecture Test Flow –Services provided by each Layer Test Mgt.
Dispatcher IO TestlinkDispatcher TEEBEE Required TEEs XSLT 1. Testlink XML 3. Get Asset Build Id 6. Bee Build result* 8. Testlink XML 9. Tee specific input.
1 Linux Networking and Security Chapter 2. 2 Configuring Basic Networking Describe how networking devices differ from other Linux devices Configure Linux.
Efficient Network Management (236635) SNMP TCP Backchannel Submitted by: An SNMP agent extension for transferring large files Tsachi Sharfman
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Configuring and Testing Your Network Network Fundamentals – Chapter 11.
Linux+ Guide to Linux Certification, Second Edition
Great people, great experience, great passion Administering SharePoint with Windows PowerShell Go Beyond the Management Shell with SharePoint and Windows.
DT228/3 Web Development Databases. Database Almost all web application on the net access a database e.g. shopping sites, message boards, search engines.
Definitions, Definitions, Definitions Lead to Understanding.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
DEMONSTRATION FOR SIGMA DATA ACQUISITION MODULES Tempatron Ltd Data Measurements Division Darwin Close Reading RG2 0TB UK T : +44 (0) F :
Web Proxy Server. Proxy Server Introduction Returns status and error messages. Handles http CGI requests. –For more information about CGI please refer.
Automatic Software Testing Tool for Computer Networks ARD Presentation Adi Shachar Yaniv Cohen Dudi Patimer
CTEC 1863 – Operating Systems Shell Scripting. CTEC F2 Overview How shell works Command line parameters –Shift command Variables –Including.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
DMT File Management Common Problems Managing DMT files –Reliable Upload –Reliable Download –Where are the files kept? –Tedious Procedures Using DOS commands.
The Sardana device pool for SPEC lovers - BLISS Seminar - January 15, 2007 The Sardana device pool for SPEC lovers BLISS Seminar January 15, 2007 Tiago.
W. Sliwinski – eLTC – 7March08 1 LSA & Safety – Integration of RBAC and MCS in the LHC control system.
CINEMA’s UbiComp Subsystem Stefan Berger and Henning Schulzrinne Department of Computer Science Columbia University
Week 7 Working with the BASH Shell. Objectives  Redirect the input and output of a command  Identify and manipulate common shell environment variables.
Introduction to UNIX / Linux - 11
Section 1: Introducing Group Policy What Is Group Policy? Group Policy Scenarios New Group Policy Features Introduced with Windows Server 2008 and Windows.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
Specview 32 Release 2.5 Enhancements
Linux+ Guide to Linux Certification, Third Edition
Real-time multimedia and communication in packet networks Asterisk AGI and Manager Interface.
VPO Troubleshooting. [vpo_troubleshooting] 2 VPO Troubleshooting Section Overview Possible Trouble Areas Filesystem structures Management Server logfiles.
Version How to Use Packet Tracer MarinaMD.
Javadoc Comments.  Java API has a documentation tool called javadoc  The javadoc tool is used on the source code embedded with javadoc-style comments.
Topics Sending an Multipart message Storing images Getting confirmation Session tracking using PHP Graphics Input Validators Cookies.
Cloud computing for internet emulator. Professor Muthucumaru Maheswaran Team Members Mia Hochar Simon Foucher David El Achkar David El Achkar Marc Atie.
2/26/021 Pegasus Security Architecture Author: Nag Boranna Hewlett-Packard Company.
Apache JMeter By Lamiya Qasim. Apache JMeter Tool for load test functional behavior and measure performance. Questions: Does JMeter offers support for.
MuSL Builder Handcrafting custom Mu Scenarios. MuSL in the Mu Scenario Editor.
SKYPIAX, how to add Skype capabilities to FreeSWITCH (and Asterisk) CHICAGO, USA, September 2009.
Configuring AAA requires four basic steps: 1.Enable AAA (new-model). 2.Configure security server network parameters. 3.Define one or more method lists.
ICM – API Server & Forms Gary Ratcliffe.
Source Controller software Ianos Schmidt The University of Iowa.
Introduction to eTIM. Introduction to eTIM eTIM Overview   eTIM (eTIM) is a server designed and developed by VeriFone, Inc. to work between PAYware.
Linux+ Guide to Linux Certification, Second Edition
Perfecto Mobile Automation
© 2002, Cisco Systems, Inc. All rights reserved..
Configuring and Testing Your Network Network Fundamentals.
LonWorks Introduction Hwayoung Chae.
Linux Administration Working with the BASH Shell.
Resource Manager The Resource Manager is implemented as a custom STAF service called RESMGR. RESMGR manage resources at the execution engines level (TEEs.
11 DEPLOYING AN UPDATE MANAGEMENT INFRASTRUCTURE Chapter 6.
GEANT OpenCall – NSI CONTEST NSI CONTEST – Demonstrator Giacomo Bernini Nextworks GENI Networking Conference 22, March 2015, Washington DC.
Maj Jeffrey Falkinburg Room 2E46E
SMS module HDL-MGSM.431.
Over the Air Download Peripheral Device Central Device Slave Master
Section 13 - Integrating with Third Party Tools
Do-more Technical Training
State of Testing Jason Kenny – ATS committer.
Consulting Services JobScheduler Architecture Decision Template
DHCP server & Client Objectives Contents
Configuring and Testing Your Network
Database Driven Websites
X Windows.
16: extcap – Packet Capture beyond libpcap/winpcap
Time Gathering Systems Secure Data Collection for IBM System i Server
Developer Lightening Talks
Changing Ethernet config using IP changer FW upgrade
Framework Anil
Presentation transcript:

CCS + Opentest Enabling JTAG-Based DUT’s Control

Test Template Test Template Test Master Controller Test Service Providers Dispatcher Resource Manager Monitor TEEx BEEx Other Service Other Service Test Management System (TestLink) Test Cases Test Results Test Reports Test Requirements TEEy BEEy BEEz STAF messages Opentest Client Test Template Test Results Site Config STAF messages CLIBrowser Test Template Test Template New CCS Connection type Implemented here

CCS Connectivity Add support to VATF TEE for CCS-based control of Device Under Test Supports CCSv4 and CCSv5 (tested w/ v5 only) Supported only on Linux for now

Multiple Simultaneous Connections are => ‘serial’}).send_cmd command, expect, => ‘telnet'}).send_cmd command, expect, => 'ccs'}).create.build.load.run.run_dss.send_ipc_data.read_ipc_data UART ETH J-TAG DUT Driver

CCS Connection API create(timeout, options) –Create project from sourcers –Wrapper for com.ti.ccstudio.apps.projectCreate build(timeout, options) –Build project –Wrapper for com.ti.ccstudio.apps.projectBuild load(outfile, timeout, options, extras) –Wrapper for loadti w/ changes to use automation run(outfile, timeout, options, extras) –Wrapper for loadti w/ changes to use automation run_dss(script, timeout, extras) –Wrapper for dss send_ipc_data(data, timeout) read_ipc_data(timeout) response –Returns stderr and stdout data created by last command timeout? –True if last command timed out, false otherwise

Create & Build options 'workspace' 'project_name' 'device' 'location' 'kind' 'endianness' 'cgt_version' 'cmd_file' 'runtime_lib' 'asm_only' 'configurations' 'references' 'set_build_opt' 'add_file' 'link_file' 'define_var' 'overwrite' 'args' 'enable_bios' 'bios_version' 'enable_rtsc' 'xdc_version'

Loadti Options 'async' 'config' 'load_only' 'mem_load_raw' 'mem_load_dat' 'mem_save_raw' 'xml_log' 'mem_save_dat' 'no_profile' 'quiet' 'reset' 'stdout_file' 'timeout'

Passing Params to DSS 1) Test parameters are 'imported' automatically into the javascript to be executed. In particular, the following parameters are 'imported': Software assets parameters (i.e. parameters defined in Testlink's build description) DUT provisioning parameters (i.e. parameters defined in Testslink's test case as 'DUT parameters') Application control parameters (i.e. parameters defined in Testslink's test case as 'Application parameters') 2) The parameters are available in javascript via autotestEnv map. For example to access the outFile value use 'autotestEnv.outFile' in your javascript 3) The default behavior described above can be overridden in your test script by setting the equipment's 'target.ccs.jsEnvArgsFile' variable. For =

IPC: Test script ↔ DSS Test script side: –send_ipc_data(data, timeout) –read_ipc_data(timeout) DSS side: –To Send, write to file: autotestEnv.outIpc –To Read, read from file: autotestEnv.inIpc

Sample Test Script require File.dirname(__FILE__)+'/default_ccs' def run thr = Thread.new() "/home/a local/ti/dss-scripts/myplayground.js", 100 } sleep 40 ip = thr.join Passed/) set_result(FrameworkConstants::Result[:pass], "Test Passed") else set_result(FrameworkConstants::Result[:fail], "Test Failed") end

Sample Test Script 2 (IPC) require File.dirname(__FILE__)+'/default_ccs' def run thr = Thread.new() "/home/a local/ti/dss-scripts/myplayground2.js", 20 } begin data rescue data = 'error' end if data.match(/hello/i) set_result(FrameworkConstants::Result[:pass], "Test Passed") else set_result(FrameworkConstants::Result[:fail], "Test Failed") end

Sample Bench File entry dut = EquipmentInfo.new("am180x-evm", "ccs") dut.driver_class_name='EquipmentDriver' dut.prompt = dut.boot_prompt = /U-Boot\s*>/m dut.login_prompt = /login:/ dut.telnet_ip=' ' dut.telnet_port=23 dut.login = 'root' dut.telnet_login = 'root' dut.serial_port = '/dev/ttyS0' dut.serial_params = {"baud" => , "data_bits" => 8, "stop_bits" => 1, "parity" => SerialPort::NONE} dut.power_port = {'apc ' => 1} dut.params = {'ccs_type' => 'Ccsv5', 'ccs_install_dir' => '/opt/ti/ccsv5', 'ccs_workspace' => '/home/a local/workspace_v5_1', 'ccsConfig' => '/home/a local/ti/CCSTargetConfigurations/c6748.ccxml' 'gelFile' => '/home/a local/ti/CCSTargetConfigurations/C6748.gel' 'ccsPlatform' => 'Spectrum Digital XDS510USB Emulator_0', 'ccsCpu' => 'C674X_0'}

Pending/Future Work Current driver is EA quality Create Project and Build actions have not been verified Support Windows? Support Multicore? Need 'real' application to apply the new functionality