How can I initialize the EEPROM when programming


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2010
    Posts
    37

    Default How can I initialize the EEPROM when programming

    Hi!
    My PicBasic program use some EEPROM address to store variables. I wonder how can I initialize these EEPROM address (I use about 5-6 bytes) at programming time.
    I use PicBasic 3.0.7 and PicKit3.

    Thank you.

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,521


    Did you find this post helpful? Yes | No

    Default Re: How can I initialize the EEPROM when programming

    Hi,
    That's what you use the DATA statement for. See section 5.14 in the manual.

    /Henrik.

  3. #3
    Join Date
    Jan 2010
    Posts
    37


    Did you find this post helpful? Yes | No

    Default Re: How can I initialize the EEPROM when programming

    Thank you very much, HenrikOlsson.
    The DATA statement is exactly what I need (but I never use it until now).

Similar Threads

  1. No erase DATA EEPROM during programming
    By SUNFLOWER in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 25th February 2011, 17:29
  2. Data EEPROM gets clobbered during programming
    By BrianT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th July 2008, 02:46
  3. Protect eeprom during programming
    By Wilbert Ingels in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 10th April 2008, 19:03
  4. I2C EEPROM Programming
    By Rob in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd March 2005, 15:03
  5. 16F84A EEPROM Programming
    By Acetronics2 in forum Off Topic
    Replies: 7
    Last Post: - 8th March 2005, 17:40

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