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

Lost

I just got the v4 of Keil. I am programming with a 8 bit 8051 micro controller. I was wondering if there are any good books or materials that will help me understand programing alot better. I look at the code and the memory information and I am clueless. I have been trying to read and talk to others and still no help. Please Help!

Thank You

Zack

  • Books: http://www.keil.com/books/8051books.asp

    Tutorials: http://www.8052.com/tutorial

    Links to the so-called "bible" for the 8051: www.8052.com/.../120112

    And, of course, the Keil C51 Manuals: http://www.keil.com/support/man_c51.htm

    If you look in your Keil\C51\Hlp installation folder, you will find a GS51.chm file - this is the C51 Getting Started guide

    There is also PM51.chm - the C51 Primer

    The Primer is also available from the uVision 'Books' pane - under 'Complete User's Guide Selection'

    Also take a look at http://www.keil.com/events/ for Shows, Seminars, Workshops, and Training Providers

    And never forget http://www.google.com !

  • Thank you so much! I will review over this, I have been having a problem with understanding what the code is actually doing... Im currently working on a problem trying to get an LCD display working and checking for a busy flag after each process or what not, i was given a flow chart to go off of.

    OPTREX LCD

    2.2.2.2 4 - Bit Initialization:
    Wait more than 100ms

    Power ON
    Wait more than 15ms after Vcc = 4.5V
    RS R/W DB7 DB6 DB5 DB4
    0 0 0 0 1 1
    0 0 0 0 1 0
    0 0 N F x x
    0 0 0 0 0 0
    0 0 1 0 0 0
    0 0 0 0 0 0
    0 0 0 0 0 1
    0 0 0 0 0 0
    0 0 0 1 I/D S
    0 0 0 0 0 0
    0 0 1 1 C B
    Wait more than 4.1ms
    Initialization Complete,
    Display Ready.
    RS R/W DB7 DB6 DB5 DB4
    0 0 0 0 1 1
    RS R/W DB7 DB6 DB5 DB4
    0 0 0 0 1 1
    RS R/W DB7 DB6 DB5 DB4
    0 0 0 0 1 0
    No data should be transferred to or from the
    display during this time.
    Function Set Command: (8-Bit interface)
    No data should be transferred to or from the
    display during this time.
    No data should be transferred to or from the
    display during this time.
    Function Set Command: (8-Bit interface)
    Function Set Command: (8-Bit interface)
    After this command is written, BF can be checked.
    Function Set (Interface = 4 -bit, Set N and F
    for number of lines and character font)
    Display OFF
    Clear Display
    Entry Mode Set:
    Display ON (Set C and B for cursor/Blink
    options.)
    Note: BF should be checked before each
    of the instructions starting with
    Display OFF.

    This is the stuff in the flow chart above... but hopefully somewhere in what you posted will get me to understand.

    THank you again!
    Zack

  • What kind of help do you need, exactly?

    I will review over this,

    NO. You should _start_ with the links given you.

  • I am reading all of it now... This tutorial on 8052 is alot easier to understand than any of the material i have read in books so far... There is a couple of things im kinda fuzzy on, ill keep reading and mabye it will become clear.

    Just wanted to express my gratitude!

    Zack