Programming 16F767 Issue


Closed Thread
Results 1 to 6 of 6
  1. #1

    Thumbs down Programming 16F767 Issue

    Hi Guys,

    I'm having a strange problem with EpicWin/MeProg and my parallel port programmer.

    First, I tried to program a 16F876 to check that everything was fine, and the blinking code for this pic worked ok. Did the same with a 16F84 and worked too. So, the everything seems to be ok so far.

    Then, I modified the blinking code for the 16F767 and tried to program it but I got the 0000 error, or the 000E error. I read everything on this forum but nothing helped.

    When I was trying a few more things this problem appeared. Steps:

    1) erased the pic
    2) read the code inside the pic (all 3FFF, blank)
    3) programmed the pic with this code (all 3FFF, blank)
    4) everything went fine.

    But, if I try to program my blinking code I get that strange error.

    Is the pic bad? Why can I program all 3FFF but not my blinking code?

    Thank you very much.

    Regards,
    Daniel.

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    I am not sure if you have this option in your programmer but,
    you may try to read the OSC value from the PIC, then insert it into the HEX file.

    I had similar issues in which the programmer warned me that the OSC value in HEX file is different then the PIC has.
    There is an option that I can read it from the PIC and insert it into the HEX file.


    This is of course a possibility in your case.


    -----------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Uneless you're using
    DEFINE OSCCAL_?K 1 it's not the problem source.

    Have a look at
    http://www.picbasic.co.uk/forum/show...ght=EPIC+error

    HTH
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4


    Did you find this post helpful? Yes | No

    Default

    Well, my parallel programmer was the problem. I upgraded it to PicStart Plus and now I can program the PIC. Funny.

  5. #5
    blackrosz's Avatar
    blackrosz Guest


    Did you find this post helpful? Yes | No

    Default inquiry

    can i use pic to control pneumatic device

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by danielhr77
    Well, my parallel programmer was the problem. I upgraded it to PicStart Plus and now I can program the PIC. Funny.
    Just to satisfy my curiosity... Wich one are you using? Any link or schematic?

    But PICSTART is still good on many devices.

    Quote Originally Posted by blackrosz
    can i use pic to control pneumatic device
    Even if it's out topic for this thread... yeas you can drive everything from the resistor, the LED, the ignition coil, the pnematic to house door-bell with the right hardware between the PIC and the external world.

    A PIC is not racist, have no heart, no fear, no emotion... it's just a stupid black-pinned box waiting for a job.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Data Programming Error at 0000
    By cpatnoi in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 22nd May 2009, 03:37
  2. 16F676 programming problem
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th May 2009, 17:39
  3. Problems programming
    By Lionheart in forum General
    Replies: 4
    Last Post: - 7th December 2008, 16:51
  4. 18F1320 ... Strange Memory
    By Acetronics2 in forum mel PIC BASIC Pro
    Replies: 43
    Last Post: - 9th April 2006, 09:55
  5. MELab Programming
    By tarr in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd March 2006, 13:36

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