This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

help

I am using ucontroller p89v51RD2FN.

plz help me i got an error msg c318

so what is the solution

thanx

Parents
  • 1) Do you think "help" is a summary that makes a good job describing your problem. No way at all, that a better summary could have been written?

    2) Did you start with google and "Keil c318"? It gives the result: "Can't Open File file-name".

    3) If the compiler complained that it couldn't open a file - didn't it say which file? If so, why did you not post the name of the file?

    4) Our suggestions would differ depending on what file that failed to open. Does it exist? Does it exist where it is expected to exist? Did you spell something wrong? Did you install the complete tool chain? Does the tool chain have include files for your specific processor? Is it one of your own files?

Reply
  • 1) Do you think "help" is a summary that makes a good job describing your problem. No way at all, that a better summary could have been written?

    2) Did you start with google and "Keil c318"? It gives the result: "Can't Open File file-name".

    3) If the compiler complained that it couldn't open a file - didn't it say which file? If so, why did you not post the name of the file?

    4) Our suggestions would differ depending on what file that failed to open. Does it exist? Does it exist where it is expected to exist? Did you spell something wrong? Did you install the complete tool chain? Does the tool chain have include files for your specific processor? Is it one of your own files?

Children
  • actually i m working on 8051 development board

    it has micro-controller NXP P89V51RD2

    so the problem is that the compiler could not open the file and showing the error msg C318 file can not open

    so i m not able to work on it......

  • Actually, you are not working on any 8051 development board, since you will not be able to work on any physical platform until you have managed to build any application to run on it.

    By the way - are you sure you know what processor you are using? You have now posted two different processor models.

    And the compiler do not just give an C318 error message. The C318 is just a short number to allow you to easily locate the error in the manual. Besides the number, the compiler also mentions the name of the file it can't open. And you have still not - despite being asked to - mentioned the name of the file.

    And you haven't given us any clue that you have spent any time figuring out why the compiler can't open this file either.

  • Indeed - so you need to think about what reasons could be causing the compiler to be unable to open that file!

    Again, start by thinking in general terms: what things could prevent any application from being able to open any file...?

  • <P89V51Rx2.H> file can not open by the compiler

    i m using the NXP P89V51RD2 PROCESSOR

    so how could i remove that problem

  • How many of my questions from my initial post have you still not answered?

    Such simple questions as: "does it exist"? "does it exist where it is expected to exist"?

    Have you considered searth paths? Where is the compiler expected to look for include files? Can you, by configuring the compiler, affect where it will search for include files?