Keil Logo

Command Prompt

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

OH166 abs_file 〚H167〛 〚RANGE(startend)〛 〚OFFSET(offset)〛 〚FLASH(fill)〛

where:

abs_file is the name of the absolute object file generated by the L166 Linker.
H167 specifies Intel HEX-386 format for the Intel HEX file. The default format of OH166 is Intel HEX-86 format.
RANGE specifies the address range of data in the abs_file to convert and store in the HEX file. The default range is 0-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 that an offset is to be added to the address stored in the abs_file.
offset specifies the offset to add to each record.
FLASH specifies that addresses in the generated Intel HEX file are sorted in ascending order. The sorted HEX file may be downloaded to C16x/ST10 flash devices.
fill specifies the value to use in the Intel HEX file for unused bytes.
  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.