16f883


Closed Thread
Results 1 to 14 of 14

Thread: 16f883

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    I am using this line with the 16F883 with no other @ DEFINE lines or anything else, jus the one line.

    Code:
    @ __config _CONFIG1, _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _LVP_OFF & _CP_ON & _CPD_ON
    and I modified the file C:\PBP\16F883.INC

    Code:
    ;****************************************************************
    ;*  16F883.INC                                                  *
    ;*                                                              *
    ;*  By        : Leonard Zerman, Jeff Schmoyer                   *
    ;*  Notice    : Copyright (c) 2009 microEngineering Labs, Inc.  *
    ;*              All Rights Reserved                             *
    ;*  Date      : 07/02/09                                        *
    ;*  Version   : 2.60                                            *
    ;*  Notes     :                                                 *
    ;****************************************************************
            NOLIST
        ifdef PM_USED
            LIST
            include 'M16F88x.INC'	; PM header
            device  pic16F883, intrc_osc_noclkout, wdt_on, mclr_on, lvp_off, protect_off
            XALL
            NOLIST
        else
            LIST
            LIST p = 16F883, r = dec, w = -302
            INCLUDE "P16F883.INC"	; MPASM  Header
    ;       __config _CONFIG1, _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _LVP_OFF & _CP_OFF
            NOLIST
        endif
            LIST
    Comment out the __config line and save the file.
    This works good for me.
    K

  2. #2
    Join Date
    Oct 2006
    Location
    Edmonton AB Canada
    Posts
    52


    Did you find this post helpful? Yes | No

    Default

    Absolutely, almost fabulous.

    Everything works, up to the verify stage of the programmer without so much as a burp, but then:

    Code verify error at 0000
    3FFF should be 2828

    and on and on it goes 3FFF at 0001, 3FFF at 0002 etc etc.
    Erasing the target doesn't clear it.

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Meriachee View Post
    Absolutely, almost fabulous.

    Everything works, up to the verify stage of the programmer without so much as a burp, but then:

    Code verify error at 0000
    3FFF should be 2828

    and on and on it goes 3FFF at 0001, 3FFF at 0002 etc etc.
    Erasing the target doesn't clear it.
    I have had the same type of problems with the MElabs U2 programmer. The only way I could fix it was to reload the defaults to the programmer.

    meProg - Options - More Options - Set Options to Default

    I have not had this problem with other chips but the 16F883 seems to do it late and night or early in the morning. I went so far as to think my programmer was either out of date or broken. I purchased a new one with updated code and it did the same thing. Restoring defaults does seem to fix the strange errors with the U2.

    K

  4. #4
    Join Date
    Oct 2006
    Location
    Edmonton AB Canada
    Posts
    52


    Did you find this post helpful? Yes | No

    Default

    Reset it a couple of times, and same issue. I am going to contact MeLabs over this one....

  5. #5
    Join Date
    Oct 2006
    Location
    Edmonton AB Canada
    Posts
    52


    Did you find this post helpful? Yes | No

    Default

    Once again Charles comes through. It was the U2 programmer, indirectly. MeLabs updated the programmer code after the 883 chip was released. When the programmer was up-issued to 4.31 from 4.20 it worked exactly as it should. The firmware is current at #56.

    Thanks all for the help!

    Gary

Similar Threads

  1. 16F883 and Problems with HIGH statement
    By aaanekre in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 29th October 2009, 01:09
  2. 16F883 Code Verify Problem
    By munromh in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 19th February 2009, 11:47
  3. Using weak pull-up
    By Sharky in forum General
    Replies: 6
    Last Post: - 11th September 2007, 06:44

Members who have read this thread : 1

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