PIC16F887 fuse config statements for PBP anyone?


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,613


    Did you find this post helpful? Yes | No

    Default Re: PIC16F887 fuse config statements for PBP anyone?

    Hi,
    Because (and this is of course my opinion, I can't speak for Darrel or meLabs), it's a utility designed for producing code (not actual code but rather directives to the compiler/assembler) that sets the CONFIG fuses correctly - and that's what it does. CONFIG is part of flash memory, it is being set when the device is programmed. OSCCON is SFR (RAM) and is set at runtime.

    If OSCCON, why not ADCON, ANSEL, TRIS, CMCON, TMR, BAUDCTL, SSPCON, INTCON, EECON, PIR, PCON, CCPR, WRCON, WPUB, OPTION_REG, SR_CON.....?

    /Henrik.

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,613


    Did you find this post helpful? Yes | No

    Default Re: PIC16F887 fuse config statements for PBP anyone?

    Hi,
    What's your powersupply voltage? You have BOR enabled @4V so anything below that will hold the chip in reset.
    Try leaving OSCCON.0 = 0.

    Finally, and this doesn't matter in THIS particular case, all define statements are case sensitive and all PBP defines are defined UPPER CASE so it must be define OSC xx or it'll behave as it wasn't even there.

    /Henrik.

  3. #3
    Join Date
    Sep 2010
    Location
    Las Vegas, NV
    Posts
    305


    Did you find this post helpful? Yes | No

    Default Re: PIC16F887 fuse config statements for PBP anyone?

    You could try ANSEL=0 to set your ports digital which could prevent the LED from turning on.

Similar Threads

  1. Config fuse i n PBP3.0 - PIC16F828A
    By IapIllc in forum FAQ - Frequently Asked Questions
    Replies: 4
    Last Post: - 4th March 2013, 06:21
  2. PBP array in ASM statements
    By pedja089 in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 30th May 2011, 20:04
  3. Help with config fuse?
    By polymer52 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th December 2009, 21:14
  4. PIC16F887 Config problem
    By Agent36 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th November 2008, 22:38
  5. time for PBP statements
    By fnovau in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 25th October 2006, 19:42

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