A Detailed Explanation of Linux Core Dumps: From Basics to Practical Applications (Part 2)

A Detailed Explanation of Linux Core Dumps: From Basics to Practical Applications (Part 2)

Hello everyone, welcome to Lixin Embedded. In Linux development, core dumps are powerful tools for debugging program crashes. However, on devices with limited storage space, core dump files that can be several megabytes in size can take up a lot of space. In the previous article, we discussed the principles and generation mechanisms of core … Read more

Breaking Through Bottlenecks: The Embedded AI Neural Continuous Learning Engine – Replay4NCL

Breaking Through Bottlenecks: The Embedded AI Neural Continuous Learning Engine - Replay4NCL

Researchers from the University of the Emirates, New York University Abu Dhabi, and the National University of Sciences and Technology in Pakistan have jointly launched an efficient memory replay method called Replay4NCL to address the challenges of continuous learning in embedded AI systems within dynamic environments. It is worth mentioning that this research has been … Read more

Intermediate PLC Functions: Dynamic Data Allocation Increases Memory Efficiency by 60%!

Intermediate PLC Functions: Dynamic Data Allocation Increases Memory Efficiency by 60%!

🔥 The fatal pain point of traditional PLC programming: memory waste and low efficiency! Do you also face such troubles? Is your PLC program running slowly, and is the efficiency of complex process handling low? Is memory insufficient, always causing headaches due to hardware limitations? Is the cost of hardware upgrades high, leaving your budget … Read more

Next-Generation Neural Processing Unit Architecture in 4nm Mobile SoC

Next-Generation Neural Processing Unit Architecture in 4nm Mobile SoC

Introduction The field of artificial intelligence is rapidly evolving, with on-chip AI capabilities shifting from traditional Convolutional Neural Networks (CNNs) to transformer-based generative AI models. This article explores the cutting-edge Neural Processing Unit (NPU) implemented in the Samsung 4nm Exynos 2400 System on Chip (SoC), designed to meet the stringent requirements of both traditional and … Read more

Memory-Saving Software Design Techniques in Embedded Programming

Memory-Saving Software Design Techniques in Embedded Programming

ID: The Last Bug Author: Unknown Bug First, let’s talk about Everyone knows that there is a significant difference between microcontroller programming and computer programming: the resources of microcontrollers are very limited, and most low-end microcontrollers do not have an operating system. Except for some embedded-level chips that use Linux, most operations are done with … Read more

Challenge: Write a Blinking LED Program in Just 100 Bytes!

Challenge: Write a Blinking LED Program in Just 100 Bytes!

This article is lengthy, with a total reading time of 10 minutes. # Author: Roff Segger, Technical Testing, Translation, and Writing at SEGGER We are testing using SEGGER’s Embedded Studio development environment: on a Cortex-M microcontroller, how much Flash memory is needed to complete a blinking LED application? Objective: · Complete a blinking application using … Read more

Understanding NumPy: The Core Library for Numerical Computing in Python

Understanding NumPy: The Core Library for Numerical Computing in Python

The core functionality of NumPy (Numerical Python) is specifically designed to handle multidimensional arrays, but its capabilities extend far beyond that. As the foundational library for scientific computing in Python, it centers around N-dimensional arrays (ndarray), deriving a full range of functionalities covering mathematical operations, linear algebra, data preprocessing, and more. 1. ndarray: NumPy’s Exclusive … Read more

Applications of Embedded Programming: The Intricacies of Union

Applications of Embedded Programming: The Intricacies of Union

Concept of union In Chinese, union is referred to as a union, joint, or collective. Its definition format is the same as that of a struct, but its meaning is entirely different. Below is the definition format of a union: union union_name { member_list } union_variable_name; Since its definition format is the same as that … Read more

Exclusive Insights into the Python Geospatial Data Analysis Library GeoPandas: An Essential Tool for Professionals

Exclusive Insights into the Python Geospatial Data Analysis Library GeoPandas: An Essential Tool for Professionals

It was a memorable Friday evening when I attempted to process five million GPS records of taxis in New York City using GeoPandas, and my 16GB RAM MacBook Pro began to roar like a helicopter taking off. This wasn’t my first time encountering issues during geospatial analysis, but watching the Jupyter kernel crash repeatedly made … Read more

C Algorithm 04: Searching Massive Data

C Algorithm 04: Searching Massive Data

【Problem】Given 4 billion unique unsigned int integers that are not sorted. Given a number, how can we quickly determine if this number exists among those 4 billion numbers? 1 billion is 9 zeros, so 4 billion is 4000000000. Our instinctive thought for a solution is to use a for loop to find the equal number, … Read more