help!! 8051 family controller beginner

Status
Not open for further replies.

UroBoros

Advanced Member level 2
Joined
May 5, 2004
Messages
642
Helped
19
Reputation
38
Reaction score
8
Trophy points
1,298
Location
Cochin - India
Activity points
6,463
family controller

hello
I am a beginner to 8051 family of controllers.Presently I am doing Projects on PIC only. I would like to start my work on Intel family also.I am confused with a lot of versions.Kindly guide me with a suitable controller to start with. Also provide me some links to suitable IDEs and programmer to start with. I am doing development in assembly only for now. So C levels may not be comfortable for me.
 

80c51 beginner

Salam,

Many of companys now fabricate uC based on 80C51 architecture Intel, Atmel, Dallas ....

The most famous uC is ATMEL AT89CXXXX series.

You can start with AT89S51 (4k flash) or AT89S52(8k flash)
Both of them are ISP (In System Programble) so you can easy program them using a Cable(DB25) with buffer (Search EDABoard for AT89S ISP Programmer)

For a good tutorial and many resources go to
www.8052.com

Assembler ASEM51, It's good.

Simulator and Debugger Pinnacle52

I will send you the links for the above soft later.

Eng. Amr Ahmed
 

instructions to work in pinnacle52 ide

start with 8051(80C51) which has following config.
>>16 bit addressbus
>>8 bit data bus
>>4 IO ports
>>4K internal ROM
>>128 bytes RAM

Refer: 8051 Micro-Controller by KENNETH AYALA
& also INTEL MANUAL available on the Intel
Website
 

The 51 cpu evolved from the original 31 the first microcontroller .
There are plenty of manufacturers .BUt the only diffrence is the amount of peripherals .. For example some have 2 timers others 3 other even 1 .
Some have one UART some even 2 . Some have a internal FLASH other you have to provide it at the expense of using i/o pins ..
Some are faster than others There are now some that run at 100Mhs and are RISC cpus .. I even know of one manufacturer in canada that has a version of a 51 with a FLOATING POINT unit!!!!!!!!!
This days you can make your own version of 51 ..Ther are plenty of synthesizable free cores
One thing they all have in commun is the instruction set an the address spaces . That means you use the same software tools .. I will recomend you getting KEIL is more or less the standard de facto of the insdustry ..

Welcome to the 51 world..( no big deal)
 

eltonjohn said:
The 51 cpu evolved from the original 31 the first microcontroller .
8051 is a micoconroller / MCU / µC, while 8031 is a microprocessor / CPU.
Not the other way around as you wrote.


I believe Atmel's and Philips' are among the most popular 8051 MCUs.

Check out this web page if you want to learn about 8051 / 8052.
www.8052.com


Atmel AVR have some 8051 pin-compatible devices for drop-in upgrading.
The reset pin are inverted on Atmel AVR compared to Atmels 8051 MCUs, so you need to change the reset circuit if you want to upgrade a circuit from 8051 to AVR.
 

For my experience, you can start with 8031, 2051, etc. They are more simply. It should be a good start from these chips.
 

Sorry ME ... But when i was at INTEL in 1988 -1991 we used to call it a microcontroller . So probably the name stick to me .. No wonder
i still have all those now old INTEL data sheet they all say MICRONTROLLER ... I wonder if you are thinking more of the old 8085
Any ways you can call it as you want is OK with me !

here is one of those old dataheets
 

But you called the 8051 a CPU, I believe this is a MCU with internal program memory?

The normal defenition of a microcontoller vs. microprocessor:
CPU / µP / Central Processing Unit / microprocessor: Uses external program memory
MCU / µC / MicroController Unit: Has on-chip program memory and pheripehals.

But the data sheet you attached is a combined data sheet for 8031/32 and 8051/52, I think this is the reason why the headline says microcontroller.

The names CPU and MCU are often confused though.
I don't know if Intel use another defenition of the words than what is common.
Not that it means that much what we call the devices, but one might think a 8051 had no on-chip program memory if it is called a CPU.
 

well what i wanted to explain to the newbie is that the CPU 51 is still the same .. and the peripherals and memory are the ones that change from version to version CPU + Peripherals + memory = MCU
in the case of the 51 all versions share the same CPU ! wich evolved from the original 31 the world first microcontroller! ....
 

