16F84A EEPROM Programming


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648

    Unhappy 16F84A EEPROM Programming

    Hi, Everybody

    I Have a little problem with my 16F84A EEPROMs ...
    I am working with PBP 2.45a,MPLAB 7.01 and Picstart+ Upgraded.

    With a brand new chip no problems, Loading values to EEPROM Works pretty Well ...

    But, with an already programmed chip, I need to reset All EEPROM values to $FF ... ( DATA $FF(64) at the end of the config. section of my program)

    Here comes the problem ...
    MPLAB tells everything all right, "verify" tells everything Ok ...

    BUT, a "read" shows Old values are still here, and an "on board" run shows it too ...

    Has anyone ever dealt with such problems ???

    ... I know it's not PBP's fault nor mine ...

    Alain

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


    Did you find this post helpful? Yes | No

    Default

    In MPLAB, go to Configure>> Settings >>Program Loading and check Clear EE data upon loading a program
    Steve

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

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Exclamation

    Thanks, steve

    But it's already done ... ( also default setting, i think )

    Even microchip tell me to erase device before re-programming...so, it's a real bug !!!

    As their SSR 19753 says clearly EEPROM ERase doesn't work with 16F628, 16F84 and 16F876 ... what to do ?

    Really Funny ... isn't it !!!

    Regards
    Alain

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


    Did you find this post helpful? Yes | No

    Default

    nop it's not a default setting.

    I still don't understand why Microchip don't offer, like many other programmer software, this 'erase before programming' option... well MPLAB is free

    i was not aware of this SSR 19753... so i guess you must clear them manually directly in the View>> EEPROM , right click on the window and choose Fill memory
    Steve

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

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Talking

    Sorry Steve ... doesn't work either !!!

    All Other values ...except FF !!!

    Alain

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


    Did you find this post helpful? Yes | No

    Default

    Oh my gooood!!!

    fill memory with FF

    Programmer>>Setting
    uncheck auto select memory areas and range
    check EEPROM data

    program your PIC... read it back... you're now in business
    Steve

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

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. Problem with I2C EEPROM addressing
    By Atom058 in forum General
    Replies: 14
    Last Post: - 3rd November 2009, 03:17
  3. Data EEPROM gets clobbered during programming
    By BrianT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th July 2008, 02:46
  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 : 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