Continue to Site

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?
 

AT89C52

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

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?
 

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**
 

AT89C52

Atually how does AT98C52 work with external EPROM?
 

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 ,,
 

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
 

AT89C52

how to switch between programmer and simulator in program studio?
 

AT89C52

may i know which simulator/debugger is available?
 

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
 

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.
 

AT89C52

How about the uVision2 Debugger? good?
 

Re: AT89C52

Hi

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

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top