lec01

20
EE 445L – Bard, Valvano 1 EE 445L – Embedded System Design EE 445L – Embedded System Design Lab 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

Upload: eric-vuong

Post on 10-Nov-2015

215 views

Category:

Documents


1 download

DESCRIPTION

lec01 embedded valvano

TRANSCRIPT

  • EE 445L Bard, Valvano*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 - Spring 2014

  • EE 445L Bard, Valvano *Todays AgendaCourse SyllabusBook/Board/GraphicsUTA basement LabYou 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 definitionsARM Cortex-M4 architecture

    EE 445L Bard, Valvano

  • Tiva LaunchPad EK-TM4C123GXL TI eStore EK-TM4C123G Free shippingDigi-Key 296-35760-ND Mouser 595-EK-TM4C123GXL Newark 73W9275 Sitronix ST7735R 128*160 Graphics18-bit color 1.8" TFT LCD display $19.99 http://www.adafruit.com/products/358Every Student Should Have A BoardTA will give instructions on installation

    EE 445L Bard, Valvano*Board/Graphics

    EE 445L Bard, Valvano

  • EE 445L Bard, Valvano *How to deal with the crowdingEE445L is ECJ1.318A10 benches and 20 chairsOpen limited hoursGo to the ID centerGet an ID card with an RFID chipExtra lab in UTA basement24-7 accessAnalog Discovery, Digilent Inc., $99www.digilentinc.com/analogdiscovery/

    EE 445L Bard, Valvano

  • EE 445L Bard, Valvano *Compiler and driversInstall compiler on your computerhttp://users.ece.utexas.edu/~valvano/arm/download.html Keil uVision 4.74 (not version 5)TExaS (includes EE319K starter files)LaunchPadDLL.dll simulates the boardBoard drivers

    EE 445L Bard, Valvano

  • EE 445L Bard, Valvano *TivawareInstall Tivaware on your computergo to http://www.ti.com/Tivaware http://www.ti.com/tool/sw-tm4c Create an accountuse UT email, www.utexas.eduStudent lab projectDownload, save, and installLook for example code\examples\boards\ek-tm4c123gxlWe will use Tivaware for wifi lab

    EE 445L Bard, Valvano

  • EE 445L Bard, Valvano *Lab ManualThis semesters lab assignments are available at:

    http://users.ece.utexas.edu/~valvano/arm/lectures2.htmlhttp://users.ece.utexas.edu/~valvano/EE345L/Labs/Fall2011/

    EE 445L Bard, Valvano

  • EE 445L Bard, Valvano*PCB Development ToolPCB 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

  • EE 445L Bard, Valvano *Lab PartnerFind a good partnerComplement each otherits O.K. to compliment alsoShared goals for the classAsk how many hours/week? 5? 10? 20?In the same lab sectionBe a good partnerWork hardSay what you mean and do what you sayFall 201416980 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

  • EE 445L Bard, Valvano *ResourcesStarter files for the book http://users.ece.utexas.edu/~valvano/arm/DownloadST7735 (Graphics)GPIO (Parallel ports)Switch (inputs)PLL (clock)Systick (timer wait)

    EE 445L Bard, Valvano

  • EE 445L Bard, Valvano*DatasheetsData sheets for Arm Cortex MCortexM_InstructionSet.pdf CortexM4_TRM_r0p1.pdf Data sheets for TM4C123 I/O portstm4c123gh6pm.pdftm4c123gh6pmErrata.pdf Data sheet for EK-TM4C123GXL kitTM4C123_LaunchPadUsersManual.pdf

    EE 445L Bard, Valvano

  • EE 445L Bard, Valvano *Section ChangesTAs and I have no authority to add/dropGo in pairs (triplets) to ECE advisor to switch sectionsWant to switch and do not have a pair?Meet in front of class and find someoneEE 445L Wiki16980 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

  • EE 445L Bard, Valvano *IntroductionWhat are embedded computing systems?Challenges in embedded computing system design.Design methodologies.

    EE 445L Bard, Valvano

  • EE 445L Bard, Valvano *What are the Big IdeasHW/SW ArchitectureNon processor centric view of architectureBowels of the operating systemSpecifically, the lower half of the OSConcurrencyReal world designperformance vs. cost tradeoffsAnalyzabilityhow do you know that your drive-by-wire system will function correctly?Application-level techniquesPower Aware Programming1/27/2010

    EE 445L Bard, Valvano

  • EE 445L Bard, Valvano *Archetypical example of an embedded system: iPhone1/27/2010

    EE 445L Bard, Valvano

  • EE 445L Bard, Valvano *Four General Categories of Embedded SystemsGeneral ComputingApplications similar to desktop computing, but in an embedded packageVideo games, set top boxes, wearable computers, automatic tellersControl SystemsClosed loop feedback control of real time systemVehicle engines, chemical processes, nuclear power, flight controlSignal ProcessingComputations involving large data streamRadar, Sonar, video compressionCommunication & NetworkingSwitching and information transmissionTelephone system, Internet

    1/27/2010

    EE 445L Bard, Valvano

  • EE 445L Bard, Valvano *Types of Embedded System FunctionsControl LawsPID controlFuzzy logic, ...Sequencing logicFinite state machinesSwitching modes between control lawsSignal processingMultimedia data compressionDigital filteringApplication specific interfacingButtons, bells, lights,...High speed I/OFault responseDetection & reconfigurationDiagnosis1/27/2010Courtesy Intel

    EE 445L Bard, Valvano

  • The last fighter pilot has already been born.EE 445L Bard, Valvano *

    EE 445L Bard, Valvano

  • EE 445L Bard, Valvano *Distinctive Embedded System AttributesReactive: computations occur in response to external eventsPeriodic events (e.g., rotating machinery and control loops)Aperiodic events (e.g., button closures)Real-Time: timing correctness is part of system correctnessHard real-timeAbsolute deadline, beyond which answer is uselessMay include minimum time as well as maximum timeSoft real-timeMissing a deadline is not catastrophicUtility of answer degrades with time difference from deadlineExample:a train is entering an urban area...the railway gate in the city allows automotive traffic to go over the trackswhen should the railway gate close?In general,Real Time does not equal Real Fast1/27/2010Courtesy Intel

    EE 445L Bard, Valvano

  • EE 445L Bard, Valvano *Typical Embedded System ConstraintsSmall Size, Low WeightHandheld electronicsTransportation applications weight costs moneyLow PowerBattery power for 8h to 10y (laptops often last only 2 hours)Limited cooling may limit power even if AC power availableHarsh environmentHeat, vibration, shockPower fluctuations, RF interference, lightningWater, corrosion, physical abuse Safety critical operationMust function correctlyMust not function incorrectlyExtreme cost sensitivity$.05 adds up over 1,000,000 units1/27/2010Courtesy Intel

    EE 445L Bard, Valvano