Questions about i2C EEPROM


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2007
    Posts
    9

    Default Questions about i2C EEPROM

    I am working on a project that will probably require some external eeprom from the uC..probbly a 16F690 with a 24aa32/64/128 flavor EEPROM.

    My questions are surrounding not only how to setup the board to flash the EEPROM on the fly but also in estimating the size needed as well as how to best deal with the mapping in the code.

    Essentially we are calibrating a device based on what we see as an incoming voltage...We need to trim it (offset) based on another parameter. I am kinda stuck on how exactly to deal with this in the code...yes I can make up lookup tables that translate into a graph but that only really deals with the intersection not the actual output...I guess we need to think of making it a 3d table or taking that result of the intersection on the slope and transfering that to an output equation that drives the device?

    Also do you guys have any good suggestions on EEPROM programmers?

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


    Did you find this post helpful? Yes | No

    Default

    I use BK precision BK844a, it support almost every EEPROM and many different Microcontroller brand as well.

    If you need something cheaper... maybe those freebies IC-PROG, IC-Prog & pals could work.

    You could still use Your PIC to program it. Use a .HEX editor and dump it to your PIC, the from your PIC to your EEPROM.

    Some will also use a Excel sheet, Access file, simple .txt file... possibilities are endless.
    Last edited by mister_e; - 28th January 2007 at 21:54.
    Steve

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

  3. #3
    Join Date
    Jan 2007
    Posts
    9


    Did you find this post helpful? Yes | No

    Default Eeprom

    It would be more ideal to In-Circuit program the EEPROM...be it from the programming header or using the PIC as a pass-thru device.

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


    Did you find this post helpful? Yes | No

    Default

    both will work. What's the best... mmm, it's up to you to decide. I often use The PIC as a pass-thru device and find it really handy.

    But it's me. Nobody work the same way

    If you have the budget and if you plan to use different EEPROM (and / or microcontroller) brands and model, an 'universal device' programmer always worth it's price... at least IMHO.
    Steve

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

Similar Threads

  1. I2C Master/Slave 16F88/16F767 working code
    By DanPBP in forum Code Examples
    Replies: 2
    Last Post: - 23rd October 2012, 22:31
  2. 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
  3. Problem with I2C EEPROM addressing
    By Atom058 in forum General
    Replies: 14
    Last Post: - 3rd November 2009, 03:17
  4. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  5. Pic16F628A and 24LC256 EEPROM I2C
    By Mike96 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 1st January 2006, 03:13

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