N720 OpenLinux Software User Guide Version 1.2

Size: px
Start display at page:

Download "N720 OpenLinux Software User Guide Version 1.2"

Transcription

1 N720 Hardware User Guide () N720 OpenLinux Software User Guide Version 1.2

2 Copyright Copyright 2017 Neoway Technology Co., Ltd. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Shenzhen Neoway Technology Co., Ltd. is the trademark of Shenzhen Neoway Technology Co., Ltd. All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice This document provides guide for users to use the N720 OpenLinux. This document is intended for system engineers (SEs), development engineers, and test engineers. The information in this document is subject to change without notice due to product version update or other reasons. Every effort has been made in preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute a warranty of any kind, express or implied. Shenzhen Neoway provides customers complete technical support. If you have any question, please contact your account manager or to the following addresses: Sales@neoway.com Support@neoway.com Website: Copyright Neoway Technology Co., Ltd i

3 Revision Record Version Changes Date V1.0 Initial draft V1.1 Deleted USB driver installation Added GPS and Wi-Fi V1.2 Modified ROM Deleted dual-sim Copyright Neoway Technology Co., Ltd ii

4 Contents 1 N720 OpenLinux Features Block Diagram Basic Functions Setting Up Development Environment Development Environment Compiling Environment Debugging Environment Debugging Compiling and Running Compiling Running Reference Software Design ADC GPIO UART SPI Network Ethernet OTG AT GPS Wi-Fi Hotspot Copyright Neoway Technology Co., Ltd iii

5 1 N720 OpenLinux 1.1 Features ARM Cortex-A7 processor, 1.3 GHz main frequency, 256kB L2 laches, 28 nm process technology Standard Linux OS, corresponding to kernel version Allow the installation and running of APP developed on standard libc C language RAM: 256MB ROM: 512MB Support different network standards: GSM/GPRS/EDGE&WCDMA R99 to DC-HSPA+&TD-SCDMA&LTE Cat4 Support USB2.0/ADC/UART/SPI/I2C/PCM Support Android Debug Bridge (ADB) 1.2 Block Diagram Figure 1-1 Logic block diagram N720 OpenLinux module is developed on Qualcomm MDM9x07 platform and provides API functions developed on C language and data structure definition (header files). Developers can create APP programed by C language on a computer running ubuntu OS, compile it using GCC compiling tool targeted ARM, and generate executable file. Copyright Neoway Technology Co., Ltd 1

6 Executable files produced by developers are pushed to the usr/bin directory through the ADB tool. After modifying the file permission, developers can manually start it, or set automatic start with the module by changing the etc/inittab configuration file. 1.3 Basic Functions Basic functions except the last item are inherited from Qualcomm MCM architecture: Network registration monitoring and setting Voice call services Data call services SMS services Location services SIM card services GPIO, ADC, SPI, UART Copyright Neoway Technology Co., Ltd 2

7 2 Setting Up Development Environment 2.1 Development Environment Compiling Environment PC OS: Ubuntu 64-bit OS, version or later Complier: arm arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2. The tool is packed under /tool/ in the SDK package. On a computer running Ubuntu, decompress the package and change the environment variable $PATH of the system. e.g. arm arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 is decompressed to /home/zhangyuanxun/downloads/, then add /home/zhangyuanxun/downloads/arm /bin to $PATH by adding the following statement in /etc/profile: PATH="$PATH:/home/zhangyuanxun/Downloads/arm /bin" Debugging Environment PC OS: Windows 7 Debugging tool: ADB -- Android Debug Bridge version (Windows OS is recommended) Check /tool/fastboot.rar in the SDK package. Install USB driver on a Windows computer: android_usb_windows_pid8241_ rar, For installation, refer to Neoway_N720_USB Driver Installation on Windows. The installation files are under /tool/ in the SDK package. 2.2 Debugging Run adb shell to enter the shell. Then run logread to obtain log. Copyright Neoway Technology Co., Ltd 3

8 Run logread in the background and save the logs to the file under the module path. Use printf("xxx\n") to print log in the console window. Standard log functions of the Linux OS are also available: Syslog(LOG_ERR, E/NEO-- VA_ARGS ) Syslog(LOG_ERR, I/NEO-- VA_ARGS ) Syslog(LOG_ERR, D/NEO-- VA_ARGS ) Copyright Neoway Technology Co., Ltd 4

9 2.3 Compiling and Running Compiling Navigate to neoway/sample/uart, and input make. After the compiling is executed successfully, executable UART files are generated under the directory. UART is an example here. If a user has multiple.c files, please modify makefile under the corresponding directory. The following figure shows an example of a makefile. Copyright Neoway Technology Co., Ltd 5

10 Add source files to LOCAL_SRC_FILES. INC_DIR is to save header file directory, and USR_LIB is to save library file connected Running Copy executable UART program generated by make to the computer, and push it to usr/bin of the module through ADB. Modify the file permission. Navigate to shell and execute the program. To set automatic start with the module for the program, modify /etc/inittab in the following way: 1. Export etc/inittab from the module to the computer. 2. Modify inittab. Copyright Neoway Technology Co., Ltd 6

11 3. Push the modified inittab file to the previous directory of the module. The program can automatically start with the module. Copyright Neoway Technology Co., Ltd 7

12 3 Reference Software Design 3.1 ADC Header file #include <stdio.h> #include <string.h> #include <strings.h> #include <stdlib.h> #include <errno.h> #include <termios.h> #include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> Two ADCs: /dev/neo_adc_temp and /dev/neo_adc2_temp #define NWY_ADC1_DEV "/dev/neo_adc_temp" #define NWY_ADC2_DEV "/dev/neo_adc2_temp" Interface int open(const char* pathname, int flags, mode_t mode) ssize_t read(int fd, void* buf, size_t count) int close(int fd) Standard operation interface. The unit for the value read by ADC is V. Routine For details, refer to \neowaysample\adc\adc.c. 3.2 GPIO Header files #include <stdlib.h> #include <string.h> #include <stdio.h> #include <semaphore.h> #include <sys/ioctl.h> #include <fcntl.h> #include <linux/types.h> GPIO device drivers and GPIO recourses Check the device in /dev/neo_gpio_dev. Copyright Neoway Technology Co., Ltd 8

