Hello Henrik,
you and I have talked about this code a few times now. I had to change my name to protect the guilty! Actually I lost my original password and tried to recover the password but never...
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...
Competitions are subject to the privacy policy and website terms and conditions of picbasic.co.uk, owned and controlled by Crownhill Associates Limited (“Crownhill”).
The following rules shall apply, together with any instructions or rules specific to any current competition. By entering any of the community run competitions, you are deemed to have accepted the following:
...
Common Development and Distribution License (CDDL) is a free software license, produced by Sun Microsystems, based on the Mozilla Public License (MPL), version 1.1.
Re: Direct Register Access not recognized
Hi Paul,
HenrikOlsson Today, 18:36The following compiles here, using PBP 3.1.6.4 and MPASM 5.87:
recvoff:
RCSTA1.7 = 0
while ! TXSTA1.1 :wend ...