Source Code + Design Documentation | C Language Implementation of Memory Pool Manager

Source Code + Design Documentation | C Language Implementation of Memory Pool Manager

Recommended reading with complete source code | C Language Implementation of Library Management System (Data Persistence Version) with complete source code | C Language Implementation of Student Information Management System C Language Functions: From Beginner to Proficiency, a comprehensive article to thoroughly understand C Language Pointers: From Beginner to Proficiency, a comprehensive article to thoroughly … Read more

STM32 Gateway Performance Avalanche: Packet Loss and System Freeze with Multiple Connections, Resolved with LwIP and Custom Memory Pool

STM32 Gateway Performance Avalanche: Packet Loss and System Freeze with Multiple Connections, Resolved with LwIP and Custom Memory Pool

This is a project experience shared by a colleague of mine. They developed an industrial gateway based on STM32F767 for a factory, which is used for: Collecting data from multiple Modbus/485 sensors Uploading data to the dispatch server via TCP/UDP protocol Supporting up to 32 devices connected simultaneously (LwIP + RAW API) Initial small-scale tests … Read more

Say Goodbye to Memory Fragmentation! A Perfect Solution for Memory Pool in Embedded Systems

Say Goodbye to Memory Fragmentation! A Perfect Solution for Memory Pool in Embedded Systems

Hello everyone, welcome to Lixin Embedded. Recently, while optimizing an industrial control project, I encountered the age-old problem of dynamic memory allocation once again. First, let’s talk about dynamic memory allocation. When coding on a PC, using new to create an object and delete to remove it is quite normal. Not enough memory? Just add … Read more

TCP/IP Communication Protocol (2) – LwIP Memory Management

TCP/IP Communication Protocol (2) - LwIP Memory Management

5. LwIP Memory Management 1. What is Memory Management? (1) Memory management refers to the techniques used for the allocation and utilization of computer memory resources during software execution. Its main purpose is to efficiently and quickly allocate memory and to release and reclaim memory resources at appropriate times (similar to the malloc and free … Read more

C Language Essentials: In-Depth Analysis of Dynamic Memory Management

C Language Essentials: In-Depth Analysis of Dynamic Memory Management

Click the blue “One Click Linux” in the upper left corner, and select “Set as Favorite“ Get the latest technical articles first ☞【Essentials】Learning Path for Embedded Driver Engineers ☞【Essentials】Linux Embedded Knowledge Points – Mind Map – Free Access ☞【Employment】A Comprehensive IoT Project Based on Linux for Your Resume ☞【Employment】Resume Template Dynamic memory management is a … Read more

Memory Management Implementation in Embedded Systems: From Static Allocation to Dynamic Memory Pools

Memory Management Implementation in Embedded Systems: From Static Allocation to Dynamic Memory Pools

Memory Management Implementation in Embedded Systems: From Static Allocation to Dynamic Memory Pools Introduction In resource-constrained embedded systems, the efficiency and reliability of memory management are particularly important. This article will detail commonly used memory management techniques in embedded systems, from simple static allocation to complex dynamic memory pool implementations. Static Memory Management Fixed Partition … Read more