I have compiled C code using target as DW8051(synopsys) and have a
hex format output file for it. I used the same C code and changed
target to m8051 (mentor graphics) and have a hex format output file.
I noticed that these files were identical. Is this to be expected
?
Read-Only
Author Drew Davis
Posted 17-May-2007 18:09 GMT
Toolset C51
RE: Difference in hex files with m8051 / DW8051
Drew Davis
I wouldn't be surprised, especially if you didn't change the
source code. Most of the 8051 variants are very similar.
Even if the m8051 has different standard SFR addresses than the
DW8051, you'd still have to change your code to account for those
differences.
The "target" is uVision is really just some pre-defined
configuration for which peripherals are available, CPU clock rate,
size of various memories, and so on. It doesn't really affect code
generation or linking.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.