Learning the 8051

Can anyone recommend a book on the 8051 with a good explaination o interfacing to one, especially with regards to memory mapped I/O and ho the timing works? I don't have much of a background in usin microcontrollers (this is a hobby right now).

Reply to
tone8051
Loading thread data ...

formatting link

Reply to
Spehro Pefhany

formatting link
has a lot of good info to help you get started.

--
Rich Webb     Norfolk, VA
Reply to
Rich Webb

formatting link
has lots of information.... you will have to search around this web site.

formatting link
has some very good forums where you can post questions.... (warning not all people who reply to the forums are experts.... )

Joe

Reply to
Joe G (Home)

In message , Spehro Pefhany writes

Probably not as most of the 600 odd variants of the 8051 family (none of which are made by Intel anymore ) have extensions to the basic mode and in any event tend top be based on the 8052

For books see

formatting link

for other 8051 stuff see

formatting link
and hit the 8051 button at the top

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills  Staffs  England     /\/\/\/\/
 Click to see the full signature
Reply to
Chris H

Actually, the 8052 is identical to the 8051 aside from memory sizes.

Most of the derivative part data sheets are complete only in presenting the delta from the original. Books on microcontrollers tend to be quite unreliable-- aimed at beginners, yet filled with errors and omissions.

Without a sound understanding of the original, one will be forever operating at a disadvantage. The MSC-51 Family Reference Manual is still pretty much an indispensable reference-- particularly the architectural overview and programmer's guide sections. Similarly, some of the classic application notes.

What has usually changed is the peripherals and the electrical characteristics. And, often, the timing of the instructions. Not much, if any, change to the instructions since the move to CMOS.

Trying to master the 8051 without the original Intel documents is like trying to master C programming without bothering to acquire a copy of K&R. And all the worse if you try to do it from thick error-filled books that were churned out in a few weeks each.

Best regards, Spehro Pefhany

--
"it's the network..."                          "The Journey is the reward"
speff@interlog.com             Info for manufacturers: http://www.trexon.com
 Click to see the full signature
Reply to
Spehro Pefhany

Hi John,

Welcome to the fabulous hobby of 805x microcontroller engineering. You'll find it a sometimes tricky, but tremendously rewarding and great value for money hobby.

Once you've oriented yourself a little, then please visit my 805x website. You'll find an ever expanding gallery of projects and lots of free microcontroller software to download.

formatting link

It's good to have you aboard, John.

Regards, Tressie

Reply to
Trespasser

The common 8051 background docs are also here :

8051 Microcontroller Instruction Set (50 pages, revision C, updated 07/06)
formatting link
8051 Microcontrollers Hardware Manual (113 pages, revision E, updated 01/07)
formatting link

You will also need the specific device DataSheet, of course !

If you need a second-opinion datasheet, the ones here are well presented, and not simple paste copies of the same master...

formatting link

Which 8051 are you using ? If you are new, choosing one with On-Chip DEBUG is a very good idea -

formatting link
have some good ToolStick models

Their datasheets are also quite complete.

-jg

Reply to
-jg

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.