Keil™, An ARM® Company

OH251 User's Guide

Command Prompt

To invoke the OH251 Object-HEX Converter from the command prompt, type OH251 along with the name of the absolute object file. The OH251 command line must be entered using the following format:

OH251 abs_file [HEXFILE (file)][{HEX|H386}][RANGE (startend)]
 [OFFSET(offset)]

where

abs_fileis the name of the absolute object file generated by the L251 Linker.
fileis the name of the Intel HEX file generated. By default, the name given to the HEX file is the base name of the abs_file followed by the .HEX extension.
HEXgenerates an Intel HEX-80 file.
H386generates an Intel HEX-386 file.
RANGEspecifies the address range of data in the abs_file to convert and store in the HEX file. The default range is 0x000000-0xFFFFFF.
startis the starting address of the address range. This address must be entered in C hexadecimal notation; for example, 0x10000.
endis the end address of the address range. This address must be entered in C hexadecimal notation; for example, 0x1FFFF.
offsetspecifies an offset which is added to the address stored in the abs_file.