Here is the code listing. The compiler complains about the RCSTA1.7 = 0 command. If I comment it out, the rest of the code compiles fine. The error message is "bad expression"
code:
recvoff:...
You have to be careful when using the pin as an input.
While a series R can help isolate the pin from the ICSP programmer, if the external circuit is driving the pin high then this can change the...
I conect ICSP directly to pins. And from konektor, other part of circuit connect via 2K resistor. If you use pin as inputs, then other hardver driving state of pin. So not to have colision with...
pedja089 Today, 13:19I wouldn't do that. Your safest bet would be to have a jumper you can remove to isolate the output of the HC14 from the PGC/PGD pin while you're programming.
tumbleweed Today, 13:12Thanks,
Not sure how I would have and looking at that register even any value 0's or 1's, it would still work??
Considering the application doesn't require any precise timing, should I provide a...
sounds like you have over written the osccal/ value stored at the top of memory for 12f508.
Most programmers will not reprog that chip when the value is missing.
The old pickit2 can reset a value...
Thanks,
I've removed all other installs and switched to 5.35.
But I'm having problesm with 12F508 micros, seem like I get 2 chances to program the micro then, I get failed to program device...
you will need to post some code that demonstrates that problem
richard Today, 09:36
Re: Direct Register Access not recognized
That code sure doesn't compile but it's not because of RCSTA1.7=0 but rather END SELECT. If I remove END SELECT the reset does compile here.
HenrikOlsson Today, 16:49Since you claim it compiles if you comment out RCSTA1.7=0...