This is true it's the same CPU-core.
Allthough I wouldn't call the 8031 the first microcontroller, in my opinino it is a microprocessor while 8051 is a microcontroller.
But it's basically the same device, the one with external memory, the other with internal memory.


The most important thing Picstudent should consider when choosing a 8051 MCU is to choose one with Flash and ISP, which I think most of them have today.
As far as I know, Atmel and Philips are good and cheap choices.


Here is a complete 2003 list of 8-bit MCU vendors, (sorted by instruction set architecture):
**broken link removed**
 

Hi,

I do not want to make a polemic post but I agree with eltonjohn.

At my training stage (~20 years ago.... sig!!) at Intel the 8051 family was presented with the name Microcontroller.

The difference was in the intended use of the object not in the harware configuration.

The microcontroller definition was used to specify a CPU intended for the embedded applications.

The difference in hardware configuration was done by the available tecnology in '80.

The 8051 was a masked MCU (the production of the programmed MCU was done directly by INTEL with the customer code).

If the customer production was numerically insufficient for a masked production there was two option.
The first was the 8031 with an external EPROM.
The secon the expensive 8751 (windowed EPROM version) that was the progenitor of the flash MCU of these day (used in code development).
Of course there was a 8751 OTP (one time programming) version (internal EEPROM without window) that is still available today.

All type of internal code MCU can be used with external EPROM or RAM for code or ram extensions.
 

Oh you brought me back some memories .. As a very young engineer .Around 1985 we designed a Minitel terminal in my native FRANCE and we decided to go for a (8k) masked 8031 .. The cost of the masking fee was very affordable around $10,000 ( dollars of those days ) . And along with that we ordered 10K pieces .. But latter we discovered a code BUG ,, we had boxes and boxes of those critters and no use for them .. i recall one time we spent an afternoon embedding them in a wall just for decoration !!!!!!!jajajaj

i should also mention in those days you did't have the simulators of today
and emulators were very expensive ..
Later i recall INTEL came up with EPROM that had a MULTIPLEXER (373)
embedded inside ..
 

hello
Thanks everybody for a informative discussion and I am very happy that my post happen to trigger a very serious discussion which showered a lot of light into the evolving times of our good old controller.Atmel is very cheep and easily available in our area.So I am planning to start with that controller.I was able to collect or rather download assemblers and programmers for that.But do we have any IDE for Atmel processors just like MPLAB for Picmicros?
Regarding microcontrollers Vs Microprocessors discussion from a newbie's point of view I feel that 8031 is more a microcontroller than a processor because as per the defenision we have all minimum peripherals ,only Programe memmory is absent.So the device appraoaches the 'shape' prescribed for a controller,away from a processor.
Thanks for all the info.
CU
 

Uhmmm .. Because the 51 is such an old microcontroller ,it is a well stablish architecture .And the different manufacturers are not pushing it as their own architecture ,they don't need to.. So there are well stablished software companies that support most of the flavors of this chip .. As far as i know the only IDE for 51 that a particular manufacturer offers is the one by CYGNAL and the one by TRISCEND .(cygnal has changed of name latetly) The reason is that this flavors of 51 come with so many peripherals that they want to make it easy to program . Both chips fall now in a new category .they are considerd CSoC (configurable system on chip ) and still are based on the old intel CPU .. but because of the new multitude of peripherals, they require a better IDE . So you rather go for a professional programming enviroment like the KEIL or Archemides . Usually those companies support most of the flavors of the 51
The Triscend is probably the most complex of all the 51 derivatives it even has a DMA and is possible to do banking up to 16Mbytes it also contains a FPGA !
The cygnal on the other hand it is more mix signal oriented .and it comes with a vey powerful 51 copmpatible RISC core capable in some versions of up to 50 ~100 mips i just got samples of the new c8051F320 it has USB fully integrated !!.. ans is tiny
I enjoy a lot programming both of those chips .. the little cygnal allow me to tackle reasonable complex designs with very little components .
take a look at those 51 derivated products .for some reason i don't do 51 with ATMELS ! ..maybe i don't need to !
In any case ,that's why the 51 architecture is so great there is a lot of competition and innovation .

the cygnal is now silab :
**broken link removed**
the triscend is now XILINX
www.triscend.com
 

