Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

Which compiler is suitable for AT89C52?

Status
Not open for further replies.

lwecen

Newbie level 6
Joined
Apr 12, 2005
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,429
Hi, anybody can tell me which compiler suitable for this chip?
 

glenjoy

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

You can use Keil C Compiler for that Chip. PM me.
 

lwecen

Newbie level 6
Joined
Apr 12, 2005
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,429
AT89C52

Thanks. Keil compiler seem like that i need to write code in 8051 Assembly or C , but not both.

Beside the compiler, do i need to have programmer
or anything else?
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,311
Reputation
4,624
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,416
Re: AT89C52

To program the microcontroller you will need to build or buy a programmer.
Here is a link to a programmer that you can build by yourself:
**broken link removed**
 

lwecen

Newbie level 6
Joined
Apr 12, 2005
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,429
AT89C52

Atually how does AT98C52 work with external EPROM?
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,311
Reputation
4,624
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,416
Re: AT89C52

It is a waste of time for me to elaborate on this subject if you can read about it here:
https://www.pjrc.com/tech/8051/dev-board-desc.html
(middle section). This site will also explain how to use external RAM etc.
Main thing, which you can find in the attached schematic diagram is that you need to fetch the lower part of the address (A7 -A0) and this is done by a 8-bit latch, such as 74373, controlled by the ALE pin, but this you will learn from that drawing ,,
 

xfilesb

Newbie level 5
Joined
Mar 28, 2005
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,381
go to www.Batronix.com

get program studio this is wonderful simuolation fot at89c52
and there are also the circuit of the programmer

www.Batronix.com
 

lwecen

Newbie level 6
Joined
Apr 12, 2005
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,429
AT89C52

how to switch between programmer and simulator in program studio?
 

lwecen

Newbie level 6
Joined
Apr 12, 2005
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,429
AT89C52

may i know which simulator/debugger is available?
 

Noman Yousaf

Full Member level 4
Joined
Nov 19, 2003
Messages
210
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Location
Lahore Pakistan
Activity points
1,774
AT89C52

pinnacle52 profasional is the best assambler and simulater. check its demo ver. (limit to 2k code).
by search in google.com
i have worked on it. it is nice
 

fuzzy

Advanced Member level 4
Joined
Sep 25, 2004
Messages
108
Helped
13
Reputation
26
Reaction score
3
Trophy points
1,298
Activity points
998
Re: AT89C52

Atually how does AT98C52 work with external EPROM?

If attach /EA pin low.89c52 run external eprom
If you don attach low /EA and your software use over 8k 89c52 runs external eprom.
 

lwecen

Newbie level 6
Joined
Apr 12, 2005
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,429
AT89C52

How about the uVision2 Debugger? good?
 

ahm_hassaan

Member level 1
Joined
Feb 17, 2005
Messages
33
Helped
5
Reputation
10
Reaction score
0
Trophy points
1,286
Activity points
1,668
Re: AT89C52

Hi

uvision2 is good debugger, and easy to use for the first time, you can compile then debug your program.
 

lwecen

Newbie level 6
Joined
Apr 12, 2005
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,429
Re: AT89C52

Using 22.1184MHz crystal. if use timer 0 to measure time,configure Timer 0 as 16-bit time mode. if i want this Timer 0 to count up to 25ms then reset, what value should i put in the TH0 and TL0?
Below calculation is it correct?
22.1184MHz/12=1843200
0.025*1843200=46080
then TH0=0xB4, TL0=00
Thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top