20
Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms his slides are inspired/copied from Dr. Mark Brehob’s lecture slides

Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Embed Size (px)

DESCRIPTION

About this course Class Evaluation. 15 %: Midterm %: Final. 35 %: Assignments. 10 %: Attendance / Class Participation / Quizzes.

Citation preview

Page 1: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Embedded Software Design

Week IClass IntroductionCourse Coverage

Hardware Platforms

* Some of this slides are inspired/copied from Dr. Mark Brehob’s lecture slides

Page 2: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Welcome• Embedded Software Design Course

• Learn about embedded hardware• Learn about embedded Linux• Working as a group• Research new platforms

• New realm, new world!

Page 3: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

About this course•Class Evaluation.•15 %: Midterm 1-2•40 %: Final. •35 %: Assignments.•10 %: Attendance / Class Participation / Quizzes.

Page 4: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

References• PTR - Embedded Linux Primer - A Practical Real-World Approach 2nd

Ed. 2011• O'Reilly - Raspberry Pi Cookbook 2014• Various Raspberry Pi books…

• Web site• http://ceng.anadolu.edu.tr/Ders.aspx?dersId=128

Page 5: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Today• Class intro• Grading, schedule, etc

• A bit on embedded systems• Run Raspberry Pi• Check other platforms

Page 6: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Class Introduction• You will form project groups of two• Your group will make a requirements document, schedule, create a budget,

and divide up the work.• Apply project management tools (tickets, source control etc.)

• Each group should• have one Raspberry Pi platform• pick one term project• explain progress each week• have one side project (research) and again explain their progress each week

Page 7: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

About Projects• Do not buy all sensors and peripherals until your project subject is

definite

• You will be working by yourself on researching and learning material without an instructor’s guidance• The project will be done without lecture to guide you.

• Each group will be doing something different and your group will be more expert than the instructor or GSI on the topic (at least by the time you are done…)

Page 8: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Prerequisites• A decent Linux knowledge• Shell• Basic configuration• Fundamental knowledge of working mechanism

• A decent C/C++ knowledge• Functions, Arrays, pointers• Gcc, gdb etc.

• Elementary python knowledge

Page 9: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Class Structure & Staff• Course : 3 hours / week• 2 hours of lecture• 1 hour of demonstration

• If you miss the class, you will get penalty

• Reha Oğuz Altuğ• [email protected]• Office hour

• Tuesday 14:00 – 15:00

Page 10: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Project• You will work in groups of 2 on designing and building an embedded

system of your choosing• There will be an emphasis on having a reliable system in place.

• There will be a number of due dates (proposal, milestones, final project)• There will be a degree of formalism in your reports and presentations.• You have significant design freedom.

• The only real restrictions are that it has to use a raspberry processor, be doable in the time given, be technically interesting, and do something useful or interesting. • We don’t expect groups will make a PCB.

• As you think of ideas, please feel free to run them past me.

Page 11: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Exams• We will have two midterms

• Characteristics:• Fill in the blanks• Multiple options• Explanations of some definitions and subjects• Designing a system• Writing programs

Page 12: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Class participation & Quizzes• Class participation will be a part of the final grade as there will be

quizzes

• There will be 4 or 5 quizzes

• Basically I want you to be there to learn and so the presenters aren’t the only ones there.

Page 13: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Raspberry Pi• Broadcom BCM2836 (CPU, GPU, DSP, SDRAM, one USB port)• 900 MHz quad-core ARM Cortex-A7• 1 GB (shared with GPU)• 4 USB Ports (via the on-board 5-port USB hub; one USB port internally

connected to the Ethernet port)• HDMI, composite video (PAL and NTSC) via 3.5 mm TRRS jack shared

with audio out

Page 14: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Raspberry Pi Cont’d• MicroSDHC slot• 0/100 Mbit/s Ethernet (8P8C) USB adapter on the third/fifth port of

the USB hub (SMSC lan9514-jzx)• 17× GPIO plus the same specific functions, and HAT ID bus• 800 mA(4.0 W)• Micro-USB cable or a serial cable with optional GPIO power connector

Page 15: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Raspberry Pi Cont’dRaspberry Pi 1 Model B Raspberry Pi 2 Model B

Page 16: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Raspberry Pi Fundamentals• Performance• Demand for performance leads to more power consumption (power supply).• Overclocking

• SD Card speed

• Networking• RTC

Page 17: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Installing Raspberry Pi• Prerequisites• Raspberry Pi• SD card (Min 4 Gb, 16 Gb recommended)• SD card reader• Internet connection• Wired cable for online install• Mouse, keyboard, HDMI cable and HDMI display (or converters)

• Follow this guide• https://www.raspberrypi.org/learning/noobs-install/

• Qemu (Emulator for windows)

Page 18: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Raspi-config

Page 19: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Shutting down• From graphical display

• From terminal• ~> sudo halt• ~> sudo reboot

• Need to un-plug power cable

Page 20: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs

Networking• Needs DHCP server• Finding your IP address• ifconfig

• Static IP address• Wireless• SSH• VNC