saad
Advanced Member level 4
I have written code in my PIC compiler "WIZ-C"
I am using simple program flashing LED on all ports but it did not work
although its simulation is 100% correct and show exactly output what i required
Programmer is also programming PIC16F877 correctly no error exist
watchdog timer=off, brown out rest=off
XT is the oscillator type i also tried RC circuit
in RC circuit i used RC is the oscillator type
Mclr pin is connected to 5V
Oscillator is working properly i checked it on OSCILLOSCOPE
I have different types of oscillator 4MHz , 10MHz and 12MHz are all in good conditions and working properly i also checked it in Oscilloscope
when i use red wire of function generator to CLKIN pin and floating ground pin it work properly but if i grounded the black wire led does'nt flash
I also tried RC circuit 11.36KΩ with 22pF capacitor but also failed what can i do
i tried different configuration of oscilator and burned the PIC but after insert in bradboard i failed to execute the circit
Plz provide me the solution
I shall be very thankful to you
I am using simple program flashing LED on all ports but it did not work
although its simulation is 100% correct and show exactly output what i required
Programmer is also programming PIC16F877 correctly no error exist
watchdog timer=off, brown out rest=off
XT is the oscillator type i also tried RC circuit
in RC circuit i used RC is the oscillator type
Mclr pin is connected to 5V
Oscillator is working properly i checked it on OSCILLOSCOPE
I have different types of oscillator 4MHz , 10MHz and 12MHz are all in good conditions and working properly i also checked it in Oscilloscope
when i use red wire of function generator to CLKIN pin and floating ground pin it work properly but if i grounded the black wire led does'nt flash
I also tried RC circuit 11.36KΩ with 22pF capacitor but also failed what can i do
i tried different configuration of oscilator and burned the PIC but after insert in bradboard i failed to execute the circit
Plz provide me the solution
I shall be very thankful to you