Vous êtes sur la page 1sur 20

EE 445L Embedded System

Design Lab
16980 TTH 1100 to 1230p
16985 TTH 1230 to 200p
16990 TTH 200 to 330p
16995 MW 330 to 500p
17000 MW 500 to 630p
17005 TTH 500 to 630p

EE 445L Bard, Valvano

Todays Agenda
Course Syllabus
Book/Board/Graphics
UTA basement Lab
You NEED access to this lab!
Go to the ID Center and get a proximity ID
(NO FOOD OR DRINKS IN THE LAB!)

Discussion of some basic definitions


ARM Cortex-M4 architecture
EE 445L Bard, Valvano

Board/Graphics
Tiva LaunchPad EK-TM4C123GXL

TI eStore EK-TM4C123G Free shipping


Digi-Key 296-35760-ND
Mouser 595-EK-TM4C123GXL
Newark 73W9275

Sitronix ST7735R 128*160 Graphics


18-bit color 1.8" TFT LCD display
$19.99 http://www.adafruit.com/products/358

Every Student Should Have A Board


TA will give instructions on installation
EE 445L Bard, Valvano

How to deal with the


crowding

EE445L is ECJ1.318A

10 benches and 20 chairs


Open limited hours

Go to the ID center
Get an ID card with an RFID chip
Extra lab in UTA basement
24-7 access

Analog Discovery, Digilent Inc., $99


www.digilentinc.com/analogdiscovery/
EE 445L Bard, Valvano

Compiler and drivers


Install compiler on your computer
http://users.ece.utexas.edu/~valvano/arm/download.html

Keil uVision 4.74 (not version 5)


TExaS (includes EE319K starter files)
LaunchPadDLL.dll simulates the board

Board drivers

EE 445L Bard, Valvano

Tivaware
Install Tivaware on your computer
go to http://www.ti.com/
Tivaware http://www.ti.com/tool/sw-tm4c
Create an account
use UT email, www.utexas.edu
Student lab project

Download, save, and install


Look for example code
\examples\boards\ek-tm4c123gxl
We will use Tivaware for wifi lab
EE 445L Bard, Valvano

Lab Manual
This semesters lab assignments are
available at:
http://users.ece.utexas.edu/~valvano/arm/lectures2.html
http://users.ece.utexas.edu/~valvano/EE345L/Labs/Fall2011/

EE 445L Bard, Valvano

PCB Development Tool


PCB Artist, the software tool that you will
use in labs 6, 8, and 11 is available from
Advanced Circuits at:
http://4pcb.com/
Download the program and install it on
your computer
EE 445L Bard, Valvano

Lab Partner
Find a good partner
Complement each other
its O.K. to compliment also

Shared goals for the class

Fall 2014
16980 TTH 1100 to 1230p
16985 TTH 1230 to 200p
16990 TTH 200 to 330p
16995 MW 330 to 500p
17000 MW 500 to 630p
17005 TTH 500 to 630p

Ask how many hours/week? 5? 10? 20?

In the same lab section

Be a good partner
Work hard
Say what you mean and do what you say
EE 445L Bard, Valvano

Resources
Starter files for the book
http://users.ece.utexas.edu/~valvano/arm/

Download
ST7735 (Graphics)
GPIO (Parallel ports)
Switch (inputs)
PLL (clock)
Systick (timer wait)
EE 445L Bard, Valvano

10

Datasheets
Data sheets for Arm Cortex M
CortexM_InstructionSet.pdf
CortexM4_TRM_r0p1.pdf

Data sheets for TM4C123 I/O ports


tm4c123gh6pm.pdf
tm4c123gh6pmErrata.pdf

Data sheet for EK-TM4C123GXL kit


TM4C123_LaunchPadUsersManual.pdf
EE 445L Bard, Valvano

11

Section Changes
TAs and I have no authority to add/drop
Go in pairs (triplets) to ECE advisor to
switch sections
Want to switch and do not have a pair?
Meet in front of class and find someone
EE 445L Wiki
16980 TTH 1100 to 1230p
16985 TTH 1230 to 200p
16990 TTH 200 to 330p
16995 MW 330 to 500p
17000 MW 500 to 630p
17005 TTH 500 to 630p

EE 445L Bard, Valvano

12

Introduction
What are embedded computing systems?
Challenges in embedded computing
system design.
Design methodologies.

EE 445L Bard, Valvano

13

What are the Big Ideas


HW/SW Architecture
Non processor centric view of architecture
Bowels of the operating system
Specifically, the lower half of the OS
Concurrency
Real world design
performance vs. cost tradeoffs
Analyzability
how do you know that your drive-by-wire system will function
correctly?
Application-level techniques
Power Aware Programming

EE 445L Bard, Valvano


1/27/2010

14

Archetypical example of an
embedded system: iPhone

EE 445L Bard, Valvano


1/27/2010

15

Four General Categories of


Embedded Systems

General Computing
Applications similar to desktop computing, but in an embedded
package
Video games, set top boxes, wearable computers, automatic
tellers
Control Systems
Closed loop feedback control of real time system
Vehicle engines, chemical processes, nuclear power, flight control
Signal Processing
Computations involving large data stream
Radar, Sonar, video compression
Communication & Networking
Switching and information transmission
Telephone system, Internet
EE 445L Bard, Valvano
1/27/2010

16

Types of Embedded System


Functions
Control Laws
PID control
Fuzzy logic, ...
Sequencing logic
Finite state machines
Switching modes between control laws
Signal processing
Multimedia data compression
Digital filtering
Application specific interfacing
Buttons, bells, lights,...
High speed I/O
Fault response
Detection & reconfiguration
Diagnosis
Courtesy Intel

EE 445L Bard, Valvano


1/27/2010

17

The last fighter pilot has already been


born.

EE 445L Bard, Valvano

18

Distinctive Embedded
System Attributes
Reactive: computations occur in response to external events
Periodic events (e.g., rotating machinery and control loops)
Aperiodic events (e.g., button closures)

Real-Time: timing correctness is part of system correctness


Hard real-time
Absolute deadline, beyond which answer is useless
May include minimum time as well as maximum time
Soft real-time
Missing a deadline is not catastrophic
Utility of answer degrades with time difference from deadline
Example:
a train is entering an urban area...
the railway gate in the city allows automotive traffic to go over the tracks
when should the railway gate close?
In general,
Real Time does not equal Real Fast
EE 445L Bard, Valvano
1/27/2010

Courtesy Intel

19

Typical Embedded System


Constraints
Small Size, Low Weight
Handheld electronics
Transportation applications weight costs money
Low Power
Battery power for 8h to 10y (laptops often last only 2 hours)
Limited cooling may limit power even if AC power available
Harsh environment
Heat, vibration, shock
Power fluctuations, RF interference, lightning
Water, corrosion, physical abuse
Safety critical operation
Must function correctly
Must not function incorrectly
Extreme cost sensitivity
$.05 adds up over 1,000,000 units
Courtesy Intel

EE 445L Bard, Valvano


1/27/2010

20

Vous aimerez peut-être aussi