This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Auto baud error

#include <REGX51.H>
void delay(unsigned int value);
void main()
{ while(1)
{ P1_0 = ~P1_0; delay(10000);

P1_1 = ~P1_1; delay(40000);

P2_0 = ~P2_0; delay(80000);

P2_1 = ~P2_1; delay(120000);

}
}

void delay(unsigned int value)
{ unsigned int i,j; for(i=0;i<65535;i++); for(j=0;j<value;j++);
}

I cant able to fuse the code in chip(p89v51rd2) using flash magic. It always diplay like "reset device to ISP mode now". Kindly help me regarding this.