13 Six GPIOs are open to users: GPIO74/GPIO75/GPIO76/GPIO77/GPIO78/GPIO79. Interface int open(const char* pathname, int flags, mode_t mode) ssize_t ioctl(int fd, void* buf, size_t count) int close(int fd, unsigned long cmd, ) GPIOs are controlled by the ioctl function. //Set the output value of a GPIO. #define NEO_IOCTL_GPIO_SET_VALUE _IOW(NEO_GPIO_DEVIO,1,char[3]) //Read the value on a GPIO. #define NEO_IOCTL_GPIO_GET_VALUE _IOR(NEO_GPIO_DEVIO,2, char[3]) //Set GPIO direction. #define NEO_IOCTL_GPIO_SET_DIR _IOW(NEO_GPIO_DEVIO,3,char[3]) //Read GPIO direction #define NEO_IOCTL_GPIO_GET_DIR _IOR(NEO_GPIO_DEVIO,4,char[3]) Routine For details, refer to /neoway/sample/gpio/gpio.c. 3.3 UART Header file #include "nwy_uart.h" Device driver ports /dev/ttyhsl0 /dev/ttyhsl1 /dev/ttyhsl2 //uart1 //uart2 //uart3 API interface int NWY_UART_Open(const char* port, unsigned int baudrate, Enum_FlowCtrl flowctrl); int NWY_UART_Read(int fd, char* buf, unsigned int buf_len); int NWY_UART_Write(int fd, const char* buf, unsigned int buf_len); int NWY_UART_SetDCB(int fd, ST_UARTDCB *dcb); int NWY_UART_GetDCBConfig(int fd, ST_UARTDCB *dcb); int NWY_UART_IoCtl(int fd, unsigned int cmd, void* pvalue); int NWY_UART_Close(int fd); Routine For details, refer to neoway/sample/uart/uart.c. Copyright Neoway Technology Co., Ltd 9

14 3.4 SPI Header files #include <stdint.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <getopt.h> #include <fcntl.h> #include <sys/ioctl.h> #include <linux/types.h> #include <linux/spi/spidev.h> Device driver port /dev/spidev1.0 API interface /*data transmission*/ #define SPI_MSGSIZE(N) \ \ ((((N)*(sizeof (struct spi_ioc_transfer))) < (1 << _IOC_SIZEBITS))? ((N)*(sizeof (struct spi_ioc_transfer))) : 0) #define SPI_IOC_MESSAGE(N) _IOW(SPI_IOC_MAGIC, 0, char[spi_msgsize(n)]) /* SPI device read/write mode (SPI_MODE_0..SPI_MODE_3) */ #define SPI_IOC_RD_MODE #define SPI_IOC_WR_MODE _IOR(SPI_IOC_MAGIC, 1, u8) _IOW(SPI_IOC_MAGIC, 1, u8) /* SPI device read/write bit */ #define SPI_IOC_RD_LSB_FIRST #define SPI_IOC_WR_LSB_FIRST _IOR(SPI_IOC_MAGIC, 2, u8) _IOW(SPI_IOC_MAGIC, 2, u8) /* SPI device read/write lengtb*/ #define SPI_IOC_RD_BITS_PER_WORD _IOR(SPI_IOC_MAGIC, 3, u8) #define SPI_IOC_WR_BITS_PER_WORD _IOW(SPI_IOC_MAGIC, 3, u8) /*Max. read/write rate of SPI device, available rate (Hz) including , , , , , , */ #define SPI_IOC_RD_MAX_SPEED_HZ #define SPI_IOC_WR_MAX_SPEED_HZ _IOR(SPI_IOC_MAGIC, 4, u32) _IOW(SPI_IOC_MAGIC, 4, u32) /*SPI device read/write mode*/ #define SPI_IOC_RD_MODE32 #define SPI_IOC_WR_MODE32 _IOR(SPI_IOC_MAGIC, 5, u32) _IOW(SPI_IOC_MAGIC, 5, u32) Routine Copyright Neoway Technology Co., Ltd 10

