Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this...
-
Upload
kory-houston -
Category
Documents
-
view
214 -
download
0
description
Transcript of Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this...
![Page 1: Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehobs.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/1.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/2.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/3.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/4.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/5.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/6.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/7.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/8.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/9.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/10.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/11.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/12.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/13.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/14.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/15.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/16.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/17.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/18.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/19.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070611/5a4d1bb47f8b9ab0599cdde8/html5/thumbnails/20.jpg)
Networking• Needs DHCP server• Finding your IP address• ifconfig
• Static IP address• Wireless• SSH• VNC