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

How to Write Embedded Linux Device Drivers

How to Write Embedded Linux Device Drivers

Word Count:4500 Content Index:⭐⭐⭐⭐⭐ Concept of Linux Device Driver System calls are the interface between the operating system kernel and application programs, while device drivers serve as the interface between the operating system kernel and machine hardware. Device drivers abstract hardware details from application programs, allowing them to interact with hardware devices as if they … Read more

How to Implement Layered Management of Applications and Hardware in MCU Projects

How to Implement Layered Management of Applications and Hardware in MCU Projects

This article mainly shares an open-source management module that helps achieve layered management of applications and hardware in an MCU project. Nowadays, project requirements are more complex, which naturally imposes stricter demands than before. From a technical perspective, I still recommend that everyone should maintain a layered structure (application and driver) in their projects. This … Read more

Arduino IDE Development Environment and Driver Installation

Arduino IDE Development Environment and Driver Installation

Click the blue text to follow us Hello everyone Welcome to 【Gao Xun Industrial Control】 Second issue This issue is brought to you by Teacher Zhang Zhirong Arduino Maker Series Basic Application Explanation Lesson Two Arduino IDE Development Environment and Driver Installation In the previous content, we learned that: Arduino consists of a microcontroller and … Read more

Unlocking C++ Embedded Development: A Complete Guide to Driver Programming

Unlocking C++ Embedded Development: A Complete Guide to Driver Programming

Embedded Systems: The “Invisible Heroes” Around Us In today’s digital age, embedded systems are like “behind-the-scenes heroes,” quietly yet omnipresently integrated into our daily lives. When you are gently awakened by a smart alarm clock in the morning, it is the embedded system running in an orderly manner behind its precise timing function; stepping into … Read more

The ‘Bridge’ Between Linux Devices and Drivers | Bus

The 'Bridge' Between Linux Devices and Drivers | Bus

1. Introduction In the Linux device driver model, a bus is an abstract concept, a special type of device. In the implementation of the device model, the kernel specifies that each device in the system must be connected to a bus, which can be an internal Bus, a virtual Bus, or a Platform bus. The … Read more