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

keilU vision,6.02,c51

hi.i am a new user to the keil environment,and i wanted to work with 8051 microcontrollers.Can some one kindly inform me if he has time that how to program a 8051,how to intilize it,what all libraries are required to in clude in a c code,or some sample program which i can take as tutorial.Do assemly language knowledge is also required to play with 8051 microcontrollers or not.i will be highly obliged

Parents
  • The getting started manual that comes with the Keil tools explains all of these and walks you step-by-step thru several example programs.

    If you install the tools, you can get to this manual from the books tab or from the help menu.

    When installed, there is a \keil\c51\examples directory that contains 10 or so example programs you can feel free to look at. Start with the hello example.

    Jon

Reply
  • The getting started manual that comes with the Keil tools explains all of these and walks you step-by-step thru several example programs.

    If you install the tools, you can get to this manual from the books tab or from the help menu.

    When installed, there is a \keil\c51\examples directory that contains 10 or so example programs you can feel free to look at. Start with the hello example.

    Jon

Children
  • dear jon,
    i have tried that,but while writing any code in c,i get confused that what all header files should be included while writing my own code,anyhow thanks a lot for your reply.
    amer

  • Have you actually sat down with the Getting Started guide and worked through the examples?
    If not, do that first!


    "i get confused that what all header files should be included"

    The manual clearly states which header is required for each library function.
    If you click on a library function name in your source code, then press F1, it will bring up the online help for that function - again, this tells you which header contains the prototype.