Using Noinit Section and Variable Allocation at Specified Addresses in IAR

Using Noinit Section and Variable Allocation at Specified Addresses in IAR

The noinit section is familiar to most of us developers working with microcontrollers. If this section is used, it will be automatically allocated by the compiler to a region in the chip’s SRAM (note that it is in the RAM area, not Flash). Variables defined in this section will not be re-initialized during any chip … Read more

Setting Up IAR Toolchain in CLion

Setting Up IAR Toolchain in CLion

Operating System: Windows (MinGW) / Linux Project Format: CMake When setting up a toolchain for your embedded project, you can use the IAR compiler. CLion recognizes it as a C/C++ compiler and collects compiler information. You can also open projects that use the IAR toolchain, which should load successfully. Currently, only CMake-based projects are supported. … Read more

Considerations for Using IAR Development Environment with AVR Microcontroller

Considerations for Using IAR Development Environment with AVR Microcontroller

Header File Meanings avr_macros.h includes simplified writing for reading and writing 16-bit registers, along with several bit manipulation functions. comp_a90.h provides brief writing for a large number of intrinsic functions. ina90.h includes the “inavr.h” and “comp_A90.h” files. intrinsics.h provides intrinsic functions that offer the simplest operations for handling the processor’s low-level features: sleep, watchdog, FLASH … Read more

IAR Embedded Workbench for Arm Fully Supports Xinch Technology 9 Series SoC and E3 Series MCU

IAR Embedded Workbench for Arm Fully Supports Xinch Technology 9 Series SoC and E3 Series MCU

✦ The latest version of IAR Embedded Workbench for Arm fully supports Xinch Technology’s 9 Series SoC and E3 MCU chips, helping developers in China’s automotive industry create powerful embedded development solutions. On June 17, 2022, IAR Systems, a global leader in embedded development software tools and services, announced in Shanghai that its latest release, … Read more

Important Considerations for Displaying Strings in LVGL V8.2 on Keil MDK (Example with Xiong Pai)

Important Considerations for Displaying Strings in LVGL V8.2 on Keil MDK (Example with Xiong Pai)

Click on the above “Embedded Application Research Institute” and select “Top/Star Public Account“ Useful Benefits Delivered First-Hand! Source | Embedded Application Research Institute Compiled & Styled | Embedded Application Research Institute Previously, I wrote a multilingual demo on the LVGL simulator CodeBlock to learn about the application of LVGL in multiple languages, as shown below: … Read more

Avoiding Overflow Errors in Keil C51 Large Integer Constants

Avoiding Overflow Errors in Keil C51 Large Integer Constants

The default integer constant operations in the C51 compiler may lead to overflow errors. To avoid potential calculation errors, the data type of large integers should be specified. Keil C51 is a compiler compatible with ANSI C. The ANSI C standard specifies that the default data types for decimal integer constants are one of int, … Read more

Issues with Pack Installer During KEIL5 Installation

Issues with Pack Installer During KEIL5 Installation

When I first installed KEIL5 on my computer, I didn’t encounter any issues. However, a few days ago, my C drive got corrupted, and after reinstalling the system, I faced problems while installing KEIL5 again. After the normal installation of KEIL5, I started the PACK installation, but it kept failing. At that time, I was … Read more