COMPUTER SYSTEM LABORATORY Lab10 - Sensor II. Lab 10 Experimental Goal Learn how to write programs on the PTK development board (STM32F207). 2013/11/19/

Slides:



Advertisements
Similar presentations
Cortex-M3 Implementation Overview. Chapter 6 in the reference book.
Advertisements

Computer System Laboratory
SAM7X-EK Hands-On - Flash Programming. IAR EWARM Flash Loader Utility.
ARM development environment Modified Content Philips LPC2106 ARM chip ARM target board PSPad customised development environment Troubleshooting.
ASU Real-Time Operating System. Supervised by: Dr. Mohammed Sobh.
Lab 4 Department of Computer Science and Information Engineering National Taiwan University Lab4 - Bootloader 2014/10/14/ 13 1.
Embedded Systems Programming
The Xilinx EDK Toolset: Xilinx Platform Studio (XPS) Building a base system platform.
1-1 Embedded Software Development Tools and Processes Hardware & Software Hardware – Host development system Software – Compilers, simulators etc. Target.
ECE 4220 Real Time Embedded Systems Final Project Presentation Spring 2014 University of Missouri Columbia By: Michael Brauch Temperature Data Logger.
Getting Started with a Cortex-M3 Board
ECE Department: University of Massachusetts, Amherst Lab 1: Introduction to NIOS II Hardware Development.
CSCE 430/830 A Tutorial of Project Tools By Dongyuan Zhan Feb. 4, 2010.
ASPPRATECH.
Computer System Laboratory
Asst. Prof. Dr. Alper ŞİŞMAN
Computer System Laboratory
COMPUTER SYSTEM LABORATORY Lab8 - Debugging II. Lab 8 Experimental Goal Learn how to debug Linux in source-level by Domingo and diagnose target boards.
CS4101 嵌入式系統概論 Freescale Tower System Prof. Chung-Ta King Department of Computer Science National Tsing Hua University, Taiwan ( Materials from
Introduction to the Orbit Edu Board Ahmad Rahmati Teaching Assistant, ELEC424 Rice Efficient Computing Group Sep 12, 2007.
Cortex-M3 Debugging System
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
Silicon Labs ToolStick Development Platform
CSE430/830 Course Project Tutorial Instructor: Dr. Hong Jiang TA: Dongyuan Zhan Project Duration: 01/26/11 – 04/29/11.
ICMetrics Experimental Platform Jenya Kovalchuk University of Essex 27 January 2012 Ecole Centrale of Lille 1 Part-financed by the European Regional Development.
Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab Spring 2009.
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,
Computer System Laboratory
Computer System Laboratory
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. RX Family Overview Introduction A.
ECE Department: University of Massachusetts, Amherst Using Altera CAD tools for NIOS Development.
Lab 1 Department of Computer Science and Information Engineering National Taiwan University Lab1 - Sensor 2014/9/23/ 13 1.
Lab 10 Department of Computer Science and Information Engineering National Taiwan University Lab10 – Debugging II 2014/12/2 1 /16.
COMPUTER SYSTEM LABORATORY Lab6 - Root Filesystem.
NIOS II Ethernet Communication Final Presentation
1 EDK 7.1 Tutorial -- SystemACE and EthernetMAC on Avnet Virtex II pro Development Boards Chia-Tien Dan Lo Department of Computer Science University of.
Implementation of Embedded OS Lab3 Linux Kernel Modules.
Lab 14 Department of Computer Science and Information Engineering National Taiwan University Lab14 – Camera 2014/12/30 1 /14.
Lab 13 Department of Computer Science and Information Engineering National Taiwan University Lab13 – Interrupt + Timer 2014/12/23 1 /16.
ELECTRIC LINE MAN SAFETY WITH PASSWORD BASED CIRCUIT BREAKER Under the Guidance of Submitted by Project Title.
Implementation of Embedded OS Lab4 Cortex-M3 Programming.
Lab 12 Department of Computer Science and Information Engineering National Taiwan University Lab12 – Driver 2014/12/16 1 /21.
ChibiOS/RT Demo A free embedded RTOS
Implementation of Embedded OS Lab3 Porting μC/OS-II.
Teaching Digital Logic courses with Altera Technology
Lab 3 Department of Computer Science and Information Engineering National Taiwan University Lab3 – μC/OS 2015/10/13/ 13 1.
Embedded Systems Design with Qsys and Altera Monitor Program
Implementation of Embedded OS
Lab 7 Department of Computer Science and Information Engineering National Taiwan University Lab7 – uCOS Application 2015/11/10/ 10 1.
Lab 5 Department of Computer Science and Information Engineering National Taiwan University Lab5 - OS Kernel 2014/10/21/ 16 1.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
Testing and Verifiation of Kmote using Tiny OS Manish Aggarwal Guide :- Proff Purushottam K.
Lab 5 Department of Computer Science and Information Engineering National Taiwan University Lab5 – μC/OS 2016/5/31/ 13 1.
Computer System Laboratory
Lab 1: Using NIOS II processor for code execution on FPGA
Computer System Laboratory
Microcontrollers & GPIO
Computer System Laboratory
Implementation of Embedded OS
Implementation of Embedded OS
DSC - fundamente MPU MCU DSP DSC Alternative Freescale
Computer System Laboratory
Computer System Laboratory
Computer System Laboratory
Computer System Laboratory
Wireless Embedded Systems
Computer System Laboratory
Computer System Laboratory
Computer System Laboratory
Presentation transcript:

COMPUTER SYSTEM LABORATORY Lab10 - Sensor II

Lab 10 Experimental Goal Learn how to write programs on the PTK development board (STM32F207). 2013/11/19/ 102 Temperature Sensor LCD LED lamps Light Sensor Key buttons 7 segment LED Joystick

Lab 10 Environment Host System Windows XP Build System VirtualBox + Ubuntu 8.04 Target System PTK development board (STM32F207) Software Documentation & examples IAR Embedded Workbench You can download all software from RSWiki CSL Course SoftwareRSWiki CSL Course Software 2013/11/19/ 103

Lab 10 Introduction to PTK Development Board STM32F207 is a SoC consisting of a Cortex-M3 Core, built-in flash storage, and many other peripherals. The core can run up to 120MHz. The on-chip memory includes a flash of 256KB and a SRAM of 128KB. Cortex-M3 processors are a family of 32-bit ARM-based processors for highly deterministic real-time applications. It implements the ARMv7-M architecture. Nested Vectored Interrupt Controller (NVIC), Memory Protection Unit (MPU), … It has 3-stage pipeline supporting Thumb/Thumb-2 ISA. 2013/11/19/ 104

Lab 10 Memory Mapping The address space of STM32F207 is split into eight 512MB blocks. Block 0 maps the flash memory. Block 1 maps the main memory. Block 2 maps MMIO for peripherals. Block 3/4 maps external devices using static memory interface. Block 5 maps control registers of the flexible static memory controller (FSMC). Block 7 maps internal registers of the processor core. 2013/11/19/ 105

Lab 10 Hardware Connection 2013/11/19/ 106 RS-232 (COM Port) JTAG Debugger DC Power

Lab 10 IAR Embedded Workbench It is a commercial IDE for ARM-based SoCs. Please use IAR Embedded Workbench for ARM 6.60, instead of /11/19/ 107

Lab 10 Building and Running (1/2) Step 1: download the examples PTK_Examples.zip on Windows XP.PTK_Examples.zip Step 2: download the Jlink driver, and install it.Jlink driver Step 3: open the serial console, i.e., putty. Please set baud rate to bps. Step 4: open the following workspace in IAR Embedded Workbench IDE. PTK_Examples\ePBB\Applications\Projects\PTK-STM32F207\EWARM- V6\OS_None\base_uart\demo.eww 2013/11/19/ 108

Lab 10 Building and Running (2/2) Step 5: compile the project by clicking the button “Make”. Step 6: download the program to the target by clicking the button “Download and Debug”. Step 7: press the key “F5” to continue the execution. You will see the message “Hello World!!!” on the console. 2013/11/19/ 109

Lab 10 Lab Requirement Show the current temperature and luminous flux on the UART console. See …\OS_None\base_temperature\demo.eww and …\OS_None\base_light\demo.eww as a reference. Hint The documentation of these examples can be found at PTK_Examples/ePBB/Documentations. You might add some driver sources into your project file. Please send your report to both TAs. Please use this title format: [CSL] G# Lab# Ver# E.g., [CSL] G13 Lab9 Ver1 2013/11/19/ 1010