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.

how can i write a code in C to interface 89s52 with PC?

Status
Not open for further replies.

gazbykung

Newbie level 3
Joined
Dec 17, 2006
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,304
like the subject i post, thanks for help.
 

hi dear friend.
you can write code in C to interface 89s52 with PC by Keil software.
this software is very powerfull in programming and simulation of program in micro.
i suggest you to use this software to write code in C.
Good Lock.
 

may be i'm poor in english,the main aim of mine is the source code in C language to contact with 89s52 by RS-232, sorry for my language. and thanks for help.
 

[/b]
Assalamo Allykum !

Do you want to interface the AT89C52 with PC serially or parallel.

If you want to connect it parallel then use the commands

outportb(portaddress,data0;

inportb(portaddress);

You can use the help for these commands.

Wish you a good luck

TAke Care

Keep remember me in your prayers.
[/b]
 

first of all you should conform which type of protocol you want to use for interface then only you have to go to programing.for programming in c there are many cross compilers.If you are bigneer go for KEIL cross compiler
 

Are you talking about PC side programming or microcontroller side programming?
 

Re: microcontroller programming

i m a newbee, can any1 help me out ??

i want to learn how to program microcontrollers.............. embedded systems ncludede..
pls lemme know the coplete software package needed :)

thanx and have a ncie time

-
ahsan
bangladesh

Added after 1 minutes:

b-shoitan said:
i m a newbee, can any1 help me out ??

i want to learn how to program microcontrollers.............. embedded systems ncludede..
pls lemme know the coplete software package needed :)

thanx and have a ncie time

-
ahsan
bangladesh

and some books too............. pls any 1???


my mial id would be ahsan.jnl[at]gmail [dot]com

thnx once again :)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top