Lab. 1 Run a demo program. Lab. Goal To be familiar with PPRK, pcm7230 and the cross compiler. To understand how to run a program to control the PPRK.

Slides:



Advertisements
Similar presentations
Configuring APACS & AAN Controllers
Advertisements

Lab7: Introduction to Arduino
Lab 4 Department of Computer Science and Information Engineering National Taiwan University Lab4 - Bootloader 2014/10/14/ 13 1.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
Stargate Development Environment Jun Yi For the wireless sensor networks class in 2010 University of Notre Dame.
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
1 Introduction to Programming Environment Using MetroWerks CodeWarrior and Palm Emulator.
Software Development and Software Loading in Embedded Systems.
Intel Do-It-Yourself Challenge Lab 1: Intel Galileo’s Arduino side Nicolas Vailliet
CitectSCADA Communications with Mitsubishi FX3U-ENET
COMPUTER SYSTEM LABORATORY Lab4 - Bootloader. Lab 4 Experimental Goal Learn how to build U-Boot bootloader for PXA /10/8/ 142.
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
Introduction to The Linaro Toolchain Embedded Processors Training Multicore Software Applications Literature Number: SPRPXXX 1.
1 Introduction to Tool chains. 2 Tool chain for the Sitara Family (but it is true for other ARM based devices as well) A tool chain is a collection of.
September 2008 IT Software Development Guide.
AT91SAM9261-EK WinCE 6.0 DEMO ATMEL AT91 Application & Support Group
CIS 90 - Lesson 15 Lesson Module Status Slides – draft Properties - done Flash cards – 1 st Minute quiz – NA Web calendar summary – done Web book pages.
Hands-On Virtual Computing
Computer System Laboratory
U81X0 Downloading Tool Manual 1 ( Version 1.2 ) FlashRW For U81X0 Version 4.0.0(Build #95V) February 2004 LG Electronics Inc.
AT91SAM9261-EK WinCE 5.0 DEMO ATMEL AT91 Application & Support Group Version 1.O February 2007.
CHAPTER FOUR COMPUTER SOFTWARE.
Internet of Things with Intel Edison Compiling and running Pierre Collet Intel Software.
Otasuke GP-EX! Chapter 11 GP-Viewer EX
CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer: Yu-Hao( 陳郁豪 ) Date:
1 Lab 2 “Hello world” in Unix/Linux #include "std_lib_facilities_4.h" int main(){ cout
COMPUTER SYSTEM LABORATORY Lab6 - Root Filesystem.
RTL8712(8188_8191_8192SU) USB Linux Driver Quick Installation Guide
RTL8192C USB Linux Driver Quick Installation Guide
Mitsubishi Electric – GT15 – FTP connection, July 2007 HMI /// GOT1000 /// HMI /// GOT1000 /// HMI /// GOT1000 /// HMI /// GOT1000 /// HMI /// GOT1000.
Development of a microprocessor project with LPC2388 development board.
MIPS Project -- Simics Yang Diyi Outline Introduction to Simics Simics Installation – Linux – Windows Guide to Labs – General idea Score Policy.
JTAG Installation Guide (Bootloader installation) Simon Hsu.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
RT-LAB Electrical Applications 1 Opal-RT Technologies Use of the “Store Embedded” mode Solution RT-LAB for PC-104.
Main Hardware. Main PC to Board Connection via PX200 Main Hardware.
More on Using onyx 8/28/13. Program 1 Due a week from today. See website for details.
Implementation of Embedded OS Lab4 Cortex-M3 Programming.
FILE MANAGEMENT Computer Basics 1.3. FILE EXTENSIONS.txt.pdf.jpg.bmp.png.zip.wav.mp3.doc.docx.xls.xlsx.ppt.pptx.accdb.
Intro to Raspberry Pi A Southwest Florida Hackerspace Workshop Presented by: Russell Benzing & Eric Schiffli.
Lab 8 Department of Computer Science and Information Engineering National Taiwan University Lab8 - Root Filesystem 2015/11/10/ 22 1.
Lab 9 Department of Computer Science and Information Engineering National Taiwan University Lab9 - Debugging I 2014/11/4/ 28 1.
438 labs. Labs Lab 1: Refreshing C and Linux Programming 2 Lab 1: Refreshing C and Linux Programming 2 – First: Getting familiar with development.
Implementation of Embedded OS
Lab 5 Department of Computer Science and Information Engineering National Taiwan University Lab5 - OS Kernel 2014/10/21/ 16 1.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer: Yu-Hao( 陳郁豪 ) Date:
실험 구성 (DC모터 속도제어) -Matlab xPC Target 이용
Develop VB in WinCE Maker : Axel Chou. Introduction to WinCE 3.0 One of the Microsoft Embedded System –WinCE 3.0 –Embedded NT 4.0 Customize : Minimize.
Spring 2007 Vmware and Linux kernel COMS W4118 Columbia University.
Confidential WINGTIP ODIN User Guide. Confidential  Run the Odin3 v  Connect with the Gear Fit (Target should be download mode)  Connect PC with.
After Construction Name: Per #:.
Computer System Laboratory
Implementation of Embedded OS
Homework Reading Assignment Lab 1 MP1
Homework Reading Assignment Lab 1 Get ready for mp1
Computer System Laboratory
Downloading Arduino FOR WINDOWS.
Set up environment for mapreduce developing on Hadoop
Computer System Laboratory
Roller Coaster Design Project
مقدمة في الاردنيو د فضل الاكوع.
How to Connect a Dell Printer to Your PC. Connecting a Wired Printer on Windows 1. Set your printer near your PC.
Implementation of Embedded OS
Computer System Laboratory
Computer System Laboratory
Computer System Laboratory
Downloading to the NXT requires the correct hardware setup
Presentation transcript:

Lab. 1 Run a demo program

Lab. Goal To be familiar with PPRK, pcm7230 and the cross compiler. To understand how to run a program to control the PPRK.

Programming Environment Hardware Host Computer: i386 PC Target system: pcm7230 with wireless usb card PPRK (Palm Pilot Robot Kit) Software Linux OS A newer ramdisk.gz (start sshd daemon) Cross Compiler arm-linux-gcc BrainStem C development on Linux OS cdev.tar.gz BrainStem PPRK SDK on Windows OS GP.exe and console.exe

Console.exe In sdk/Brainstem/aBinary/ Use Console.exe to set heartbeat mode to internal mode Connect PPRK to your PC Open console.exe Key in exit

Lab. Procedures 1.Install the cross compiler on PC 2.Compile the example by the cross compiler 3.Set up wireless device and assign an IP for pcm Upload the binary code to pcm Run the program on pcm7230 host computer pcm7230 carried by PPRK Communicate through wireless PPRK

Install Cross-compiler on PC Download cross tar.bz2 from the website Decompress the cross compiler cross tar.bz2 into the directory /usr/local/arm/ $ tar –jxvf cross tar.bz2 Add “/usr/local/arm/2.95.3/bin” to the end of the PATH environment variable $ PATH=“$PATH:/usr/local/arm/2.95.3/bin:” $ export PATH

Cross-compile the Example Download cdev.tar.gz from the website and decompress it $ tar xvzf cdev.tar.gz Compile the “aStub” program in the directory: brainstem/aExample/aStub/ Initiate the build with the proper argument for ARM as well as the specific compilers that should be used $ make ARCH=ARM CC=arm-linux-gcc CPP=arm-linux-g++ Build a tarball stripped of all sources for installation in your working folder $ make ARCH=ARM tarball Then you will see dist_ARM.tar in the parent directory

Initiate the wireless device Assign an IP for your pcm7230 $ ifconfig wlan0 up $ ifconfig wlan0 your_ip Associate with your AP by setting essid $ iwconfig wlan0 essid your_essid Your IP will be announced on the course website

Upload the binary code to target board Use command scp to copy the tarball to your pcm7230 $ scp dist_ARM.tar your_ip:/ Account/password: root/rootme P.S. Refer to problem 13 in the FAQ

Run the program on pcm7230 Extract the file and run it. Connect your com1 port of your pcm7230 and PPRK with rs232 cable at this moment. Use ssh to connect to your pcm7230 $ ssh your_ip After you login successfully, you can remove the wire used to connect host PC and the com2 port of your pcm7230 $ tar -xvf dist_ARM.tar $ sh run aStub

FAQ Read problem 1, 4, 5, 9, 11 and 13 in the FAQ. Hardware Reset 用

Report ( at most 3 pages ) 1. Please write down your instructions step by step in detail. 2. Draw the path of the PPRK while running the “aStub” program. 3. Suggestion (optional) Coordinate Map

Note Due day 2006/10/5 In the develop phase, you should use power supply. In the demo phase, you should use battery to provide power.