Embedded Linux: Thread Synchronization (Read-Write Locks)

Embedded Linux: Thread Synchronization (Read-Write Locks)

Click the blue text above to follow us. In Linux, a Read-Write Lock provides a synchronization mechanism that allows multiple threads to read shared resources concurrently, but only one thread can perform write operations on that resource. Compared to mutexes or spinlocks, read-write locks offer higher concurrency because they have three states: read-locked state, write-locked … 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

Analysis of WiFi Configuration Script in Embedded Linux

Analysis of WiFi Configuration Script in Embedded Linux

The embedded Linux system generally supports WiFi networking, which can be achieved through sh scripts or other programming languages. This article introduces the execution principle of a script that configures WiFi using sh scripts. 1. Introduction to sh Script for WiFi Networking Here, we take the WiFi startup script in the Feilin development board as … Read more

Building a Wireless Server with WiFi on Embedded Linux

Building a Wireless Server with WiFi on Embedded Linux

Source: https://www.cnblogs.com/heat-man/p/4657157.html Previously, on the embedded Linux development board, we implemented a remote control system for smart homes from the lowest level, but it was connected to a switch using an Ethernet cable, which felt outdated. Coincidentally, while looking for a job in Beijing, I found a company that makes WiFi modules. My boss tasked … Read more

Bootloader in Embedded Linux Systems

Bootloader in Embedded Linux Systems

For embedded Linux systems, the process from powering on to the operating system startup requires a boot process, which is reflected in the boot program, known as the Bootloader. Concept and Role of Bootloader The Bootloader is the boot program for embedded systems, and it is the first program that runs after the system powers … Read more

Essential Guide to Learning C Language

Essential Guide to Learning C Language

When learning C language, always remember that “the future is bright” and “look back often.” Looking back often is an important method for learning knowledge. It means that after learning new knowledge, do not forget to review and deepen your understanding of previous knowledge. This is often the hardest thing for students to do, yet … Read more

Understanding Chip Programming Techniques

Understanding Chip Programming Techniques

When it comes to flashing firmware, everyone is familiar with it. The essence of flashing is to update all or part of the programs in the chip and external memory of embedded products. Based on the various methods of programming chips involved from PCB production to R&D debugging, assembly, and finally to the user, today … Read more

Steps for Programming IC Chips and Identifying Pin One

Steps for Programming IC Chips and Identifying Pin One

AISMT Intelligent Manufacturing Platform Identifying Pin One of the IC 1. Methods to Identify Pin One of the IC: 1. The IC has a notch mark 2. Identified by a dot 3. Identified by a dash 4. Identified by text (the first pin on the left side of the bottom row of pins when facing … Read more

The Most Comprehensive Introduction to Chip Packaging

The Most Comprehensive Introduction to Chip Packaging

Chip packaging, simply put, is the process of placing the integrated circuit die produced by the foundry onto a substrate that serves as a carrier, then bringing out the pins and securing the package into a whole. It protects the chip, acting as its shell, not only fixing and sealing the chip but also enhancing … Read more

What Is Chip Programming? Reasons for Chip Programming

What Is Chip Programming? Reasons for Chip Programming

Generally speaking, manufacturers purchase various programmable ICs from semiconductor manufacturers, and the data area is blank. Before assembly, the latest version of the control program and data can only be written using an IC programmer. This is a necessary process, more important than IC testing. Generally, it is completed by the final electronic manufacturer, which … Read more