PORTB is internally puled up,
i switched ON pin 4 in the DIP switch (RB3 to zero) and still having the same problem![]()
PORTB is internally puled up,
i switched ON pin 4 in the DIP switch (RB3 to zero) and still having the same problem![]()
Hi,
I have never liked the 16F877A pic. When I used it I always had resets and other strange issues so I just changed to 18F452 or 18F4620 which are both pin-compatible with the 877A and not that much more expensive.
Just make sure the LVP (low voltage programming) is turned off in the config bits.
Sometimes I rather have a working product than really understanding why it doesnt work.
Hi,
With the BIG caps on your board something Hurts me :
14.5 Power-on Reset (POR)
A Power-on Reset pulse is generated on-chip when
V
DD rise is detected (in the range of 1.2V-1.7V). To take
advantage of the POR, tie the MCLR pin to V
DD
through an RC network, as described in
Section 14.4
“MCLR”
. A maximum rise time for VDD is specified.
See
Section 17.0 “Electrical Characteristics” for
details.are met.
When the device starts normal operation (exits the
Reset condition), device operating parameters (voltage,
frequency, temperature, etc.) must be met to
ensure operation. If these conditions are not met, the
device must be held in Reset until the operating conditions
looks there's a missing cap in your design ... don't you think ???
On my side, I use MC34064P5 supervisor to get rid of power on or reset rise times ... and have NO issues with reset pin ...
BTW ... a hardware reset after reading the Prog memory is not to forget ...
Alain
Last edited by Acetronics2; - 7th July 2011 at 16:30.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks