Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Flash memory life with regular write into file

    Scheduled Pinned Locked Moved Discussion
    2 Posts 2 Posters 194 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      knapikm
      last edited by

      Hi, i have such an quite big project build on pycom and i would like to know the life time of flash memory life in case of regular writing into file.

      What i mean is that i use logging and in one cycle log is called 5-15 times. Say that 8 logs is written most of the time, flash should be available of 100,000 writing at least.

      In my humble calculations it seems like this:

      • 100,000 writings / 8 logs-per-cycle ~= 12,500 cycles
      • 12,500 cycles / 10 cycles-per-day ~= 3 years and 5 months of life time at least

      but..., there is also uploads of code onto flash and another file writings i use and so on...

      So my questions to the discussion are that I would like to know if:

      • are my approximations right?
      • what does 10 "small" entries vs. one "large" entry? Is it just about writing or also about the amount of data that we want to write into flash memory?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • rcolisteteR Offline
        rcolistete
        last edited by

        With FATFS the life time of the internal flash is smaller than with LittleFS (on development firmware version).

        But how much increase in life time with LittleFS ? I don't know.

        My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post

        Pycom on Twitter

        Pycom