Post Reply 
How does flash memory work on wp 34s?
05-12-2018, 02:08 AM
Post: #7
RE: How does flash memory work on wp 34s?
(05-12-2018 01:04 AM)mfleming Wrote:  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

A bit off topic, but some PICs and I suspect other controllers can write over the top of the code that is actually doing the writing. The MultiCalc software did this for awhile until I needed to change things. The trick is that the new code, once written, does not affect the required execution in any way. The PICs will stop executing code once the write process has begun, then continue on as normal at the current PC value when the write has completed.

If lots of write cycles are required for a flash system, then if possible, it is best to use a block pointer to move that data to different areas of memory to spread the load. The memory will last longer.

cheers

Tony
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? - teenix - 05-12-2018 02:08 AM



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