OT: EEPROM setup in MPLAB ???


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2003
    Posts
    985

    Default OT: EEPROM setup in MPLAB ???

    Hi Guys,
    I'm having a little trouble with the initial setup of a 12c serial eeprom
    in MPLAB. I've tried this:

    org (1 *256) ; block = 1
    ;---------------------------------------------------

    DT b'00101100' ; 2c
    DT b'10101010' ; aa
    DT b'00000100' ; 04
    DT b'11001100' ; cc
    DT b'00011101' ; 1d
    DT b'01010010' ; 52
    DT b'10011000' ; 98
    DT b'01010011' ; 53 ..... and so on

    But when compiling it, I get
    "Undefined processor type" messages for every line.
    I could enter these values manualy into the pic programmer window,
    but I'm sure MPLAB can do it since there is provision to select eeproms
    as a processor type when creating new projects.
    Any ideas??
    Cheers, Art.

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


    Did you find this post helpful? Yes | No

    Default

    I really want to help you but i'm really not sure of what you want to do so, could you give more details... wich EEPROM or PIC you want to program /edit.
    Steve

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

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    Hi,
    I've got a 24LC65B in this case, and I have pic routines that can read and
    write to I2C EEPROMS, but I have data to program to the EEPROM initialy
    so that the data on it can be used by the pic at run time.

    short version:
    I have a big table of values that I need to make a 24LC65 hex file out of using MPLAB.

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


    Did you find this post helpful? Yes | No

    Default

    in this case MPLAB can't help you. You need a EEPROM programmer/reader like Elnec, BKPrecision or else. There's some free stuff and easy to build like IC-Prog or Pony Prog with SI interface or JDM.

    Free softwares:
    Pony Prog: http://www.lancos.com/prog.html
    IC-Prog:http://www.ic-prog.com/index1.htm

    SI interface :
    http://www.lancos.com/siprogsch.html

    JDM interface :
    http://www.ic-prog.com/index1.htm

    OR, still use IC-Prog or Pony-Prog software to edit your EEPROM dump, use your PC to send the whole EEPROM dump to your PIC, then from your PIC to your EEPROM. In this case, some VB or else PC LANGUAGE knowledge are needed.
    Steve

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

  5. #5
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    Bummer,
    Funny how some seriasl eeproms are listed as devices in older vers of MPLAB.

    I think the next easiest approach without PC programming is to send the
    table out of a PC serial port with hyperterm to a pic who's sole job it is
    to listen for data and write the eeprom.

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. Problem with I2C EEPROM addressing
    By Atom058 in forum General
    Replies: 14
    Last Post: - 3rd November 2009, 03:17
  3. MPLAB / EEPROM Question
    By Art in forum General
    Replies: 2
    Last Post: - 14th April 2008, 06:16
  4. How to write/read strings EEPROM/LCD
    By g-hoot in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 11th February 2007, 06:26
  5. word variable to 25lc640
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th July 2004, 19:59

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