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.

NXP 89V51RD2 Serial programming issues

Status
Not open for further replies.

nakul8873

Newbie level 4
Newbie level 4
Joined
Apr 26, 2010
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
USA
Visit site
Activity points
1,328
I am using flash magic to program my controller and is was working fine with me until I programmed the controller with
#include<reg51.h>

void main()
{
TMOD = 0x20;
TH1= 0xFD;
SCON = 0x50;
TR1 = 1;

while(1)
{

SBUF = 'A' ;
while(TI==0);
TI = 0;
while(RI==0);
P1 = SBUF;
RI=0;

}
}

first i thought my controller is faulty so i changed and it was working as soon i dumped the above program to this new controller this one also could not be programmed using serial programming

can any one help me to fix the above problem.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top