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

    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

  2. #2
    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?

  3. #3
    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.

  4. #4
    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...

  5. #5
    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

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bosse View Post
    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.
    You've already been given all the information you need during the course of this thread to figure that out for yourself. Go back and read and re-read and re-read and repeat...

    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.
    Rephrase the sentences above. They aren't making a lot of sense to me...might to somebody else, but the grammar just isn't quite working out...
    The way I read it...The program runs, then it stops, then you touch something, it runs, restart it, doesn't want to restart, but will after a few seconds, then the code resets?

  7. #7
    Join Date
    Sep 2006
    Posts
    35


    Did you find this post helpful? Yes | No

    Default

    Have a code how runs nice on a F88 - thats why I think something is wrong with configuration word for the F886. It seems that I need to touch the probe 2-3 times or reading in more than one time before it reads correct. After one good reading all works, looks that it stops up and needs to wake up before it works????

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