Embedded software enggineering: Advanced harware fundamentals

Getting to know the hardware, understanding the big picture, draw your own data flow diagram, examine the landscape,. As the main contents of the lecture "Embedded software engineering: Advanced hardware fundamentals ". Each of your content and references for additional lectures will serve the needs of learning and research. | Embedded Software Engineering Advanced Hardware Fundamentals Graduate Course ESE Lecturers: Dr. Nguyen Ngoc Binh Dr. Le Quang Minh Getting to Know the Hardware How to familiarize with a new board? How to create a header file with the board’s important features? How to write software code to initialize a newboard? ESE Understanding the Big Picture Understand the general operation of the system first Read all documentations Before picking up the board should answer: What is the overall purpose of the board? How does data flow through it? ESE Draw your own data-flow diagram ESE Examine the landscape Put yourself in the processor’s SHOES! What does the processor’s world look like? The processor has a lot of compatriots! Memories: Storage and retrieval of data / code Peripherals: Coordinate interaction with outside world (I/O), or specific hardware func Examples: serial ports, timers Address Spaces (Address Book of processor) Memory Space I/O Space ESE Memory Map for Arcom | Embedded Software Engineering Advanced Hardware Fundamentals Graduate Course ESE Lecturers: Dr. Nguyen Ngoc Binh Dr. Le Quang Minh Getting to Know the Hardware How to familiarize with a new board? How to create a header file with the board’s important features? How to write software code to initialize a newboard? ESE Understanding the Big Picture Understand the general operation of the system first Read all documentations Before picking up the board should answer: What is the overall purpose of the board? How does data flow through it? ESE Draw your own data-flow diagram ESE Examine the landscape Put yourself in the processor’s SHOES! What does the processor’s world look like? The processor has a lot of compatriots! Memories: Storage and retrieval of data / code Peripherals: Coordinate interaction with outside world (I/O), or specific hardware func Examples: serial ports, timers Address Spaces (Address Book of processor) Memory Space I/O Space ESE Memory Map for Arcom Board ESE Header File Describes most important features of a board Abstract interface to hardware Refer to devices by name, instead of addresses Makes software more portable If 128 KB RAM is moved, just change header file only, and recompile program (no need to change program code) ESE Header File: Memory Map ESE Pointers v/s Address C/C++ compilers for 80x86 use 32-bit pointers Intel’s 80188EB processor: 20-bit address space 16-bit internal registers TWO 16-bit registers are required: a segment register (base address) an offset register (offset address) Physical Address 12345h: ESE I/O Map Repeat the memory map exercise to create an I/O map! ESE How to Communicate? Two basic communication techniques: polling interrupts Processor issues some commands to device Processor waits for device to complete action Timer: 1000 0 (countdown) ESE Polling: “are we there yet?” do { // Play games, read, listen to music, etc. // Poll to see if we’re there yet. status = .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
46    110    6    29-04-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.