440 likes | 702 Views
www.huins.com. 2. ? ?. Embedded System ??Embedded System ?? ?? ? ??Embedded System HardwareEmbedded System Software. www.huins.com. 3. 1.1 Embedded System ??. Embedded??Micro processor ?? Micro controller? ??(embed)?? ?? ???Hardware? Software? ???? ????.?? ??? ??? ????.?? ??, ?????
E N D
1. 1. Embedded System? ??
2. www.huins.com 2 ? ? Embedded System ??
Embedded System ?? ?? ? ??
Embedded System Hardware
Embedded System Software
3. www.huins.com 3 1.1 Embedded System ?? Embedded??
Micro processor ?? Micro controller? ??(embed)?? ?? ???
Hardware? Software? ???? ????.
?? ??? ??? ????.
?? ??, ?????, ???? ??, ? ?? ? ???? ??? ??? ???? PC? ??, ? ?? ?? ? ?? ??? ??? ??
PC? ??( ??? ??, ??? ??)
??? ?? ?? ??
?? ?? ?? ??(TV ???, ?? ???)
???? PDA? ?? Embedded System??? ?? ???? ?? ?? ??.
4. www.huins.com 4 1.2 Embedded System ???? Home Automation & Home Networking
?? ??? Microprocessor ?? Microcontroller? ???? ??? ?? ? ?? ?? ????? network? ?? ?? ???? ??? ?? ??, ?? ?? ? ? ?? ??? ???.
Example
?? ?? ?? ??
?? ?? ???
?? ??/?? ?? ??
?? ??? ?? ?? ?? ??( TV ??, ???, ???, ??? ?)
??? ??? ?? ?? ?? (TV, ??? ?)
5. www.huins.com 5 1.2 Embedded System ????(1) Home Automation & Home Networking ( cont )
6. www.huins.com 6 1.2 Embedded System ????(2) ?? ???
PDA, ???, ?? ??? ?
7. www.huins.com 7 1.2 Embedded System ????(3) ????
???, ??? ?? ???? ??
8. www.huins.com 8 1.2 Embedded System ????(4) Factory Automation
?? ??? ?? ? ???? ??? ???
???? ??? ?? ?, ????? ??? ????? ??? ?? ?? ??? ?? ?? ??? ?? ??? ??? ????? ?? ???? Embedded System? ??
9. www.huins.com 9 1.2 Embedded System ????(5) ???
10. www.huins.com 10 1.2 Embedded System ????(6) ?? ?? ???
11. www.huins.com 11 1.3 Embedded System ?? ?? 2002? ???? ??? ????
? 1,000? ?? ??
Embedded Software ?? : ? 200? ?? ??
?? ?? 20%? ???
2007? ? 500? ?? ???? ?? ??(RCW Mirus, 2001)
2002? ?? ????
?7? 8? ?? ??
2007?
1? 9? 5? ?? ??? ?? ?? (?????????, 2002)
12. www.huins.com 12 ??
????, OS, ???? ? ? ??? ??
??? ??/??? Embedded S/W? 21?? ?? ??? ????, ?? 4?? ?? ??? ????? ??
??
????, ???? ?? ?? ??? ??
??/??? Embedded S/W? '99??? 7?? 3? 8??? ??
??
??? ??? Ubiquitous ???? ??? ?? ?
84??? TRON ???? ?? Embedded OS? ??, ?? ? ????? ?? ?
13. www.huins.com 13 ??) TRON ????? TRON??? ?? ?? ?? ??? ???? ??? ???? ??? ???? ???? ??? ??. ?? ??? ?? ???? ???? ??? ??? ?? ??? CPU? ??? ?????? ???? ?? ???? ?? ?? ?? ??? ??? ???? ????? ?? ??? ??? ??? ???? ????? ?? ?? ???? ???? ?? ?? ???? ??? ??? ? ??? ???? ???? ???? ??. ??? ??? ???? ???? ?? ??? ??? ???? ?? I ??, ???? ???? ?? ?? ?? ??? ???? ?? B ?? ??? ??? ???? ????? ??? ???? ?? M ?? ??? ?? ?? ?? ??? ????? ???? ???? ????? ??? ????? ?? C ?? ?? ??
14. www.huins.com 14 1.4 Embedded System H/W Microprocessor
????? ??? ??
8bit/16bit/32bit
Arm ??, Power PC ??, MIPS ??
Memory
???? ? data ??
RAM/ROM/FLASH memory
Peripheral device
????? I/O, Microprocessor ??? ?? devices
Key button, touch screen, LCD
Network interface chip, Sound codec, UART chip
15. www.huins.com 15 Embedded System H/W ?? ?? ??? ???? ?? : ??? ??? ??? ?? ??
????
??? ???? ??: 32?? ?? => 64?? ??? ??.
???? ?????, DSP, ?? ?? ?? H/W ??
???
???? DRAM
FLASH ???? ????.
????
?/?? ????? ???? ???? ??.
SOC (System-on-a-chip)
CPU, ???, DSP, ???? ?? ? ??? ??? ??
??? ? PCB??? CPU?, ??? ?, ???? ? ?? ?? ???? ??.
? ?? ???? ??? ??? IP(Intellectual Property ?? ?????)? ???? ? ?? ??? ??
Post-PC ??? ???? ??? ??
???, ???, ???, ???, ???, ??? ??? ?? ??
16. www.huins.com 16 1.5 Embedded System S/W System software
System? ????? ???? ???????? ???? ??? ? ?? ????? ??? interface? ???? software
?? ??
Linux, Window XP Embedded, Window CE, VxWorks, uC/OSII
Device drivers
Device? ???? ?? interface ??
Application software
?? ??? ??? ???? software
PDA? ?? ?? software
???? ?? ???(game, ???, ?????)
17. www.huins.com 17 Embedded OS Embedded Linux
Embedded Real-time OS
Nucleus RTOS
Monta vista Linux
Window CE
Symbians EPOC
Palm OS
Qplus
Tiny OS
18. www.huins.com 18 ????? ???? ????? ?? ?? ???? ?????? ?? ??? ??
???, D-TV, ???, ?? ?? ??
??, ??? ? ??? ??? ?? ??
???? ?? ???? ??? ??? S/W ?? ???? ???? ?? ??
Embedded Everywhere
Smart Home/Town
??? ?????
??, ??, ??, ??, ??, ??, ??
Ubiquitous Korea
19. www.huins.com 19 Embedded S/W ??
20. www.huins.com 20 ?? ?????Embedded S/W ??
21. www.huins.com 21 ??? ???? ???Embedded S/W ??
22. www.huins.com 22 MICROS Micro Information Communication Remote Object-oriented Systems
??? ?? ???????
IEEE802.15.4 ??? ??? ?? ????
??
?? (Sensing), ??(Tracking), ??(Monitoring), ???(Actuator)
??
??, ?? ?? ???, ???
23. www.huins.com 23 RISC ???? ?? ?? ??? ??????? ???? ????.
?? ??? 1?? ??? ??? ????.
??? ?? ??.
??? ??? ?? ??.
????? ?????? ?? ??
??? ??? ?? ? ??? ???? ?? ??? ???? ??.
?? ????? ?? ??.
???? ????? ?? ????? ???? ????.
24. www.huins.com 24 ARM ???? ADS Code Generation Tools - C and Embedded C++ compilers, Assembler, Linker for ARM and Thumb instruction sets
An Integrated Development Environment for Windows
- CodeWarrior IDE from Metroworks (PC version only)
Powerful GUI debugger
Instruction set simulators
ROM-based debug tools (ARM Firmware Suite)
ARM cores and processors, ARM9E, ARM10, Jazelle, XScale
ARM Applications Library
Real Time Debug and Trace ??
25. www.huins.com 25 ARM ???? MultiICE 400 MHz?? 130KB/s ?? ????
???? ARM ???? ???
ARM7, ARM9, ARM9E,ARM10,?? XScale ??
Low voltage ?? ???
??? ???? ?? ????
???? ?? ?? ??? ?? I/O ??? (?, printf)
26. www.huins.com 26 ARM Program
27. www.huins.com 27 7 Processor Modes
28. www.huins.com 28 37 Total Register 31 general-purpose registers
The unbanked register, R0-R7
: refers to the same 32-bit physical register in all processor mode
The banked register, R8-R14
: refers to depends on the processor mode
Register15, PC
6 status register
29. www.huins.com 29 The Register Organization
30. www.huins.com 30 Program Status Registers Flag Bit
N : negative
Z : zero
C : carry
V : overflow
Q : DSP overflow/saturation
Control Bit
I : irq disable
F : fiq disable
T : thumb execution
31. www.huins.com 31 The features of the ARM architecture a 32-bit load/store architecture.
37 total registers for 7 processor modes:
Conditional execution of instructions
ARM (all instructions)
Thumb (one instruction)
32. www.huins.com 32 32-bit load/store Architecture ????? ?? ??? ???? ??? ????? ?? ????? ???.
load instructions : ??? ?? ????? ??
store instructions:
???? ?? ???? ??
Single/multiple Load/Store instructions.
33. www.huins.com 33 Pipeline Comparison
34. www.huins.com 34 ARM9TDMI Processor Core ARM 32-bit and Thumb 16-bit instructions (v4T ISA).
Very high code compatibility with ARM7TDMI:
Portable to 0.25, 0.18 m CMOS and below.
Harvard 5-stage pipeline implementation:
Higher performance from reduced cycle per instruction (1.5)
Coprocessor interface for on-chip coprocessors:
Allows floating point, DSP, graphics accelerators.
EmbeddedICE debug capability with extensions:
Hardware single step
Breakpoint on exception.
35. www.huins.com 35 TDMI Thumb:
32-bit ARM instruction set? 16-bit ???
Debug:
On-chip debug ??, debug request? ??, processor halt.
Multiplier:
A full 64-bit result
EmbeddedICE Logic:
?? ICE(In-circuit emulator)
JTAG ? ?? ???? ?.
On-chip breakpoint? watchpoint? ??
36. www.huins.com 36 Thumb 16-bit Instructions 32-bit ARM instruction set? ???
?? ??? ???? ? ?? ???? ???
?? ??? ???.
A Thumb enabled ARM
32-bit ARM? 16-bit Thumb instructions? ?? ??
ARM and Thumb code ???? ?? ??? ????
branch with exchange (BX) instruction? ?? ?? ??
Instruction?? 16-bit??.
37. www.huins.com 37 ARM7TDMI Block Diagram Decode???? 16-bit Thumb ??? 32-bit ARM ???? ???? decompression diagram
38. www.huins.com 38 Thumb Benefits
39. www.huins.com 39 Thumb Benefits Thumb programs typically are:
~30% smaller than ARM programs
~30% faster when accessing 16-bit memory
Thumb reduces 32-bit system to 16-bit cost:
Consumes less power
Requires less external memory
40. www.huins.com 40 Debug Extensions The D debug extension adds:
Scan chains around the core.
Scan chain? ??? ?? A test access port (TAP) controller ??
JTAG(Joint Test Action Group) boundary scan test architecture? ???.
Macrocell testusing an extension of the JTAG architecture
The I EmbeddedICE Logic adds:
Breakpoints? watchpoints ?? ??
use the debug features of the core.
A scan chain to communicate with the EmbeddedICE Macrocell.
41. www.huins.com 41 EmbeddedICE feature Scan Chain 0, Scan Chain 1? the TAP controller +
the EmbeddedICE logic plus Scan Chain 2
PC parallel port ? ?? ???? the Multi-ICE protocol converter? ?? debud code ????
Multi-ICE? EmbeddedICE ? ASIC ?? processor? ??? debugging? ???? ??
42. www.huins.com 42 ARM9TDMI
43. www.huins.com 43 ARM920T
44. www.huins.com 44 System on Chip
45. www.huins.com 45 SoC Design Flow