Key Considerations for Mixed C and Assembly Programming in Keil

Key Considerations for Mixed C and Assembly Programming in Keil

Click the above “Chuangxue Electronics” to follow and easily learn electronic knowledge. Chuangxue Electronics Subscription Daily updates of technical articles in the electronics industry and the latest news on microcontrollers, learn easily anytime, anywhere. Here are some issues encountered in mixed programming of C language and assembly language in Keil, written down for future reference. … Read more

Free Download and Installation Guide for Keil 5 Software

Free Download and Installation Guide for Keil 5 Software

Click the blue text above to follow us Software Download [Name]:keil5 [Size]: 474MB [Operating System]: 32/64-bit [Installation Environment]: Win7/Win8/Win10 [Download Link]: Follow our public account Then reply in the chat with ‘keil‘ to get the download link. The unzip password is “diannaoDIY” Note case-sensitive Software Introduction: 1. Provides rich library functions and powerful integrated development … Read more

The Role, Generation and Invocation of LIB Libraries in Keil

The Role, Generation and Invocation of LIB Libraries in Keil

Click the above “Chuangxue Electronics” to follow with one click, making it easy to learn electronic knowledge. Chuangxue Electronics Subscription Account Daily updates on technical articles in the electronics industry and the latest information on microcontrollers, making it easy to learn anytime and anywhere. What is the use of the LIB library? A simple example … Read more

How to Fix Chinese Comment Encoding Issues in Keil V4

How to Fix Chinese Comment Encoding Issues in Keil V4

As shown in the figure below: Experiencing this issue is undoubtedly very frustrating for those who write programs with Chinese comments. However, the solution to this problem is actually quite simple, as shown in the figure below. This is the configuration interface accessed from the last option in the view menu. Select GB2312 in the … Read more

Simple Use of GCC to Compile C Files in Keil Projects

Simple Use of GCC to Compile C Files in Keil Projects

It must be said that Keil seems to be the most widely used IDE among domestic users. After being acquired by ARM, the introduction of the Keil MDK development environment with ARMCC and other compilers has been well received by many ARM development engineers. The large user base (many of whom have transitioned from the … Read more

Detailed Explanation of Keil MDK Compiler Warnings and Errors

Detailed Explanation of Keil MDK Compiler Warnings and Errors

After working with microcontrollers, I transitioned to ARM and initially used the ADS 1.2 compiler. I used it for a while because the old program of the project I took over was compiled with ADS, and most of the department was using it. When learning about microcontrollers, I used the Keil C51 compiler, and the … Read more

Resolving Link Errors in Keil Compilation

Resolving Link Errors in Keil Compilation

Using Keil MDK, I tried an example for STM32F107. After opening and compiling, the compilation succeeded, but the linker indicated that there were 5 functions undeclared. However, upon reviewing the files, it was clear that the header files were included. Why was it still not working? I also tried using extern declarations, but that did … Read more

Common Debugging Techniques in Keil uVision

Common Debugging Techniques in Keil uVision

When you enter the debugging interface, you will see the following image. The cursor has already run to the entry point of the main function, and the debugging toolbar is now displayed in front of you. Tools/Materials Ulink2 emulator Development board and Keil software Methods/Steps First, let’s introduce the relevant menus. The first one on … Read more