Keil Logo

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_file is the name of the absolute object file generated by the L251 Linker.
file is 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.
HEX generates an Intel HEX-80 file.
H386 generates an Intel HEX-386 file.
RANGE specifies the address range of data in the abs_file to convert and store in the HEX file. The default range is 0x000000-0xFFFFFF.
start is the starting address of the address range. This address must be entered in C hexadecimal notation; for example, 0x10000.
end is the end address of the address range. This address must be entered in C hexadecimal notation; for example, 0x1FFFF.
offset specifies an offset which is added to the address stored in the abs_file.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.