UEIPAC Software Development Kit User Manual 3.3.0

Total Page:16

File Type:pdf, Size:1020Kb

UEIPAC Software Development Kit User Manual 3.3.0 UEIPAC Software Development Kit User Manual 3.3.0 March 2017 Edition © Copyright 2017 United Electronic Industries, Inc. All rights reserved No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form by any means, electronic, mechanical, by photocopying, recording, or otherwise without prior written permission. UEIPAC SDK User Manual Table of contents 1 Introduction............................................................................................1 2 Setting up a development system..........................................................3 2.1 Windows host.......................................................................................................3 2.2 Linux host............................................................................................................5 2.2.1 Preparing your 64-bit Linux host.....................................................................5 2.2.2 Installing UEIPAC software on your Linux host.............................................5 2.3 SDK directory layout...........................................................................................6 3 Configuring the UEIPAC.......................................................................7 3.1 Connecting through the serial port......................................................................7 3.2 Root file system.................................................................................................11 3.2.1 Booting from the SD card..............................................................................11 3.2.2 File-system corruption...................................................................................11 3.2.3 Setting-up a root file system as read-only.....................................................12 3.2.4 Booting from a RAM disk.............................................................................12 3.2.5 Booting from an NFS share...........................................................................15 3.2.6 Revert to booting from an SD card................................................................16 3.3 Configuring the Network...................................................................................16 3.3.1 Configuring a static IP address......................................................................16 3.3.2 Changing the default packet size (MTU).......................................................17 3.3.3 Configuring dynamic IP address (using a DHCP server)..............................18 3.3.4 Name resolution.............................................................................................18 3.3.5 Connecting through Telnet.............................................................................18 3.3.6 Connecting through SSH...............................................................................19 3.3.7 Configuring DHCP server.............................................................................19 3.4 Configuring Date and Time...............................................................................19 3.4.1 Changing the date..........................................................................................19 3.4.2 Changing the time zone.................................................................................20 3.4.3 Connecting to an NTP server.........................................................................20 3.5 Changing the password......................................................................................21 3.6 Configuring the web server...............................................................................21 3.7 System logger....................................................................................................21 4 Transferring files..................................................................................22 4.1 NFS....................................................................................................................22 4.2 FTP Client..........................................................................................................22 4.3 FTP Server.........................................................................................................22 4.4 SSH....................................................................................................................22 4.5 TFTP Client.......................................................................................................23 © Copyright 2017 www.ueidaq.com United Electronic Industries, Inc. i 508.921.4600 UEIPAC SDK User Manual 4.6 Windows shared directory.................................................................................23 5 Connecting USB devices......................................................................24 5.1 USB mass storage..............................................................................................24 5.2 Wifi network interface.......................................................................................25 5.2.1 Load kernel modules......................................................................................26 5.2.2 Connection to an open access point...............................................................26 5.2.3 Connection to an access point with WEP security.........................................27 5.2.4 Connection to an access point with WPA/WPA2 security.............................27 5.2.5 Direct connection to another computer in ad-hoc mode................................28 5.3 UMTS/GSM modem.........................................................................................29 5.3.1 Prerequisite....................................................................................................29 5.3.2 Manual configuration.....................................................................................29 5.3.3 Automatic startup...........................................................................................32 5.4 Serial Port..........................................................................................................32 5.4.1 Load kernel modules......................................................................................33 5.4.2 Automatic startup...........................................................................................33 5.5 LibUSB..............................................................................................................34 5.5.1 Prerequisite....................................................................................................34 5.5.2 Write a program using libusb.........................................................................34 6 Serial Port.............................................................................................35 6.1 UEI Serial Server...............................................................................................35 6.2 Using the CPU layer’s serial port for general purpose......................................37 7 Testing the I/O layers...........................................................................38 7.1 devtbl.................................................................................................................38 7.2 Run examples.....................................................................................................38 7.3 PowerDNA server..............................................................................................39 8 Application development.....................................................................40 8.1 Prerequisites.......................................................................................................40 8.2 Compiling and running Hello World.................................................................40 8.3 Debugging Hello World.....................................................................................41 8.4 PowerDNA Library............................................................................................42 8.4.1 PowerDNA API.............................................................................................44 8.4.2 Building and running the examples...............................................................47 8.4.3 Building your own program...........................................................................48 8.5 Real-Time Programming...................................................................................48 8.6 Running a program automatically after boot.....................................................50 8.7 Running a program periodically........................................................................51 9 Firmware installation and upgrade....................................................52 9.1 Installing or upgrading the Linux kernel...........................................................52 9.1.1 UEIPAC with Freescale 5200 CPU (100MBit Ethernet)...............................52 © Copyright 2017 www.ueidaq.com United Electronic Industries, Inc. ii 508.921.4600 UEIPAC SDK User Manual 9.1.2 UEIPAC with Freescale 8347 CPU (1GBit Ethernet)...................................53 9.2 Initializing an SD card.......................................................................................53 9.2.1 On a Linux PC...............................................................................................53 9.2.2 On the UEIPAC itself....................................................................................55 9.3 Running the standard DAQBios
Recommended publications
  • Better Performance Through a Disk/Persistent-RAM Hybrid Design
    The Conquest File System: Better Performance Through a Disk/Persistent-RAM Hybrid Design AN-I ANDY WANG Florida State University GEOFF KUENNING Harvey Mudd College PETER REIHER, GERALD POPEK University of California, Los Angeles ________________________________________________________________________ Modern file systems assume the use of disk, a system-wide performance bottleneck for over a decade. Current disk caching and RAM file systems either impose high overhead to access memory content or fail to provide mechanisms to achieve data persistence across reboots. The Conquest file system is based on the observation that memory is becoming inexpensive, which enables all file system services to be delivered from memory, except providing large storage capacity. Unlike caching, Conquest uses memory with battery backup as persistent storage, and provides specialized and separate data paths to memory and disk. Therefore, the memory data path contains no disk-related complexity. The disk data path consists of only optimizations for the specialized disk usage pattern. Compared to a memory-based file system, Conquest incurs little performance overhead. Compared to several disk-based file systems, Conquest achieves 1.3x to 19x faster memory performance, and 1.4x to 2.0x faster performance when exercising both memory and disk. Conquest realizes most of the benefits of persistent RAM at a fraction of the cost of a RAM-only solution. Conquest also demonstrates that disk-related optimizations impose high overheads for accessing memory content in a memory-rich environment. Categories and Subject Descriptors: D.4.2 [Operating Systems]: Storage Management—Storage Hierarchies; D.4.3 [Operating Systems]: File System Management—Access Methods and Directory Structures; D.4.8 [Operating Systems]: Performance—Measurements General Terms: Design, Experimentation, Measurement, and Performance Additional Key Words and Phrases: Persistent RAM, File Systems, Storage Management, and Performance Measurement ________________________________________________________________________ 1.
    [Show full text]
  • Amigan Software
    tali ► an Amiga Februar y 97 Issue No 3 Gaz te rip $3 Who said that there are no Amiga dealers left? Hardware Amiga A1200 HD, Amiga A4000 Cobra 33 68030 33, Mhz Cobra 33+ with 68882, Cobra 40 68EC030 40 Mhz, Cobra40+ with 68882, Ferret SCSI card for Cobra 1202 32 bit rami- clock, 1202+ with 16 or 33 Mhz 68882, Squirrel SCSI, Surf Squirrel SCSI plus RS@232, 2 Mb PCMCIA Ram A1200/A600, Spitfire SCSI A2000/3000/4000, Rapidfire SCSI + RAM A2000, Wildfire A2000 68060+ram+SCSI F/W+network, Megachip, 2Mb chip ram A500/A2000, Securekey Security card for A2000/3000/4000, Picasso Graphics cards, SCSI and IDE Hard drives. Accessories Green Mouse -320 DPI with pad, Hypermouse I1 400 DPI with pad, Pen mouse - super small, Joysticks, from Quickshot and Rocfire, GI 105 hand- scanner with touchup 4 and OCR Jr, Colourburst colour hand scanner with ADPRO loader & OCR Jr, Master 3A 880 K External Floppy drives, Rocgen Plus genlock, Electronic Design Genlocks and TBC, Neriki Genlocks Syquest EzDrives, External SCSI Cases with A500/A600/A1200 power lead included & CD, or hard drive option, A1200 3.5 IDE Kits, Monitor adaptors, ROM Switches, Air Freight Magazines with CD. Plus Much more Available. Software Over 70 titles in stock including games, productivity, CD rom titles, and Utilities, all at competative prices. Servicing We have a fully equiped workshop, and our techs have a total of over 50 Man years of experience as technicians in the computer industry. We do repairs and upgrades including specialist work. The Complete Amiga specialist.
    [Show full text]
  • AMD Radeon™ Ramdisk User's Manual And
    AMD Radeon™ RAMDisk User's Manual and FAQ Revision Tracker Revision Number Software Version Description Revision Date 04 V4.0.0 Initial Release October 2012 05 V4.1.x Version 4.1.x Update March 2013 06 V4.2.x Version 4.2.x Update June 2013 07 V4.3.x Version 4.3.x Update October 2013 08 V4.4.x Version 4.4.x Update December 2013 1 2 Table of Contents 1. Introduction to RAMDISK .......................................................................................................................... 5 What is RAMDisk? .................................................................................................................................... 5 How does it work? ..................................................................................................................................... 5 What is the benefit? .................................................................................................................................. 5 2. Screen-by-screen definition of settings .................................................................................................... 7 Menus and Start/Stop Buttons .................................................................................................................. 7 Settings Tab .............................................................................................................................................. 9 Advanced Settings Tab ........................................................................................................................... 15
    [Show full text]
  • Field Upgrade Instruction Guide (V2.X to V3.3) Revision 2 6/21/2004
    Field Upgrade Instruction Guide (v2.x to v3.3) Revision 2 6/21/2004 FFiieelldd UUppggrraaddee IInnssttrruuccttiioonn GGuuiiddee (v2.x to v3.3) Revision 2 6/21/2004 Table of Contents Section 1: DocSTAR v3.3 Requirements & Installation CD ........................................ 3 Section 2: DocSTAR v3.3 Field Upgrade Kits (v2.x to v3.3)........................................ 5 Installation Procedure .................................................................................................... 7 Appendix A: DocSTAR Approved Scanner List......................................................... 13 Appendix B: ISIS Scanner Drivers found on the DocSTAR v3.3 CD........................ 16 Appendix C: Creating Windows 2000 Setup Boot Disks........................................... 17 Appendix D: Installing Windows 2000 Professional.................................................. 18 Appendix E: Installing Windows 2000 Server ............................................................ 23 Appendix F: Installing SQL Server 2000 (New Install)............................................... 28 Appendix G: Installing SQL Server 2000 (Upgrading an existing MSDE/SQL Server Database)....................................................................................................................... 31 DocSTAR Field Upgrade Instruction Guide – v2.x to v3.3 Section 1: DocSTAR v3.3 Requirements & Installation CD ) This section will familiarize you with the minimum requirements to upgrade to DocSTAR v3.3 Software and the contents of the DocSTAR
    [Show full text]
  • Hi Quality Version Available on AMIGALAND.COM
    977136059601410 3|qB||BAB OS|B UO|S10fl qs|p -uojiipa 03 jjuaBes/w au jnoA >|sv tlAIOU-QO °N A A <tt Hi Quality Version Available on AMIGALAND.COM qqiK® *99* 919' Tel. 0116 246 3800 Fax. 0116 246 3801 [email protected] Weird Science Ltd., Q House, Troon Way Business Centre, Humberstone Lane, Leicester. LE4 2SE www.weirdscience.co.uk Foundation is a real-time strategy war gama which incorporates familiar pOCINDfiTION strategy elements with interesting new concepts Accomplished strategy game players will enjoy the enhanced control and complex resource management Beginners will enjoy the accessibility of the gamepfay when played In it's basic form and the depth f skill that Is attainable with experience. Forty game missions provided with more mission packs to be released soon. Custom games possible providing infinite landscapes with variable terrains and AGA. CyberGraphX and Picasso96 graphics modes are supported. Hundieds of speech and sound effects with an option to use AHI. The game can use large, wide or small graphics for different screens. U ses a database of 10 Million names and 1000 scanned faces Can be installed fully or partially to Hard Drive Fully multitasking and system friendly Amazing original music and custom made CD Audio tracks, The game supports many languages with free language packs. Free updates to bo released regularly to provide advanced features. TCP/IP support and optimizations are to be the first updates. COUNDfiTION Foundation roqui.aa a 2 Mag AGA aquippad Amiga (ag. A1200.) Tha gama h a t boon davalopad fo . 68030 baaad Amigas but an CbnqucM Gam: A1200 is enough to get the game running.
    [Show full text]
  • (12) United States Patent (To) Patent No.: US 9,938,023 B2 Clagett Et Al
    11111111111111111111111111111111111111111111111111111111111111111111111111 (12) United States Patent (To) Patent No.: US 9,938,023 B2 Clagett et al. (45) Date of Patent: Apr. 10, 2018 (54) SYSTEM AND METHOD FOR AN B64G 1/66 (2006.01) INTEGRATED SATELLITE PLATFORM B64G 1/44 (2006.01) HOIJ 49126 (2006.01) (71) Applicant: The United States of America as (52) U.S. Cl. represented by the Administrator of CPC ........... B64G 1/1021 (2013.01); B64G 1/222 the National Aeronautics and Space (2013.01); B64G 1/44 (2013.01); B64G 1/66 Administration, Washington, DC (US) (2013.01); HOIJ 49126 (2013.01) (72) Inventors: Charles E. Clagett, Accokeek, MD (58) Field of Classification Search (US); Luis H. Santos Soto, CPC .. B64G 1/44; B64G 1/66; B64G 1/222; HOIJ Greenbackville, VA (US); Scott V. 49/26 Hesh, Greenbackville, MD (US); Scott USPC ............................................ 244/172.6, 172.7 R. Starin, Washington, DC (US); See application file for complete search history. Salman L Sheikh, Silver Spring, MD (US); Michael Hesse, Annapolis, MD Primary Examiner Brian M O'Hara (US); Nikolaos Paschalidis, Silver Assistant Examiner Keith L Dixon Spring, MD (US); Michael A. Johnson, (74) Attorney, Agent, or Firm Heather Goo; Bryan A. Columbia, MD (US); Aprille J. Geurts; Mark P. Dvorscak Ericsson, Washington, DC (US) (73) Assignee: The United States of America as (57) ABSTRACT represented by the Administrator of A system, method, and computer-readable storage devices the National Aeronautics and Space for a 6U CubeSat with a magnetometer boom. The example Administration, Washington, DC (US) 6U CubeSat can include an on-board computing device (*) Notice: Subject to any disclaimer, the term of this connected to an electrical power system, wherein the elec- patent is extended or adjusted under 35 trical power system receives power from at least one of a U.S.C.
    [Show full text]
  • Miray RAM Drive Manual
    Miray RAM Drive Manual miray-software.com Miray RAM Drive Manual Table of Contents 3 Table of Contents 1 Introduction . 6 1.1 Chapter summary ........................................... 6 1.2 Terminology used ........................................... 7 1.3 Explanation of the symbols ................................... 7 1.4 Product description.......................................... 7 1.4.1 Miray RAM Drive..................................... 7 1.4.2 Miray RAM Drive Plus ................................. 8 1.4.3 Miray RAM Drive Pro ................................. 8 1.4.4 Miray RAM Drive Server............................... 8 1.4.5 Editions comparison .................................. 8 1.5 Technical specifications ...................................... 9 1.5.1 Supported systems . 9 1.5.2 Minimum requirements . 9 2 Quick start . 10 3 Installation . 11 3.1 Installation package.......................................... 11 3.2 Setup . 11 3.2.1 Components ........................................ 11 3.2.2 Progress bar ......................................... 12 3.2.3 Final steps ........................................... 12 3.2.4 Other dialogs ........................................ 12 3.3 Uninstall.................................................... 13 3.4 Installing updates/upgrades................................... 13 4 Start the program . 14 4.1 Start options ................................................ 14 4.2 Autostart ................................................... 14 4.3 Activity monitor ............................................
    [Show full text]
  • A Durable Hybrid RAM Disk with a Rapid Resilience for Sustainable Iot Devices
    sensors Article A Durable Hybrid RAM Disk with a Rapid Resilience for Sustainable IoT Devices Sung Hoon Baek 1 and Ki-Woong Park 2,∗ 1 Department of Computer System Engineering, Jungwon University, Chungcheongbuk-do 28024, Korea; [email protected] 2 Department of Computer and Information Security, Sejong University, Seoul 05006, Korea * Correspondence: [email protected]; Tel.: +82-2-6935-2453 Received: 21 February 2020; Accepted: 9 April 2020 ; Published: 11 April 2020 Abstract: Flash-based storage is considered to be a de facto storage module for sustainable Internet of things (IoT) platforms under a harsh environment due to its relatively fast speed and operational stability compared to disk storage. Although their performance is considerably faster than disk-based mechanical storage devices, the read and write latency still could not catch up with that of Random-access memory (RAM). Therefore, RAM could be used as storage devices or systems for time-critical IoT applications. Despite such advantages of RAM, a RAM-based storage system has limitations in its use for sustainable IoT devices due to its nature of volatile storage. As a remedy to this problem, this paper presents a durable hybrid RAM disk enhanced with a new read interface. The proposed durable hybrid RAM disk is designed for sustainable IoT devices that require not only high read/write performance but also data durability. It includes two performance improvement schemes: rapid resilience with a fast initialization and direct byte read (DBR). The rapid resilience with a fast initialization shortens the long booting time required to initialize the durable hybrid RAM disk.
    [Show full text]
  • Amigados Command Reference
    AMIGA REFERENCE GUIDE THIRD EDITION SHELDON LEEMON AND ARLAN R. LEVITAN The complete guide and tutorial to the convenience, flexibilily, and power of ArnlgaDOS version 1.3. ~ . COMPUTE!'s I . , AmigaDOS i Reference Guide Third Edition Sheldon Leemon and Alan R. Levitan COMPUTEI Books Radnor, Pennsylvania Cover design: Anthony Jacobson Editors: Gregg Keiser and Stephen Levy Copyright 1986, 1987, 1989, COMPUTE! Publications, Inc. All rights reserved. Reproduction or translation of any part of this work beyond that permitted by Sections 107 and 108 of the United States Copyright Act without the permission of the copyright owner is unlawful. Printed in the United States of America lO987654321 Library of Congress Cataloging-in-Publication Data Leemon, Sheldon. AmigaOOS reference guide. Rev. ed. of: Compute!'s AmigaOOS reference guide / Arlan R. Levitan and Sheldon Leemon. c1986. Includes index. 1. Amiga (Computer)--Programming. 2. AmigaOOS (Computer operating system) I. Levitan, Arlan R. II. Levitan, Arlan R. Compute!'s AmigaOOS reference guide. III. Title. QA76.8.A177L36 1989 005.4465 89-42831 ISBN 0-87455-194-3 The authors and publisher have made every effort in the preparation of this book to ensure the accuracy of the information. However, the information in this book are sold without warranty, either express or im­ plied. Neither the authors nor COMPUTE! Publications, Inc. will be liable for any damages caused or alleged to be caused directlv, indirectly, incidentally, or consequentially by the programs or information in this book. The opinions expressed in this book are solely those of the authors and are not necessarily those of COMPUTE' Publications, Inc.
    [Show full text]
  • Portable Paper
    Vol. 5, No. 2 The HP Portable/Portable Plus/Portable Vectra Users Newsletter March / April 1990 PortableTHE Paper ~:~~Yil .','" i,; ;>".~ __ o -''''-11 :'i,"::"~: r.); ~~i/.~! ~~i tl r?::~~::_-=}#; -" e~ ;.-; F'~ __ ,,, \<'-, ;- /,; -,-Co, x- :'~;~-:;~.:i\':':l:';L;:j1-:{1~T:;:-:;~_;;;~;'~~":"d}{~,t~~::;'tJ':>: "'_::;'Y.-h:~;:<,:;?f{):n-'f;i" ',-- _: '",'_ '[;:, >7 :r,;:s;.,.c:.t~:,-;; :-;i;"I?'.<:'~::_C:::-_;; _'_-:"~ '_~_"'; ,V-', .. (::j:;-',\-,:~~5E;;?":-(~{\'?;ii';:;i~%:,:;;';;,1;\:~-'_ : :~:;; b;{:i kLr "'~. -M'7_____ ,~ _________ " ~~.-. ;>';j C't:· ;.; ~'~1 f< v [y/ Ch~, ;"~~K'~~~::~J.)!~t ~int pte"ew"··for······Porfa]jle'····Pliis·"'User~. ;~ "« "j:} <:",:~:~;,< ';>,"\ '-A:~Y, ~i ': ;-;';',;i~:;": .. :;-_~-,;_/_:Z\l<' <i:-;~_-:- ___'~~~:;:)'_T.:::-, :"'''<-,T:<,:,:(;:f:L::;;'' , ;:>X::-'i ;2,:"~-\-.:.:..1!'i;;7;i':.?rT,;F;'~'X?,': ,S>,C,:,'"",:,,-Y ~',~'L,<'if/,'JW:::';~,~~ -< i'i~)' oJ,: "A ,"-e, '< ':i;' ;~2'y :i ~~ }~b,~~:;:%yR,~;;¥~~t~~$;;;;,W:jitl!~.,?p;Q;S';~~;Q:l{til'. '. ""'"< 7-'-;:,:J',:Z';'; 2~,;'~~;.,:,>':-:,: '-:?'-:I:\:-,~;:- '- Publisher's Message ........................ 3 MS-DOS 4.01, Making the LS/12 Faster ....... 16 Letters . 3 Removing the Portable Vectra's Screen. .. 18 110% Stuck Interlock Switch on LS/12 . .. 18 Do Your 1989 Taxes Your HP Portable. 6 Diagnostic Software for GM Automobiles ...... 19 Hidden, Important 110 and Portable Plus Keys 8 Get HP BASIC on a PC with HTBasic ......... 24 Charging Batteries on the Portable Plus ....... 10 Zenith SupersPort to Sell Through Sears ...... 24 MS-Word Printer Drivers for the Portable Plus. .. 12 Update on Valitek Tape Backup System ....... 24 More on HP's Decision to Discontinue Parallel Port Expansion Cha..<;sis ............
    [Show full text]
  • Drive Copy™ 15 Professional
    Paragon Technologie GmbH Systemprogrammierung Leo-Wohleb-Straße 8 79098 Freiburg, Germany Tel. +49 (0) 761 59018201 Fax +49 (0) 761 59018130 Internet www.paragon-software.com Email [email protected] Drive Copy™ 15 Professional User Manual Copyright© 1994-2017 Paragon Software GmbH. All rights reserved. 2 Contents Introduction .............................................................................................................................. 6 What’s New in Drive Copy 15 .......................................................................................................................6 Product Components................................................................................................................. 6 Features Overview .................................................................................................................... 7 Features ......................................................................................................................................................7 User Friendly Fault Minimizing Interface .......................................................................................................................... 7 Backup Facilities .............................................................................................................................................................. 7 Restore Facilities ............................................................................................................................................................
    [Show full text]
  • Handling of Permanent Storage
    Operating systems (vimia219) Handling of Permanent Storage Tamás Kovácsházy, Phd 20th topic Handling of Permanent Storage Budapest University of Technology and Economics © BME-MIT 2014, All Rights Reserved Department of Measurement and Information Systems Permanent storage CPU registers Cache Physical memory Permanent storage External storage Backup storage © BME-MIT 2014, Minden jog fenntartva 2. lap Handling of the Permanent storage . Permanent storage or “storage”: o Typically compared to the physical memory o It offers orders of magnitudes bigger storage capacity o Also orders of magnitudes slower • Throughput • Latency o Nonvolatile storage • If properly used, otherwise it do losses data • Data security is a major issue! o Block based • OS handles this storage based on blocks – No byte access, a full block must be handled • A block can be read, written or erased • Programs cannot be executed directly from storage, it must be loaded into memory first! • One exception – NOR flash memory is organized as bytes (as regular memory) – It is possible to execute the OS or other programs directly from NOR flash © BME-MIT 2014, Minden jog fenntartva 3. lap How we map files to storage? . The file is the logical unit of data storage on the permanent strorage (file) o It has a name (named collection). o We reference it by its name o It’s size can vary, practically any size is allowed • There is a hard limit coming from the physical storage and the filesystem . The main task of the operating system regarding permanent storage is the mapping of files (logical unit) to blocks (physical unit) . This task is solved by the OS using a multilayer hierarchical system, solving the problem on multiple abstraction level .
    [Show full text]