15 For details, refer to neoway/sample/spi/spi_test.c. 3.5 Network Dialup for network service Call the encapsulation interfaces: int set_up_call( int8_t ip_family, char *apn_name, char *user_name, char *password, int8_t tech_pref, int8_t umts_profile, int8_t cdma_profile //if family //APN name //Username for APN //Password for an APN //technology preference //UMTS profile ID //CDMA profile ID ); Return value: 0 indicates success; 1 indicates error. Refer to neoway/sample/data_call/data_call_setup.c. Stop PPP communication, and disconnect to the network. Call the encapsulation interface: int stop_data_call(void) Return value: 0 indicates success; 1 indicates failure. Obtain the network signal strength. Call MCM_NW_GET_SIGNAL_STRENGTH_REQ_V01 Obtain the current network mode. Call the MCM API: MCM_NW_GET_REGISTRATION_STATUS_REQ_V01 For more about how to develop network functions, refer to Ioe_Cm_Api_Interface_Spec.pdf. 3.6 Ethernet Manual start: insert a network cable, and execute the following commands in adb shell: ifcongfig ///Check network device ifconfig eth0 hw ether 00:1A:6B:38:7D:A8 ///Set the mac address of eth0 ifconfig eth0 up ///Enable etho of the network device. brctl show brctl delif bridge0 eth0 brctl showifconfig eth netmask ///set IP of eth0 manually Copyright Neoway Technology Co., Ltd 11

16 ip route ///check route ifconfig bridge0 down ip route add default dev eth0 ip route ping For details, refer to neoway/sample/ethernet/main.c. 3.7 OTG N720 OpenLinux support OTG, which users should set up the thread. Mount a USB-key disk before using the OTG function. The system displays /dev/sda[??] after the USB key is inserted. Then mount it in the following way: Create a new mounting directory. The /udisk created by the system can be used as the target mounting directory. mount t vfat /dev/sda1 /udisk The USB key is mounted successfully. Navigate to the USB key directory and check the data inside. cd /udisk ls l Files in the USB key are displayed. For details, refer to neoway/sample/udisk/main.c. 3.8 AT Tty device /dev/smd10 is used to send AT commands. Developer can open it and write it to AT commands. For details, refer to neoway/sample/at/attest.c. Copyright Neoway Technology Co., Ltd 12

17 3.9 GPS Header files #include <stdlib.h> #include <string.h> #include <stdio.h> #include <semaphore.h> #include "mcm_client.h" #include "mcm_client_v01.h" #include "mcm_common_v01.h" #include "mcm_data_v01.h" #include "data_call_handler.h" #include "mcm_loc_v01.h" Interfaces MCM messages: #define MCM_LOC_SET_INDICATIONS_REQ_V01 0x0300 #define MCM_LOC_SET_INDICATIONS_RESP_V01 0x0300 #define MCM_LOC_SET_POSITION_MODE_REQ_V01 0x0301 #define MCM_LOC_SET_POSITION_MODE_RESP_V01 0x0301 #define MCM_LOC_START_NAV_REQ_V01 0x0302 #define MCM_LOC_START_NAV_RESP_V01 0x0302 #define MCM_LOC_STOP_NAV_REQ_V01 0x0303 #define MCM_LOC_STOP_NAV_RESP_V01 0x0303 #define MCM_LOC_DELETE_AIDING_DATA_REQ_V01 0x0304 #define MCM_LOC_DELETE_AIDING_DATA_RESP_V01 0x0304 #define MCM_LOC_INJECT_TIME_REQ_V01 0x0305 #define MCM_LOC_INJECT_TIME_RESP_V01 0x0305 #define MCM_LOC_INJECT_LOCATION_REQ_V01 0x0306 #define MCM_LOC_INJECT_LOCATION_RESP_V01 0x0306 #define MCM_LOC_XTRA_INJECT_DATA_REQ_V01 0x0307 #define MCM_LOC_XTRA_INJECT_DATA_RESP_V01 0x0307 #define MCM_LOC_AGPS_DATA_CONN_OPEN_REQ_V01 0x0308 #define MCM_LOC_AGPS_DATA_CONN_OPEN_RESP_V01 0x0308 #define MCM_LOC_AGPS_DATA_CONN_CLOSED_REQ_V01 0x0309 Copyright Neoway Technology Co., Ltd 13

18 #define MCM_LOC_AGPS_DATA_CONN_CLOSED_RESP_V01 0x0309 #define MCM_LOC_AGPS_DATA_CONN_FAILED_REQ_V01 0x030A #define MCM_LOC_AGPS_DATA_CONN_FAILED_RESP_V01 0x030A #define MCM_LOC_AGPS_SET_SERVER_REQ_V01 0x030B #define MCM_LOC_AGPS_SET_SERVER_RESP_V01 0x030B #define MCM_LOC_NI_RESPOND_REQ_V01 0x030C #define MCM_LOC_NI_RESPOND_RESP_V01 0x030C #define MCM_LOC_AGPS_RIL_UPDATE_NETWORK_AVAILABILITY_REQ_V01 0x030D #define MCM_LOC_AGPS_RIL_UPDATE_NETWORK_AVAILABILITY_RESP_V01 0x030D #define MCM_LOC_LOCATION_INFO_IND_V01 0x030E #define MCM_LOC_STATUS_INFO_IND_V01 0x030F #define MCM_LOC_SV_INFO_IND_V01 0x0310 #define MCM_LOC_NMEA_INFO_IND_V01 0x0311 #define MCM_LOC_CAPABILITIES_INFO_IND_V01 0x0312 #define MCM_LOC_UTC_TIME_REQ_IND_V01 0x0313 #define MCM_LOC_XTRA_DATA_REQ_IND_V01 0x0314 #define MCM_LOC_AGPS_STATUS_IND_V01 0x0315 #define MCM_LOC_NI_NOTIFICATION_IND_V01 0x031 Routine See neoway/sample/gps/gps.c Wi-Fi Hotspot To enable the Wi-Fi hotspot, follow the steps below: Navigate to shell. Start QCMAP_CLI. Select 30. Select 31. Select 38. Select 32. The Wi-Fi hotspot name is QSoftAP, and the password is Copyright Neoway Technology Co., Ltd 14

19 Copyright Neoway Technology Co., Ltd 15

N720 OpenLinux Software User Guide Version 1.0

N720 OpenLinux Software User Guide Version 1.0 N720 Hardware User Guide () N720 OpenLinux Software User Guide Version 1.0 Copyright Copyright 2017 Neoway Technology Co., Ltd. All rights reserved. No part of this document may be reproduced or transmitted

More information

N720 OpenLinux Source Code Developer Guide

N720 OpenLinux Source Code Developer Guide N720 OpenLinux Source Code Developer Guide Version 1.0 Copyright Neoway Technology Co., Ltd 1 Copyright Copyright 2017 Neoway Technology Co., Ltd. All rights reserved. No part of this document may be reproduced

More information

Files. Eric McCreath

Files. Eric McCreath Files Eric McCreath 2 What is a file? Information used by a computer system may be stored on a variety of storage mediums (magnetic disks, magnetic tapes, optical disks, flash disks etc). However, as a

More information

Android RIL Driver User Guide Version 1.0

Android RIL Driver User Guide Version 1.0 Android RIL Driver User Guide Version 1.0 Copyright Neoway Technology Co., Ltd. 1 Copyright Neoway Technology Co., Ltd. 2017. All rights reserved. No part of this document may be reproduced or transmitted

More information

CSE 333 SECTION 3. POSIX I/O Functions

CSE 333 SECTION 3. POSIX I/O Functions CSE 333 SECTION 3 POSIX I/O Functions Administrivia Questions (?) HW1 Due Tonight Exercise 7 due Monday (out later today) POSIX Portable Operating System Interface Family of standards specified by the

More information

Guide to Kernel Driver Integration in Android for Huawei Modules. Issue Date

Guide to Kernel Driver Integration in Android for Huawei Modules. Issue Date Guide to Kernel Driver Integration in Android for Issue 1.2.9 Date 2013-12-30 Huawei Technologies Co., Ltd. provides customers with comprehensive technical support and service. For any assistance, please

More information

LTC Data Converter Board For The Arrow SoCKit Linux Application User s Guide

LTC Data Converter Board For The Arrow SoCKit Linux Application User s Guide LTC Data Converter Board For The Arrow SoCKit Linux Application User s Guide Revision 7.0 21 Aug 2013 1 of 32 Table of Contents Introduction... 4 Board Connections... 4 Board Setup... 4 Installing Linux...

More information

CSE 333 SECTION 3. POSIX I/O Functions

CSE 333 SECTION 3. POSIX I/O Functions CSE 333 SECTION 3 POSIX I/O Functions Administrivia Questions (?) HW1 Due Tonight HW2 Due Thursday, July 19 th Midterm on Monday, July 23 th 10:50-11:50 in TBD (And regular exercises in between) POSIX

More information

File I/0. Advanced Programming in the UNIX Environment

File I/0. Advanced Programming in the UNIX Environment File I/0 Advanced Programming in the UNIX Environment File Descriptors Created and managed by the UNIX kernel. Created using open or creat system call. Used to refer to an open file UNIX System shells

More information

Guide to Kernel Driver Integration in Android for Huawei Modules. Issue Date

Guide to Kernel Driver Integration in Android for Huawei Modules. Issue Date Guide to Kernel Driver Integration in Android for Issue 1.2.7 Date 2013-11-13 Huawei Technologies Co., Ltd. provides customers with comprehensive technical support and service. For any assistance, please

More information

Processes often need to communicate. CSCB09: Software Tools and Systems Programming. Solution: Pipes. Recall: I/O mechanisms in C

Processes often need to communicate. CSCB09: Software Tools and Systems Programming. Solution: Pipes. Recall: I/O mechanisms in C 2017-03-06 Processes often need to communicate CSCB09: Software Tools and Systems Programming E.g. consider a shell pipeline: ps wc l ps needs to send its output to wc E.g. the different worker processes

More information

N20 Demo Board User Guide. Version 1.0

N20 Demo Board User Guide. Version 1.0 Version 1.0 Copyright Copyright 2017 Neoway Technology Co., Ltd. All right is reserved. No part of this document may be reproduced or transmitted in any form or by any means without prior written consent

More information

Guide to Kernel Driver Integration in Linux for Huawei Modules. Issue 2.0. Date

Guide to Kernel Driver Integration in Linux for Huawei Modules. Issue 2.0. Date Guide to Kernel Driver Integration in Linux for Issue 2.0 Date 2014-12-12 Copyright Huawei Technologies Co., Ltd. 2014. All rights reserved. No part of this manual may be reproduced or transmitted in any

More information

CS240: Programming in C

CS240: Programming in C CS240: Programming in C Lecture 15: Unix interface: low-level interface Cristina Nita-Rotaru Lecture 15/Fall 2013 1 Streams Recap Higher-level interface, layered on top of the primitive file descriptor

More information

This guide is used as an entry point into the Petalinux tool. This demo shows the following:

This guide is used as an entry point into the Petalinux tool. This demo shows the following: Petalinux Design Entry Guide. This guide is used as an entry point into the Petalinux tool. This demo shows the following: How to create a Linux Image for a Zc702 in Petalinux and boot from the SD card

More information

OPTO32A 24 Input Bit, 8 Output Bit Optical Isolator Board

OPTO32A 24 Input Bit, 8 Output Bit Optical Isolator Board OPTO32A 24 Input Bit, 8 Output Bit Optical Isolator Board PMC-OPTO32A Linux Device Driver User Manual Manual Revision: July 15, 2005 General Standards Corporation 8302A Whitesburg Drive Huntsville, AL

More information

Lecture 3. Introduction to Unix Systems Programming: Unix File I/O System Calls

Lecture 3. Introduction to Unix Systems Programming: Unix File I/O System Calls Lecture 3 Introduction to Unix Systems Programming: Unix File I/O System Calls 1 Unix File I/O 2 Unix System Calls System calls are low level functions the operating system makes available to applications

More information

CMPS 105 Systems Programming. Prof. Darrell Long E2.371

CMPS 105 Systems Programming. Prof. Darrell Long E2.371 + CMPS 105 Systems Programming Prof. Darrell Long E2.371 darrell@ucsc.edu + Chapter 3: File I/O 2 + File I/O 3 n What attributes do files need? n Data storage n Byte stream n Named n Non-volatile n Shared

More information

CS360 Midterm 2 Spring, 2016 James S. Plank March 10, 2016

CS360 Midterm 2 Spring, 2016 James S. Plank March 10, 2016 CS360 Midterm 2 Spring, 2016 James S. Plank March 10, 2016 In all of these questions, please assume the following: Pointers and longs are 4 bytes. The machine is little endian, but that doesn't matter

More information

Section 3: File I/O, JSON, Generics. Meghan Cowan

Section 3: File I/O, JSON, Generics. Meghan Cowan Section 3: File I/O, JSON, Generics Meghan Cowan POSIX Family of standards specified by the IEEE Maintains compatibility across variants of Unix-like OS Defines API and standards for basic I/O: file, terminal

More information

Operating systems. Lecture 7

Operating systems. Lecture 7 Operating systems. Lecture 7 Michał Goliński 2018-11-13 Introduction Recall Plan for today History of C/C++ Compiler on the command line Automating builds with make CPU protection rings system calls pointers

More information

Fall 2017 :: CSE 306. File Systems Basics. Nima Honarmand

Fall 2017 :: CSE 306. File Systems Basics. Nima Honarmand File Systems Basics Nima Honarmand File and inode File: user-level abstraction of storage (and other) devices Sequence of bytes inode: internal OS data structure representing a file inode stands for index

More information

ESP8266 Application Note Firmware Download Protocol

ESP8266 Application Note Firmware Download Protocol ESP8266 Application Note Firmware Download Protocol Version 1.0 Copyright 2016 About This Guide This document introduces ESP8266 firmware download protocol with a structure as follows. Chapter Title Subject

More information

EECS 3221 Operating System Fundamentals

EECS 3221 Operating System Fundamentals General Info EECS 3221 Operating System Fundamentals Instructor: Prof. Hui Jiang Email: hj@cse.yorku.ca Web: http://www.eecs.yorku.ca/course/3221 3 lecture hours each week 2 assignments (2*5%=10%) 1 project

More information

EECS 3221 Operating System Fundamentals

EECS 3221 Operating System Fundamentals EECS 3221 Operating System Fundamentals Instructor: Prof. Hui Jiang Email: hj@cse.yorku.ca Web: http://www.eecs.yorku.ca/course/3221 General Info 3 lecture hours each week 2 assignments (2*5%=10%) 1 project

More information

The Embedded I/O Company TIP700-SW-82 Linux Device Driver User Manual TEWS TECHNOLOGIES GmbH TEWS TECHNOLOGIES LLC

The Embedded I/O Company TIP700-SW-82 Linux Device Driver User Manual TEWS TECHNOLOGIES GmbH TEWS TECHNOLOGIES LLC The Embedded I/O Company TIP700-SW-82 Linux Device Driver Digital Output 24V DC Version 1.2.x User Manual Issue 1.2.1 February 2009 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 Phone: +49 (0) 4101 4058 0 25469

More information

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

Application Note: AN00144 xcore-xa - xcore ARM Boot Library Application Note: AN00144 xcore-xa - xcore ARM Boot Library This application note shows how to create a simple application which targets the XMOS xcore-xa device and demonstrates how to build and run this

More information

A113X1 Development Kit

A113X1 Development Kit A113X1 Development Kit User Guide Revision: 4.0 Release Date: 2018-02-06 Amlogic, Ltd. COPYRIGHT 2017 Amlogic, Ltd. All rights reserved. No part of this document may be reproduced. Transmitted, transcribed,

More information

EAN-GPIO and I 2 C. PN: EAN-GPIO-and-I 2 C 2/28/2018. SightLine Applications, Inc.

EAN-GPIO and I 2 C. PN: EAN-GPIO-and-I 2 C 2/28/2018. SightLine Applications, Inc. EAN-GPIO and I 2 C PN: EAN-GPIO-and-I 2 C 2/28/2018 SightLine Applications, Inc. Contact: Web: sightlineapplications.com Sales: sales@sightlineapplications.com Support: support@sightlineapplications.com

More information

Lecture files in /home/hwang/cs375/lecture05 on csserver.

Lecture files in /home/hwang/cs375/lecture05 on csserver. Lecture 5 Lecture files in /home/hwang/cs375/lecture05 on csserver. cp -r /home/hwang/cs375/lecture05. scp -r user@csserver.evansville.edu:/home/hwang/cs375/lecture05. Project 1 posted, due next Thursday

More information

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

Application Note: AN00142 xcore-xa - xcore ARM Bridge Library Application Note: AN00142 xcore-xa - xcore ARM Bridge Library This application note shows how to create a simple application which targets the XMOS xcore-xa device and demonstrates how to build and run

More information

FILE SYSTEMS. Jo, Heeseung

FILE SYSTEMS. Jo, Heeseung FILE SYSTEMS Jo, Heeseung TODAY'S TOPICS File system basics Directory structure File system mounting File sharing Protection 2 BASIC CONCEPTS Requirements for long-term information storage Store a very

More information

UNIX System Programming

UNIX System Programming File I/O 경희대학교컴퓨터공학과 조진성 UNIX System Programming File in UNIX n Unified interface for all I/Os in UNIX ü Regular(normal) files in file system ü Special files for devices terminal, keyboard, mouse, tape,

More information

DEVELOPMENT GUIDE VAB-630. Linux BSP v

DEVELOPMENT GUIDE VAB-630. Linux BSP v DEVELOPMENT GUIDE VAB-630 Linux BSP v1.0.1 100-09182017-114400 Copyright Copyright 2017 VIA Technologies Incorporated. All rights reserved. No part of this document may be reproduced, transmitted, transcribed,

More information

Building an Android* command-line application using the NDK build tools

Building an Android* command-line application using the NDK build tools Building an Android* command-line application using the NDK build tools Introduction Libraries and test apps are often written in C/C++ for testing hardware and software features on Windows*. When these

More information

DEVELOPMENT GUIDE VAB-630. Android BSP v

DEVELOPMENT GUIDE VAB-630. Android BSP v DEVELOPMENT GUIDE VAB-630 Android BSP v1.0.3 1.00-08112017-153900 Copyright Copyright 2017 VIA Technologies Incorporated. All rights reserved. No part of this document may be reproduced, transmitted, transcribed,

More information

Experiment 6 The Real World Interface

Experiment 6 The Real World Interface Experiment 6 The Real World Interface Instructions You are required to design, code, test and document the C program from the experiment listed below. You should prepare the pseudocode for the program

More information

IT-G400 Series. Android 6.0 Quick Start Guide. This document is a Development Guide Book for IT-G400 application developers. Ver 1.

IT-G400 Series. Android 6.0 Quick Start Guide. This document is a Development Guide Book for IT-G400 application developers. Ver 1. IT-G400 Series Android 6.0 Quick Start Guide This document is a Development Guide Book for IT-G400 application developers. Ver 1.04 No part of this document may be produced or transmitted in any form or

More information

Heterogeneous Multi-Core Architecture Support for Dronecode

Heterogeneous Multi-Core Architecture Support for Dronecode Heterogeneous Multi-Core Architecture Support for Dronecode Mark Charlebois, March 24 th 2015 Qualcomm Technologies Inc (QTI) is a Silver member of Dronecode Dronecode has 2 main projects: https://www.dronecode.org/software/where-dronecode-used

More information

TIP675-SW-82. Linux Device Driver. 48 TTL I/O Lines with Interrupts Version 1.2.x. User Manual. Issue November 2013

TIP675-SW-82. Linux Device Driver. 48 TTL I/O Lines with Interrupts Version 1.2.x. User Manual. Issue November 2013 The Embedded I/O Company TIP675-SW-82 Linux Device Driver 48 TTL I/O Lines with Interrupts Version 1.2.x User Manual Issue 1.2.5 November 2013 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek, Germany

More information

Android System Development Training 4-day session

Android System Development Training 4-day session Android System Development Training 4-day session Title Android System Development Training Overview Understanding the Android Internals Understanding the Android Build System Customizing Android for a

More information

DG BA Mbps 3.5G Broadband Adapter User Manual

DG BA Mbps 3.5G Broadband Adapter User Manual DG BA3314 14.4Mbps 3.5G Broadband Adapter User Manual V1.0 2013-09-28 As our products undergo continuous development the specifications are subject to change without prior notice COPYRIGHT Copyright 2013

More information

File Descriptors and Piping

File Descriptors and Piping File Descriptors and Piping CSC209: Software Tools and Systems Programming Furkan Alaca & Paul Vrbik University of Toronto Mississauga https://mcs.utm.utoronto.ca/~209/ Week 8 Today s topics File Descriptors

More information

Recitation 8: Tshlab + VM

Recitation 8: Tshlab + VM Recitation 8: Tshlab + VM Instructor: TAs 1 Outline Labs Signals IO Virtual Memory 2 TshLab and MallocLab TshLab due Tuesday MallocLab is released immediately after Start early Do the checkpoint first,

More information

MV V210 Android 4.0 Compilation

MV V210 Android 4.0 Compilation MV V210 Android 4.0 Compilation Microvision Co., Ltd. Document Information Version 1.0 File Name MVV210 Android Compilation.doc Date 2012. 5. 21 Satus Working Revision History Date Version Update Descriptions

More information

INF322 Operating Systems

INF322 Operating Systems Galatasaray University Computer Engineering Department INF322 Operating Systems TP01: Introduction to Linux Ozan Çağlayan ocaglayan@gsu.edu.tr ozancaglayan.com Fundamental Concepts Definition of Operating

More information

Heterogeneous multi-processing with Linux and the CMSIS-DSP library

Heterogeneous multi-processing with Linux and the CMSIS-DSP library Heterogeneous multi-processing with Linux and the CMSIS-DSP library DS-MDK Tutorial AN290, September 2016, V 1.1 Abstract This Application note shows how to use DS-MDK to debug a typical application running

More information

The bigger picture. File systems. User space operations. What s a file. A file system is the user space implementation of persistent storage.

The bigger picture. File systems. User space operations. What s a file. A file system is the user space implementation of persistent storage. The bigger picture File systems Johan Montelius KTH 2017 A file system is the user space implementation of persistent storage. a file is persistent i.e. it survives the termination of a process a file

More information

User Guide Linux for AT91CAP9-STK Version 1.1. User Guide LINUX FOR AT91CAP9-STK VERSION: 1.1 1/11

User Guide Linux for AT91CAP9-STK Version 1.1. User Guide LINUX FOR AT91CAP9-STK VERSION: 1.1 1/11 User Guide LINUX FOR AT91CAP9-STK VERSION: 1.1 1/11 History of Changes Revision Issue Date Descripion Author Ver 1.0 2009-04-24 First version of the document Olivier Arnal Ver 1.1 2009-04-27 Minor modification

More information

Embedded System Design

Embedded System Design Embedded System Design Lecture 10 Jaeyong Chung Systems-on-Chips (SoC) Laboratory Incheon National University Environment Variables Environment variables are a set of dynamic named values that can affect

More information

CSC209H Lecture 6. Dan Zingaro. February 11, 2015

CSC209H Lecture 6. Dan Zingaro. February 11, 2015 CSC209H Lecture 6 Dan Zingaro February 11, 2015 Zombie Children (Kerrisk 26.2) As with every other process, a child process terminates with an exit status This exit status is often of interest to the parent

More information

Application Note: AN00152 xscope - Bi-Directional Endpoint

Application Note: AN00152 xscope - Bi-Directional Endpoint Application Note: AN00152 xscope - Bi-Directional Endpoint This application note shows how to create a simple example which uses the XMOS xscope application trace system to provide bi-directional communication

More information

File I/O - Filesystems from a user s perspective

File I/O - Filesystems from a user s perspective File I/O - Filesystems from a user s perspective Unix Filesystems Seminar Alexander Holupirek Database and Information Systems Group Department of Computer & Information Science University of Konstanz

More information

Development Environment Embedded Linux Primer Ch 1&2

Development Environment Embedded Linux Primer Ch 1&2 Development Environment Embedded Linux Primer Ch 1&2 Topics 1) Systems: Host and Target 2) Host setup 3) Host-Target communication CMPT 433 Slides #3 Dr. B. Fraser 18-05-05 2 18-05-05 1 Host & Target Host

