What Is CANopen Communication Protocol in PLC Control?

What Is CANopen Communication Protocol in PLC Control?

Siemens Comprehensive + Portal + EPLAN Electrical Drawing Video Recording for Sale at Low Price! Chuangkong Education Siemens Comprehensive Class Course Introduction 1. The Origin of CANopen: Where Did CANopen Come From? The CAN protocol was developed by Bosch in Germany in 1983 for network communication in automotive drive systems. It is now known as … Read more

Using RST in SWD Debugging Port

Using RST in SWD Debugging Port

1. Introduction In the development of STM32 microcontrollers, using SWD for program downloading only requires two pins. So, when do we need to use the microcontroller’s RST port? This involves the pin configuration of the microcontroller. In the CubeMX software configuration, there are five options regarding system debugging settings. If you choose SWD debugging, you … Read more

CLion Tutorial – Embedded GDB Server

CLion Tutorial - Embedded GDB Server

Operating System: Windows (MinGW or MinGW-w64) / Linux / macOS Required Tools: Debug probe with software, cross-compiler toolchain Build Targets: CMake / Makefile / Custom build targets To debug on the chip, you need to create a special run/debug configuration. In CLion, you can quickly create the following GDB server configurations using the "New Embedded … Read more

Essential Embedded C Language Macro Techniques You Must Know

Essential Embedded C Language Macro Techniques You Must Know

Word Count: 2000 Practicality Index: ⭐⭐⭐⭐⭐ 01 Macro Print Function In our embedded development, using printf to print some information is a common debugging method. However, when the amount of printed information is large, it can be difficult to know which information is printed in which function. Especially for printing exceptions, we need to quickly … Read more

Most Common Software in Embedded Engineering

Most Common Software in Embedded Engineering

To understand which software is commonly used in the electronics engineering field, we first need to look at some of the relevant technologies and industry applications. Electronics engineering, also known as “low voltage technology” or “information technology”, can be categorized roughly as shown in the figure. The applications of electronics engineering cover electric devices, as … Read more

Setting Up IAR Toolchain in CLion

Setting Up IAR Toolchain in CLion

Operating System: Windows (MinGW) / Linux Project Format: CMake When setting up a toolchain for your embedded project, you can use the IAR compiler. CLion recognizes it as a C/C++ compiler and collects compiler information. You can also open projects that use the IAR toolchain, which should load successfully. Currently, only CMake-based projects are supported. … Read more

Considerations for Using IAR Development Environment with AVR Microcontroller

Considerations for Using IAR Development Environment with AVR Microcontroller

Header File Meanings avr_macros.h includes simplified writing for reading and writing 16-bit registers, along with several bit manipulation functions. comp_a90.h provides brief writing for a large number of intrinsic functions. ina90.h includes the “inavr.h” and “comp_A90.h” files. intrinsics.h provides intrinsic functions that offer the simplest operations for handling the processor’s low-level features: sleep, watchdog, FLASH … Read more

Issues with Pack Installer During KEIL5 Installation

Issues with Pack Installer During KEIL5 Installation

When I first installed KEIL5 on my computer, I didn’t encounter any issues. However, a few days ago, my C drive got corrupted, and after reinstalling the system, I faced problems while installing KEIL5 again. After the normal installation of KEIL5, I started the PACK installation, but it kept failing. At that time, I was … Read more

Detailed Analysis of KEIL C51 Code Optimization

Detailed Analysis of KEIL C51 Code Optimization

In-depth analysis of Keil C51 bus peripheral operation issues. 1 Problem Review and Analysis In actual work, encountering repeated consecutive reads of the same port, the Keil C51 compiler did not achieve the expected results. Analyzing the assembly program generated by the C compiler found that the second read statement of the same port was … Read more