×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    1

    Flash Memory Wear Levelling and Python

    Hi, I am looking to log data to flash via bluetooth, but have a question concerning the wear levelling mechanisms of python - pys60 and / or symbian. If I write a byte at a time to a file contained on SD flash card with pys60 script will this wear out the memory quickly or will underlying python / symbian OS ensure that this is not the case, i.e., only write when enough data has been received to write a page / block at a time.

    Thanks

  2. #2
    Registered User
    Join Date
    Jun 2010
    Posts
    49

    Re: Flash Memory Wear Levelling and Python

    Hi.
    Normally buffering of data takes place before writing it - unless you specifically give a flush. This happens at the level of Python and Symbian OS.
    Probably a more important issue is the wear leveling algorithms that extend the life of the mem card. I don't know well how the wear leveling is implemented, but I guess that Python does nothing related to flash mem wear leveling. At most the Symbian driver for the memory card and most likely the flash firmware takes care of this - see for example https://secure.wikimedia.org/wikiped.../Flash_memory: wear leveling is implemented in the "chip firmware or file system drivers by counting the writes and dynamically remapping blocks in order to spread write operations between sectors".
    What type of application do you specifically have in mind?

Similar Threads

  1. wear-leveling
    By michael_sp in forum General Development Questions
    Replies: 2
    Last Post: 2009-09-13, 17:27
  2. Python interaction with Flash lite
    By karteeka1 in forum Python
    Replies: 8
    Last Post: 2008-11-17, 09:53
  3. questions about python + flash lite 1.1
    By nufun in forum Python
    Replies: 5
    Last Post: 2008-09-26, 20:22
  4. integrate flash lite and python
    By oyuky in forum Python
    Replies: 0
    Last Post: 2008-06-14, 07:21
  5. Python and Flash
    By resca79 in forum Python
    Replies: 0
    Last Post: 2007-07-26, 07:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •