Searching \ for '[PIC]: 16F628 flash memory' 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=memory
Search entire site for: '16F628 flash memory'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: 16F628 flash memory'
2004\03\17@064734 by zantos

flavicon
face
I want to put a few bytes of configuration data in flash memory at run time and
read also. Any small example of code anywhere on how to do this for a newbie.
TIA
z

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\03\17@081213 by John J. McDonough

flavicon
face
Why not in EEPROM?  That's what it's there for.  That example is in the
datasheet.

72/73 de WB8RCR    http://www.qsl.net/wb8rcr
didileydadidah     QRP-L #1446 Code Warriors #35

{Original Message removed}

2004\03\17@090238 by Koen van Leeuwen

flavicon
face
On Wednesday 17 March 2004 12:44, zantos wrote:
> I want to put a few bytes of configuration data in flash memory at run time
> and read also. Any small example of code anywhere on how to do this for a
> newbie. TIA
> z

AFAIK the 16F628 can't write its own flash (program!) memory. Use the EEPROM
for that.
The most convenient way of using the flash memory for storing data is using
the RETLW table-read construction, but you really don't want to put
configuration values in the flash memory.
The EEPROM can also be written during programming, so setting defaults is
easy.

Koen

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

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