Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2012
Outline
Course Overview Embedded System Introduction Multi-Core Overview Texas Instruments OMAP Hardware Development Software and Tool Embedded Development Env. Lab
Course Overview Embedded System Introduction Multi-Core Overview Texas Instruments OMAP Hardware Development Software and Tool Embedded Development Env. Lab
Course Overview
Android system and Embedded system
File System
Course Overview
What is Embedded Android
Computing systems with tightly coupled hardware and software integration Designed to perform a dedicated function The word embedded reflects the fact that these systems are usually an integral part of a larger system, known as the embedding system Android is very well capable to be used in true embedded environments besides the obvious cell phone use case. Think about the next gen set-top box. Think home security system and appliances. Think in-car entertainment plug-ins or the next gen energy management system for your new e-car. The possibilities are endless.
Course Overview
Course Outline
Date Course OMAP3530 Bootloader and Linux Kernel
09 / 22
09 / 29 10 / 06 10 / 13
10 / 20
Websites
http://tidsp.es.ncku.edu.tw/cinfon/
Course Overview Embedded System Introduction Multi-Core Overview Texas Instruments OMAP Hardware Development Software and Tool Embedded Development Env. Lab
10
11
Samsung 6410L
Omap3530 Devkit8000
12
OS
User application File system Kernel User application File system
Non-os
Firmware
Kernel
Bootloader Hardware
Personal computer
Bootloader Hardware
Embedded system
Hardware
13
14
15
16
17
Course Overview Embedded System Introduction Multi-Core Overview Texas Instruments OMAP Hardware Development Software and Tool Embedded Development Env. Lab
18
Multi-Core Overview
Homogenous Multi-Core
Some architectures use one core design repeated consistently Example
Intel Core .
Heterogeneous Multi-Core
Some architectures use a mixture of different cores, each optimized for a different Embedded
ARM DSPData Intensive Computation IVAImage Video Audio Accelerator GPU : Graphics processing unit PC : AMD APU . Platform : PAC Duo . Phone : Nvidia Tegra2 . Qualcomm Snapdragon
Example
19
Multi-Core Overview
Heterogeneous Multi-Core
NVIDIA Tegra 2 Dual-core ARM Cortex-A9 CPU Ultra-low power GeForce GPU Video Playback Processor
20
Multi-Core Overview
SMP : Symmetric multiprocessing
More identical processors are connected to a single shared main memory Controlled by a single OS instance.
OS
Core 1
Core 2
System Bus
Core N
Memory
21
Multi-Core Overview
TI s OMAP 4 platform is one of the first dual-core, ARM Cortex-A9 MPCore SMP-based architectures and employs parallel processing for higher performance and better power efficiency. SMPs scalable performance activates only the cores that are needed for that particular process to reduce power consumption or substantially increase performance.
22
Multi-Core Overview
ASMP : Asymmetric multiprocessing
Each processor is assigned a special task. A master processor control the system. the other processors either look to the master for instruction.
Master
Slave
Slave
Core 2
Core N
System Bus
Memory
23
Multi-Core Overview
BMP : Bound multiprocessing
scheduling control of an ASMP management and hardware abstraction of SMP
Task 1
Task 3 OS
Task 3
Core 1
Core 2
System Bus
Core N
Memory
24
Multi-Core Overview
Feature Seamless resource sharing Scalable beyond dual CPU Legacy application operation Mixed OS environmen Dedicated processor by function Intercore messaging Thread synchronization between CPUs Load balancing System-wide debugging and optimization
QNX
BMP
SMP
ASMP Limited
most cases
Fast
Fast
Slower
25
Course Overview Embedded System Introduction Multi-Core Overview Texas Instruments OMAP Hardware Development Software and Tool Embedded Development Env. Lab
26
27
OMAP 2
OMAP 3
28
OMAP 5
29
OMAP35X Family
OMAP3430
Samsung i8910
Nokia N900
OMAP3530
Beagle Board
DevKit8000
30
Course Overview Embedded System Introduction Multi-Core Overview Texas Instruments OMAP Hardware Development Software and Tool Embedded Development Env. Lab
31
Memory
128MByte DDR SDRAM 128MByte NAND Flash
32
Peripheral
Serial port : RS232 voltage . TTL voltage USB port : OTG . HOST SD/MMC port, support 3.3V and 1.8V Ethernet : 10/100Mbps McSPI Interface McBSP interface I2C interface HDQ interface (HDQ/1-Wire)
33
DevKit8000 Diagram
34
Course Overview Embedded System Introduction Multi-Core Overview Texas Instruments OMAP Hardware Development Software and Tool Embedded Development Env. Lab
35
36
Target board
JTAG ISP
37
JTAG
Joint Test Action Group essentially all modern processors support JTAG when they have enough pins JTAG interface is a special four/five-pin interface added to a chip TDI (Test Data In) TDO (Test Data Out) TCK (Test Clock) TMS (Test Mode Select) TRST (Test Reset) optional.
ISP
In-system programming programming and reprogramming of many MCU. can be used to perform firmware updates at the end of theproduction line.Support : C8051 . AVR .
38
39
Command-line development tools armlink link a collection of objects an libraries into an executable image produce debug and reference information about the linked files.
the most recent set of development tools from ARM is RealView Development Suite (RVDS), which supersedes ADS
40
41
42
43
Course Overview Embedded System Introduction Multi-Core Overview Texas Instruments OMAP Hardware Development Software and Tool Embedded Development Env. Lab
44
2. Cross-development environment
The host connect with target board and use environment of host to develop on target board.
45
PC
Embedded system board environment
Program
Simulate
Execute
46
47
RS-232network
49
50
Course Overview Embedded System Introduction Multi-Core Overview Texas Instruments OMAP Hardware Development Software and Tool Embedded Development Env. Lab
51
ERROR : xxx : Permission denied Account root [#] , superuser [#] , User [$] Such as :
Chmod - Changes the permissions chmod [-R] Permission file_or_dir Chown - Change owner chown [-R] account file_or_dir sudo permitted to execute a command as the superuser sudo command sudo su "switch user" command
52
Setup ckermit
Host$ gedit ~/.kermrc
ttyS0
53
54
Toolchain_PATH
55
56
Step2 : Copy the executable file generated by cross compiler toolchain to SD Card
Host $ cp hello /media/SDC_NAME
Step3 : Operate on terminal and run the executable file on the target board
Devkit8000: # cd /media/mmcblk0p1
Devkit8000: /media/mmcblk0p1# ./hello
57