We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am using ucontroller p89v51RD2FN.
plz help me i got an error msg c318
so what is the solution
thanx
DON'T SHOUT!
For a start, where did you get your Keil from in the first place? If it's old, have you tried updating it?
For each supported chip, Keil provides a page in their Device Database which describes that chip - including, among other things, their header file for it:
http://www.keil.com/dd/chip/3711.htm
Note that you could have found this by simply putting "P89V51Rx2.H" into the 'Search' box at the top-right of every page on this site.
The header file is just a standaed 'C' header file - it doesn't need any special "installation".
You will, of course, have to put it somewhere where the compiler will be looking to find it; the C51 manual describes how the compiler searches for include files - and how you can specify additional locations for it to search...
where are the compiler supported to look for include files?
I M STILL SEARCHING THIS OPTION BUT I CAN NOT FIND IT
I LL TRY PROJECT>OPTION FOR TARGET>C51
BUT COMPILER WAS NOT SUPPORTED.....
Well, header files are handled by the preprocessor, aren't they?
The very first page of the C51 manual is here: http://www.keil.com/support/man/docs/c51/ and there's a clear link to the section about the preprocessor - isn't there?
Here it is: http://www.keil.com/support/man/docs/c51/c51_preprocessor.htm
And the first link on that page is about Header Files: http://www.keil.com/support/man/docs/c51/c51_pp_header_files.htm
And that tells you about #include: http://www.keil.com/support/man/docs/c51/c51_pp_include.htm
And that page tells you all about how the compiler searches for include files, andhow you can specify additional Include Paths...
thanx all of u for ur support
OK, you're welcome - but please take some time to look back over the thread and see how you could have got yourself to the answer so much more quickly and easily by thinking for yourself!
There was no actual confirmation as to whether the OP got his problem resolved or not. He just said "thanks for support". Maybe he just gave up and decided to go fishing.
Michael Karas
I don't do fishing, but, if I did, I imagine that it'd be a great time to do some good thinking...
When fishing, "thinking" = "drinking"!
Jon
That can readily be (and is!) readily applied to non-fishing situations...