In-Depth Discussion on Embedded C Programming: Have You Libraryed?

In-Depth Discussion on Embedded C Programming: Have You Libraryed?

Libraries are powerful tools! If a device program is perfectly libraryed, it means: 1. All engineers spend minimal effort when porting or creating the device driver. 2. As the number of users increases, it becomes more stable through extensive testing, evolving into a well-deserved public code. 3. The external interface of the library (function names … Read more

Getting Started with ARM and Embedded Linux

Getting Started with ARM and Embedded Linux

You may have noticed that there are now more people doing Linux research in embedded systems than those working with WinCE. Many manufacturers also provide documentation primarily focused on Linux. I have always found it hard to understand this, as the interface of WinCE is much more visually appealing and user-friendly than that of Linux. … Read more

Linux Workshop Adventure: Exploring the Secrets of Buses, Devices, and Drivers

Linux Workshop Adventure: Exploring the Secrets of Buses, Devices, and Drivers

Click the blue text above to follow me and read beautiful articles The Linux operating system’s kernel manages various hardware devices in the system, including buses, devices, and drivers. This article will introduce the basic concepts of buses, devices, and drivers in the Linux system, as well as their relationships. By combining the relevant /sys … Read more

FreeBSD 13.5 Released with Device Driver Updates and Fixes

FreeBSD 13.5 Released with Device Driver Updates and Fixes

FreeBSD 13.5 was released on March 10, as the final update of the FreeBSD 13 series. Users should start planning to upgrade to the current FreeBSD 14 stable series or look forward to the upcoming FreeBSD 15.0 release. FreeBSD 13.5-RELEASE brings many minor software updates, such as updates for XZ, SQLite3, OpenSSH, and other applications. … Read more

Operating System in C: Device Drivers

Operating System in C: Device Drivers

Operating System in C: Device Drivers Introduction Device drivers are a crucial component of an operating system, acting as a bridge between hardware and software. Through device drivers, the operating system can control and manage hardware devices such as printers, graphics cards, and network adapters. In this article, we will delve into how to write … Read more

Detailed Explanation of VxWorks Device Drivers

Detailed Explanation of VxWorks Device Drivers

University of Science and Technology of China (Anhui, Hefei) Department of Modern Physics Fast Electronics Laboratory Author: Cao Guiping Click “Read the original text” to download the high-definition e-book For learning reference only VxWorks is a commonly used embedded real-time operating system, with applications in many fields. However, due to the lack of public source … Read more

A Simple Analysis of the Linux SPI Control Layer

A Simple Analysis of the Linux SPI Control Layer

Introduction I previously shared the control layer for I2C and mentioned that I would update the SPI section shortly. However, I was too tired and didn’t get around to it, so I apologize for the delay, haha. The SPI protocol is much simpler than I2C, but I find the software handling to be more complex … Read more

Embedded Linux: From Beginner to Abandonment (24)

Embedded Linux: From Beginner to Abandonment (24)

Four Ways for APP to Access Hardware References: Four Ways for APP to Access Hardware (64~67) Four Ways for APP to Access Hardware For example, how does a mother know if her baby has woken up while sleeping? How does a mother know if the child in the bedroom has woken up? 1. Occasionally going … Read more

How to Learn Embedded Linux for Beginners

How to Learn Embedded Linux for Beginners

Low-Level Systems Application Development If you want to do application development, then you should learn C, data structures, JAVA, and so on. There is nothing particularly different about embedded application development compared to PC application development. You might say that optimization is necessary in embedded systems, and yes, optimization is required, but an unoptimized program … Read more

Embedded Linux Driver Development: Starting with Character Devices

Embedded Linux Driver Development: Starting with Character Devices

1. What is a Character Device? First, we need to understand what a character device is. A character device is, simply put, a device that reads and writes data byte by byte, like keyboards, mice, and serial ports. Unlike block devices (like hard drives), character devices do not support random access; data must be read … Read more