Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
59
Добавлен:
14.04.2015
Размер:
2.03 Mб
Скачать

Keil Software — A51/AX51/A251 Macro Assembler and Utilities

387

 

 

Chapter 11. Object-Hex Converter

Program code stored in an absolute object file can be converted an Intel HEX file. Intel HEX files may be used as input files for EPROM programmers or emulators.

For the each Lx51 linker/locater variant a different OHx51 object hex converter is required to create an Intel HEX file. For code banking applications generated with the BL51 linker/locater, you need in addition the OC51 Banked Object File Converter to create HEX files. The following table gives you an overview of the conversion tools required to create an Intel HEX file.

 

 

 

 

 

 

 

11

 

Output from…

 

Object Hex Converter

 

Description

 

 

 

 

 

 

 

BL51

 

OH51

 

For classic 8051 applications without banking.

 

 

 

BL51 Banked

 

OC51 combined with

 

For classic 8051 applications with banking.

 

 

 

Application

 

OH51

 

 

 

 

 

LX51

 

OHX51

 

For classic 8051 and extended 8051 versions.

 

 

 

L251

 

OH251

 

For Intel/Atmel WM 251.

 

 

In µVision2 you enable the generation of an Intel Object file in the dialog Options – Output with Create HEX File. The µVision2 project manager selects automatically the correct utility.

The following sections describe how to use the OHx51 and OC51 utilities, the command-line options that are available, and any errors that may be encountered during execution.

Соседние файлы в папке HLP