Detailed Explanation of ARM GIC Interrupts – IPI Interrupts

Detailed Explanation of ARM GIC Interrupts – IPI Interrupts

1. Introduction to IPI Interrupts IPI interrupts, or Inter-Processor Interrupts, are essentially the SGI interrupts (Software Generated Interrupts) defined in the ARM GIC architecture. In the GICv3 architecture, there are a total of 16 SGI interrupts (excluding extensions), with interrupt numbers ranging from 0 to 15, as shown in the figure below. Inter-Processor Interrupts are … Read more

Armbian System Secure Disk Mounting Tutorial: Achieving Accurate and Stable Auto-Mounting with UUID

Armbian System Secure Disk Mounting Tutorial: Achieving Accurate and Stable Auto-Mounting with UUID

In the Armbian system, mounting disks is a common operation, but traditional mounting methods (such as directly modifying /etc/fstab) carry certain risks. If a disk fails to mount properly, it may lead to system failure or even damage. To avoid this situation, this article will introduce a safer and more stable mounting method: using UUID … Read more

Embedded Programming and the Internet of Things

Embedded Programming and the Internet of Things

The total word count is 2502 words Estimated reading time is about 5 minutes There are two types of IoT devices: high-end and low-end devices. The operating systems for high-end devices are fully functional, including Windows, Linux, or Android. For example, Amazon’s Echo device uses the Android-based Fire OS, while Samsung’s smartwatches use the Linux-based … Read more

The Beauty of Mathematics: The Intricacies of Embedded Programming (with C Code)

The Beauty of Mathematics: The Intricacies of Embedded Programming (with C Code)

[Introduction] Ah, you have been successfully drawn in, not quite what you expected, huh?~~~ Just kidding, back to the point. Today, a netizen asked me a question about a sensor measuring a physical quantity and needing to determine its trend of change. I provided some suggestions, and here I will elaborate on those suggestions and … Read more

How to Achieve Byte Swapping in Embedded Programming?

How to Achieve Byte Swapping in Embedded Programming?

Recently, I encountered the issue of byte endianness conversion in a protocol, so I lazily searched online and found a similar problem, and learned a new term called butterfly swapping. The problem is as follows: The protocol requires that the low byte is on the left and the high byte is on the right, and … Read more

A Method for Context Switching and Perfect Decoupling in Embedded Programming

A Method for Context Switching and Perfect Decoupling in Embedded Programming

Follow “Embedded Mix” and select “Star the Official Account” to progress together! Source: CSDN Fast Context Switching – cpost Application It is commonly believed that time-consuming operations cannot be executed during interrupts, as this would affect system stability, especially in embedded programming. For programs with an operating system, interrupt handling can be divided into two … Read more

Six Common Data Structures in Embedded Programming

Six Common Data Structures in Embedded Programming

▼Click the card below to follow our public account ▼ Today, embedded systems are increasingly applied in various fields such as smart homes, smart healthcare, industrial automation, and intelligent transportation. In the process of embedded system development, data structures are an essential knowledge point. This article will introduce several common data structures in embedded programming, … Read more

Sharing Years of Experience in Embedded Programming: A Different Perspective on Programming

Sharing Years of Experience in Embedded Programming: A Different Perspective on Programming

1. Limitations of Traditional Programming Structures When not using an RTOS, embedded software typically employs two traditional programming structures: one is called the “front-back structure” or “super loop structure,” which is essentially an event-driven programming method; the other is a time-triggered programming method, such as Michael J. Pont’s “time-triggered programming model.”In practical work, when the … Read more

A Solution for Context Switching in Embedded Programming

A Solution for Context Switching in Embedded Programming

Click the card below to follow Arm Technology Academy This article is from CSDN, and it mainly shares a solution for achieving high cohesion and low coupling during context switching in embedded programming.. Original link: https://blog.csdn.net/qq_34245464/article/details/111804661 The demands of embedded programming are ever-changing. To ensure system stability while maintaining code reusability, high cohesion and low … Read more

How to Prevent Memory Leaks in Embedded Programming?

How to Prevent Memory Leaks in Embedded Programming?

1. Introduction Recently, various products in our department have encountered issues caused by memory leaks, specifically manifested as board resets after continuous operation for several days due to memory exhaustion. On one hand, memory leak issues are considered low-level errors, and their oversight in production can have severe consequences; on the other hand, since memory … Read more