Lab 1 Department of Computer Science and Information Engineering National Taiwan University Lab1 - Sensor 2014/9/23/ 13 1.

Slides:



Advertisements
Similar presentations
Computer System Laboratory
Advertisements

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.
Systems Programming Course Gustavo Rodriguez-Rivera.
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.
Asst. Prof. Dr. Alper ŞİŞMAN
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.
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.
Lab 3 Department of Computer Science and Information Engineering National Taiwan University Lab3 - Cross Tools 2014/10/7/ 20 1.
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 Lab10 - Sensor II. Lab 10 Experimental Goal Learn how to write programs on the PTK development board (STM32F207). 2013/11/19/
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 11 Department of Computer Science and Information Engineering National Taiwan University Lab11 - Porting 2014/12/9/ 26 1.
Lab 10 Department of Computer Science and Information Engineering National Taiwan University Lab10 – Debugging II 2014/12/2 1 /16.
NIOS II Ethernet Communication Final Presentation
ARM 7 & ARM 9 MICROCONTROLLERS AT91 1 Development Tools & Partners.
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.
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 5 Department of Computer Science and Information Engineering National Taiwan University Lab5 – Bootloader + OS Kernel 2015/10/27/ 25 1.
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.
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.
Embedded Real-Time Systems Introduction to embedded software development Lecturer Department University.
RTLAB Kang. Moo jin Using Open Source Tools for AT91SAM7X Cross Development.
Lab 5 Department of Computer Science and Information Engineering National Taiwan University Lab5 – μC/OS 2016/5/31/ 13 1.
Computer System Laboratory
Introduction to the ARM mbed Platform– A Hands-on Course
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
Computer System Laboratory
Computer System Laboratory
Computer System Laboratory
Computer System Laboratory
Wireless Embedded Systems
Computer System Laboratory
Computer System Laboratory
JTAG, Multi-ICE and Angel
Computer System Laboratory
Computer System Laboratory
Presentation transcript:

Lab 1 Department of Computer Science and Information Engineering National Taiwan University Lab1 - Sensor 2014/9/23/ 13 1

Lab 1 Department of Computer Science and Information Engineering National Taiwan University  Learn how to write programs on the PTK development board (STM32F207). 2014/9/23/ 13 2 Temperature Sensor LCD LED lamps Light Sensor Key buttons 7 segment LED Joystick

Lab 1 Department of Computer Science and Information Engineering National Taiwan University  Host System  Windows XP  Build System  IAR Embedded Workbench  Target System  PTK development board (STM32F207)  Software  PTK Examples  Jlink Driver  Putty  You can find all software on RSWiki CSL Course Software.RSWiki CSL Course Software 2014/9/23/ 13 3

Lab 1 Department of Computer Science and Information Engineering National Taiwan University 2014/9/23/ 13 4 STM32F207 DC power supply JlinkRS232 null cable Ethernet cablePTK-RFID-EWTJ680Hart Rate Monitor modules

Lab 1 Department of Computer Science and Information Engineering National Taiwan University 2014/9/23/ 13 5 RS-232 (COM Port) Jlink Debugger DC Power

Lab 1 Department of Computer Science and Information Engineering National Taiwan University  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. 2014/9/23/ 13 6

Lab 1 Department of Computer Science and Information Engineering National Taiwan University  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. 2014/9/23/ 13 7

Lab 1 Department of Computer Science and Information Engineering National Taiwan University  It is a commercial IDE for ARM-based SoCs.  Please use IAR Embedded Workbench for ARM 6.60, instead of /9/23/ 13 8

Lab 1 Department of Computer Science and Information Engineering National Taiwan University  Step 1: download putty from or course website (putty).  Step 2: putty can be executed without installation. 2014/9/23/ 13 9

Lab 1 Department of Computer Science and Information Engineering National Taiwan University  Step 1: download and extract the examples PTK_Examples.zip on Windows XP.PTK_Examples.zip  Step 2: open the serial console, i.e., putty.  Please set the speed (baud rate) to bps.  Step 3: open the following workspace in IAR Embedded Workbench IDE.  PTK_Examples\ePBB\Applications\Projects\PTK-STM32F207\EWARM- V6\OS_None\base_uart\demo.eww  Tips:  If the system cannot link to STM32F207, please download the Jlink driver, and install it.Jlink driver  You can use other workspaces in OS_None examples, such as base_7seg, base_button, base_buzzer, base_light, base_tempature, etc. 2014/9/23/ 13 10

Lab 1 Department of Computer Science and Information Engineering National Taiwan University  Step 4: compile the project by clicking the button “Make”.  Step 5: download the program to the target by clicking the button “Download and Debug”.  Step 6: click the button “Go” or press the key “F5” to continue the execution.  You will see the message “Hello World!!!” on the serial console. 2014/9/23/ 13 11

Lab 1 Department of Computer Science and Information Engineering National Taiwan University  You can add library sources by right-clicking on the workspace and clicking “Add Files…”. 2014/9/23/ 13 12

Lab 1 Department of Computer Science and Information Engineering National Taiwan University  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.  The documentation of these examples can be found at PTK_Examples/ePBB/Documentations/.  Please hand in your lab report to the FTP.  Server:  Username: csl2014  Password: csl2014HomeWork  Directory: lab1  Please use pdf format with specific filename: “G# Ver#.pdf”, where G# is your group id and Ver# is revision version number.  E.g., G1 Ver1.pdf 2014/9/23/ 13 13