Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Getting started with 8051

Status
Not open for further replies.

Sputnik

Full Member level 3
Joined
Oct 19, 2004
Messages
150
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,298
Location
South Africa
Activity points
1,667
80c31 tutorial

Recently, I have only been able to use the PIC, but (comparing by the datasheets) is inferior to the 8051. I was thoroughly going through my local electronic store's catalogue and I came across the 8051, everyone speaks about more than the PIC. So I'm going to buy 1 or 2 chips.

Now, I want everything I need to program it. The programmer schematic, the assembler and compiler and programming software. I would like to be able to program it in assembly (as I already know PIC assembly).

Thanks
Sputnik :idea:
 

Jack// ani

Advanced Member level 3
Joined
Dec 2, 2004
Messages
759
Helped
106
Reputation
220
Reaction score
58
Trophy points
1,308
Activity points
5,018
getting started with 8051

I suggest you to use ISP capable 8051 chips like 89S51 or 89S8252 because they are quite easy to program, else you have to waste lot of time making a programmer. You can use STK200 cable, its very very easy, it will be ready within an hour!!! If you are using assembly you can go for ASM51, it is a very popular assembler for 8051 or if you like C then Keil will be perfect choice

Hope this helps
 

SARCO

Member level 2
Joined
Mar 9, 2004
Messages
49
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,288
Activity points
240
what is in 8051 internal rom

hi Sputnik
see this links i think its good for you
goodluck
sarco
 

NoXuS

Newbie level 5
Joined
Oct 26, 2004
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
92
8051 c external rom programming

I haven't programmed the 8051 myself but I do know you can find a good tutorial on the following website.

https://www.8052.com/tutorial.phtml

