Unveiling ARM Cortex-M Startup: From Power-On to Your main() Function

Unveiling ARM Cortex-M Startup: From Power-On to Your main() Function

Today, let’s delve into a seemingly basic yet often overlooked topic — what exactly happens from the moment you press the reset button until your <span>main()</span> function begins execution? Overview of the Startup Process: The Journey of System Awakening Imagine your MCU as a robot just awakened. It needs to get dressed (load the stack), … Read more

Unveiling ARM Cortex-M Startup: From Power-On to Your main() Function

Unveiling ARM Cortex-M Startup: From Power-On to Your main() Function

Today, let’s delve into a seemingly basic yet often overlooked topic — what exactly happens from the moment you press the reset button until your <span>main()</span> function begins execution? Startup Process Overview: The Journey of System Awakening Imagine your MCU as a robot just awakened. It needs to get dressed (load the stack), understand its … Read more

StratifyOS: Say Goodbye to the ‘Pain’ of Embedded Development and Let Your MCU Soar!

StratifyOS: Say Goodbye to the 'Pain' of Embedded Development and Let Your MCU Soar!

Dear embedded development enthusiasts, are you often overwhelmed by various low-level drivers, hardware abstractions, and system porting? Do you find embedded development inefficient, lengthy, and downright frustrating? Next, we introduce StratifyOS, allowing you to experience the “smooth” pleasure of embedded development! What is StratifyOS? In simple terms, StratifyOS is a powerful real-time operating system (RTOS) … Read more

Unveiling ARM Cortex-M Startup: From Power-On to Your main() Function

Unveiling ARM Cortex-M Startup: From Power-On to Your main() Function

Today, let’s delve into a seemingly basic yet often overlooked topic — what exactly happens from the moment you press the reset button until your <span>main()</span> function begins execution? Startup Process Overview: The Journey of System Awakening Imagine your MCU as a robot just awakened. It needs to get dressed (load the stack), understand its … Read more

Debugging HardFault in ARM Cortex-M (STM32)

Debugging HardFault in ARM Cortex-M (STM32)

Click the above blue text to follow us HardFault is a type of exception in ARM Cortex-M processors. It is triggered when the processor encounters an unresolvable error, or when the exception handler configured to handle specific types of errors (such as bus errors, memory management errors, usage faults) is disabled, or when another error … Read more

Unlocking New Horizons in Embedded Development: Super-Simple-Tasker, Let Your ARM Cortex-M Soar

Unlocking New Horizons in Embedded Development: Super-Simple-Tasker, Let Your ARM Cortex-M Soar

Are you still struggling with complex RTOS in embedded system development? The emergence of Super-Simple-Tasker (SST) will completely change your development experience! It is a lightweight, efficient, and easy-to-use real-time operating system kernel designed specifically for ARM Cortex-M series processors, allowing you to easily control hardware resources and achieve high-performance real-time applications. Lightweight Does Not … Read more

Comprehensive Analysis of Interrupt Handling in ARM Cortex-M

Comprehensive Analysis of Interrupt Handling in ARM Cortex-M

Today, we will discuss interrupt handling in ARM Cortex-M. In embedded systems, interrupts are the core mechanism for achieving real-time responses. Imagine if there were no interrupts: • When a button is pressed, the system might be busy with other tasks and miss the response. • Incoming communication data might be lost due to untimely … Read more

Resolving ARM Cortex-M Exception – HardFault (UsageFault) INVPC Set to 1

Resolving ARM Cortex-M Exception - HardFault (UsageFault) INVPC Set to 1

CPU: STM32F429IGT6 For other STM32 chips or other ARM Cortex-M chips, the solution is generally the same. It is recommended to read this article in full before debugging the issues you encounter. 1. Basic Knowledge In ARM Cortex-M series processors, there are several system exceptions dedicated to fault handling. The faults in CM3 can be … Read more

Helium Technology Lecture | The Power of Sudoku, Registers, and Belief

Helium Technology Lecture | The Power of Sudoku, Registers, and Belief

This article is reprinted from the Extreme Technology CommunityExtreme Technology Column: Arm Technology BlogSource: Helium Technology Lecture | The Power of Sudoku, Registers, and Belief As artificial intelligence (AI) permeates various applications, the largest number of IoT devices in the market will also be endowed with intelligence. The Arm® Helium™ technology brings critical performance enhancements … Read more

Evaluation of 50 Cent MCUs: How Fast Can GPIO Toggle?

Evaluation of 50 Cent MCUs: How Fast Can GPIO Toggle?

Recently, an engineer asked me how fast the highest toggle speed of an MCU can reach. I had heard about this topic years ago, but I had never actually tested it. This time, I took the opportunity to conduct some tests and discovered a lot of knowledge hidden within. For this test, I selected three … Read more