Debug Error! DAMAGE:after Normal block appears in Keil

Publisher:NatureLoverLatest update time:2017-10-24 Source: eefocusKeywords:Keil  Debug  Error Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

There is no problem with Keil compiling the program, but when downloading the program, the following appears:


There was even a situation where Keil died.


Because the program can be compiled, there is no problem with the program itself. When a problem occurs during downloading, it should be that the program is too large and exceeds the microcontroller Flash, the RAM is too large, etc.


Finally, I checked and found that the program was too large. The Flash of the microcontroller used was only 16K, and the program size exceeded 16K.


Keywords:Keil  Debug  Error Reference address:Debug Error! DAMAGE:after Normal block appears in Keil

Previous article:MCU redirects printf to SWO port
Next article:Watch window variables are not displayed in real time during debugging in Keil

Recommended ReadingLatest update time:2024-11-16 13:47

Some Problems in Using Keil
  1. Mixed Programming   1. Interface within the module:   Use the following identifiers:   #pragma asm   assembly statement   #pragma endasm   Note: If assembly language is used in the C51 program, please note that you need to activate the "Generate Assembler SRC File" and "Assembler SRC File" options in the Properti
[Microcontroller]
Some Problems in Using Keil
Keil5.15 uses GCC compiler to compile STM32 project
We use Keil to compile MCU project code using ARMCC. In fact, Keil also supports embedded GCC compiler. We can use GCC to compile our project code. 1. Download the GCC compiler GCC compiler download address  2. Install GCC We can unzip GCC to the installation directory of Keil. As shown below 3. Configure Keil t
[Microcontroller]
Keil5.15 uses GCC compiler to compile STM32 project
Description of printf() function in Keil C51
In C51, when using the printf() function for formatted output, the format control characters are different from those in ANSI C. In the format control characters, b stands for byte Output uint8_t in decimal: %bu Output int8_t in decimal: %bd #include   void tst_printf (void) {   char a = 1;   int b = 12365;
[Microcontroller]
Keil IAR - Cortex M3 debugging problems and solutions (3)
Last time, we talked about that due to the continuous upgrade of the stm32 official library and iare ew arm, many configurations have changed. 1 This error occurred when upgrading stm32 stdlib 3.5 using ewarm 6.30 Error(Pe47)   declaration is incompatible with "__interwork__softfp unsigned long __get_PSP(void)", 
[Microcontroller]
Tip 1 -- Add STC model in Keil C51
Some MCUs are STC models. When creating a project in Keil C51, there is no corresponding chip model...   Solution: Go to the STC official website and download the STC model plug-in. Here is the extraction code for the 115 network disk as a backup: For Keil uVision2 (uv2 for short), plugin extraction code: bewxzw
[Microcontroller]
Tip 1 -- Add STC model in Keil C51
Keil compilation error about the use of __use_no_semihosting_swi
__use_no_semihosting_swi, that is, do not use semihost mode to prevent the program from entering software interrupts. 1. If file operations such as printf, fopen, and fclose occur during the compilation of an embedded program, the device will enter the software interrupt BAEB when it is running because there is no u
[Microcontroller]
Watch window variables are not displayed in real time during debugging in Keil
In debug mode, check View- Periodic Window Update
[Microcontroller]
Watch window variables are not displayed in real time during debugging in Keil
error:undeclared name solution
Phenomenon: It prompts error:undeclared name error. The solution is as follows Analysis: The main reason is that the address mapping of special registers in the newly added program file is not included in the file. There are two solutions. Method:        1. Remap the special registers used in the file separately. A
[Microcontroller]
error:undeclared name solution
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号