Try posting the circuit so we can check it out.
However, unless the circuit (and software) is correctly designed, if you happen to enable the internal oscillator then you can't access it after that.
Hi,
Well an unusual project so hows about an equally unusual answer.
If its a nice sunny day over there were the workers will be taking their lunch breaks on the grassy areas outside, why not nip down to Chandler and see if the Microchip guys can help.
Nigel! That's precisely what I did right before everything went wrong. I guess I didn't do enough homework before jumping into a project. Setting the internal oscillator seemed innocuous to me, as my project wasn't timing critical and I didn't want to deal with extra crystal/resonator circuitry.
So how bad did I mess things up? I suppose I'll be reviewing the programming specification file tonight after work.
And then put a bootloader on it so it never happens again.
But with a bootloader you only "program" it once. When you change the code you're only using the serial connection. If you have a finnicky programmer you'd be dealing with it all the time.
Then buy or build a decent programmer.
One way is to set MCLR to 13V BEFORE you switch Vdd ON. The other way (and the way I did it) is to switch MCLR to 13V VERY quickly after switching Vdd ON - there a certain startup time for a PIC to begin running, and it's easily long enough to get MCLR high after Vdd. If your programmer doesn't switch Vdd you're a bit stuffed, but an alternative is if you have FULL control of MCLR, and can switch it LOW, Vdd, or 13V - bringing it LOW stops the oscillator (assuming MCLR isn't used as an I/O pin), then switching it to 13V from LOW enters programming mode long before the oscillator can run.
You need a programmer that supports VPP before VDD.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?