|
|||||||||||
Technical Support Support Resources
Product Information |
C51: Compiler Directive for OMF2 File FormatInformation in this article applies to:
QUESTIONI 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? ANSWERFor 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. MORE INFORMATIONSEE ALSO
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
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.