|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
I would like to use an 8051 with extended memory support above 64K and use far memory space structures. I would like to debug with these extended features. How can I debug these far structures if OMF-51 object file format does not support them?
For optimum support of these different 8051 variants with extended memory support of up to 16MB, the new output file format OMF2 was created.
OMF2 allows direct support of up to 16MB code and data space. The Intel OMF51 file format is the default for the C51 compiler. The OMF2 file format is default for the Cx51 compiler. The OMF2 directive enables the OMF2 file format, which provides detailed symbol type checking across modules and eliminates the historic limitations of the Intel OMF51 file format.
The OMF2 file format is required when you want to use one of the following features of the Cx51 compiler:
The OMF2 file format requires the extended LX51 linker/locater and cannot be used with the BL51 linker/locater.
µVision Control: Project ->Select Device ->Use LX51 instead of BL51.
Article last edited on: 2005-09-22 12:55:32
Did you find this article helpful? Yes No
How can we improve this article?