Hands-on Session 1 Boot Linux Connect to Linux via USB-to-UART and Putty Compile and run a simple program.

Slides:



Advertisements
Similar presentations
An Introduction to Programming By :- Vishal Hirani B.Tech II year (CSE)
Advertisements

Sound Card Calibration. Determine computer audio device. Determine computer audio device. In XP, go to Control Panel – Sounds & Audio Devices – Audio.
Comm Operator Tutorial How to send sequence data at given time automatically Serial Port Tool
StreamBlade SOE TM Initial StreamBlade TM Stream Offload Engine (SOE) Single Board Computer SOE-4-PCI Rev 1.2.
CMPUT 101 Lab # 5 October 22, :00 – 17:00.
COP 3275 COMPUTER PROGRAMMING USING C Instructor: Diego Rivera-Gutierrez
1 Module 12 Computation and Configurations –Formal Definition –Important Terms –Examples.
Scripts and iSQL*Plus SQL*Plus over the Internet.
CS201 - Information. CS201 - Laboratories All labs will be done using Linux on the PC’s or esus. All labs MUST use Makefiles. First lab is due NEXT WEEK.
CS 202 Computer Science II Lab Fall 2009 September 3.
Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation.
1 SEEM3460 Tutorial Access to Unix Workstations in SE.
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
Comm Operator Tutorial How to send the data after receiving specific data automatically Serial Port Tool
Chapter 14: Remote Server Administration BAI617. Chapter Topics Configure Windows Server 2008 R2 servers for remote administration Remotely connect to.
WaveMaker Visual AJAX Studio 4.0 Training Authentication.
Special Project Group 03 Chintan Shah Nisharg Patel Cynthia York.
1 Documenting Your Project. 2 Documenting your Project Insert Banner Comments in your code Comment - coding statement used by humans not the compiler.
Architectures and Applications for Wireless Sensor Networks ( ) Sensor Node Programming II (UART and Radio) Chaiporn Jaikaeo
Lecture 0 CIS 208 C Language Lab Wed. January 12, 2005.
Ch.2 – Introduction to Routers
CPSC 233 Run graphical Java programs remotely on Mac and Windows.
1 Lab 2 “Hello world” in Unix/Linux #include "std_lib_facilities_4.h" int main(){ cout
UNIX Introduction CSCE 221H Texas A&M University.
Problem Solving and Program Design in C (5th Edition) by Jeri R. Hanly and Elliot B. Koffman Chapter 1 (Software Development Method) © CPCS
Cisco Support Community (SP Mobility) -By Ruchi Shroti Recovering Console Password for ASR5000/5500.
Compiling a C Program. Before we can begin we must open a telnet session to phobos. There are a number of ways to do this, but the easiest is to click.
Linux Exercise. Download and Install the latest CentOS version and latest Ubuntu/Fedora OS. Configure a unique Host Name and a permanent IP Address for.
Getting to Know Your Computer Your File System Applications What’s running on your machine Its own devices Networking.
National Chung Cheng University,Taiwan,R.O.C eCos demo using x86 PCs I-Hung Lin Date:2004/4/29.
Installing a Network Printer. Network printers work much like any other printer except the data flow is through a network. This means the printer must.
Introduction to Routers
CPS120: Introduction to Computer Science Compiling a C++ Program From The Command Line.
This is CS50 AP. an introduction to the intellectual enterprises of computer science and the art of programming Unit 0 Module 0 © David J. Malan, Doug.
Reading and Writing Text over USB A Colony Project Tutorial.
1 Getting Started with C++ Part 2 Linux. 2 Getting Started on Linux Now we will look at Linux. See how to copy files between Windows and Linux Compile.
Computer Programming A simple example /* HelloWorld: A simple C program */ #include int main (void) { printf (“Hello world!\n”); return.
Other Demos 1 Gsensor  Communicates with the accelerometer chip, displays the X, Y, Z acceleration values  Graphically displays an ASCII “bubble” in.
Embedded Systems Design with Qsys and Altera Monitor Program
438 labs. Labs Lab 1: Refreshing C and Linux Programming 2 Lab 1: Refreshing C and Linux Programming 2 – First: Getting familiar with development.
Intro Web Applications Andrew Benson – ScottyLabs – CrashCourse F14.
Using Linux with ARM Tutorial #3.
Linux Server for OS. Aerosystem Software Korea Aerospace Univ SSH (not asl.kau.ac.kr)  Port : 22 Window 
1 Dr. Tom Hicks Computer Science Department Trinity University 1.
Version of the document: 1.01 Software Version CBox: v3.7.1 Hardware Version CBox: C5 Remote Access Configuration Client Language: English.
KYC - Know your compiler Introduction to GCC
By Ganesan Alagu Ganesh Feb 26, 2008
How to Program.
BASIC PROGRAMMING C SCP1103 (02)
Implementation of Embedded OS
CS1010: Intro Workshop.
How to Start Programming in Linux Environment
Lab 1: Using NIOS II processor for code execution on FPGA
Computer System Laboratory
CS4101 Introduction to Embedded Systems Lab 8: Tower System
By Ganesan Alagu Ganesh Feb 21, 2008
Data Virtualization Demoette… ADO.NET Client
BASIC PROGRAMMING C SCP1103 (02)
Welcome to Arduino A Microcontroller.
Computer System Laboratory
“Basic Linux/UNIX Command Line”
Imperative Programming
ADC32RF45 with KCU105 Internal Clock GHz.
CSCE 206 Lab Structured Programming in C
PuTTY Download Putty from:
Intro to Micro Controllers
Software Setup & Validation
Implementation of Embedded OS
CSCE 206 Lab Structured Programming in C
Compile and run c files.
Presentation transcript:

Hands-on Session 1 Boot Linux Connect to Linux via USB-to-UART and Putty Compile and run a simple program

Exercise 7: Talking to Linux on the DE1-SoC 2 Compile and execute the “Hello World” program #include int main(void){ printf("Hello World!\n"); return 0; }

Step 1: Power Off the DE1-SoC 3

Step 2: Set MSEL to `b01010 on the DE1-SoC 4 Enables ARM to be able to configure the FPGA

Step 3: Insert Linux SD Card 5

Step 4: Power On the DE1-SoC 6

Step 5: Ensure the UART-to-USB is Connected to the Host Computer 7

Step 6: Check Device Manager for COM Port Settings 8

Step 7: Open Putty 9

Step 8: Select ‘Serial’ Connection Type 10

Step 9: Enter COM Port Name in ‘Serial line’ Box 11

Step 10: Enter Serial Port Settings as shown 12

Step 11: Save Session for Later Use 13

Step 12: Open Connection 14

Step 13: In Putty: Change to the Example Directory 15

Step 14: Compile the Sample Program 16

Step 15: Execute the Sample Program 17

Step 16: See the Output 18