Searching \ for 'Writing into EEPROM on a 16C84' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/memory.htm?key=eeprom
Search entire site for: 'Writing into EEPROM on a 16C84'.

Truncated match.
PICList Thread
'Writing into EEPROM on a 16C84'
1998\11\13@165014 by Adam Bryant

flavicon
face
It has been mentioned a time or two on the list that you can write into the
EEPROM area of a 16C84 during programming.  I would like to do this to
preload the EEPROM with a table of information.  How do you do this?  Do
you put an ORG to a particular location, then a series of DB's to define
the bytes?

Any pointers are greatly appreciated,
Adam

P.S., Thanks to all who replied to my "LCD help" query.  I have been able
to determine that the LCD module itself works, so therefore the problem is
in my code or in how I have it all wired up.  Shouldn't take long now to
find the root cause of the problem.

1998\11\13@180047 by Dave VanHorn

flavicon
face
Adam Bryant wrote:
>
> It has been mentioned a time or two on the list that you can write into the
> EEPROM area of a 16C84 during programming.  I would like to do this to
> preload the EEPROM with a table of information.  How do you do this?  Do
> you put an ORG to a particular location, then a series of DB's to define
> the bytes?
>

Exactly. That's how I tested my interpreter before I wrote the serial
loader code to put data into the eeprom.

1998\11\14@195117 by Mark A Moss

picon face
Try This:

       org 0x2100
       retlw           *first byte here*
       retlw           *second byte here*
         .
         .
         .
       retlw           *last byte here*

You can use several org statments if you want to jump around in the
EEPROM (program non-contiguous bytes)  I believe any opcode that passes 8
bits of data should work in place of the retlw.

Mark Moss
Amateur Radio Operator, Technician, and General Tinkerer


On Fri, 13 Nov 1998 14:39:34 -0700 Adam Bryant
<spam_OUTadam_bryantTakeThisOuTspamEMAIL.MOORE.COM> writes:
{Quote hidden}

Mark Moss
Amateur Radio Operator, Technician, and General Tinkerer

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

1998\11\16@064228 by Caisson

flavicon
face
> Van: Adam Bryant <.....adam_bryantKILLspamspam@spam@EMAIL.MOORE.COM>
> Aan: PICLISTspamKILLspamMITVMA.MIT.EDU
> Onderwerp: Writing into EEPROM on a 16C84
> Datum: vrijdag 13 november 1998 22:39

Hello Adam,

> It has been mentioned a time or two on the list that you can write into
the
> EEPROM area of a 16C84 during programming.  I would like to do this to
> preload the EEPROM with a table of information.  How do you do this?  Do
> you put an ORG to a particular location, then a series of DB's to define
> the bytes?

Yes and Yes.  The ORG of the EEPROM is 0x2100.

Greetz,
 Rudy Wieser

1998\11\16@113020 by Adam Bryant
flavicon
face
Interesting that you should mention that, because that is exactly what I am
trying to do as well.  I have a small 2 wheeled robot (uses modified RC
servos for motors), and I am writing a LOGO interpreter on a 16C/F84 so my
son can learn a little bit about programming by sending LOGO commands to an
autonomous robot.  Initially the LOGO commands will be stored in the
internal EEPROM, but eventually I will include an IR receiver on the robot
that will receive the LOGO program from a PC equipped with an IR
transmitter and store the LOGO commands in an external (to the PIC) EEPROM.

I will post details when I get it working.
Adam





.....dvanhornKILLspamspam.....CEDAR.NET on 11/13/98 03:56:52 PM

Please respond to EraseMEPICLISTspam_OUTspamTakeThisOuTMITVMA.MIT.EDU

To:   PICLISTspamspam_OUTMITVMA.MIT.EDU
cc:    (bcc: Adam Bryant/PEAK/MOORE)
Subject:  Re: Writing into EEPROM on a 16C84




Adam Bryant wrote:
>
> It has been mentioned a time or two on the list that you can write into
the
> EEPROM area of a 16C84 during programming.  I would like to do this to
> preload the EEPROM with a table of information.  How do you do this?  Do
> you put an ORG to a particular location, then a series of DB's to define
> the bytes?
>
Exactly. That's how I tested my interpreter before I wrote the serial
loader code to put data into the eeprom.

1998\11\18@225952 by netquake

flavicon
face
I feel confortable using de. But that's rather personal.
DE - Declare EEPROM Data Byte

Syntax
[<label>]               de              <expr> [, <expr>, ..., <expr>]

Description
Reserve memory words with 8-bit data.  Each <expr> must evaluate to an
8-bit value.  The upper bits of the program word are zeroes.  Each
character in a string is stored in a separate word.


----------
{Quote hidden}

Do
> > you put an ORG to a particular location, then a series of DB's to
define
> > the bytes?
>
> Yes and Yes.  The ORG of the EEPROM is 0x2100.
>
> Greetz,
>   Rudy Wieser
>

1998\11\19@063426 by Caisson

flavicon
face
> Van: netQ <spamBeGonenetquakespamBeGonespaminnocent.com>
> Aan: TakeThisOuTPICLISTEraseMEspamspam_OUTMITVMA.MIT.EDU
> Onderwerp: Re: Writing into EEPROM on a 16C84
> Datum: woensdag 18 november 1998 7:38

<Snip>

{Quote hidden}

Your'e right, that's what I'm using too.  Just confused 80x86 assembly with
PIC assembly ...

Greetz,
 Rudy Wieser

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...