KEIL MDK directly generates BIN

Publisher:SereneJourneyLatest update time:2016-08-08 Source: eefocusKeywords:KEIL  MDK Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
MDK generates bin files, mainly using its own fromelf tool, the method is described as follows:

1. Create a new project named test.uv4

2. Open the Options for Target dialog box and select the User tab;

3. Check the Run #1 checkbox in the Run User Programs After Build/Rebuild box.

(1) For UV3 version, enter the command line C:/Keil/ARM/BIN31/fromelf.exe --bin -o ./test.bin ./test.axf in the text box; (2) For UV4 version, enter the command line C:/Keil/ARM/BIN40/fromelf.exe --bin -o ./test.bin ./test.axf in the text box.

Note: First, the path for UV4 is BIN40, and UV3 is BIN31.

      Secondly, choose the disk based on where KEIL is installed on your computer (the above example defaults to disk C).

4. Compile, bingo!

Keywords:KEIL  MDK Reference address:KEIL MDK directly generates BIN

Previous article:In-depth understanding of S3C6410 storage mapping
Next article:How to use printf instead of uart to print data in STM32

Recommended ReadingLatest update time:2024-11-16 17:59

I advise you to use KEILC51 nine-level optimization with caution
Introduction: Sometimes the program is just over 4K, or 8K, 32K, or 64K. We always try to optimize and compress the code so that it can be put into a lower-cost chip, but problems may arise at this time! Sometimes the program is just over 4K, or 8K, 32K, or 64K. We always try to optimize and compress the code so tha
[Microcontroller]
Keil5 MDK software traditional C51 and STM32 mutual compatibility method
When I first started learning 89C51 microcontrollers, I used keil4 as the development environment, and later upgraded to keil5. Now I am preparing to learn STM32, and the STM32 development environment is keilMDK. After downloading the keilMDK installation package, I found that it is incompatible with Atmel and STC mic
[Microcontroller]
Keil5 MDK software traditional C51 and STM32 mutual compatibility method
How to generate bin files in keil---self practice
Setting method in keil:   The setting paths of the two red circles must be the same, and the generated hex file and bin and axf need to be in the same directory.
[Microcontroller]
Selection of startup file and firmware library macro definition in stm32 - keil
● Startup file selection 1. Low-density devices (STM32F10nx4 = 16k, STM32F10nx6 = 32k) - startup_stm32f10x_ld_vl.s: Small capacity value type. STM32F100xx series, flash memory 16k~32k bytes. - startup_stm32f10x_ld.s: small capacity type. STM32F101xx, STM32F102xx, STM32F103xx series, flash memory 16k~32k bytes.  
[Microcontroller]
Selection of startup file and firmware library macro definition in stm32 - keil
LPC1100 IAP usage precautions and experimental routine source code V2.0-based on Keil compilation environment
NXP LPC Series ARM IAP Usage Notes  NXP LPC Series ARM supports In-Application Programming (IAP), allowing the end-user's application code to erase/write the on-chip Flash memory. Program upgrades or data storage can be completed through IAP.  The IAP commands for the LPC series are listed in Table 1.    The entry
[Microcontroller]
LPC1100 IAP usage precautions and experimental routine source code V2.0-based on Keil compilation environment
How to solve the problem that Keil5 single-step debugging only has assembly but no C
 1. Change all project directories to English. 2. In the magic wand, uncheck both options (verify code download and download to flash) in debug- settings- download options, and check both options under cache options. 3. Set breakpoints.
[Microcontroller]
Analysis of the startup code provided by 51 MCU Keil (STARTUP.A51)
1. Startup code generated by Keil C Program Listing 1.1 AT89C51 startup code $NOMOD51 //Do not use the default special function register 51 ;------------------------------------------------------------------------------ ; This file is part of the C51 Compiler package ; Copyright (c) 1988-2002 Keil Elektronik GmbH and
[Microcontroller]
Research on the application of Proteus software in embedded system teaching
0 Introduction Embedded system is a comprehensive technology involving computer architecture, computer software and other related electronic technologies. At present, embedded system technology has become one of the most popular technologies, and various enterprises have a strong demand for talents with emb
[Microcontroller]
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号