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

Virtual Serial Port Driver in Linux (Part 1)

Virtual Serial Port Driver in Linux (Part 1)

Introduction Recently, I prepared to implement a virtual serial port driver in Linux; however, since graduation, I have been engaged in bare-metal driver development, and thus I have gradually forgotten about device drivers in Linux. To achieve this functionality, I have searched for a lot of information online, but most of it only explains the … Read more

Installing PnP Device Drivers: A Step-by-Step Guide

Installing PnP Device Drivers: A Step-by-Step Guide

This article is an excellent contribution from the Kanxue forum. Author ID on Kanxue Forum: Suifengxing Environment Preparation VMware Workstation 14 Pro Windows 10 Pro x64 Virtual Machine VS2019 Installation in the virtual machine: VS Remote Debugger msvsmon x64dbg Windows Driver Sample /devcon (Source Code) https://github.com/microsoft/Windows-driver-samples/tree/master/setup/devcon After downloading, open it in VS. If you encounter … Read more

Virtual Serial Port Driver in Linux (Part 2)

Virtual Serial Port Driver in Linux (Part 2)

Introduction In the previous article, we briefly introduced the difference between bare-metal drivers and device drivers, as well as the driver architecture of character devices in the Linux kernel. Without an operating system, upper-layer applications directly access the driver interface, and application engineers need to know the driver interface for each device. When accessing Flash, … Read more

A Beginner’s Guide to Maximizing Computer Hardware Performance

A Beginner's Guide to Maximizing Computer Hardware Performance

Let’s Start with a Story Many people experience their computers slowing down over time due to accumulated fragmentation, eventually leading to a crash that renders them unusable. They then follow countless tutorials online to reinstall the system. After reinstalling the system, they check that the monitor, keyboard, mouse, USB ports, network ports, and wireless network … Read more

How to Solve Driver Issues on Your Computer

How to Solve Driver Issues on Your Computer

Toothache is not a disease, but it can be deadly. What is the most frustrating thing when using a computer? Driver issues. For example, if the sound card driver is abnormal, there will be no sound from music or the microphone; if the graphics card driver is abnormal, the screen will lag and operations will … Read more