Download presentation
Presentation is loading. Please wait.
Published byAlbert Sherman Richard Modified over 6 years ago
1
EMBEDDED SYSTEM SOFTWARE AND RTOS BASICS DIAGRAMS
Embedded Systems Software Training Center EMBEDDED SYSTEM SOFTWARE AND RTOS BASICS DIAGRAMS
2
Software embedded in an equipment and in LSI
DSP – Digital Signal Processor LSI – Large Scale Integration
3
Breakdown of the total development cost in the operating department
The cost of software development accounts for 40% of total development costs.
4
Types of targeted processors
The 32 bits era
5
Programming languages
Mainstream is C language
6
Processor Basics RF CPU MCU SoC Peripherals Control Unit transceiver
Memory Peripherals Control Unit RF ALU transceiver Registers Bus CPU MCU SoC
7
Processor Register Set of M16C
2 banks of general-purpose registers 4 16-bit data registers R0 - R3 Upper and lower bytes of registers R0 and R1 can be used as 8-bit registers (R0L, R0H, R1L, R1H) 2 16-bit address registers A0 & A1 Can access pairs of registers as 32-bit registers: R2R0, R3R1, A1A0 Bank 0 Data register Bank 1 PC Program Counter R0 データレジスタ アドレスレジスタ Frame base register R0 R1 R2 R3 A0 A1 FB R0H R0H R0L INTB Interrupt table register R1 R1H R1L R2 R3 Address register USP User Stack Pointer A0 ISP Interrupt Stack Pointer A1 SB Static base register Frame base register FB FLG Flag register Copyright © 2011 DSR Corporation
8
Bus Slave Selection Port enable (chip select)
Only one slave device is active and accepts requests from the bus Decode address: get the most significant bits of the address Memory Map Port enable 0x0000 Memory 1 Master Slave Slave 0x4000 Memory 2 CPU Memory 1 Memory 2 0x8000 EN EN Address Decoder “00” active 0x1000 : 0x2000 : 0x4000 : 0x5000 : The upper 2 bits Chip Select “01” active Address signal 16-bit Copyright © 2011 DSR Corporation
9
References Embedded systems:
Raj Kamal, “Embedded Systems: Architecture, Programming and Design – 2ed” Christof Ebert, Jurgen Salecker, “Embedded Software-Technologies and Trends” Steve Heath, “Embedded Systems Design - 2ed” Michael Barr; Anthony J. Massa, “Programming embedded systems: with C and GNU development tools” System and local bus. M16C/60, M16C/20, M16C/Tiny Software Manual M16C/60, M16C/20, M16C/Tiny Hardware Manual Copyright © 2011 DSR Corporation 9 9
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.