More information

Finish up OS topics Group plans

Finish up OS topics Group plans Finish up OS topics Group plans Today Finish up and review Linux device driver stuff Walk example again See how it all goes together Discuss talking to MMIO RTOS (on board) Deferred interrupts Discussion

More information

mbed Kit User Guide of NQ62x daughter board

mbed Kit User Guide of NQ62x daughter board mbed Kit User Guide of NQ62x daughter board mbed Kit User Guide Sheet 1 of 10 Nov 17, 2016 Index: 1. Introduction... 4 1.1 Minimum Requirements... 4 2. Kit Content... 4 2.1 DELTA DFXE-SM001 mbed kit hardware

More information

M-508 Quick Installation Guide. Screw: Φ 3 mm

M-508 Quick Installation Guide. Screw: Φ 3 mm Overview M-08 is a Linux ready Single Board Computer featuring four serial ports, 0/00 Mbps Ethernet, USB port and SD socket for flash disk expansion. The pre-install Linux OS and GNU tool chain make M-08

More information

Protocol of data exchange with modem via USB interface Version

Protocol of data exchange with modem via USB interface Version Protocol of data exchange with modem via USB interface Version 2017.12.19 - Modem connects to USB-host as USB device of CDC class (virtual COM port in Windows, ttyusb or ttyacm in Linux) - Because real

