ARM Technical Support Knowledge Articles

CREATING HEX FILES FOR THE CYPRESS USB DEVICES

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

I am currently developing firmware for a custom AN2131QC-based application. I have been using the EZ-USB development board to test my application but now I need to port everything to the single-chip based application. How do I configure the tools to create a HEX file to download to INTERNAL RAM of the AN2131QC device?

ANSWER

To create a HEX file using uVision2, select the Create HEX File checkbox on the Output Tab of the Project Options dialog. You may open this dialog using Project Menu -> Options for Target.

To create a HEX file using the tools on the command line, you must run the OH51 program to create a HEX file from the absolute object file created by the linker.

Note that a HEX file is not what is typically used to download into the EZ-USB device. You may require a SYS file as described in the Cypress literature.

MORE INFORMATION

SEE ALSO

Article last edited on: 2005-07-18 17:36:17

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