Data EEPROM gets clobbered during programming


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default EEPROM still gets clobbered

    Hi Skimask,
    The loop structure is fine. It shows me the full 1024 bytes of the EEPROM.

    Program 2 clobbers the EEPROM. I think Jerson is thinking in the right direction that it is a programmer setup issue. The USB serial programmr I have uses different terminology to his post but I think I know what he means. The trouble I now have is that the '4620 will not program unless it is erased first. That erasure takes the EEPROM contents with it and empties the memory.

    Cheers
    BrianT

  2. #2


    Did you find this post helpful? Yes | No

    Default How to preserve data EEPROM during programming

    I had faulty thinking about what the CONFIGURATION setup screen in the Melabs Serial USB programmer does. It appears to show the configuration that will be in force AFTER the programming step. Setting Data EEPROM to 'protected' does not protect it during the programming but it seems it will be protected when the program runs.

    What I found solves the problem is to dig deep in the options\more options\ erase and options\more options\blank check to get the programmer to accept the fact that the chip was not blank and to program anyway and to not touch the data EEPROM during programming.

    Pretty obvious after the event. Thanks to Jerson for pointing me in the right direction.

    Thanks
    BrianT

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by BrianT View Post
    Hi Skimask,
    The loop structure is fine. It shows me the full 1024 bytes of the EEPROM.
    Yep, sure is. I read it wrong....Duh....

Similar Threads

  1. Using Nokia LCD
    By BobP in forum mel PIC BASIC Pro
    Replies: 300
    Last Post: - 3rd May 2018, 04:47
  2. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 02:21
  3. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 14:50
  4. Internal EEPROM Read/write Addressing Errors with 18F PIC's
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 18
    Last Post: - 12th July 2005, 19:42
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 28th November 2004, 23:56

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