Data statement and pbp3


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2009
    Posts
    40

    Default Data statement and pbp3

    I am using a pic18f43k22. I use a single data 1 statement to initialise byte zero of the EEPROM.
    When I read back the EEPROM after programming the chip byte 0 is correct but byte 1 has been cleared as well. Does anyone have any idea why this second EEPROM byte has been cleared?

    Graham

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: Data statement and pbp3

    When programming the chip, programmers write WORDS, even to the byte sized internal EEPROM.

    If an even number location is specified in DATA or EEPROM, the odd numbered location will be cleared if not also specified.
    DT

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