18F252 internal EEPROM / DATA, READ


Results 1 to 16 of 16

Threaded View

  1. #1
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762

    Default 18F252 internal EEPROM / DATA, READ

    Looks like I ran into the next trap.

    on the 16F876 I have been using the DATA Statement to write data to the internal EEPROM and it worked as expected.

    i.e.

    DATA @$10,$A1,$A2,$A3,$A4,$A5,$A6,$A7

    results in the following EEPROM content at location $10

    $0010 - A1 A2 A3 A4 A5 A6 A7



    with the 18F252 it looks different

    DATA @$10,$A1,$A2,$A3,$A4,$A5,$A6,$A7

    results in the following EEPROM content at location $08

    $0008 - A1 A3 A5 A7


    Does a READ have the same strange behavior on the 18F ?


    Could anyone give me some hints how to use DATA and READ with the 18F252 (PBP 2.43 / MPASM 3.50)



    Thanks in advance !
    Last edited by NavMicroSystems; - 26th February 2004 at 14:47.

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. Cleaning up code
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd December 2009, 07:14
  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