Data Visualization Host Software: The STM32 Debugging Tool STM32CubeMonitor

STM32CubeMonitor not only provides variable monitoring capabilities but also offers a rich set of components to build various styles of graphical interfaces, along with numerous free third-party components for functional expansion. Additionally, STM32CubeMonitor supports remote monitoring functionality. STM32CubeMonitor is a variable monitoring and visualization tool that connects to the target MCU via the ST-LINK’s SWD … Read more

Mitsubishi and Siemens TCP/RS485 Communication Issues and Solutions

Mitsubishi and Siemens TCP/RS485 Communication Issues and Solutions

Follow “Jicheng Training” which has focused on automation education for 14 yearsMitsubishi PLC Common Questions Q: How to change the time zone on Mitsubishi R series PLC? A: Navigate to the window – [Parameters] – [R00CPU] – [CPU Parameters] – “Run Association Settings” – “Clock Association Settings” – “Time Zone” Q: How to read the … Read more

Linux x86 Buffer Overflow Level 3: Simple Buffer Overflow, Bypassing DEP and ASLR Protection via ROP

Linux x86 Buffer Overflow Level 3: Simple Buffer Overflow, Bypassing DEP and ASLR Protection via ROP

Preparation Work Enable ASLR and DEP protection. sudo -s echo 2 > /proc/sys/kernel/randomize_va_space To enable DEP protection, simply remove the<span>-z execstack</span> option when compiling with gcc. <span>gcc -m32 -fno-stack-protector -o level3 level3.c</span> Randomized Base Address The following shows the maps situation when running level3 multiple times. First Run $ cat /proc/22020/maps 56652000-56653000 r–p 00000000 08:03 … Read more

The Top 5 Electrical Languages Supporting PLC Programming: Mastering All Makes You a Pro!

The Top 5 Electrical Languages Supporting PLC Programming: Mastering All Makes You a Pro!

Search on WeChatTechnical Training The programming languages for PLCs have distinct characteristics compared to general computer languages; they are neither high-level languages nor typical assembly languages, and they must meet the requirements of being easy to write and debug. Early PLCs only supported Ladder Diagram (LD) and Instruction List (IL) programming languages. Currently, the International … Read more

Solving Problems for Classmates | Issue 62: C++ Programming Part 3: Selection and Loop Statements

Solving Problems for Classmates | Issue 62: C++ Programming Part 3: Selection and Loop Statements

Introduction This article mainly introduces the basic usage and some considerations of selection and loop statements in C++. if Series Statements if Statement The if statement is used to determine whether to execute a certain piece of code based on a condition. Its syntax format is if(<expression>){ <statement>}</statement></expression> Look at the following code int x, … Read more

Multi-Sensor Fusion Perception – Sensor Extrinsic Calibration and Online Calibration Learning

Multi-Sensor Fusion Perception - Sensor Extrinsic Calibration and Online Calibration Learning

0. Introduction For unmanned vehicles and intelligent robots, the extrinsic calibration between various sensors during assembly has always been a challenging issue. The author has systematically studied the problems of sensor extrinsic calibration and online calibration. The following figure shows several commonly used coordinate systems, and the common extrinsic calibration issues often involve the extrinsic … Read more

Learning | 17 Essential C Programming Tips

Source: Internet 1. A pipeline can achieve maximum efficiency only when it is filled with instructions, executing one instruction per clock cycle (referring only to single-cycle instructions). If a jump occurs in the program, the pipeline will be cleared, requiring several clock cycles to refill. Therefore, minimizing the use of jump instructions can enhance program … Read more

Common Errors in C Language Programming (Part Two)

Common Errors in C Language Programming (Part Two)

Learning programming involves not only knowing that there are errors in the program and how to correct them, but also understanding where the errors are and why the computer produces such erroneous outputs. The behavior of computers is always explainable; one must understand the underlying execution logic rather than simply correcting the program. This is … Read more

Dynamic Micro Classroom (Lecture 269) | MM32F5330 Memory Protection Unit (MPU)

Dynamic Micro Classroom (Lecture 269) | MM32F5330 Memory Protection Unit (MPU)

Click the blue text to add “Star Mark ★” to follow us 1 Introduction to MM32F5330 MPU Dynamic Microelectronics has released a new high-performance MM32F5 microcontroller series equipped with the Anmou Technology “Star” STAR-MC1 processor. This series features innovations in core, bus, and peripheral configurations, and for the first time, it is equipped with the … Read more

Key Points for Adapting to Android 10: Scoped Storage

Key Points for Adapting to Android 10: Scoped Storage

This article is a supplementary extension of “First Line of Code, 3rd Edition”. The keywords to access this article are hidden in Chapter 9 of the book. Although this article was written a while ago, I thought that since the new book has just been released, it would be unlikely for anyone to read it … Read more