Programming Problem with PIC16F819


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    Hi Andy,

    The extra space in lvp was added automatically by this forum's editor software. The space is not there in the actual program. Otherwise, the program would not compile. Thanks for the observation.

    Richard

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Update: I think the error message I'm getting is an anomaly of the PICkit firmware. Reason: The programmed 819's work correctly in my application even though the above programming error message appears at programming time.
    I'll check with Microchip Support for their advice.

    Richard

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    I still use the PICKIT1 for little things. If I use the PICKIT and import the hex the same happens, but the device works.

    If I use MPLAB and the PICKIT everything works like it should.

    Maybe the same with 2.
    Dave
    Always wear safety glasses while programming.

  4. #4


    Did you find this post helpful? Yes | No

    Default

    Dave, Thanks for your input. When I get a chance I'll try the MPLAB assembler, just out of curiosity. Microcode Studio has a box to check to use MPLAB.... I never used it before. Please help a little. I think the configuration lines have to be written differently...right? Anything else?

    Richard

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Well... I do not use MicroCode Studio very often. In fact the version I have is copyright 2001,2003. I could never get it to work correctly with my programmer (PICKIT1 when I started and soon after PICSTART PLUS). Would use MicroCode Studio set up to compile with with Micro Chip MPASM, then use MPLAB to burn the chip. A pain but...

    Then MPLAB 7.00 came out and microEngineering Labs came out with this
    http://melabs.com/support/mplab.htm
    All was well now, PBP inside of MPLAB!!

    As for the configuration, I make the changes I need in the PBP *.inc file for that chip. Most often for me on any given chip this will stay the same and if a change is needed for a certain project I will make a note of it.

    In the PBP *.inc file you will find a line for the PM header and another line for the MPASM header.

    Thats how I do it, but I am sure there are other ways. Here is an interesting thread. http://www.picbasic.co.uk/forum/show...ighlight=MPLAB

    Let us know how it goes.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Programming Problem PIC12F683
    By StoneColdFuzzy in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 2nd June 2009, 21:39
  2. 16F676 programming problem
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th May 2009, 17:39
  3. PIC18F4620 Programming problem
    By JavPar in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 6th December 2008, 04:21
  4. RFID medicine teller!! problem with programming
    By sknee8787 in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 18th November 2008, 17:31
  5. Problem programming the PIC16F648A
    By Edgardo_2 in forum General
    Replies: 2
    Last Post: - 29th December 2006, 00:02

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