12F683 GPIO.3 problem


Results 1 to 8 of 8

Threaded View

  1. #7
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default

    What programmer are you using...

    I use the PICKIT2... and this exact thing drove me NUTS!! about a week ago... finally while reading the docs for the 12f683 (something you MUST get used to doing) I came across the "configuration" register and realized this is what people call setting the "fuses"... this configuration register can only be set on initial programming. I found it right on the main screen of the pickit2 program, look for the "configuration" link just under the "Help" dropdown. It is an 12 bit register and bit 5 controls that mclr/gpio.3 pin.

    I have not figured out exactly how to set each of these bits in my program... yet. So I do it manually each time I burn the chip.

    This is one of the (in my opinion) very frustrating aspects of learning to work with these amazing PIC's.

    I did not realize this register was VERY DIFFERENT than the other registers like ANSEL, CMCON0... etc. Different in that it can only be setup on initial programming and can not be changed by the program.

    Hope this helps... Keep studying those .pdf docs.

    Dwight

    PS. This is my first post on this forum
    Last edited by Heckler; - 30th October 2009 at 05:34.

Similar Threads

  1. Problem with ASM IRQ using FSR0 on PIC18F252
    By mytekcontrols in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 11th March 2008, 20:48
  2. 10F206 Problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 22nd August 2007, 18:49
  3. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  4. Hardware problem or what ?
    By Steve S. in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 4th March 2007, 21:39
  5. 1 slave 1 master 1 MAX232 1 problem ?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 31st July 2005, 22:59

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