Eeprom


Closed Thread
Results 1 to 3 of 3

Thread: Eeprom

  1. #1
    Join Date
    Dec 2007
    Location
    Denmark
    Posts
    28

    Default Eeprom

    Is there a way to avoid losing the EEPROM data saved during the actual running of your pic when you reprogram it? Say I saved the number 17 on my eeprom location 0, when I reprogram my pic, I lose that 17. Is there a way to avoid losing it?

    thanks!

  2. #2
    Join Date
    Dec 2007
    Location
    Denmark
    Posts
    28


    Did you find this post helpful? Yes | No

    Default Nevermind

    Sorry to bother, I found out how. Was messing around with my programmer and found a method, don't know if it's the right one but it works.

    If anyone else has the same problem, just check out your programmer's program. There should be one box or one option that disables the writing on the eeprom. Disable it and load your new hex file, that should work.

  3. #3
    sinoteq's Avatar
    sinoteq Guest


    Did you find this post helpful? Yes | No

    Default

    Hi,
    It depends on what SW and programer you are using. For example if you use MPLAB and ICD2 you can select under progammer options if you want the programmer to erase the internal ee2 when downloading a new program or if it should keep the old values in the ee2.
    This is not a PIC related problem but a setting in your programming equipment.

Similar Threads

  1. Can't read sequential addresses in external EEPROM
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2010, 14:46
  2. How to define constants that specify eeprom addresses
    By DwayneR in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th December 2009, 04:07
  3. Problem with I2C EEPROM addressing
    By Atom058 in forum General
    Replies: 14
    Last Post: - 3rd November 2009, 03:17
  4. How to write/read strings EEPROM/LCD
    By g-hoot in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 11th February 2007, 06:26
  5. word variable to 25lc640
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th July 2004, 19:59

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