Config problem PIC16F886


Closed Thread
Results 1 to 40 of 56

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    35


    Did you find this post helpful? Yes | No

    Default

    Have 2 demo board - one with 16F688 and one with 16F887

    Clock is now 02.30 in the morning here in Norway, so have to go to sleep
    Last edited by Bosse; - 10th September 2008 at 01:29.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bosse View Post
    Have 2 demo board - one with 16F688 and one with 16F887

    Clock is now 02.30 in the morning here in Norway, so have to go to sleep
    Hook the PICKIT2 directly to those boards, set up a program to change the CONFIG fuse values, program them, read them back, see what happens.

  3. #3
    Join Date
    Sep 2006
    Posts
    35


    Did you find this post helpful? Yes | No

    Default

    Hi everybody,

    Now I have the CONFIG word without warnings - tested with the demo board 887

    @ __CONFIG _CONFIG1, _LVP_OFF & _FCMEN_OFF & _IESO_OFF & _BOR_OFF & _CPD_OFF & _CP_OFF & _MCLRE_ON & _PWRTE_ON & _WDT_OFF & _INTRC_OSC_NOCLKOUT
    @ __CONFIG _CONFIG2, _WRT_OFF & _BOR21V

    Config from read back: 20E4 0600

    Thanks again for all your help

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bosse View Post
    Hi everybody,

    Now I have the CONFIG word without warnings - tested with the demo board 887

    @ __CONFIG _CONFIG1, _LVP_OFF & _FCMEN_OFF & _IESO_OFF & _BOR_OFF & _CPD_OFF & _CP_OFF & _MCLRE_ON & _PWRTE_ON & _WDT_OFF & _INTRC_OSC_NOCLKOUT
    @ __CONFIG _CONFIG2, _WRT_OFF & _BOR21V

    Config from read back: 20E4 0600

    Thanks again for all your help
    Any idea which config item in particular was causing the problem?

  5. #5
    Join Date
    Sep 2006
    Posts
    35


    Did you find this post helpful? Yes | No

    Default

    Will check and come back - have study exampel files from Microchip where I found some CONFIG words.

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bosse View Post
    Will check and come back - have study exampel files from Microchip where I found some CONFIG words.
    Just remove the CONFIG items one by one until the problem goes away...

  7. #7
    Join Date
    Sep 2006
    Posts
    35


    Did you find this post helpful? Yes | No

    Default Config word

    Hi Skimask,
    First thank you for your earlier info
    Can you tell me how to find out wich configuration I have - how to calculate or find out in another way.

    My code runs with internal OSC 8 MHz (I hope) but after leaving the PCB for some hours, it need time to start normal. Reading DS1990A and first time touching the probe nothing happens, second time all O.K - after about 10 sec all works normal and it also works if you touch direct after each other - touching of course allways with different DS1990A and after each reading the variable holding the code resets.

    Config word: 20E4 0600

Similar Threads

  1. A/D conversion with PIC18F67J50
    By ScaleRobotics in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 8th May 2009, 01:48
  2. 18F4550 Bootloader enter via eeprom setting
    By bradb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd November 2008, 23:51
  3. Error 0X0000008E when connecting a 18F2550 USB HID
    By FranciscoMartin in forum USB
    Replies: 8
    Last Post: - 16th October 2008, 17:20
  4. PortE problems (PIC18F4455)
    By RubenR in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 12th July 2006, 15:26
  5. Installation sequence
    By Demon in forum General
    Replies: 23
    Last Post: - 11th July 2006, 03:56

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