Basic Introduction to PROFIBUS Communication

Basic Introduction to PROFIBUS Communication

Click the blue text to follow us PROFIBUS (Process Field Bus) is a widely used communication protocol in the field of industrial automation. It was developed by Siemens in the early 1980s and standardized in the 1990s. PROFIBUS enhances the level of automation in industrial production by enabling efficient and reliable communication between devices. 1.Development … Read more

Practical Sharing: Modbus Communication Programming Examples – An Exciting Series!

Practical Sharing: Modbus Communication Programming Examples - An Exciting Series!

Modbus Communication Programming Example (1) Recently, I have been writing about Modbus and fieldbus introductions separately, which are more conceptual and do not involve specific examples. Many readers may still find it insufficiently detailed. Since I am no longer engaged in specific programming debugging, providing direct examples is quite challenging. I referenced some materials from … Read more

Communication Between S7-200 SMART and Weighing Instruments via MODBUS Library

Communication Between S7-200 SMART and Weighing Instruments via MODBUS Library

First, we will introduce our hardware preparations. 1. A weighing instrument that supports the Modbus protocol Weighing instrument that supports the Modbus protocol 2. Set the communication parameters of the instrument You can adjust according to your requirements, as long as it matches the PLC side. Baud rate: 9600 Data format: 8n1: 8 data bits … Read more

Collection of 20 Types of Frequency Converter Modbus Communication Register Allocation Tables

Collection of 20 Types of Frequency Converter Modbus Communication Register Allocation Tables

I have previously worked with microcontrollers and various models of frequency converters including Mitsubishi D700, Siemens G120, Omron 3G3JZ, Panasonic VF200, Delta VFD-M, Xinjie VB3, Yonghong FID-B10, Chande IS7, Inovance MD500, Invt Goodrive10, Schneider ATV12, Haiwei E, Holley HGD303, Taian F510, Hexin F2A, Rockwell PowerFlex-4, Fuji FRENIC-VP, Boke CV20, Yaskawa A1000, and Weichuang Artrich-AR60T. Most … Read more

Troubleshooting SWD Connection Issues with Your Board

Troubleshooting SWD Connection Issues with Your Board

The board is ready, and the MCU is soldered, but the SWD cannot connect, and the program cannot be downloaded. What should I do? This issue seems to occur frequently, so I would like to share some recent cases I encountered. 1) Case 1: Engineer A made 5 boards, but none could connect. After confirming … Read more

Q&A with Experts: Unable to Program QSPI Flash in Original Mode During JTAG Boot

Q&A with Experts: Unable to Program QSPI Flash in Original Mode During JTAG Boot

Problem Description In the Zynq 1.0 version chip, I attempted to program (erase/write/read) the QSPI in the original mode, but the code hangs when booting in JTAG mode. Solution When the QSPI flash is in the original mode, MIO[5] is connected to the HOLD signal. To ensure that the HOLD signal is not held low … Read more

Mastering JTAG Tools: Using JTAG Probe to “Reverse Engineer” Hardware Circuits

Mastering JTAG Tools: Using JTAG Probe to "Reverse Engineer" Hardware Circuits

On various second-hand websites, you can often find boards that lack accompanying documentation (such as schematics), and these boards are relatively inexpensive. If purchased in bulk, they can be used as development boards. The first challenge is to “reverse engineer” the schematics for subsequent routine development. Currently, there are two software tools that can assist … Read more

C++ Debugging Techniques: Efficient Use of GDB and Breakpoints

C++ Debugging Techniques: Efficient Use of GDB and Breakpoints

# C++ Debugging Techniques: Efficient Use of GDB and Breakpoints Debugging is a crucial part of software development, and using tools to help us identify issues in our code can significantly enhance our development efficiency. For C++ developers, GDB (GNU Debugger) is a powerful debugging tool. This article will detail how to use GDB in … Read more

A Step-by-Step Guide to Debugging ARM Programs Using VSCode, gdb, and gdbserver

A Step-by-Step Guide to Debugging ARM Programs Using VSCode, gdb, and gdbserver

Click on the above “Embedded Miscellany” to select “Top Public Account” to view embedded notes at the first time! In embedded software development, the most commonly used debugging methods are: log printing debugging and online debugging. Related articles on log printing debugging: Can’t solve the bug? Use the logging method. When developing STM32, we have … Read more