Need help getting started- setting the configuration word


Closed Thread
Results 1 to 5 of 5
  1. #1

    Default Need help getting started- setting the configuration word

    Hi, I'm a new to Pic programming and I have some questions reguarding IDE's, PBP, and WRITING to the CONFIG registers.

    I've just aquired a PICkit2 Debug Express Programmer and microchip's low pincount demo board with a 16f690. Unfortunately the pickit2 burning software can't change the configuration word directly.

    I would like to use INTOSCIO mode on PIC16f690 (use internal oscillater to save 2 pins for other use), thus (besides the OSCCON register) I must set FOSC<2:0> bits of the Configuration word to %100.

    I have not found any detailed coding information on setting the Config word, and would be greatful for any advice or links to good information.
    In particular i am wondering if there are any defines or includes that I should know of, or if the config word can be set directly in hex or binary using assembly or pbp.

    I'm not sure if its relevant to my problem, but I am currently testing Microcode Studio as the IDE...and have not gotten a chance yet to look at MPLAB.

    Any help is greatly appreciated....

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Nevermind...Somehow I had missed this page.


    http://www.melabs.com/support/config_defaults.htm




    Anyway, has anyone here installed the Pickit2 programmer in Microcode Studio?

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Welcome Michael,
    You have come to the right place to learn and share in MeLabs P basic Pro programming. This great forum has a search feature (see button above) and lots of experts, (not me). here is an link to one of your questions:
    http://www.picbasic.co.uk/forum/show...iguration+fuse
    Last edited by Archangel; - 23rd July 2011 at 22:16. Reason: spell
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  4. #4


    Did you find this post helpful? Yes | No

    Default

    PICkit2 in Microcode Studio
    Go to View/Compile and Programmer Options/Programmer/Edit
    Enter: PICkit2v2.exe as the Programmer Filename
    Use find automatically
    Blank the next entry
    Last edited by Dick Ivers; - 18th July 2007 at 12:12. Reason: Added missing .exe to filename

  5. #5


    Did you find this post helpful? Yes | No

    Smile

    Thanks for the swift replies! Both were really useful!

Similar Threads

  1. Read/Write Problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 10th February 2010, 01:51
  2. Minimizing code space
    By Tobias in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th May 2009, 07:25
  3. SEROUT WORD variable problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th April 2009, 11:20
  4. DS2760 Thermocouple Kit from Parallax in PicBasicPro
    By seanharmon in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th July 2008, 23:19
  5. calculation problem
    By nicolelawsc in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st March 2006, 15:23

Members who have read this thread : 2

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