ECM583 Special Topics in Computer Systems Lecture 0. Course Introduction Prof. Taeweon Suh Computer Science Education Korea University Course Information • Instructor • Prerequisite • After class as needed By appointment at Lyceum 307 Class web • Beginning Android ADK with Arduino by Mario Bohmer, Apress, 2012 Office hours • Computer Architecture, Operating Systems, Java and Cprogramming Textbook • Prof. Taeweon Suh http://esca.korea.ac.kr/ Contact Information suhtw@korea.ac.kr 02-3290-2397 2 Korea Univ Objectives • Understand computer systems with hands-on experience with Android system and accessory board • Utilize a computer system to play with real-world electronic components • Discuss and devise lab materials for educating Computer Science to K-12 students IOIO for Android 3 Android Mega ADK Korea Univ Lab Environment • Android tablet (or phone) + ADK (Android Open Accessory Development Kit) Board USB Cable 4 Korea Univ Lab Environment (Cont.) • Hardware Nexus 7 Tablet or Personal Phone Arduino Mega ADK board • Software GUI-based Arduino development tool Android Developer Tools with Eclipse for app programming 5 Korea Univ Computer Systems • General-purpose computer systems • Embedded Systems 6 Korea Univ A Computer System (till 2008) CPU Main Memory (DDR2) FSB (Front-Side Bus) North Bridge Graphics card Peripheral devices DMI (Direct Media I/F) Hard disk USB South Bridge PCIe card But, don’t forget the big picture! 7 Korea Univ Past, Present and More… • • Core 2 Duo – based Systems Core i7 (Ivy Bridge) – based Systems CPU FSB (Front-Side Bus) Main Memory (DDR2) North Bridge DMI (Direct Media I/F) South Bridge Keep in mind that CPU and computer systems are evolving at a fast pace! 8 FDI: Flexible Display Interface SPI: Serial Peripheral Interface SMBus: System Management Bus Korea Univ iPhone Generations Original iPhone (iPhone 2G) June 2007 iPhone 3G June 2008 iPhone 3GS iPhone 4 June 2009 June 2010 iPhone 5 iPhone 4S Sep. 2012 Oct. 2011 http://apple.wikia.com/wiki/IPhone_3G 9 http://en.wikipedia.org/wiki/History_of_the_iPhone Korea Univ Smartphone War http://www.sleetherz.com/2011/10/smartphone-war-in-fatal-three-way-iphone-4svs-droid-razr-vs-galaxy-nexus/ 10 Korea Univ iPhone 4 Teardown http://www.ifixit.com/Teardown/iPhone-4-Teardown/3130/1 http://news.cnet.com/8301-13924_3-20006904-64.html GSM (Global System for Mobile communications): 2G, 3G, 4G .. 11 UMTS (Universal Mobile Telecommunications Systems): one of 3G technologies being developed into 4G Korea Univ 512MB Mobile DDR iPhone 4 Teardown Audio Codec (Cirrus Logic) Samsung flash memory (32GB): K9PFG08 GSM and more A4 Processor (ARM Cortex A8) designed by Apple manufactured by Samsung GSM (Global System for Mobile communications): 3G 12 Korea Univ iPhone 4 Teardown • Accelerometer detects when the user has rotated the device from portrait to landscape, then automatically changes the contents of the display accordingly • Proximity sensor detects when you lift iPhone to your ear and immediately turns off the display to save power and prevent inadvertent touches until iPhone is moved away • Ambient light sensor automatically adjusts the display’s brightness to the appropriate level for the current ambient light, enhancing the user experience and saving power at the same time 13 Korea Univ iPhone 5 Teardown Accelerometer Touchscreen controller A6 application processor, based off the ARMv7 ISA 1GB Elpida LP (Low Power) DDR2 integrated according to Chipworks LTE modem 16GB NAND Flash from Hynix Wi-Fi module 3-axis gyroscope http://www.ifixit.com/Teardown/iPhone+5+Teardown/10525/2 14 Korea Univ Galaxy S3 Teardown Samsung 16GB eMMC (MultiMediCard) + 64MB NAND Flash Intel Wireless Processor Exynos 4412: Quad-core A9 with 1GB DDR2 http://www.ifixit.com/Teardown/Samsung-Galaxy-S-III-Teardown/ 15 http://www.samsung.com/ Korea Univ Exynos 4412 Block Diagram PoP: Package-on-Package 16 Korea Univ Galaxy Note Teardown Flip-chip DRAM on App. Processor • K3PE7E700B-XXC1 low power 1GB DDR2 • S5PC210 Exynos 4210 : ARM Cortex A9 (Dual-core) 1.4GHz with Mali-400 MP GPU 17 Korea Univ Galaxy Note Teardown Yamaha Audio Codec Audio Processor LCD Driver STMicroelectronics’ Gyroscope 18 Korea Univ Atmega2560 Overview Timer/Counter 8-bit CPU Internal memories 4KB EEPROM 256KB Flash 8KB SRAM 19 Korea Univ Grading Policy • K-12 Education Proposal & Project: 60% • Class Presentations: 40% 20 Korea Univ Backup Slides 21 Korea Univ Atmega328 Overview Internal memories 32KB Flash 1KB EEPROM 2KB SRAM 8-bit CPU Timer/Counter Serial Peripheral Interface Universal Synchronous and Asynchronous serial Receiver and Transmitter (Serial) GPIO 2-wire Serial Interface 22 Korea Univ Present, Near Future and More… • • Core 2 Duo – based Systems CPU CPU FSB (Front-Side Bus) Main Memory (DDR2) Main Memory (DDR3) Quickpath (Intel) or Hypertransport (AMD) North Bridge North Bridge DMI (Direct Media I/F) Core i7– based Systems South Bridge DMI (Direct Media I/F) South Bridge Keep in mind that CPU and computer systems are evolving at a fast pace 23 Korea Univ