limited EEprom programing


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    219

    Default limited EEprom programing

    Is there a method to reprogram a section of an onboard EEprom on the 16F876 with ICSP or Bootloader without writing to code memory? My project needs to have six bytes of EEprom manually updated but I don’t want to reprogram the entire code section or the remaining prom. Comments please.

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


    Did you find this post helpful? Yes | No

    Default

    If you are using the PicKit2 you can read and write EEPROM data only.

    Read the EEPROM then make the changes in the PicKit2 window then re-write.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    My project needs to have six bytes of EEprom manually updated but I don’t want to reprogram the entire code section or the remaining prom. Comments please.
    If you have a spare pin available on your 16F876, then you can use it for a serial connection and change eeprom values all the times you like, using the WRITE instruction.

    Al.
    All progress began with an idea

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by aratti View Post
    If you have a spare pin available on your 16F876, then you can use it for a serial connection and change eeprom values all the times you like, using the WRITE instruction.

    Al.
    But that would mean the code would have to be changed??
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    But that would mean the code would have to be changed??
    Naturally.

    Al.
    All progress began with an idea

  6. #6
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default solutions

    Thanks fellows for your help. Dave, I have no Pickit2, too bad, that would do the trick. Al, I may be able to rig a serial input to use the Write command. Thanks for the solutions.

Members who have read this thread : 2

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