More information

JetBox 95xx/ 93xx Linux Auto Run Function

JetBox 95xx/ 93xx Linux Auto Run Function JetBox 95xx/ 93xx Linux Auto Run Function User Manual www.korenix.com 0.0.9 Copyright Notice Copyright 2009 Korenix Technology Co., Ltd. All rights reserved. Reproduction without permission is prohibited.

More information

MMC and SD Media Driver for Atmel SAM User Guide

MMC and SD Media Driver for Atmel SAM User Guide MMC and SD Media Driver for Atmel SAM User Guide Version 1.60 For use with MMC and SD Media Driver for Atmel SAM versions 2.03 and above Date: 18-Aug-2017 15:15 All rights reserved. This document and the

More information

SBC3100 (Cortex-A72) Single Board Computer

SBC3100 (Cortex-A72) Single Board Computer (Cortex-A72) Single Board Computer Ultra High Performance SBC with RK3399 (Cortex-A72 x2 + Cortex-A53 x4) @ 2Ghz : Single Board Computer H310: Input (receiver) Module : Output (display) Module D120: 4xCOM

More information

CMPSC 311- Introduction to Systems Programming Module: Input/Output

CMPSC 311- Introduction to Systems Programming Module: Input/Output CMPSC 311- Introduction to Systems Programming Module: Input/Output Professor Patrick McDaniel Fall 2014 Input/Out Input/output is the process of moving bytes into and out of the process space. terminal/keyboard

