Problem With Bootloader And Portb.3


Closed Thread
Results 1 to 2 of 2
  1. #1
    bobonapoletano's Avatar
    bobonapoletano Guest

    Unhappy Problem With Bootloader And Portb.3

    Hy,
    i have a strange problem when having programmed 16f876 with pic downloader 1. 08 .
    PORTB.3 is OFF when this should be ON. I don't understand!!!
    Help me ,please..
    Best Regards,
    Roberto


    P.S. : when instead program the Pic 16F876 through the programmers EPIC ,all works correctly!

    ****** TEST DEMO *********

    @ DEVICE pic16f876, WDT_OFF ; Watchdog Timer OFF
    DEFINE LOADER_USED 1 'Required if ISP is used
    define OSC 4
    Define __16F876

    Output PORTB.0 'OK
    Output PORTB.1 'OK
    Output PORTB.2 'OK
    Output PORTB.3 'NOK
    Output PORTB.4 'OK
    Output PORTB.5 'OK
    Output PORTB.6 'OK
    Output PORTB.7 'OK



    PORTB = %11111111

    END
    Last edited by bobonapoletano; - 31st December 2005 at 15:01.

  2. #2
    harrisondp's Avatar
    harrisondp Guest


    Did you find this post helpful? Yes | No

    Default

    Looks like you didn't turn off LVP (low voltage programming) which is signaled by pin B3. I don't think you can use this pin unless you disable LVP.

    Try turning this off in your programmer or in your source and see if it works.

    Harrison

Similar Threads

  1. strange serout2 problem
    By KaanInal in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 7th January 2010, 09:33
  2. PIC16F877A analog problem
    By DeViLa_Q8 in forum mel PIC BASIC
    Replies: 0
    Last Post: - 30th July 2009, 20:19
  3. Serious Serial Situation Setbacks...
    By Dansdog in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 03:46
  4. Bootloader problem.
    By Peter Oors in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th April 2006, 18:50
  5. Problem with saving to EEPROM...
    By Tear in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 1st July 2005, 00:10

Members who have read this thread : 1

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