Software to change en route to Mars

 

Connecting state and local government leaders

As Mars wings closer to Earth than it has in 60,000 years, NASA is tweaking the software forthe two rovers speeding toward the Red Planet.

As Mars wings closer to Earth than it has in 60,000 years, NASA is tweaking the software forthe two rovers speeding toward the Red Planet. The twin NASA rovers now heading toward Mars owe more of their brainpower to the successful 1997 Mars Pathfinder than to the doomed missions of 1999.Software developers at NASA's Jet Propulsion Laboratory in Pasadena, Calif., reused much of the code that guided Pathfinder and its onboard rover, Sojourner. And they're taking more time to test the all-important software instructions that will steer the two Exploration Rover spacecraft out of interplanetary trajectory and down to a safe landing.The developers needed so much time, in fact, that they're still working on the landing code.Not until November will NASA transmit a software upgrade in preparation for the Jan. 24 and 25 landings, said Roger Klemm, a technical staff member at JPL.Klemm works on flight software development for Spirit and Opportunity, the twin spacecraft of the Mars Exploration Rover program. Launched in June and July, they are slated to land on opposite sides of the planet to analyze its surface.The rovers' computers must operate 'in an environment more hostile than a microwave oven,' said Mike Deliman, a technical staff member at Wind River Systems Inc. of Alameda, Calif.[IMGCAP(2)] The brain of each spacecraft is a 20-MHz, 32-bit Rad 6000 CPU module, a radiation-hardened version of an early IBM PowerPC processor, now manufactured by BAE Systems of Farnborough, England.'The smaller the electronics get here on Earth, the more susceptible they become to cosmic radiation,' Klemm said.In 1995, Wind River ported its real-time VxWorks operating system to the Rad 6000 in preparation for Mars Pathfinder. Deliman said he was part of that team, which worked so well that NASA tried to recreate the team as much as possible.Although the CPU's power hasn't been state-of-the-art since the late 1980s, it is the most radiation-hardened processor available for deep space, Deliman said.The compiler included with the MULTI development environment from Green Hills Software Inc. of Santa Barbara, Calif., is the only compiler validated to generate proper code for the Rad 6000 chip, Klemm said. JPL engineers are using the Green Hills compiler 'for heritage reasons' because they reused so much code verbatim from the successful Mars Pathfinder, he said.The multitasking OS slices up CPU time 'so that no one task will hog it, and everyone can get a little piece of the pie,' Klemm said. JPL designed the architecture to work with VxWorks' scheduling and interrupt features.The software developers used Wind River's Tornado integrated development environment, which incorporates the VxWorks OS and various debugging and visualization tools, Deliman said.Each of the two rovers has only one CPU and one set of software for the entire mission. Asked about redundancy'there is no way to hot-swap components in deep space'Klemm said, 'That's why we're sending two rovers.'JPL programmers had to take into account the limitations on spacecraft resources, such as CPU throughput, electrical power, uplink and downlink bandwidth, and possible power inefficiency from dust collecting on solar panels during the trip to Mars. Spirit and Opportunity launched with the first version of the flight software. The rovers don't have enough memory on board to handle two sets of commands for leaving Earth orbit and approaching Mars, which is why the in-flight upgrade will be necessary, said David Kleidermacher, Green Hills Software's vice president of engineering.The JPL team is now testing a revised software version that they will transmit to the two spacecraft in November to guide each rover down to the fourth planet and perform surface operations.The Tornado development environment lets programmers code, compile and prototype on a host system, such as JPL's Sun Microsystems Inc. workstations, Deliman said, because Rad 6000 computers are not widely available.At its height, about two dozen programmers were working on the software team, now down to about 10, Klemm said.NASA officials hope that Spirit and Opportunity will avoid the problems that doomed the Mars Climate Orbiter and Mars Polar Lander spacecraft. The lander had a retrorocket landing system. The software that sequenced the landing events evidently mistook vibrations from the landing gear for actual landing and shut down the engine prematurely, Klemm said.The lander was 'far enough off the ground that it was fatal to turn off the rockets. That was essentially a software bug that had not been detected in the test program,' which was insufficiently funded, Klemm said.Another glitch'a line of code written for English instead of metric measurements that made the Mars Climate Orbiter craft disappear'also was a budget issue, Klemm said. The navigation team had seen coding errors but was too short-staffed to follow up, he said.Klemm said he's excited to see Mars shining brightly in this month's night sky: 'This is the closest that Mars will be to us in any of our lifetimes. You can look up in the sky and there it is, and we're on our way.'

What's aboard each Mars rover?

  • 20-MHz, 32-bit Rad 6000 CPU module from BAE Systems

  • VxWorks OS from Wind River

  • Embedded, homegrown NASA apps
  • A view of Mars taken from NASA's Hubble Space Telescope.

    The Mars Rover









































    Avoiding doom







    NEXT STORY: Calendar

    X
    This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
    Accept Cookies
    X
    Cookie Preferences Cookie List

    Do Not Sell My Personal Information

    When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

    Allow All Cookies

    Manage Consent Preferences

    Strictly Necessary Cookies - Always Active

    We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

    Sale of Personal Data, Targeting & Social Media Cookies

    Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

    If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

    Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

    Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

    If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

    Save Settings
    Cookie Preferences Cookie List

    Cookie List

    A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

    Strictly Necessary Cookies

    We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

    Functional Cookies

    We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

    Performance Cookies

    We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

    Sale of Personal Data

    We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

    Social Media Cookies

    We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

    Targeting Cookies

    We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.