Detailed Explanation of Modbus-RTU Message Structure and Common Function Codes

Detailed Explanation of Modbus-RTU Message Structure and Common Function Codes

Detailed Explanation of Modbus-RTU Message Structure and Common Function Codes Modbus is a serial communication protocol that was published by Modicon (now Schneider Electric) in 1979 for communication with programmable logic controllers (PLCs). The Modbus protocol has now become the industry standard for communication protocols in the field of industrial control and is commonly used … Read more

Practical Insights: Application of the Modbus Protocol

Practical Insights: Application of the Modbus Protocol

The Modbus protocol is a widely used serial communication protocol in the field of industrial automation, primarily designed to facilitate data exchange between different devices (such as PLCs, sensors, instruments, and frequency converters). Its fundamental working principles can be understood from the following core dimensions: 1. Master-Slave Communication Structure Modbus employs a “master-slave” communication model, … Read more

DAP, JTAG, and Boundary Scan

DAP, JTAG, and Boundary Scan

DAP and JTAG There are various ways to connect to the Debug Access Port (DAP), which differ in cost, invasiveness, and security. The DAP allows access to the core within the chip, which is typically the first to boot or is a dedicated microprocessor used for managing chip boot, debugging, and initializing DVFS and DRAM … Read more

In-Depth JTAG Boundary Scan: Hardcore Techniques for Embedded Testing

In-Depth JTAG Boundary Scan: Hardcore Techniques for Embedded Testing

Hello everyone, welcome to <span>LiXin Embedded</span>. Today, let’s talk about JTAG boundary scan. This tool is a powerful means for testing PCB interconnections and internal chip logic, defined in the IEEE 1149.1 standard. If you haven’t read the first two articles in this series, I recommend going back to catch up on the basics of … Read more

Insurance Company with 80 Million Customers Achieves Database Localization with MogDB for Autonomous Control

Insurance Company with 80 Million Customers Achieves Database Localization with MogDB for Autonomous Control

Due to the unique nature of their business, financial institutions often hold vast amounts of customer data, including personal information, transaction records, and financial status, which are crucial to the national economy and people’s livelihoods. Therefore, ensuring data security and preventing leakage risks is particularly important. On the other hand, the various types of data … Read more

Why C or C++ is Better than Python for Embedded Systems

Why C or C++ is Better than Python for Embedded Systems

Embedded systems are specialized computing systems designed for specific tasks, often constrained by hardware limitations such as processing power, memory, and real-time requirements. When developing embedded system software, choosing the right programming language is crucial. While Python is widely used for general programming, automation, and scripting, C and C++ remain the mainstream choices for embedded … Read more

A Comprehensive Guide to CMake for Embedded Development

A Comprehensive Guide to CMake for Embedded Development

Follow and star our public account for exciting content Source: txp plays Linux Author: txp Editor: Li Xiaoyao Recently, many readers have been asking about CMake and its differences from Makefile in the group. Today, I have organized an article for everyone, which is quite lengthy, and I hope it will be helpful. Today, I … Read more

CMake: Detecting External Libraries – Using pkg-config

CMake: Detecting External Libraries - Using pkg-config

Introduction: In the previous articles, we have basically understood how to link a third-party library. This article and the next will supplement two methods for detecting external libraries. So far, we have learned two methods for detecting external dependencies: Using the built-in CMake find-module, but not all packages can be found in the CMake find … Read more

CMake: Detecting External Libraries – Custom Find Module

CMake: Detecting External Libraries - Custom Find Module

Introduction: In the previous article, we learned about one method of custom detection of external libraries in CMake. This article will demonstrate how to locate the ZeroMQ library on the system by writing a find module, enabling detection of this library on non-operating systems. ✦ Project Structure ✦ . ├── CMakeLists.txt ├── FindZeroMQ.cmake ├── zmq_client.cpp … Read more

Successful Application of CMake in Embedded Development for AIBOX’s Onboard Computing Unit

Successful Application of CMake in Embedded Development for AIBOX's Onboard Computing Unit

The technology for cross-embedded hardware platforms and operating systems is one of the core challenges in current embedded system development, especially in fields such as the Internet of Things (IoT), robotics, and industrial automation. Compatibility issues between different hardware architectures (such as ARM, x86, RISC-V) and operating systems (such as Linux, RTOS, Zephyr) urgently need … Read more