Skip to content

Onboard Storage

Onboard storage on a planetary rover is flash and EEPROM behind a file system. It has to hold a sol’s data products until a relay pass clears them, hold the flight software images and parameters that boot the vehicle, and survive radiation, thermal cycling and a write-erase history that cannot be tested at the part’s rated life before launch. The software that manages it has to fail in a way the vehicle can recover from with a command link that is available for minutes per sol. A storage fault is therefore a whole-vehicle fault: the file system sits under telemetry, downlink, sequencing and shutdown.

Spirit and Opportunity (2004). Storage is partitioned by medium, with no disk drives: a 4 MB RAM file system for uplinked files, a 2 MB RAM temporary store, a 224 MB flash file system for data products, and redundant EEPROM stores for sequences and downlink tables [1]. Spirit was out of normal operation from sol 18 to sol 33 because the bundled DOS file system library never released internal structures for deleted files, so memory grew with the maximum number of files that ever existed in a subdirectory. Combined with an unbounded growth setting and a memory library that suspended tasks silently on allocation failure, the library consumed the more than 4 MB of free system memory [1]. A catalog of all 48 major Mars surface anomalies counts this event as 15 sols lost [11].

Curiosity (2012 onward). Each compute element carries 4 GB of NAND in two banks plus 128 MB of NOR [4]. On sol 200 the prime element reported uncorrectable NAND errors, tasks hung, and the watchdogs that should have forced a reboot were being reset. Continued operation would have browned out the rover in three to six days, and the team commanded a swap to the backup element within 16 hours [5]. The cause was a single chip generating errors during erase cycles; pre-flight testing had erased it about 12 times against a 100,000 cycle rating [5]. The anomaly cost 45 sols, or 72 including solar conjunction [11]. RCE-A later served as backup for almost 2000 sols, was swapped back to prime after a separate RCE-B flash problem on sol 2172, and lost its lower NAND bank on sol 2339, after which the rover returned to RCE-B [4].

Perseverance (2021 onward). The rover carries two compute elements, each with prime and backup nonvolatile engineering partitions, so a critical file exists in up to four places and none are kept current automatically [9]. Its file system and parameter management were rewritten from the MSL code rather than carried forward [10]. Its RAD750 is supplemented by a commercial Snapdragon 801 co-processor in the Ingenuity Helicopter Base Station, which brings storage on a part with no radiation hardening and a vendor eMMC whose internal ECC is a black box [12].

Storage without NAND (flown). R-Hope, installed on Curiosity at sol 2960 in December 2020, moves the RCE-A file system into 64 MB of NOR, about 1 percent of the NAND volume it replaces, and gives up the second NOR group that held previous flight software copies [4]. A partition reformat that takes under 5 minutes on NAND takes 45 minutes on NOR. The image was about 10 MiB in 49 files, uplinked over six weeks through MAVEN, MRO and X band, and written to the target across the cross-string bus by the prime computer because the target had no staging storage [4].

Rewritten file system and health monitoring (flown). Mars 2020’s flight record through sol 216 reports file system mount, delete and parameter-load performance improvements and a queue monitor that raises a fault when a task’s work queue stays disabled, closing the gap in which MSL’s liveness ping hid a hung queue [10]. Several of these capabilities had only ground and lab testing behind them at that cutoff [10].

Cross-string synchronization (flown). Perseverance’s response to the MSL sol 200 precedent is a reusable ground activity that copies already-flown, reviewed configuration from the prime side to the backup, so each run needs a short review rather than full recertification [9]. It is a recurring operations task with no automated trigger.

Software mitigation on unhardened storage (flown, one use). The global localization deployment on the Snapdragon runs each computation twice with a co-processor reboot between runs, checksums inputs, outputs and the binary, and adds Reed-Solomon coding to stored files over the vendor eMMC ECC [12]. It supports SEU detection in memory, compute and storage [13]. The radiation rates are simulated for the Snapdragon and are not measured in flight [13].

