Keil Logo

Lost

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Zack S
Posted
2-Oct-2011 04:57 GMT
Toolset
None
New! 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

Read-Only
Author
Andrew Neil
Posted
2-Oct-2011 07:11 GMT
Toolset
None
New! RE: Lost

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

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

Links to the so-called "bible" for the 8051: http://www.8052.com/faqs/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 !

Read-Only
Author
Andrew Neil
Posted
2-Oct-2011 07:15 GMT
Toolset
None
New! A word of caution about books

particularly 8051 books:

http://www.8052.com/forum/read/175610

Example: http://www.8052.com/forum/read/175885

Read-Only
Author
Zack S
Posted
2-Oct-2011 07:25 GMT
Toolset
None
New! RE: A word of caution about books

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

Read-Only
Author
Tamir Michael
Posted
2-Oct-2011 08:11 GMT
Toolset
None
New! RE: A word of caution about books

What kind of help do you need, exactly?

I will review over this,

NO. You should _start_ with the links given you.

Read-Only
Author
Zack S
Posted
2-Oct-2011 23:03 GMT
Toolset
None
New! RE: A word of caution about books

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

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.