Post Reply 
How does flash memory work on wp 34s?
05-12-2018, 01:04 AM
Post: #6
RE: How does flash memory work on wp 34s?
(05-12-2018 12:08 AM)gomefun2 Wrote:  Is it even possible to have a program store variables to flash memory?

With a processor having a Harvard architecture (separate data and program address spaces) the answer is (a qualified) no. That architecture usually allows reads from flash to access constants in a table, but not direct writes.

Microchip had a routine for its PIC processors that allowed a program in RAM to erase and rewrite a block of program flash so it could simulate EEPROM. The program had to be in RAM of course because a program in flash would no longer be able to access itself once the flash erase/ update process began!

~Mark

Remember kids, "In a democracy, you get the government you deserve."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How does flash memory work on wp 34s? - mfleming - 05-12-2018 01:04 AM



User(s) browsing this thread: 1 Guest(s)