That pic is new to me but it looks like you may also need to check the configuration word 1 bit 6.
That pic is new to me but it looks like you may also need to check the configuration word 1 bit 6.
"It will never happen here!" just happened here.
My thoughts and prayers for Sandy Hook victims and families.
Are you using an external pullup resistor for your switch configuration?
"No one is completely worthless. They can always serve as a bad example."
Anonymous
"No one is completely worthless. They can always serve as a bad example."
Anonymous
just tried an external pullup resistor on RA3 (vs internal weak pullup)- same results.....if I ground RA3 (MCLR pin), the PIC resets
...aaaaaaarrrrgggHHHH
Before programming your PIC, you've checked the configuration bits in your device programmer software and they match your code right?
Are you sure your programmer do it right?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
If it helps, I'm using a Pickit2 programmer ...whilst I've been away from all of this for a while, I don't recall having to do anything special previously wrt the programmer when using RA3 as a digital input (albeit probably using a different chip).
Just moved the Sitch off RA3...to another input pin, device is not resetting now whe the switch is pressed, so it is definitely related to when RA3 goes low, the 16f1824 is resetting!
Bookmarks