hi to all As i am startd working with P89v51rd2.i am facing some problem some chips are burinning properly and some are not i am uaing ALL-11C2 universal programmer to programming the controller As there is no problem in H/W as some IC's are working properly but some are not i placed the user code on block 0. as i shifted from 12 CLK to 6 CLK at ALE i am getting 4 MHz and 8 MHz Freq respectively. Crystal is 24 MHz .so i think there should not any problem with programmer with this i am attaching the code please guide me where is actual problem.
#include <P89V51Rx2.H> #include<intrins.h> #include<define.h> /*******************************************************************************************************/ volatile unsigned int TimeTick1ms; void TMR_1(void)interrupt 3 { TR1 = STOP; TL1 = COUNT_LO_1mS; TH1 = COUNT_HI_1mS; TR1 = RUN; TimeTick1ms++; if(TimeTick1ms & 0x01) {P1 =~P1;} if(TimeTick1ms >= 100) { TimeTick1ms = 0; P3 =~P3; } } void main(void) { FCF = 0x01; //FST = 0x00; P0 = 0x3f; P1 = 0xff; P2 = 0xf8; P3 = 0xff; IEN0 = 0x88; TMOD = 0x11; TH1 = 0x63; TL1 = 0xBF; TR1 = RUN; TimeTick1ms = 0; while(1) { P2 =~P2; P0 =~P0; } }
"some chips are burinning properly and some are not"
What do you mean by, "not burning properly"?
What exactly are the problems you are seeing?
How have you determined that they are due to "not burning properly"?
"there is no problem in H/W as some IC's are working properly but some are not"
That doesn't follow at all!
One likely cause of such intermittent behaviour is that you do have a hardware problem - something is marginal, so it works some of the time but not all of the time.
"so i think there should not any problem with programmer"
On what basis do you think that?
What is your code actually supposed to do?
are you aware of RD2 and RD2H differences.
your problem may be due to a mix of the two.
Erik
did not see the 'V' in that case it will be the difference between the 'V' and the "VC"
ft and she fel
It is storage folder for microprocessors forum (well known resource, but it is in reading language) for us to view.
"It is storage folder for microprocessors forum (well known resource, but it is in reading language) for us to view."
Is this just another Troll making meaningless posts, or is it another symptom of the ongoing server problems:
http://www.keil.com/forum/docs/thread11200.asp