Russ,
Do you have a Pull-Down resistor on the RB4/PGM pin?
<br>
Russ,
Do you have a Pull-Down resistor on the RB4/PGM pin?
<br>
DT
JDG: The program runs normal speed once it starts. I re-programmed the PIC (nothing different, as far as I know), but now the delay is gone. I did not specify the clock frequency, it seems that the MeLabs programmer over-rides any PICBASIC commands?
Darrel: The RA4/PGM pin is set as an output and low. Do I need a pull down resistor?
Yes, you still need a resistor.
When the LV programming is enabled, the output stage is over-ridden, so the state of the TRIS bit will have no effect.
<br>
DT
Show us the regular code, not the assembly output.
Why it works now is beyond me. The programmer won't override anything in PBP sends it or anything that PM sends it. The software that drives the programmer might, but definetely not the programmer itself.
In any case, I don't see a 7 second delay in the startup as a config word problem or something like that.
Maybe something in the circuitry just took awhile to charge up or power up and combined with no resistor on RB4 was the problem overall....who knows...
JDG
Bookmarks