Week 1 - Introduction To Embedded System
Week 1 - Introduction To Embedded System
Embedded Systems
Nội Dung
Thiết bị di động
TV
Quân đội
Văn phòng
Hàng không
Viễn thông Công nghiệp
Hệ thống nhúng
5
Hệ thống nhúng
Trước khi viết chương trình cho một hệ thống nhúng, bạn phải
quen thuộc với phần cứng mà phần mềm chạy trên đó.
Mỗi khi nhận một board mới, bạn nên dành thời gian để đọc
những tài liệu đi kèm như “User’s Guide” hoặc “Programmer’s
Manual” mà được viết riêng cho người thiết kế phần cứng
hoặc phần mềm. Sau đó tìm cách trả lời câu hỏi:
Mục đích thiết kế tổng quát của board này dùng để làm gì?
Kỹ thuật thứ hai là interrupts. Interrupt là các tín hiệu có thể được tạo ra
từ các ngoại vi bên ngoài hoặc bên trong và truyền tới vi xử lý để thông
báo một sự kiện nào đó xảy ra.
Cách để học một phần cứng
Học cách giao tiếp, truyền nhận
Cách để học một phần cứng
Tìm hiểu về vi xử lý
What address does the processor jump to after a reset?
What is the state of the processor's registers and peripherals at reset?
What is the proper sequence to program a peripheral's registers?
Where should the interrupt vector table be located? Does it have to be
located at a specific address in memory? If not, how does the processor
know where to find it?
What is the format of the interrupt vector table? Is it just a table of pointers
to ISR functions?
Are there any special interrupts sometimes called traps that are generated
within the processor itself? Must an ISR be written to handle each of
these?
How are interrupts enabled and disabled? Globally and individually?
How are interrupts acknowledged or cleared?
Cách để học một phần cứng
Khởi tạo phần cứng