You might be right about the 8031 called a MCU because of the on chip peripherals, I think we have all have the idea of the difference between MCUs and CPUs.
On-chip peripherals might be enough to define it as a MCU.
Today most 8-bit devices have on-chip program memory, but some still uses an external Flash or ROM for program memory (MPU).

Renesas (formerly Hitachi and Mitshubishi) produces a lot of popular 4-, 8-, 16- and 32 bit families. Renesas both makes microcontrollers and micorprocessors .
So there might be three types
CPU
MPU
MCU

MPU is used for embedded processors while CPU are used for computers.
When they mention MPU and MCU under one, they call it Microcomputer.
Renesas: http://www.renesas.com/eng/products/mpumcu/index.html


http://www.mindbranch.com/listing/product/R97-469.html

http://www.csee.umbc.edu/courses/un...rt/lectures/Introduction_to_8051/mpuVsMc.html

It seems like there is different ways of defining the difference between MCUs and MPUs.

Devices with on-chip peripherals such as ADC PWM etc. are often called MCUs, while devices without peripherals are called MPUs.


-------------------------------------------------------------------------------------


If you are interested in CSoC you should check out Cypress, they have some very interesting SoC with 8051 core.
Cypress call them: Programmable System-on-Chip(PSoC), which is a trademark.
Both CSoC and PSoc are System-on-Chip, just with different names.
Cypress also have some of their own Development Tools for theese chips.
The Cypress PSoC's areavailable with USB fully integrated and are good for Mixed-signal design just like Silicon Laboratories (Cygnal).
www.cypress.com

If you want very fast 8051-cores you should go for Maxim/Dallas and Silicon Laboratories (Cygnal).
 

eltonjohn said:
the triscend is now XILINX
www.triscend.com

Triscend (now owned by Xilinx) stops manufacturing of all their devices later this year.

Triscend announces EOL for its existing products:

EOL Notification: http://www.triscend.com/companyinfo/eol.htm


FAQ regarding EOL: http://www.triscend.com/companyinfo/#
 

THis site have a C programming ebook for 8051 microcontroller family.

Please have a look
 

MY GOD!!!!!!!!!!


Thanks ME didn't know about TRISCEND going out of bussiness ! that is the sentence righ there ..

IS A SAD DAY FOR ME .! because i was an advisor when TRISCEND started and tried to raise $9M and they got $20M from the PANASONIC investing group i did the presentation on why this was a NICE TECHNOLOGY , i also was one of their first CUSTUMERS ... TRISCEND never went PUBLIC .. by the time they wanted increase the value of the company .. The world was different PLACE . XILINX was the only taker becasue the ingineers that conceived TRISCEND were XILINX escapees ..

Boy ... my HEALEY is gone now TRISCEND
this world really sucks !!! Please don't beleave that there is a recovery in the US .. it's just BULL .. !!!
 

eltonjohn said:
TRISCEND never went PUBLIC .. by the time they wanted increase the value of the company .. The world was different PLACE . XILINX was the only taker becasue the ingineers that conceived TRISCEND were XILINX escapees.

Because of the need to align Triscend's personnel with newer Xilinx products and vision it became evident that it made business sense to EOL the Triscend products and focus on the future of the embedded market space.

Interesting, I didn't knew Triscend was started by Xilinx escapees.
It seems Xilinx just bought Triscend to get their escapees back to work with Xilinx products. Closing down Triscend only a year after they bought it.

You can't even find a datasheet or application note at their web site anymore.
But if you are interested to see what these products was like I googled for a "Triscend data sheet" and found this at Keil's web site:
https://www.keil.com/dd/docs/datashts/triscend/te5xx.pdf

It seems you did a good job as advisor when Triscend should raise the money though, they raised more than double of the planned, but as you say it was much easier to raise money a few years back than it is now.
 


Cypress has a seperate web site dedicated to their PSoC microcontrollers:
www.cypressmicro.com
I only posted the link to their main site www.cypress.com. I don't know if you can find the link to www.cypressmicro.com there.
It can be hard to navigate at www.cypressmicro.com, I have seen better and more logic/simple built web sties, but you will probably learn how the site is built and how to navigate.
But it is much easier to navigate from www.cypressmicro.com, most of the links points to pages placed at www.cypress.com.


-------------------------------------------------------------------------------------


Cypress introduction to PSoc:
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…