BUG IN PBP 2.50 & 2.50A pic16F688 ??


Results 1 to 14 of 14

Threaded View

  1. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Yep. There is a problem in the OWOUT library routine that causes a continuous loop if the
    defined OSC > 8.

    Open your pbppic14.lib. Scroll down to the OWOUT library routine.

    Change this;
    Code:
        iorwf   INDF, F     ; Set to input then wait ~10us for recovery
        decfsz  R1 + 1, F   ; Do next bit, if any
      if (OSC > 8)
        movlw    9          ; Delay 9us
        call     PAUSEUS
      endif
        goto     owoutloop
    To this;
    Code:
        iorwf    INDF, F     ; Set to input then wait ~10us for recovery
       if (OSC > 8)
        movlw    9           ; Delay 9us
        call     PAUSEUS
       endif
        decfsz  R1 + 1, F    ; Do next bit, if any
        goto    owoutloop
    decfsz R1 + 1, F needs to be after if (OSC > 8) and just before goto owoutloop or you're stuck
    in a nasty continuous loop whenver OSC > 8.
    Last edited by Bruce; - 13th December 2007 at 17:36.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. PBP 2.50 and Longs
    By mikendee in forum GPS
    Replies: 1
    Last Post: - 21st May 2008, 21:16
  2. PBP bug ???
    By boban in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th March 2008, 16:30
  3. PBP 2.50 UPGRADE problems!!!!
    By earltyso in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 7th March 2008, 15:42
  4. Strange problem with PBP 2.50
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 16th October 2007, 20:45
  5. MCS+ with PBP 2.50
    By BrianT in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st September 2007, 05:52

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