LAB 9: Environment Setup for Tower System Chung-Ta King National Tsing Hua University CS 4101 Introduction to Embedded Systems.

Slides:



Advertisements
Similar presentations
Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Advertisements

Module 3 Configuring Hardware on a Computer Running Windows XP Professional.
NEX-FS700 Firmware Ver. 2.0 Upgrade
Connect to a Controller & Update the OS
DE2-115 Control Panel - Part I
PBv2.x Pen F/W Upgrade SOP
Manual Software Upgrade Guide ◆ Notice 1. Use the full model name of TV when manually downloading software updates. Ex) 47LX9500-UA : The Full model name.
BEST Robotic, Inc. easyC Team Training
Components: Sansa Clip Mp3, earbuds, USB cable, Quick Start Guide.
Reprogram the DAGR and Maps Installation
Lab7: Introduction to Arduino
Chung-Ta King National Tsing Hua University
Getting your Arduino to Work: Microsoft Windows 1.Install Arduino programming environment 2.Install Arduino Uno driver 3.Make sure you can download a program.
Handheld TFTP Server with USB Andrew Pangborn Michael Nusinov RIT Computer Engineering – CE Design 03/20/2008.
Using PDG with e2studio: Example
ECE Department: University of Massachusetts, Amherst Lab 1: Introduction to NIOS II Hardware Development.
Dr. Hoganson CSIS HC11 Demo Program This is our first lab using the 68HC11 microcontroller. We will “talk” to the microcontroller from a PC, run.
Intel Do-It-Yourself Challenge Hello World with the Arduino IDE Nicolas Vailliet Intel.
SKP8CMINI-15,17 Tutorial 1 Software Development Process using HEW4
How To Activate Your New iPod Mini Print Ready Documentation.
CS4101 嵌入式系統概論 Freescale Tower System Prof. Chung-Ta King Department of Computer Science National Tsing Hua University, Taiwan ( Materials from
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
MoteWorks Installation
Silicon Labs ToolStick Development Platform
CHAPTER 1 XNA Game Studio 4.0. Your First Project A computer game is not just a program—it is also lots of other bits and pieces that make playing the.
Renesas Technology America Inc. 1 M16C/Tiny SKP Tutorial 2 Creating A New Project Using HEW4.
AT91SAM9261-EK WinCE 6.0 DEMO ATMEL AT91 Application & Support Group
NetBurner MOD 5282 Network Development Kit MCF 5282 Integrated ColdFire 32 bit Microcontoller 2 DB-9 connectors for serial I/O supports: RS-232, RS-485,
Introduction Purpose This training course covers debugging an application on an SH target in the Renesas HEW (High-performance Embedded Workshop) development.
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.
ECE Department: University of Massachusetts, Amherst Using Altera CAD tools for NIOS Development.
High Speed Data Converter University
Geo CE-XM ch 4 Edited 10/14/05 1 The XM is the newest of the rovers, and unlike other units, it comes with software installed on the unit as well as using.
AT91SAM9261-EK WinCE 5.0 DEMO ATMEL AT91 Application & Support Group Version 1.O February 2007.
Lab 1 Department of Computer Science and Information Engineering National Taiwan University Lab1 - Sensor 2014/9/23/ 13 1.
Jim Ng 15/1/2014 CENG4480 TUTORIAL 1. ABOUT ME Current MPhil Student supervised by Prof. Mak You can find me at Rm116 in SHB
Basic Input/Output System
U81X0 Downloading Tool Manual 1 ( Version 2.0) FlashRW For U81X0 Version 4.0.0(Build #100V) April 2004 LG Electronics Inc.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
ChibiOS/RT Demo A free embedded RTOS
Teaching Digital Logic courses with Altera Technology
Hardware Configuration Guide Configuring Dongles and Creating Barcodes for Devices Used with VSC.
Embedded C- Language Lets Learn fundamentals !!. An Embedded system is combination of computer hardware and software, and perhaps additional mechanical.
After Construction Name: Per #:.
Lets Learn fundamentals !!
Workshop Setup The software/hardware used in this workshop are:
Chapter Objectives In this chapter, you will learn:
Introduction to the ARM mbed Platform– A Hands-on Course
Introduction of Embedded C and demo programs
Lab 1: Using NIOS II processor for code execution on FPGA
Computer System Laboratory
Downloading Arduino FOR WINDOWS.
CS4101 Introduction to Embedded Systems Lab 8: Tower System
Computer System Laboratory
CS4101 Introduction to Embedded Systems Lab 1: MSP430 LaunchPad IDE
Implementation of Embedded OS
3.14 Microscan QX-870 Scanner Configuration
iSERIES PROGRAMMING/LOGGING TRAINING
1. Press the Power button or switch to flip on the printer, if it is turn off. 2. From the Home display screen on the product control panel, click the.
Installing the HP LaserJet Pro 500 color MFP M570 printer software in Windows on a Wireless Network & Wired Network.
مقدمة في الاردنيو د فضل الاكوع.
RX111 Promotion Board (RPB) hands on
ECE 3567 Microcontroller Lab
Intro to Micro Controllers
Software Setup & Validation
Arduino Leonardo Setup
Embedded Development Tools
ECE 3567 Microcontrollers Lab
ECE 3567 Microcontrollers Lab
Presentation transcript:

LAB 9: Environment Setup for Tower System Chung-Ta King National Tsing Hua University CS 4101 Introduction to Embedded Systems

Introduction In this lab, we will learn – To install the development environment and MQX – To set up Tower System and build MQX libraries – To develop and download program to Tower

Tower System You will get : 1.TWR-K60D100M MCU Module 2.TWR-ELEV 3.TWR-SER 4.TWR-MEM

Development Environment & RTOS 1.CodeWarrior Development Studio MQX RTOS 3.8.0

CodeWarrior Development Studio 10.2 Go to CodeWarrior for Microcontrollers10 ( ode=CW_SPECIALEDITIONS) ode=CW_SPECIALEDITIONS – Select Special Edition: CodeWarrior for Microcontrollers 10.2 (Eclipse, Windows hosted) in Getting Started section You can download from the website or course ftp

MQX RTOS TWR-K60D100M Run the self-extracting K60D100M package installer and proceed according to instructions – The files will be installed directly into the specified folder in your PC

Simple Test

Configure the Hardware 1.Install the included battery into the VBAT(RTC) battery holder. 2.Connect one end of the USB cable to the PC and the other end to the power/OSJTAG mini- B connector on the TWR- K60D100M module. 3.Allow the PC to automatically configure USB drivers if needed

Tilt the Board Tilt the board side to side to see the LEDs on D7,D8,D9 and D11 light up as it is tilted. – 3-axis accelerometer demo Hold the board flat, and touch the pads on D7, D8, D9, D11 to toggle the LEDs. – Touch pads LEDs

Play the Memory Game Press SW2 to play a memory recall game using the touch pads D7,D8,D9 and D11. A sequence will light up, then press the touch pads in the order flashed. If an incorrect sequence is pressed or too much time has elapsed, the LEDs will blink rapidly and the game will reset. Press SW1 to return to the accelerometer demo.

Set up the Tower System and Build the MQX Libraries

Setting up the Tower System Use a PC (host) to control and develop programs for the Tower System (target), and load files to the Tower System – Connect one end of the USB cable to the PC and the other end to the power/OSJTAG mini-B connector on the TWR-K60D100M module. – Connect one end of the USB cable to the PC and the other end to the mini-B connector on the Primary Elevator module.

Building the MQX Libraries PSP (Processor support Package) and BSP (Board support Package) libraries must be built before building any application or changing kernel or I/O drivers

1.Import BSP and PSP files Select menu File/Import/General/Existing Projects into Workspace and navigate to your MQX installation directory Warning : The "Copy projects into workspace" check box in the file importer must be unchecked. Leaving this option enabled will corrupt the project and the libraries will not be able to build. Freescale MQX 3.8 TWRK60D100M mqx/build/cw10/

2. Use CodeWarrior to compile all MQX libraries 1.Build target (By default, the Debug build target is selected in all projects) 2.Switch all libraries to Release target and rebuild again Build again ! (Release target)

Debug the project hello_twrk60d100m Basic Lab Import the example project hello and load to the target board Select menu File/Import/General/Existing Projects into Workspace and search for example directory (Freescale MQX 3.8 TWRK60D100M/mqx/examples/hello/cw10/hello_twrk60d100m). 1 Build the project hello_twrk60d100m 2 3

Basic 1.Download and install P&E OSBDM OSJTAG Virtual Serial Toolkit 2.Open P&E OSBDM OSJTAG Virtual Serial Toolkit Utilities Terminal Utility 3.Check following items: Port: USB COM Baud: Parity:None Bits:8 4.Press Open Serial Port Note : You can download toolkit from course FTP (final page)

Additional Explanations

Install Service Pack When you install the development software in your computer, you may encounter a problem on building the library project. – You will see the warning message Configuration error – Make sure you install the Service Pack

Install MCU 10.2 Service Pack for Kinetis k60d100m 1 2

3 Warning : Do not select all Service Packs, or you will spend a lot of time in the installation. Select MCU v10 service pack for Kinetis 100MHz K60

Install MCU 10.2 Service Pack for Kinetis k60d100m 4 5

67 8

Update Firmware When you first load a program to the Tower System, you need to update its firmware. Press Debug button on codewarrior, and you will see 1.Unplug USB cable 2.Find an idle jumper and insert the 2-pin bootloader header 3.Reconnect USB cable 4.Press OK 1.Unplug USB cable 2.Find an idle jumper and insert the 2-pin bootloader header 3.Reconnect USB cable 4.Press OK BOOT 1 2

Update Firmware 2 Wait for the update of firmware 3 1.Unplug the USB cable 2.Remove the jumper from the 2-pin bootloader header 3.Reconnect the USB cable 4.Press OK 1.Unplug the USB cable 2.Remove the jumper from the 2-pin bootloader header 3.Reconnect the USB cable 4.Press OK

Download Software FTP : account CS Passwd emd Download from : / forTowerSystem 1.CW_MCU_v10.2_SE.exe CodeWarrior v FSLMQX_3.8.0_TWRK60D100M.exe MQX RTOS TWR-K60D100M 3.pemicro_osbdm_osjtag_tower_toolkit P&E OSBDM OSJTAG Virtual Serial Toolkit