Compression as a storage budget (flown). ICER image compression and thumbnail products reduce the stored volume per image by an order of magnitude [7]; Mars 2020 also compresses non-image downlink data in flight [10].

Spirit and OpportunityCuriosityPerseverance
RAM128 MB128 + 512 MB128 MB x2 plus 512 MB x2
Flash256 MB4096 MB4096 + 3072 MB
EEPROM11 MB, of which the 3 MB on the RAD6000 card has no error detection and correction128 MB NOR per compute elementnot reported

Sources: [6] Table 1 for the RAM and flash row, [2] for the MER EEPROM detail, [4] for the Curiosity NOR figure. On MER the RAD6000 card holds the CPU, 128 MB of DRAM and one 3 MB EEPROM bank, and a separate non-volatile memory card holds two 4 MB EEPROM banks and the 256 MB of flash [3].

MER file systemMediumSizePurpose
RAM file systemRAM4 MBTemporary storage of uplinked files
Temporary file systemRAM2 MBTemporary data product store
FLASH file systemflash224 MBScience and engineering data products
Primary sequenceEEPROM700 KBSequence storage
Secondary sequenceEEPROM700 KBRedundant sequence storage
Primary downlinkEEPROM50 KBDownlink table storage
Secondary downlinkEEPROM50 KBRedundant downlink table storage

Source: [1], Table 1. The remainder of the 256 MB flash device holds flight software images; each is a single binary of boot loader and software, split between an EEPROM bank and flash [3]. On Curiosity, RCE-B’s data products partition is 3936 MB with a 16 MB backup parameter memory, and RCE-A’s, after the upper NAND bank was mapped out, is 1888 MB [4].

Anomaly recovery. The MER recovery used a hardware crippled mode command that sets a register bit read at initialization, so the software builds a RAM file system under the same logical device name instead of mounting flash. That file system is ten times smaller and volatile, and the change is transparent to applications. On sol 27 obsolete products were deleted, on sol 32 flash was erased in chunks with both software images verified after each, and normal science resumed on sol 33 [1]. MER stores every data product as a file with a metadata file alongside, and the product manager caps the system at 8192 unique products [1].

Mars 2020 file system figures (through sol 216 [10]): mount rate 13.5 to 15.4 MB/s, a 56 to 63 percent mount time reduction against the MSL lab baseline; background deletes at 19.7 plus or minus 3 per second against delete sequences occupying 638 plus or minus 574 seconds per sol; a parameter set of more than 60,000 loaded from one file in about 6 minutes; non-image downlink reduced from 88.8 Gibit to 27.5 Gibit by GZIP.

Capacity against volume. MER’s 224 MB flash is about 1792 Mbit [1], against an average relay return of about 56 Mb/sol per rover [8], roughly a month of returnable data. The binding limit is the 120 Mbit per rover allocation in Odyssey’s memory and the pass schedule [8]. The file system filled by count, not size: motion history products and a per-window summary report triggered the anomaly [1]. By 7 February 2004 MER had downlinked 5132 ICER-compressed images, 2867.9 Mpixel in 387.3 MB, averaging 1.13 bits/pixel against a 12 bit/pixel source, plus 6075 thumbnails in 3.8 MB at 1.27 bits/pixel [7].

Program-level cost. Averaged over six Mars surface missions, major anomalies cost 11 percent of prime mission duration and 6.6 percent of the full mission, with a 15 sol mean duration and a P95 of 45 sols; software was 11 of the 48 anomalies and computer hardware 8 [11].

