??? 04/28/09 13:56 Read: times |
#164904 - The more specific original q, the more specific answer Responding to: ???'s previous message |
Andy Neil said:
Look at the documentation for the particular compiler that you are using - to see its recommendation. This is a common recommendation, since the compiler vendor may have grouped similar chips into a common header file. Sometimes, the compiler documentation will be needed to "decode" the naming convention used for supplied header files. Andy said:
Look at the manufacturer's website for the particular chip you are using - to see if they provide a header. This is a common recommendation, since the chip manufacturer often have information about what header file to use - it isn't uncommon that a header file for at least one bigger compiler is available on the manufacturers web site. If not, then the datasheet contains the information for compiling a header file, or for updating a generic header file with the unique extras of your specific chip. Andy said:
Amit Mittal said:
is only 8952.h is enough or some more/less files are needed? Just the name of a file tells us virtually nothing! You at least need to say what compiler (and version) it came with, or where else you got it from. And Andy is right. The name "8952.h" is not enough to tell us where you got the file from. That also means that we can't possibly know what information it contains - if it is a generic file, or a file specifically inteded for a very specific chip model. Andy said:
Or, you can just look at it and see if it defines everything you need; it's just a header file the same as any other header file - nothing magic or special about it! Once more - this is the common method to use if the file you have is missing some symbols, and you can't find a better file somewhere else. And files that does contain the symbols for all SFR may not have defined symbols for all possible flags and masks, so it is very common to have to complement the file based on the datasheet information. It can't be humiliating to get a list of things to look at if you are asking for help. If you consider some of the suggestion too "noobish", then you must spend more time with your original post, telling what steps you have already considered. |
Topic | Author | Date |
header file for at89s52 | 01/01/70 00:00 | |
What compiler? | 01/01/70 00:00 | |
consider it, Mr. Neil | 01/01/70 00:00 | |
The more specific original q, the more specific answer | 01/01/70 00:00 | |
before deciding Andy was 'rude', did you ... | 01/01/70 00:00 | |
to those who replied to me | 01/01/70 00:00 | |
What unwanted comments? | 01/01/70 00:00 | |
see this line for "unwanted comment" | 01/01/70 00:00 | |
It means just that - nothing magic or special about it | 01/01/70 00:00 | |
It means exactly what it says | 01/01/70 00:00 | |
thank you sir for your help![]() | 01/01/70 00:00 | |
state, at least, ONE case of ... | 01/01/70 00:00 | |
check out the differences between 8052 and 'S52 | 01/01/70 00:00 | |
thank you Mr.Jan Waclawek for this information | 01/01/70 00:00 |