From Keil to GCC: Who Handles Memory Initialization During Embedded Program Startup?

From Keil to GCC: Who Handles Memory Initialization During Embedded Program Startup?

In embedded development, many engineers often wonder: after powering on the program, how are global and static variables initialized? Is the underlying memory operation logic the same from Keil MDK-ARM to the GCC cross-toolchain? Today, we will break down this core issue and understand the complete process from chip power-up to the execution of the … Read more

Threshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 Microcontroller

Threshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 Microcontroller

The complete set of materials can be obtained at the end of this article! Click the blue text·to follow us Threshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 Microcontroller (Program, Proteus Simulation, Program Flowchart) 01 Function Introduction Specific Functions: 1. This design is based on STC89C51/52 (compatible with AT89S51/52, AT89C51/52). … Read more

Essential Tips for Embedded Developers: Keil + Scripting Tricks to Save 2 Hours of Downtime

Essential Tips for Embedded Developers: Keil + Scripting Tricks to Save 2 Hours of Downtime

Keil is a widely used tool in embedded development, and many tips are discovered gradually during use. Among them, I find several techniques to be extremely valuable. Today, I want to share a method for using automation scripts to compile and generate the desired files! The main issues addressed are as follows: 1. After completing … Read more

STM32 SD Card IAP Firmware Upgrade Tutorial

STM32 SD Card IAP Firmware Upgrade Tutorial

Recently, due to certain needs, I researched the method for upgrading firmware via SD card using IAP. As I have been using the STM32 SD card for a while, implementing the SD card program was straightforward; I just needed to write a bootloader program and make some simple settings in Keil. 1. Function: Upgrade STM32 … Read more

OriginBot Smart Robot Open Source Kit | 3. Controller Firmware Installation

OriginBot Smart Robot Open Source Kit | 3. Controller Firmware Installation

Flash the controller firmware 1. Download the official firmware Please select and download the controller firmware suitable for your robot from the table below. Download link: originbot_controller_firmware_v1.0.1 2. Connect the flashing data cable (1) Disconnect the serial communication connection between the controller and the Xuri X3 board. (2) During firmware flashing, power will be supplied … Read more

Embedded Time-Partitioned Real-Time System

Embedded Time-Partitioned Real-Time System

Introduction to AnOs AnOs is an embedded time-partitioned real-time system developed based on the ARM M4 series, modeled after the VxWorks653 approach. https://gitee.com/personal_chenjl/AnOs The development environment uses Keil uVersion5. The example program runs on the STM32F427 controller. The system aims to serve as an operating system application in high-security domains. Software Architecture The system consists … Read more

Practical Experience Using STM32CubeProgrammer in Keil

Practical Experience Using STM32CubeProgrammer in Keil

Keywords: Keil, STM32CubeProgrammer Table of Contents 1. Introduction 2. Steps 3. Results 4. Conclusion 01 Introduction Early users of new STM32 MCU products sometimes encounter situations where the toolchain is still being perfected. For example, some STM32 tools already support the product, while others are still being updated. Specifically for Keil users, they may be … Read more

Keil Series Tutorial 05: Configuring Target Options (Part 1)

Keil Series Tutorial 05: Configuring Target Options (Part 1)

Follow/Star Public Account to not miss any updates! This tutorial was updated and published by the original author strongerHuang in November 2018. Tags: Keil, MDK-ARM, µVision Copyright: Commercial Use Prohibited Statement:This document is for personal learning use only. For reprints, please contact the author through the public account for authorization. 1Introduction This article discusses the … Read more

Comprehensive Analysis of Keil Map Files

Comprehensive Analysis of Keil Map Files

Follow/Star Public Account to not miss any messages! This tutorial was updated and published by the original author strongerHuang in December 2018. Tags: Keil, MDK-ARM, µVision Copyright: Commercial use prohibited Disclaimer:This document is for personal learning use only. Please contact the author for authorization for reprint. 1Introduction What is a map file? Simply put, a … Read more

Using KEIL for Automation Scripts

Using KEIL for Automation Scripts

This article is authorized by the original author DinoHaw. The original text is published at: https://gitee.com/DinoHaw/keil-autopiler. For reprinting, please contact the author directly. 1 Source of Demand Some companies with restrictions on the development process separate development from compilation (the code version after submission) and require minimal human involvement in the compilation process, necessitating the … Read more