piclist 2000\11\26\174811a >
Thread: Lookup table with external EEPROM
picon face BY : Steve Smith email (remove spam text)

The EEPROM is replaceable to allow different tables to be loaded, so
I guess I need to find out how to create an empty table in the PIC that
allows me to load all the EEPROM values at startup, then access them via
computed goto (retlw).  I swear I saw some code for this in my travels on
the 'net, but I can't seem to locate it now that I actually need it.

Any ideas?

You cant write to ROM from an external read (i2c) copy the values to a ram
block and use the FSR (INDF) to read back .
work off a base address and load the values into a chunk this can fast access
as ram later . (this depends on how much ram you have free) maybe a bigger
pic (873) it has its on eerom on board..


http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email spam_OUTlistserv@spam@spamTakeThisOuTmitvma.mit.edu with SET PICList DIGEST in the body

<c1.9141042.2752ed32@aol.com> 7bit

See also: www.piclist.com/techref/microchip/memory.htm?key=table
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Lookup table with external EEPROM

month overview.

new search...