ARM Technical Support Knowledge Articles

HEX FILE NOT CREATED

Applies to: C166 C Compiler

Answer


Information in this article applies to:


SYMPTOMS

My project seems to build perfectly, the only problem is that the HEX file is not created. What am I doing wrong?

CAUSE

A possible cause of this is if your program utilizes addresses over 1Mb. For example, if you have a very large array (70,000 bytes) located in XCONST memory starting at 100000H, then you will start using addresses over 1Mb.

The Intel HEX-86 file format cannot handle addresses this large, so the HEX file is not created.

Make sure that you have selected to create an Intel HEX file in the Project Make Options.

RESOLUTION

Configure your project so that an Intel HEX-386 file is created instead. This is an extended HEX file format that can handle the large addresses.

  1. Choose 'OH166 Object-Hex Converter...' from the Options menu.
  2. Select 'Intel HEX-386' in the dialog box and click on OK.

You can then rebuild your project to create the HEX file.

MORE INFORMATION

Article last edited on: 2006-10-29 19:07:33

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential