Detecting Memory Issues Using Valgrind

Detecting Memory Issues Using Valgrind

Valgrind is a software development tool for memory debugging, memory leak detection, and performance profiling. 1 Installing Valgrind You can download the latest source package from the official website: Valgrind official download, or directly use the c_utils/debug/valgrind directory provided valgrind-3.13.0.tar.bz2 source package. First, extract the source package tar xjf valgrind-3.13.0.tar.bz2 Enter the extracted directory and … Read more

Automatic C Code Generation from Classic CAN/CANFD DBC

Automatic C Code Generation from Classic CAN/CANFD DBC

Table of Contents 1 Install Python and Cantools 1.1 Check Installed Python Packages 1.2 Install Cantools Plugin in Python 1.3 Get More Updates on Cantools 2 Automatic C Code Generation from Classic CAN/CANFD DBC 2.1 Explanation of the Batch File CAN_DBC_To_C.bat 2.2 Requirements for Classic CAN/CANFD DBC Files 2.3 How to Use the Generated C … Read more

Download and Install Keil4 Tutorial

Download and Install Keil4 Tutorial

Keil4 (32/64 bit) download link: Baidu Cloud: https://pan.baidu.com/s/1nwGyi97 Extraction password: vbsj Software Introduction: Keil is a C language software development system for the 51 series microcontrollers produced by Keil Software, USA. KeilμVision4 introduces a flexible window management system that allows developers to use multiple monitors and provides complete visual control over window positions anywhere. The … Read more

Keil5 English Version Download and Installation Guide

Keil5 English Version Download and Installation Guide

Keil5(32/64bit)download link: Baidu Cloud:https://pan.baidu.com/s/1o934WcU Extraction Password:mecs Software Introduction: Keil is a C language software development system for the 51 series microcontrollers produced by Keil Software, USA. The new version Keil5 has an SWD download speed that is 5 times faster than Keil4, effectively enhancing development speed; Keil5 is fully compatible with Keil4, and can be … Read more

Proteus Simulation: 8-Digit Display of Different Characters

Proteus Simulation: 8-Digit Display of Different Characters

Name: 8-Digit Display of Different Characters Software: Proteus Keil 4 Language: C Language Usage Instructions: In this example, through the Proteus simulation named: 8-Digit display dynamically shows multiple different characters, dynamically scanning to display 0~7. Example Image: Proteus Simulation – 8-Digit Display of Different Characters Code: /* Name: 8-Digit Display of Different Characters Description: The … Read more

Introduction to Assembly Language: A Machine-Oriented Programming Language

Introduction to Assembly Language: A Machine-Oriented Programming Language

Assembly language is a low-level language used for electronic computers, microprocessors, microcontrollers, or other programmable devices, also known as symbolic language. In assembly language, mnemonics replace the operation codes of machine instructions, and address symbols or labels replace the addresses of instructions or operands. Assembly language corresponds to different machine language instruction sets on different … Read more

Combining Programming Concepts of PC and Embedded Systems

Combining Programming Concepts of PC and Embedded Systems

I am Lao Wen, an embedded engineer who loves learning. Follow me, let’s become better together! The first step is to look at embedded issues from the perspective of PC programming; The second step is to learn to use embedded programming concepts; The third step is to combine the ideas of PC and embedded systems … Read more

Analysis of Embedded Programming vs PC Programming

Analysis of Embedded Programming vs PC Programming

In China, very few friends in embedded programming are formally graduated from computer science majors; most come from automation or electronics-related fields. These individuals have rich practical experience but lack theoretical knowledge; a large portion of those who graduated from computer science end up working on online games or web applications that are independent of … Read more

Ultimate Guide to Python ctypes: Mastering C Language Interface

Ultimate Guide to Python ctypes: Mastering C Language Interface

Python ctypes: Unlocking the Perfect Dialogue with C Language! Hey, Python enthusiasts! Today we are going to unveil a super cool skill – ctypes! Want to know how Python seamlessly connects with C language like a transformer? Want to break through Python’s performance ceiling and directly manipulate low-level memory? Let’s explore this magical world together! … Read more

C Language Final Exam Review Summary and Question Bank

C Language Final Exam Review Summary and Question Bank

The final exam is here! How has this semester been for you? Students who are not very confident don’t need to worry, the senior will gradually share final exam materials to help everyone prepare! Today, I bring youa summary of key points for the C language final exam + question bank! Students in need should … Read more