More information

HUAWEI Module. Android RIL Integration Guide. Version 3.4. Date

HUAWEI Module. Android RIL Integration Guide. Version 3.4. Date HUAWEI Module Android RIL Integration Guide Version 3.4 Date 2014-04-26 2014. All rights reserved. No part of this manual may be reproduced or transmitted in any form or by any means without prior written

More information

CMSC 216 Introduction to Computer Systems Lecture 17 Process Control and System-Level I/O

CMSC 216 Introduction to Computer Systems Lecture 17 Process Control and System-Level I/O CMSC 216 Introduction to Computer Systems Lecture 17 Process Control and System-Level I/O Sections 8.2-8.5, Bryant and O'Hallaron PROCESS CONTROL (CONT.) CMSC 216 - Wood, Sussman, Herman, Plane 2 Signals

More information

First Semester Examination Introduction to Computer Systems (COMP2300/COMP6300)

First Semester Examination Introduction to Computer Systems (COMP2300/COMP6300) First Semester Examination 2011 Introduction to Computer Systems (COMP2300/COMP6300) Writing Period: 3 hour duration Study Period: 15 minutes duration Permitted Materials: One A4 page with notes on both

More information

SmartAX MT883 ADSL CPE Quick Start

SmartAX MT883 ADSL CPE Quick Start #### #### #### SmartAX MT883 CPE Quick Start 1 Connecting the Cables 1 2 4 3 1 Telephone jack on the wall 2 Splitter 3 Telephone 4 Computer 1 #### #### #### To connect the cables, do as follows: Step 1