Every account here is a single-mission case study written by the team that owns the design, not an independent or comparative study: MER’s own flight software team describes the sol 18 anomaly, and neither the memory margin consumed before the failure nor its growth rate is quantified [1]. MSL’s sol 200 record is a secondhand summary of an internal engineering account, with no independent verification of its erase-cycle or thermal figures [5]. The R-Hope relocation to NOR carries no stated reliability argument, no expected service life for the 64 MB backup file system, and no characterization of the NAND degradation as a mechanism or rate [4]. Mars 2020’s mount-rate and delete-throughput gains are stated against an MSL baseline that is itself never given a number, so the improvement fractions cannot be checked independently [10]. The redundant-partition synchronization design has no reported activity durations, data volumes or error counts [9]. The ICER rates cover about 34 sols of early, flat-terrain imagery under an operator-set byte quota, so they describe that phase’s downlink budget rather than a general property of Martian imagery [7]. The anomaly statistics are slopes of linear fits through six heterogeneous missions, dominated by MSL, with no uncertainty on any rate [11]. The Snapdragon mitigation rests on reasoning rather than a measured upset rate, and it has been used once per sol at the end of a drive, not in a real-time loop [12].

References

  1. Reeves, G. E. and Neilson, T. A. (2005). The Mars Rover Spirit FLASH Anomaly . IEEE Aerospace Conference. Source
    BibTeX
    @inproceedings{reeves2005mars,
      title = {The Mars Rover Spirit FLASH Anomaly},
      author = {Reeves, Glenn E. and Neilson, Tracy A.},
      booktitle = {IEEE Aerospace Conference},
      pages = {4186-4199},
      address = {Big Sky, Montana},
      year = {2005},
      doi = {10.1109/aero.2005.1559723},
      abstract = {The Mars Exploration Rover "Spirit" suffered a debilitating anomaly that prevented communication with Earth for several anxious days. With the eyes of the world upon us, the anomaly team used each scrap of information, our knowledge of the system, and sheer determination to analyze and fix the problem, then return the vehicle to normal operation. This paper will discuss the Spirit FLASH anomaly, including the drama of the investigation, the root cause and the lessons learned from the experience}
    }
  2. Neilson, T. (2005). Mars Exploration Rovers Surface Fault Protection . IEEE International Conference on Systems, Man and Cybernetics. Source
    BibTeX
    @inproceedings{neilson2005mars,
      title = {Mars Exploration Rovers Surface Fault Protection},
      author = {Neilson, Tracy},
      booktitle = {IEEE International Conference on Systems, Man and Cybernetics},
      volume = {1},
      pages = {14-19},
      address = {Big Sky, Montana},
      year = {2005},
      doi = {10.1109/icsmc.2005.1571115},
      abstract = {The Mars exploration rovers surface fault protection design was influenced by the need for the solar powered rovers to recharge their batteries during the day to survive the night. The rovers were required to autonomously maintain thermal stability, and initiate reliable communication with orbiting assets or directly to Earth, while maintaining their energy balance. This paper describes the system fault protection design for the surface phase of the mission, including hardware descriptions and software algorithms. Additionally, a few in-flight experiences are described, including the Spirit flash memory anomaly and the Opportunity "stuck-on" heater failure.}
    }
  3. Greco, M. E. and Snyder, J. F. (2005). Operational Modification of the Mars Exploration Rovers Flight Software . IEEE International Conference on Systems, Man and Cybernetics. Source
    BibTeX
    @inproceedings{greco2005operational,
      title = {Operational Modification of the Mars Exploration Rovers Flight Software},
      author = {Greco, Martin E. and Snyder, Joseph F.},
      booktitle = {IEEE International Conference on Systems, Man and Cybernetics},
      address = {Waikoloa, Hawaii},
      year = {2005},
      url = {https://dataverse.jpl.nasa.gov/dataset.xhtml?persistentId=hdl:2014/37496}
    }
  4. Holloway, A., Peper, N., Anabtawi, A., Quade, J. and Byrne, D. (2022). Building a Lifeboat: MSL's Uplink and Installation Campaign to Restore a Failing Backup Computer . IEEE Aerospace Conference. Source
    BibTeX
    @inproceedings{holloway2022building,
      title = {Building a Lifeboat: MSL's Uplink and Installation Campaign to Restore a Failing Backup Computer},
      author = {Holloway, Alexandra and Peper, Nick and Anabtawi, Aseel and Quade, Jackson and Byrne, DJ},
      booktitle = {IEEE Aerospace Conference},
      pages = {1-9},
      address = {Big Sky, Montana},
      year = {2022},
      doi = {10.1109/aero53065.2022.9843266},
      abstract = {Flight software updates are among the hardest and most dangerous activities for the Mars Science Laboratory (MSL) Curiosity team. While danger is often mitigated by backups, fallback strategies, and incremental installation with ground-in-the-loop cycles which provide a safety net for the installation process, the software update described in this paper was unable to use many of the common practices due to the nature of the fault addressed by the update. The MSL rover (landed August 2012) encountered a problem with one of its computer's non-volatile storage chips in 2019, requiring a swap to its backup computer and an urgent software upgrade called R-Hope. R-Hope, a lifeboat to be used in the event of primary computer issues, was written, tested, and sent to the rover in lightning speed of just 19 months. Multi-mission and team coordination allowed the 49 flight software image files to be uplinked to the rover over a 6-week period, using multiple paths and backup options for speedy delivery. In the end, the R-Hope software upgrade returned the computer to operation as a backup flight computer. The flight software transition was designed to impact science return as little as possible, and installation plans included science activities for the majority of MSL instruments. This paper describes the uplink and installation campaigns for R-Hope, and discusses the notable lessons learned by the operations team.}
    }
  5. National Aeronautics and Space Administration. (2013). Mars Science Laboratory (MSL) Sol-200 Anomaly . NASA Lessons Learned Information System, Lesson No. 11201. Source
    BibTeX
    @techreport{nasa2013msl,
      title = {Mars Science Laboratory (MSL) Sol-200 Anomaly},
      author = {{National Aeronautics} and {Space Administration}},
      number = {Lesson No. 11201},
      institution = {NASA Lessons Learned Information System},
      type = {Lessons Learned Entry},
      year = {2013},
      url = {https://www.nongnu.org/lzip/msl-sol-200-anomaly.html}
    }
  6. Rankin, A., Del Sesto, T., Hwang, P., Justice, H., Maimone, M., Verma, V. and Graser, E. (2023). Perseverance Rapid Traverse Campaign . IEEE Aerospace Conference. Source
    BibTeX
    @inproceedings{rankin2023perseverance,
      title = {Perseverance Rapid Traverse Campaign},
      author = {Rankin, Arturo and Del Sesto, Tyler and Hwang, Pauline and Justice, Heather and Maimone, Mark and Verma, Vandi and Graser, Evan},
      booktitle = {IEEE Aerospace Conference},
      pages = {1-16},
      address = {Big Sky, Montana},
      year = {2023},
      doi = {10.1109/aero55745.2023.10115835},
      abstract = {Over the first 13 months of the Mars 2020 mission, the Perseverance rover traversed nearly 5 km along the Jezero Crater floor. Near the end of that period, the Science team was anxious to relocate to the ancient Delta region near the crater rim, over 5 km away. A Rapid Traverse Campaign was planned that would prioritize use of Perseverance's autonomous navigation software to drive at an unprecedented high pace and minimize science activities. The Rapid Traverse Campaign started in March 2022 and lasted 31 Martian days. During the campaign, Perseverance drove over 5 km in 24 drives, during which its autonomy software planned 94.8% of its overall driving, enabling it to set several new planetary rover driving records. Perseverance exceeded the longest daily drive distance record achieved by a previous planetary rover (219 meters) 11 times and set new records for the longest multi-sol drive distance in a single plan (528.7 meters) and the longest continuation drive (699.9 meters) by operating without human drive path input during 3 sols of driving. This paper details the planning and execution of the Rapid Traverse Campaign.}
    }
  7. Kiely, A. and Klimesh, M. (2004). Preliminary Image Compression Results from the Mars Exploration Rovers . IPN Progress Report. Source
    BibTeX
    @article{kiely2004preliminary,
      title = {Preliminary Image Compression Results from the Mars Exploration Rovers},
      author = {Kiely, A. and Klimesh, M.},
      journal = {IPN Progress Report},
      volume = {42-156},
      institution = {Jet Propulsion Laboratory},
      year = {2004},
      url = {https://ipnpr.jpl.nasa.gov/progress_report/42-156/156I.pdf}
    }
  8. Taylor, J., Makovsky, A., Barbieri, A., Tung, R., Estabrook, P. and Thomas, A. G. (2014). Mars Exploration Rover Telecommunications . Deep Space Communications. Source
    BibTeX
    @incollection{taylor2014mars,
      title = {Mars Exploration Rover Telecommunications},
      author = {Taylor, Jim and Makovsky, Andre and Barbieri, Andrea and Tung, Ramona and Estabrook, Polly and Thomas, A. Gail},
      booktitle = {Deep Space Communications},
      series = {DESCANSO Design and Performance Summary Series},
      publisher = {Jet Propulsion Laboratory, California Institute of Technology},
      chapter = {7},
      year = {2014},
      url = {https://descanso.jpl.nasa.gov/monograph/series13/DeepCommo_Chapter7--141030.pdf}
    }
  9. Ruderman, E. (2024). Redundant Flight Computer and File Partition Maintenance Design for the Mars2020 Mission . IEEE Aerospace Conference. Source
    BibTeX
    @inproceedings{ruderman2024redundant,
      title = {Redundant Flight Computer and File Partition Maintenance Design for the Mars2020 Mission},
      author = {Ruderman, Evan},
      booktitle = {IEEE Aerospace Conference},
      publisher = {JPL Open Repository},
      year = {2024},
      doi = {10.48577/jpl.pz8dkx}
    }
  10. Girerd, A. R., Kuhn, S., Roth, B., Gaines, D., Scandore, S., Cummings, D., Mendoza, R., Lefland, M., Bareh, M., Siegfriedt, R., Lenda, M., Reich, K., Shah, B. and Bohannon, E. (2022). Cross-Cutting Flight Infrastructure Improvements on M2020 . IEEE Aerospace Conference. Source
    BibTeX
    @inproceedings{girerd2022cross,
      title = {Cross-Cutting Flight Infrastructure Improvements on M2020},
      author = {Girerd, Andre R and Kuhn, Stephen and Roth, Brian and Gaines, Dan and Scandore, Steve and Cummings, David and Mendoza, Ricardo and Lefland, Mallory and Bareh, Magdy and Siegfriedt, Rebekah and Lenda, Matthew and Reich, Kevin and Shah, Biren and Bohannon, Emily},
      booktitle = {IEEE Aerospace Conference},
      pages = {1-15},
      publisher = {IEEE},
      year = {2022},
      doi = {10.1109/aero53065.2022.9843523},
      abstract = {Mars2020 (M2020) was formulated as a mission that leveraged as much Mars Science Laboratory (MSL) heritage as possible, while focusing major new development efforts on the original and unique elements needed to accomplish the different mission objectives. Well publicized examples of high profile new developments include precision landing, the sampling and caching system, the specific instrument suite, improved mobility via Autonomous Navigation, and later the addition of the Ingenuity helicopter. Less well known are the refinements to the core flight infrastructure, primarily in the cross-cutting functions of Telecom, Avionics, Data Management, Communications Behaviors, and Parameter Management. These enhancements are introduced predominately via flight software, and represent increases in capability that justified their inclusion in an otherwise heritage-focused project environment. Perseverance's cross-cutting flight infrastructure improvements fall into and across the following five categories. First is a trimming of the software footprint of infrastructure modules, in order to make room for memory demands elsewhere in the system. Second is the minimization of data volume to be downlinked, through various methods such as the incorporation of new compression options. Third is the maximization of the available downlink bandwidth for data, by curtailing content-less data (fill) and introducing an improved UHF proximity link protocol. Fourth is a reduction in vulnerabilities, through increased file system redundancy, robustness, and software process monitoring. Fifth is an increase in operations efficiency by lowering file system mount times, improving parallelism between simultaneous events, minimizing the time to recover from file system errors, streamlining the purging of obsolete data, and reducing the number of commands to service parameters by a factor of 100. Individually, none of the cross-cutting infrastructure improvements are likely to garner headlines, but collectively they appreciably improve the safety and operability of Perseverance over its predecessor. This paper will describe the improvements, their promise, and where applicable, their actual impact in operations.}
    }
  11. Heverly, M. and Bareh, M. (2026). The Impact of Major Anomalies of Robotic Mars Surface Missions on Mission Timeline . IEEE Aerospace Conference. Source
    BibTeX
    @inproceedings{heverly2026impact,
      title = {The Impact of Major Anomalies of Robotic Mars Surface Missions on Mission Timeline},
      author = {Heverly, Matt and Bareh, Magdy},
      booktitle = {IEEE Aerospace Conference},
      publisher = {JPL Open Repository},
      year = {2026},
      doi = {10.48577/jpl.zlcejq}
    }
  12. Nash, J., Verma, V., Graser, E., Wang, H., Kubiak, G., Maimone, M., Myint, S., Biesiadecki, J. and Romano, P. (2026). A Software-Based Approach to Radiation Mitigation for Planetary Mission . IEEE Aerospace Conference. Source
    BibTeX
    @inproceedings{nash2026software,
      title = {A Software-Based Approach to Radiation Mitigation for Planetary Mission},
      author = {Nash, Jeremy and Verma, Vandi and Graser, Evan and Wang, Haoda and Kubiak, Gerik and Maimone, Mark and Myint, Steven and Biesiadecki, Jeffrey and Romano, Philip},
      booktitle = {IEEE Aerospace Conference},
      publisher = {JPL Open Repository},
      year = {2026},
      doi = {10.48577/jpl.okks5v},
      abstract = {The Perseverance Mars rover needs to drive long distances between regions of scientific interest to collect a diverse set of samples. Position knowledge is needed for navigating to the region of interest. Planetary mobile robots accumulate position uncertainty as they move. Globally localizing the robot to an orbital map of Mars removes this uncertainty. Previously this was performed manually on the ground by humans for mobile surface and aerial robots. This can be accurate but requires communication between planets. This takes significant time and the need for it limits how far Perseverance can autonomously navigate without ground-in-the-loop.The Perseverance Mars rover is in the process of deploying a new onboard global localization capability that has the potential for significantly improving long-distance autonomous navigation. It allows the rover to precisely determine its position by comparing panoramic images from its navigation cameras with high-resolution orbital maps. This paper provides an outline of the development and successful deployment of onboard global localization system on the Perseverance Mars rover and the challenges encountered. Leveraging a fast, commercial off-the-shelf (COTS) Snapdragon 801 processor from the Ingenuity Helicopter Base Station, the system performs complex image-processing tasks to accurately determine the rover's position relative to orbital maps. This approach overcomes the limitations of the rover's slower, radiation-hardened processor, and is a paradigm shift in planetary robotics.}
    }
  13. Verma, V., Nash, J., Saldyt, L., Dwight, Q., Wang, H., Myint, S., Biesiadecki, J., Maimone, M., Tumbar, A., Ansar, A., Kubiak, G. and Hogg, R. (2024). Enabling Long and Precise Drives for the Perseverance Mars Rover via Onboard Global Localization . IEEE Aerospace Conference. Source
    BibTeX
    @inproceedings{verma2024enabling,
      title = {Enabling Long and Precise Drives for the Perseverance Mars Rover via Onboard Global Localization},
      author = {Verma, Vandi and Nash, Jeremy and Saldyt, Lucas and Dwight, Quintin and Wang, Haoda and Myint, Steven and Biesiadecki, Jeffrey and Maimone, Mark and Tumbar, Andrei and Ansar, Adnan and Kubiak, Gerik and Hogg, Robert},
      booktitle = {IEEE Aerospace Conference},
      address = {Big Sky, Montana},
      year = {2024},
      url = {https://www-robotics.jpl.nasa.gov/media/documents/2024_Global_Localization_IEEE_Aero.pdf}
    }