Writing, Reading from Internal PIC EEPROM


+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2005
    Location
    Hendersonville NC
    Posts
    14

    Red face Writing, Reading from Internal PIC EEPROM

    I'm using a 16F870, PIC Basic Pro ver 2.47, Microcode Studio Plus ver 3.0 and a programmer from KitsRUs.com (DIY 149 B) The code as follows:
    WRITE 0, B.btye0
    WRITE 1, B.byte1
    where I am asking the code to write to eeprom location 0, B (one of my program variables), the first byte
    and the second byte to eeprom location 1

    the code compiles with no problems, but when I try to use the programmer I get this error:
    EEPROM error at 0x0000
    Good 0xFF
    Bad 0x0C

    Would someone tell me what that means and how can I make it work.
    I did search all the forum for this answer, but seems my problem is unique

    Any advice would be greatly appreciated!

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

    Default

    I think the problem is due to you KIT software. Which one are you using? Which version?
    Steve

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

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

    Default

    Read down to post 12 here
    http://www.websitetoolbox.com/tool/p...ghlight=eeprom
    This seems to be a common problem for this setup.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Dec 2005
    Location
    Hendersonville NC
    Posts
    14

    Default Writing, Reading from Internal PIC EEPROM

    Thanks to Mister e and to mackrackit for your responses! The version I am using is KIT 149B. After seeing all the comments on mackrackit's thread, it would appear I should be asking Bob Axtell the fellow who is working for KitsRUs.

Similar Threads

  1. Problem with I2C EEPROM addressing
    By Atom058 in forum General
    Replies: 14
    Last Post: - 3rd November 2009, 04:17
  2. Writing & Reading to iButton EEPROM
    By crhomberg in forum Code Examples
    Replies: 2
    Last Post: - 6th October 2008, 19:40
  3. word variable to 25lc640
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th July 2004, 19:59
  4. Writing / Reading EEPROM 24LC256 Problem
    By schmoddel in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th February 2004, 19:55
  5. How to use 93C46 Type EEPROM using PIC Basic PRo
    By in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 1st April 2003, 04:07

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