Solution to disassembly during keil debugging

Publisher:心愿达成Latest update time:2018-08-04 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

If disassembly often occurs, check whether the check mark in front of Load Application at Startup in the Debug directory is checked. Whether it is checked directly affects the loaded program. Please check the path in front of Edit and edit it. The following form will appear.


 

Focus on this line. LOAD power.axf INCREMENTAL // Download (assumes that 'load application at startup' is unchecked)

This means that if you do not check the box before "load application at startup", the program that is loaded will be power.axf. If you have created a project by yourself and configured it according to another template, you must be careful here. Otherwise, it will be a headache. At the beginning, I was learning arm development by myself and created a project for power and then rewrote it according to the routine. As a result, no matter how I debugged it, it didn't work. Later, I found that the original routine was in the following format.

LOAD output\keil_example.axf INCREMENTAL, and the load application at startup in the Debug directory was not checked. I also did not check it and it did not work no matter how I debugged it. Disassembly always appeared. Later, I accidentally checked it and it worked. In order to find out the reason, I finally found that the root cause was the file after Load.

 


This form does not match the following settings and debugging will also enter disassembly


It should be like this: F:IAR project\power\output\

There will be no disassembly.


Reference address:Solution to disassembly during keil debugging

Previous article:stm8 touch button debugging notes
Next article:[STM8L]TAB segment LCD driver

Latest Microcontroller Articles
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号