嵌入式系統
臺北科技大學 115-1 學期課程,課號 366418。
- 學期:115-1
- 授課教師:張世豪
- 學分:3
- 選修
- 上課時段:週三 2、3、4 節
課程大綱
An embedded system is a computing system designed for a specific function or set of tasks and integrated into a device or product. 1. Design and implement a basic communication protocol (packet format, length, checksums, error handling, and retransmission strategy). 2. Use an RTOS (such as FreeRTOS or Zephyr) to establish multitasking, synchronization (Semaphore, Queue, Mutex), and time management. 3. Create a userspace program + systemd service + simple network communication (Socket, MQTT, HTTP) on an Embedded Linux platform. 4. Write modular firmware/system services on an MCU or Linux platform, implementing GPIO, timers, UART, I2C, SPI, ADC, and PWM.
課程進度
Week 1 - Course Introduction Week 2 - Embedded introduction and installation Week 3 - Introduction to Linux Shell and Shell Scripts Week 4 - Linux GPIO / gpiod / ELF / Memory Segmentation Week 5 - UART / I2C / SPI User Mode, Device Files Concepts Week 6 - Disk Quota and Advanced File System Management Week 7 – Crontab, Multithreading (pthread) Experiments Week 8 - Interim Report and Evaluation Week 9 - Socket Programming (TCP/UDP) + Local Communication Week 10 - Introduction to RTOS real-time operating system Week 11 - MQTT or HTTP Client, Basic Data Model Week 12 - Linux Kernel Compilation and Management Week 13 - Linux Kernel Compilation and Management Week 14 - Remote monitoring (simple web interface or CLI tool) Week 15 - Linux Embedded System Special Topic Implementation Week 16 - Final report and evaluation Week 17 - Embedded System Security (Flexible Learning) Week 18 - Embedded System Security (Flexible Learning)
評量方式
Mid-term assessment: 25.0% Final assessment: 25.0% Quiz, Assessment and report evaluation: 25.0% Attendance rate: 15.0% Flexible learning assessment: 10.0%
教材
【遵守智慧財產權觀念,請使用正版教科書,不得使用非法影印教科書】 使用外文原文書:是 Book:Raspberry Pi Assembly Language Programming: ARM Processor Coding, Stephen Smith (Author). Apress; 1st edition (Oct. 2019). English, 396 pages ISBN: 1484252861