pickit 3 and configuration bits.


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Which PIC are you using?
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Feb 2010
    Posts
    11


    Did you find this post helpful? Yes | No

    Default Pickit3 configbits

    The 18f45k20.

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Soory, fussed out a bit, I know what you are asking...

    You must be looking at the inc file in MPASAM Suite.
    Do not worry about the "EQU H'FB" stuff. Just addresses.
    That file tells all of the options and a bunch of other things.

    The file to change or comment of you set the configs in code space is the inc file in the PBP directory. The way they are set up there is what you need.

    Assume you want MCLRE off and I will guess a HS OSC?
    Code:
           @ __CONFIG    _CONFIG1H, _FOSC_HSPLL_1H
           @ __CONFIG    _CONFIG2H, _WDTEN_ON_2H & _WDTPS_512_2H
           @ __CONFIG    _CONFIG3H, _MCLRE_OFF_3H & _PBADEN_OFF_3H
           @ __CONFIG    _CONFIG4L, _LVP_OFF_4L & _XINST_OFF_4L
    Notice the MCLRE is on the CONFIG3H line.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Feb 2010
    Posts
    11


    Did you find this post helpful? Yes | No

    Default

    thanks.
    i will try these this evening and give a quick reply in the morning.

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. Warning: Some configuration words not in hex file
    By Byte_Butcher in forum General
    Replies: 2
    Last Post: - 14th December 2009, 06:25
  3. ADC Problem with PIC16F88 Configuration
    By robert.quaas in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 9th April 2009, 17:46
  4. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 00:55
  5. 18f4620 Configuration bits
    By Raflex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 13th September 2006, 20:32

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