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.
Since you claim it compiles if you comment out RCSTA1.7=0...
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"
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...
I 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.
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...
Published on - 23rd April 2010 19:39
Number of Views: 6313
1. How can I reference a BIT in a BYTE?
2. How can I reference a BIT in a WORD?
3. How can I reference a BIT in a BYTE ARRAY?
4. How can I reference a BIT in a WORD ARRAY?
5. How can I reference a BYTE in a WORD ARRAY?
...
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...