More information

Application Note: AN00151 xscope - Custom Host Endpoint

Application Note: AN00151 xscope - Custom Host Endpoint Application Note: AN00151 xscope - Custom Host Endpoint This application note shows how to create a simple example which uses the XMOS xscope application trace system to provide instrumentation logging

More information

Matrix 500 Quick Installation Guide

Matrix 500 Quick Installation Guide Overview Matrix 500 features four serial ports, 10/100 Mbps Ethernet, USB port and SD socket for flash disk expansion. The preinstall Linux OS and GNU tool chain make Matrix 500 ready for your application

More information

Developer manual. (Onvif Client Library) Happytimesoft Technology Co.,LTD

Developer manual. (Onvif Client Library) Happytimesoft Technology Co.,LTD Developer manual (Onvif Client Library) Happytimesoft Technology Co.,LTD Declaration All rights reserved. No part of this publication may be excerpted, reproduced, translated, annotated or edited, in any

More information

TIP570-SW-95 QNX-Neutrino Device Driver TIP570 16/8 Channel 12 Bit ADC and 8 Channel 12 Bit DAC on SBS PCI40 Carrier

TIP570-SW-95 QNX-Neutrino Device Driver TIP570 16/8 Channel 12 Bit ADC and 8 Channel 12 Bit DAC on SBS PCI40 Carrier TIP570-SW-95 QNX-Neutrino Device Driver TIP570 16/8 Channel 12 Bit ADC and 8 Channel 12 Bit DAC on SBS PCI40 Carrier Version 1.0.x Reference Manual Issue 1.0 January 2002 TEWS TECHNOLOGIES GmbH Am Bahnhof

More information

COSC Operating Systems Design, Fall Lecture Note: Unnamed Pipe and Shared Memory. Unnamed Pipes

COSC Operating Systems Design, Fall Lecture Note: Unnamed Pipe and Shared Memory. Unnamed Pipes COSC4740-01 Operating Systems Design, Fall 2001 Lecture Note: Unnamed Pipe and Shared Memory Unnamed Pipes Pipes are a form of Inter-Process Communication (IPC) implemented on Unix and Linux variants.

More information

ArduCAM CC3200 UNO board

ArduCAM CC3200 UNO board ArduCAM CC3200 UNO board User Guide Rev 1.2, Mar 2017 Table of Contents 1 Introduction... 2 2 Features... 3 3 Pin Definition... 4 4 Getting Started CC3200 with Energia... 5 4.1 Out of the Box Test... 5

More information

Getting Started with FreeRTOS BSP for i.mx 7Dual

Getting Started with FreeRTOS BSP for i.mx 7Dual Freescale Semiconductor, Inc. Document Number: FRTOS7DGSUG User s Guide Rev. 0, 08/2015 Getting Started with FreeRTOS BSP for i.mx 7Dual 1 Overview The FreeRTOS BSP for i.mx 7Dual is a Software Development

More information

ECE 650 Systems Programming & Engineering. Spring 2018

ECE 650 Systems Programming & Engineering. Spring 2018 ECE 650 Systems Programming & Engineering Spring 2018 Inter-process Communication (IPC) Tyler Bletsch Duke University Slides are adapted from Brian Rogers (Duke) Recall Process vs. Thread A process is

More information

STSW-BLUENRG1-DK. BlueNRG-1, BlueNRG-2 DK SW package

STSW-BLUENRG1-DK. BlueNRG-1, BlueNRG-2 DK SW package BlueNRG-1, BlueNRG-2 DK SW package Data brief Features Bluetooth SMART SW package supporting BlueNRG-1 and BlueNRG-2 Bluetooth low energy (BLE) systems-on-chip BlueNRG-1 Navigator and BlueNRG-2 Navigator

More information

UC20 Android RIL Driver User Guide

UC20 Android RIL Driver User Guide UC20 Android RIL Driver User Guide UMTS/HSPA Module Series Rev. UC20_Android_RIL_Driver_User_Guide_V1.0 Date: 2013-06-18 www.quectel.com Our aim is to provide customers with timely and comprehensive service.

More information

HE-GE Linux USB Driver - User Guide. 1vv r2 03/25/2013

HE-GE Linux USB Driver - User Guide. 1vv r2 03/25/2013 Disclaimer SPECIFICATIONS SUBJECT TO CHANGE WITHOUT NOTICE Notice While reasonable efforts have been made to assure the accuracy of this document, Telit assumes no liability resulting from any inaccuracies

More information

SSE3052: Embedded Systems Practice

SSE3052: Embedded Systems Practice SSE3052: Embedded Systems Practice Minwoo Ahn minwoo.ahn@csl.skku.edu Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu SSE3052: Embedded Systems Practice, Spring 2018, Jinkyu Jeong

More information

Kernel Modules. Kartik Gopalan

Kernel Modules. Kartik Gopalan Kernel Modules Kartik Gopalan Kernel Modules Allow code to be added to the kernel, dynamically Only those modules that are needed are loaded. Unload when no longer required - frees up memory and other

More information

BiPAC ADSL USB Modem. User s Manual

BiPAC ADSL USB Modem. User s Manual BiPAC 7001 ADSL USB Modem User s Manual Chapter 1... 1 1.1 Introducing the BiPAC 7001... 1 1.2 Features of the BiPAC 7001... 1 1.3 Installing Billion ADSL USB Modem... 2 Chapter 2... 3 2.1 Important note

More information

Quick Start Guide for BeagleBone. Table of Contents. by Brian Fraser Last update: Sept 24, 2017

Quick Start Guide for BeagleBone. Table of Contents. by Brian Fraser Last update: Sept 24, 2017 Quick Start Guide for BeagleBone by Brian Fraser Last update: Sept 24, 2017 This document guides the user through: 1. Installing Ubuntu in a virtual machine. 2. Connecting to the target using serial port

More information

ECEN 449: Microprocessor System Design Department of Electrical and Computer Engineering Texas A&M University