I believe atmel has some very good 8051 based microcontrollers although I'm not an expert.
(but I've read several articles in which an atmel 8051 microcontroller was used)

Hope it helps!
 

Sputnik

Full Member level 3
Joined
Oct 19, 2004
Messages
150
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,298
Location
South Africa
Activity points
1,667
8031 connect external program rom

What is the difference between the 8051 and 8052?

Sputnik :idea:
 

NoXuS

Newbie level 5
Joined
Oct 26, 2004
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
92
ds89cxxx programmer

Look at the tutorial ... it's explained in there.
Essentially the 8052 is a newer more performant (read more features) version of the 8051.
 

chicken_feet

Member level 4
Joined
Mar 3, 2005
Messages
69
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
2,138
8052 microcontroller timer2 tutorial

Hi Sputnik,

Two differences that i managed to find, and i believe these are the only differences -
1. An extra 16 bit Timer 2 that is programmed with five additional special function registers.
2. Extra 128 bytes of RAM that can only be address indirectly. (0x80 to 0xff)

Buy 89s52 if the difference in cost is not big, since everything else is the same, including assembly instruction. And programmer can be built easily.

Brgds,
chicken_feet


pm me if you need the assembler and programmer
 

glenjoy

Banned
Joined
Jan 1, 2004
Messages
963
Helped
72
Reputation
146
Reaction score
20
Trophy points
1,298
Location
Philippines
Activity points
0
8051 isp advantages

Use DS89Cxxx series from Maxim, easy to program via RS232 and Hyperterminal, search this section of the board, lots of discussion about this topic already.
 

Jack// ani

Advanced Member level 3
Joined
Dec 2, 2004
Messages
759
Helped
106
Reputation
220
Reaction score
58
Trophy points
1,308
Activity points
5,018
how to program 8051 internal flash

Hi glenjoy,

Maybe DS89CXXX are costly then Atmel AT89SXX!
 

Sputnik

Full Member level 3
Joined
Oct 19, 2004
Messages
150
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,298
Location
South Africa
Activity points
1,667
intel 8051 microcontroller internal rom addresses

Thanks Shafee001, but I'm a bit confused, can this programmer be used for the 8051, aren't they different, the 89S51 and the 8051, or are they just from different manufactures?

Sputnik :idea:
 

Jack// ani

Advanced Member level 3
Joined
Dec 2, 2004
Messages
759
Helped
106
Reputation
220
Reaction score
58
Trophy points
1,308
Activity points
5,018
8051 getting started

Sputnik dude 89S51 is ISP version of 8051 that all. You can program 89S51/52 with the uploaded programmer.

Hope this helps
 

Sputnik

Full Member level 3
Joined
Oct 19, 2004
Messages
150
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,298
Location
South Africa
Activity points
1,667
getting started with stk200

What does ISP mean, what advantages or features does it have over the 8051, besides, I only have access to the 8051 anyway!

These are the chips available from my electronics store:
80C31
80C32
80C42
80C51
80C88
80C95
80C97

Sputnik :idea:
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,309
Reputation
4,620
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,459
differenc 8051 vs 8052

Some of 8051 core-base microcontroller can be programmed through serial port (ISP) and no additional programmer is required.
The list of microcontroller you posted consists of microcontroller without on-board EPROM, FLash or any other program memory. Goto Maxim-IC website and select some of microcontrollers (based on 8051-core) with serial boot-loader (free samples) or if you use micros from your list you will have to use 74373 or similar to connect an external program memory ..
 

suromenggolo

Advanced Member level 4
Joined
Feb 25, 2005
Messages
107
Helped
9
Reputation
18
Reaction score
0
Trophy points
1,296
Activity points
2,240
geting started 8051

Sputnik said:
What does ISP mean, what advantages or features does it have over the 8051, besides, I only have access to the 8051 anyway!

These are the chips available from my electronics store:
80C31
80C32
80C42
80C51
80C88
80C95
80C97

Sputnik :idea:

80C31 -> it is 8051 family chip without internal ROM program. it's must have external ROM some like : EEPROM, UV EPROM.
80C32 -> like above, but have feature addition
80C42 -> it's old microcontroller from Intel. may be have obsolet
80C51 -> it is 8051 family chip with internal ROM program. i don't how to programming it.
80C88 -> it is microprocessor x86 intel family. it is used old PC microprocessor like XT PC
80C95 -> i don't know
80C97 -> it 16 bit microcontroler
 

Jack// ani

Advanced Member level 3
Joined
Dec 2, 2004
Messages
759
Helped
106
Reputation
220
Reaction score
58
Trophy points
1,308
Activity points
5,018
assembly language tutorial 805x

Sputnik said:
What does ISP mean, what advantages or features does it have over the 8051, besides, I only have access to the 8051 anyway!

These are the chips available from my electronics store:
80C31
80C32
80C42
80C51
80C88
80C95
80C97

Sputnik :idea:

You cannot program any of the uC using prgorammers listed above. uC you have listed have external memory! Which was good in those old days....
 

Sputnik

Full Member level 3
Joined
Oct 19, 2004
Messages
150
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,298
Location
South Africa
Activity points
1,667
89s8252 asm instruction

I'm getting mixed answers about the 8051, cause the datashet says it has 4K of Flash and can address a further 60K external memory, but you all say no, it has no internal Flash.

Sputnik :idea:
 

glenjoy

Banned
Joined
Jan 1, 2004
Messages
963
Helped
72
Reputation
146
Reaction score
20
Trophy points
1,298
Location
Philippines
Activity points
0
is 8031is advantages over 8051 microcontroller

Sputnik said:
I'm getting mixed answers about the 8051, cause the datashet says it has 4K of Flash and can address a further 60K external memory, but you all say no, it has no internal Flash.

Sputnik :idea:

I think that is chip dependent, if ever it has internal flash, then again you need a special programmer to program that micro.
 

jzaghal

Full Member level 2
Joined
Jul 31, 2001
Messages
130
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,296
Activity points
955
sample 89s51 programs

Hi to all,

Flash based 51 family start their numbers with 895X,
for example 8952 is an 8KB Flash with128 Bytes internal RAM, and 3 Timers.
The 8951 is a 4KB Flash with 128 Bytes of RAM, and 2 Timers.

Rom based 51 family start their numbers with 805x,
for example 8052 has 8KB ROM memmory with 256 internal RAM, and 3 Timers.
The 8051 has 4KB ROM and 128 Bytes, with 2 Timers.

Romless 51 family start their numbers with 803X,
for example 8032 is the same as 8052 with no internal ROM or Flash.
The 8031 is the same as 8051 without the 4KByte ROM.

All controllers can access 64K ROM + 64K RAM.

Hope this is clear, and I haven't made a mistake.

Cheers.
 

Sputnik

Full Member level 3
Joined
Oct 19, 2004
Messages
150
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,298
Location
South Africa
Activity points
1,667
external rom 8051

Great! Now that is sorted, how do I program it?

Sputnik :idea:
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top