userx2
Full Member level 3
- Joined
- Sep 19, 2008
- Messages
- 177
- Helped
- 2
- Reputation
- 4
- Reaction score
- 3
- Trophy points
- 1,298
- Activity points
- 3,092
Hi
I am pulling my hair our here in frustration...
I have the non debug 8 pin version chip here, connected to an ICD3.
It seems to run code ok in that I can toggle GP1 and I also have the timer working.
The oscillator appears to be slow. I would like to verify this by measuring it on GP2.
I have tried everything I can think of but can't get GP2 to output the FOSC4. The pin just stays low, no matter what I try.
I have tried:
Nothing specific. -> No output
OSCCAL.0 = 1 -> No output
OSCCAL.0 = 0 -> No output
TRISGPIO = 0 -> No output
TRISGPIO = 0x2 -> No output
GP2 works ok as if I use it as an input and I am sucessfully using it.
Can someone please help me get that FOSC4 to come out on GP2?
Best regards
X
I am pulling my hair our here in frustration...
I have the non debug 8 pin version chip here, connected to an ICD3.
It seems to run code ok in that I can toggle GP1 and I also have the timer working.
The oscillator appears to be slow. I would like to verify this by measuring it on GP2.
I have tried everything I can think of but can't get GP2 to output the FOSC4. The pin just stays low, no matter what I try.
I have tried:
Nothing specific. -> No output
OSCCAL.0 = 1 -> No output
OSCCAL.0 = 0 -> No output
TRISGPIO = 0 -> No output
TRISGPIO = 0x2 -> No output
GP2 works ok as if I use it as an input and I am sucessfully using it.
Can someone please help me get that FOSC4 to come out on GP2?
Best regards
X