Practical Experience: Variable Initialization in Keil, IAR, CubeIDE

Practical Experience: Variable Initialization in Keil, IAR, CubeIDE

Keywords: Uninitialized, Compilation Environment Table of Contents 1. Introduction 2. IAR Method for Uninitialized Variables 3. Keil Method for Uninitialized Variables 4. CubeIDE Method for Uninitialized Variables 01 Introduction Sometimes in our applications, we require variables to maintain continuity or to retain state, such as during a Bootloader jump. For various reasons, during a reset … Read more

Analysis of USMC IAR Light Machine Gun Project

Analysis of USMC IAR Light Machine Gun Project

An authoritative military publication specializing in light weapons! [D Boy Column] Full Tracking of the USMC IAR Light Machine Gun Project (Part 1) Starting from Firepower Composition Link to the previous article ↑↑↑ Selection Process of IAR Light Machine Gun (Continued) The second phase of the IAR project: Bidding Based on the verification results of … Read more

Methods to Preserve Variables in Keil, IAR, and CubeIDE

Methods to Preserve Variables in Keil, IAR, and CubeIDE

1 Introduction Sometimes, our applications require variables to maintain continuity or to preserve the state, for example, during Bootloader jumps or resets where certain critical variables should not be initialized. Different compilation environments have different settings. This article summarizes this operation and introduces the methods used in Keil, IAR, and CubeIDE. The chip used in … Read more

Creating IAR Project for KEA128 Chip

Creating IAR Project for KEA128 Chip

Teacher Zhu, this tutorial is based on notes I整理ed from a recent competition. I remember that there was very little information online about the KEA128 application in smart car competitions. I have graduated but couldn’t bear to delete these materials. If you think this article might be useful for everyone (especially those just starting with … Read more

How to Configure CRC Parameters in IAR

How to Configure CRC Parameters in IAR

Introduction All STM32 series products come with a CRC peripheral that provides hardware support for CRC calculations, saving code space for applications. The CRC checksum can be used to verify the correctness of data during transmission and can also be used for integrity checks during data storage. In IEC60335, CRC checks are accepted for verifying … Read more

How to Install IAR Embedded Workbench for ARM 8.32.1

How to Install IAR Embedded Workbench for ARM 8.32.1

IAR for ARM is a top-tier integrated development environment, fully known as “IAR Embedded Workbench for ARM”. It is developed by the world-renowned Swedish company IAR Systems, which specializes in embedded systems development tools and services. Founded in 1983 and headquartered in Uppsala, Sweden, the company went public on NASDAQ OMX Stockholm on January 4, … Read more

Design of Flash Loader in IAR Environment

Design of Flash Loader in IAR Environment

Table of Contents 1. Why Flash Loader 2. Flash Loader Design Details 2.1 Simple Code Framework 2.2 Fascinating Macro Usage 2.3 Key Configuration Files 3. dmac and mac Files 4. Summary To develop domestically produced automotive chips, IAR is an essential integrated tool for compilation and debugging. The historical background is not elaborated here; today, … Read more

Why Is Keil More Popular Than IAR?

Why Is Keil More Popular Than IAR?

01 Introduction When it comes to Keil and IAR, you might think their integrated development environment interfaces are quite outdated and not user-friendly. But here’s a fact: whether you are a beginner in microcontroller programming or an experienced developer, the usage of Keil and IAR is significantly higher compared to other tools, and it’s not … Read more

How printf() Works with UART Peripheral Driver Functions

How printf() Works with UART Peripheral Driver Functions

Today, I will share with you the hardware UART peripheral debugging output mechanism under IAR. In the embedded world, outputting print information is a very common auxiliary debugging method. With the help of print information, we can easily locate and analyze program issues. There are many ways to implement print information output in embedded application … Read more

Creating STM32 Project with IAR Programming Software

Creating STM32 Project with IAR Programming Software

Keil and IAR microcontroller programming software are currently two of the most widely used microcontroller programming tools. There are certain differences in their usage. In this article, I will explain the detailed method of creating an STM32 project using IAR programming software, hoping that everyone can gain something from this article. STM32 is a very … Read more