7 second delay on startup


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Location
    New Hampshire, USA
    Posts
    107


    Did you find this post helpful? Yes | No

    Default

    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?

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    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

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default Slow startup

    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

Similar Threads

  1. 16F628A - Stops if release power switch.
    By dene12 in forum General
    Replies: 16
    Last Post: - 14th February 2009, 08:57
  2. Old and beyond help ?
    By DavidFMarks in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 11th December 2008, 16:23
  3. 7 segment digit problem (using Mister E's code)
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 9th September 2005, 21:25
  4. Memory Space of the PIC16F84...
    By Tear in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 1st July 2005, 20:55
  5. Problem with saving to EEPROM...
    By Tear in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 1st July 2005, 01:10

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts