Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/29/11 14:29
Read: times


 
#185228 - poor tips and no tricks
Responding to: ???'s previous message
If I correctly understand your application, Erik's [3] doesn't sound that dramatically bad. You'd use MOVC for reading, won't you - and that's quite fast, isn't it. You can limit the number of needed reads by performing the "garbage collection" either when for a certain variable Nth write is reached, or periodically during "idle" times, if such occur in the application.

--
There's no trick in B52, the clumsiest possible method is used, employing a sector-sized buffer in RAM, and no provision for sudden powerdown. The BASIC program is stored in FLASH in the same format as in RAM, "linearly", so if lines are added at the end, only those are written into the FLASH, but if a line is modified or inserted or removed from somewhere in the middle, a significant FLASH rewrite is performed - it is quite perceptible as soon as the program reaches a couple dozen of lines. But then I don't think this particular application needs more sophistication than that.

Jan


List of 6 messages in thread
TopicAuthorDate
Strategy for 'FLASH' eeprom            01/01/70 00:00      
   depends            01/01/70 00:00      
   comments            01/01/70 00:00      
      Avoid flash if you can - unless having wear-leveling chip            01/01/70 00:00      
         Thankyou for your input            01/01/70 00:00      
            poor tips and no tricks            01/01/70 00:00      

Back to Subject List