ECEN 449: Microprocessor System Design Department of Electrical and Computer Engineering Texas A&M University ECEN 449: Microprocessor System Design Department of Electrical and Computer Engineering Texas A&M University Prof. Sunil P. Khatri Lab exercise created and tested by: Abbas Fairouz, Ramu Endluri, He Zhou,

More information

First Steps. esom/sk4 esom/3517 Embedded Linux Starter Kit

First Steps. esom/sk4 esom/3517 Embedded Linux Starter Kit esom/sk4 esom/3517 Embedded Linux Starter Kit First Steps SSV Embedded Systems Dünenweg 5 D-30419 Hannover Phone: +49 (0)511/40 000-0 Fax: +49 (0)511/40 000-40 E-mail: sales@ssv-embedded.de Document Revision:

More information

Operating Systems. Lecture 06. System Calls (Exec, Open, Read, Write) Inter-process Communication in Unix/Linux (PIPE), Use of PIPE on command line

Operating Systems. Lecture 06. System Calls (Exec, Open, Read, Write) Inter-process Communication in Unix/Linux (PIPE), Use of PIPE on command line Operating Systems Lecture 06 System Calls (Exec, Open, Read, Write) Inter-process Communication in Unix/Linux (PIPE), Use of PIPE on command line March 04, 2013 exec() Typically the exec system call is

More information

ESP8266 FOTA Guide Version 1.7 Copyright 2016

ESP8266 FOTA Guide Version 1.7 Copyright 2016 ESP8266 FOTA Guide Version 1.7 Copyright 2016 About This Guide This document explains how to upgrade ESP8266 firmware over Espressif Cloud through Wi-Fi. The document is structured as follows. Chapter

More information

DEVELOPMENT GUIDE VAB-820. Android BSP v

DEVELOPMENT GUIDE VAB-820. Android BSP v DEVELOPMENT GUIDE VAB-820 Android BSP v5.0.6 1.01-08112017-095100 Copyright Copyright 2017 VIA Technologies Incorporated. All rights reserved. No part of this document may be reproduced, transmitted, transcribed,

More information

File Systems. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

File Systems. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University File Systems Jinkyu Jeong (jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu SSE3044: Operating Systems, Fall 2016, Jinkyu Jeong (jinkyu@skku.edu) File System Layers

More information

File Systems Overview. Jin-Soo Kim ( Computer Systems Laboratory Sungkyunkwan University

File Systems Overview. Jin-Soo Kim ( Computer Systems Laboratory Sungkyunkwan University File Systems Overview Jin-Soo Kim ( jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics File system basics Directory structure File system mounting

More information

Programming with TCP/IP. Ram Dantu

Programming with TCP/IP. Ram Dantu 1 Programming with TCP/IP Ram Dantu 2 Client Server Computing Although the Internet provides a basic communication service, the protocol software cannot initiate contact with, or accept contact from, a

More information

esdk Storage Plugins 1.0.RC4 Compilation Guide 01(vRO) Issue 01 Date HUAWEI TECHNOLOGIES CO., LTD.

esdk Storage Plugins 1.0.RC4 Compilation Guide 01(vRO) Issue 01 Date HUAWEI TECHNOLOGIES CO., LTD. 1.0.RC4 Issue 01 Date 2017-04-06 HUAWEI TECHNOLOGIES CO., LTD. 2017. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means without prior written consent

More information

OK335xS Users Manual Part I - Introduction

OK335xS Users Manual Part I - Introduction OK335xS Users Manual Part I - Introduction Copyright@2013-2014 http://www.arm9board.net COPYRIGHT STATEMENT Contents (content being images, text, programs and scripts) of this manual is copyright Witech

More information

QUICK START GUIDE VAB-630. Android EVK v

QUICK START GUIDE VAB-630. Android EVK v QUICK START GUIDE VAB-630 Android EVK v1.0.3 1.00-08112017-110800 Copyright Copyright 2017 VIA Technologies Incorporated. All rights reserved. No part of this document may be reproduced, transmitted, transcribed,

More information

IOT-GATE-iMX7 Datasheet

IOT-GATE-iMX7 Datasheet IOT-GATE-iMX7 Datasheet Industrial Internet of Things Gateway Product Specification v.1.3 Capable, compact, affordable: i.mx7 Dual IoT-Gate has been designed to answer demanding IoT application requirements

More information

CSE 410: Systems Programming

CSE 410: Systems Programming CSE 410: Systems Programming Input and Output Ethan Blanton Department of Computer Science and Engineering University at Buffalo I/O Kernel Services We have seen some text I/O using the C Standard Library.

More information

Goals of this Lecture

Goals of this Lecture I/O Management 1 Goals of this Lecture Help you to learn about: The Unix stream concept Standard C I/O functions Unix system-level functions for I/O How the standard C I/O functions use the Unix system-level

More information

SABRE and IOTA are trademarks of Addvalue Communications Pte Ltd.

SABRE and IOTA are trademarks of Addvalue Communications Pte Ltd. Copyright Copyright 2009 Addvalue Communications Pte Ltd. All rights reserved. This publication and its contents are proprietary to Addvalue Communications Pte Ltd. No part of this publication may be reproduced

More information

Developer s Guide for Moxa RTU Controllers

Developer s Guide for Moxa RTU Controllers Developer s Guide for Moxa RTU Controllers Second Edition, December 2011 www.moxa.com/product 2011 Moxa Inc. All rights reserved. Developer s Guide for Moxa RTU Controllers The software described in this

More information

Advanced Unix/Linux System Program. Instructor: William W.Y. Hsu

Advanced Unix/Linux System Program. Instructor: William W.Y. Hsu Advanced Unix/Linux System Program Instructor: William W.Y. Hsu CONTENTS File I/O, File Sharing 3/15/2018 INTRODUCTION TO COMPETITIVE PROGRAMMING 2 Recall simple-cat.c... /* * Stripped down version of

More information

I/O Management! Goals of this Lecture!

I/O Management! Goals of this Lecture! I/O Management! 1 Goals of this Lecture! Help you to learn about:" The Unix stream concept" Standard C I/O functions" Unix system-level functions for I/O" How the standard C I/O functions use the Unix

More information

I/O Management! Goals of this Lecture!

I/O Management! Goals of this Lecture! I/O Management! 1 Goals of this Lecture! Help you to learn about:" The Unix stream concept" Standard C I/O functions" Unix system-level functions for I/O" How the standard C I/O functions use the Unix

More information