Live data from Hacker News

Mars rover Curiosity’s software upgraded

firstpost.com

21–30 of 33 posts

Re: Mars rover Curiosity’s software upgraded

#21
post #3

I get nervous sometimes when flashing ROMs on my phone...And those were downloaded over a (comparatively) 0-latency connection with high throughput. Fact that sending a firmware to Mars is apparently a normal thing now notwithstanding, I find this incredible.

The first attempt at this upgrade did have some issues:

http://www.jpl.nasa.gov/news/news.php?release=2013-325

The software reset and booted back into the older version. There are some really good safeguards against bricking anything, but it's still scary. Especially with the data latencies involved - in this case the team had several hours between knowing "something's wrong" and getting more data.

Re: Mars rover Curiosity’s software upgraded

#23

Possibly cool idea: build a Curiosity emulator/simulator. Build the o.s. for it and/or user-space (does any of those concepts apply? probably not) software for it. Does this already exist? This looks like it. http://sourceforge.net/projects/marsroversim/

Curiosity definitely has an OS (VxWorks). But I asked one of the developers about releasing some code after Curiosity landed and was told that they couldn't. So I doubt an accurate Curiosity emulator will ever be possible unless JPL releases their code 45 years from now like NASA did with Apollo 11's guidance system. ( https://code.google.com/p/virtualagc/ )

I believe that the software technically falls under certain US export restrictions which is probably one reason it isn't made public.

Re: Mars rover Curiosity’s software upgraded

#24
post #16

Earlier quoted context omitted.

I haven't seen an easily brickable device for half a decade now... Android smartphones and tablets are very hard to brick, post-2008 laptops and motherboards have excellent BIOS recovery, what else is there? I bricked an external RAID enclosure by flashing the wrong firmware, but that POS was running on a SiliconImage chip that for some reason allowed flashing a completely different firmware to it...

Funny, I just saw a friend's Android phone get bricked by an update about two years ago. It was in a state I probably could have recovered it from if its bootloader were unlocked, but it was beyond reach of Joe User. I've also bricked or seen bricked routers, external HDDs, and TVs in the last five years. Many TVs, actually, if you include pre-release units. As far as I can tell, most of them rely entirely on testing…

> it was beyond reach of Joe User.

I would argue that this is not bricking, if it's beyond joe user that's just a job for experts.

Bricking to me is totally gone with no hope of recovery.

Re: Mars rover Curiosity’s software upgraded

#25

Earlier quoted context omitted.

Curiosity definitely has an OS (VxWorks). But I asked one of the developers about releasing some code after Curiosity landed and was told that they couldn't. So I doubt an accurate Curiosity emulator will ever be possible unless JPL releases their code 45 years from now like NASA did with Apollo 11's guidance system. ( https://code.google.com/p/virtualagc/ )

I believe that the software technically falls under certain US export restrictions which is probably one reason it isn't made public.

US export restrictions? Can't export it much further than Mars. ;-)

Re: Mars rover Curiosity’s software upgraded

#26

Earlier quoted context omitted.

Funny, I just saw a friend's Android phone get bricked by an update about two years ago. It was in a state I probably could have recovered it from if its bootloader were unlocked, but it was beyond reach of Joe User. I've also bricked or seen bricked routers, external HDDs, and TVs in the last five years. Many TVs, actually, if you include pre-release units. As far as I can tell, most of them rely entirely on testing…

> it was beyond reach of Joe User. I would argue that this is not bricking, if it's beyond joe user that's just a job for experts. Bricking to me is totally gone with no hope of recovery.

There's outside of what the Average Joe can do and then there's needing a JTAG

Re: Mars rover Curiosity’s software upgraded

#27

Earlier quoted context omitted.

Funny, I just saw a friend's Android phone get bricked by an update about two years ago. It was in a state I probably could have recovered it from if its bootloader were unlocked, but it was beyond reach of Joe User. I've also bricked or seen bricked routers, external HDDs, and TVs in the last five years. Many TVs, actually, if you include pre-release units. As far as I can tell, most of them rely entirely on testing…

> it was beyond reach of Joe User. I would argue that this is not bricking, if it's beyond joe user that's just a job for experts. Bricking to me is totally gone with no hope of recovery.

Attempting to narrow the definition of "brick" past the point of an RMA already being necessary is ludicrous.

Re: Mars rover Curiosity’s software upgraded

#28
post #16

Earlier quoted context omitted.

I haven't seen an easily brickable device for half a decade now... Android smartphones and tablets are very hard to brick, post-2008 laptops and motherboards have excellent BIOS recovery, what else is there? I bricked an external RAID enclosure by flashing the wrong firmware, but that POS was running on a SiliconImage chip that for some reason allowed flashing a completely different firmware to it...

Funny, I just saw a friend's Android phone get bricked by an update about two years ago. It was in a state I probably could have recovered it from if its bootloader were unlocked, but it was beyond reach of Joe User. I've also bricked or seen bricked routers, external HDDs, and TVs in the last five years. Many TVs, actually, if you include pre-release units. As far as I can tell, most of them rely entirely on testing…

> I just saw...about two years ago.

Well, that is not just seeing, and it probably was not bricked in the traditional sense. It may have been a pain to try to recover, but it was probably possible.

Re: Mars rover Curiosity’s software upgraded

#29
post #16

Earlier quoted context omitted.

I haven't seen an easily brickable device for half a decade now... Android smartphones and tablets are very hard to brick, post-2008 laptops and motherboards have excellent BIOS recovery, what else is there? I bricked an external RAID enclosure by flashing the wrong firmware, but that POS was running on a SiliconImage chip that for some reason allowed flashing a completely different firmware to it...

Funny, I just saw a friend's Android phone get bricked by an update about two years ago. It was in a state I probably could have recovered it from if its bootloader were unlocked, but it was beyond reach of Joe User. I've also bricked or seen bricked routers, external HDDs, and TVs in the last five years. Many TVs, actually, if you include pre-release units. As far as I can tell, most of them rely entirely on testing…

Oh yeah, routers and hard drives. Well, DDWRT runs fine and WDidle3 didn't brick any of my WD drives, so I guess I'm lucky! No TV in this home, either :-)

Re: Mars rover Curiosity’s software upgraded

#30
post #4

A lot of work has gone into making that software especially robust, including some custom tooling for facilitating peer review. Dr. Holzmann (formerly of Bell Labs, birthplace of Unix) heads JPL's Laboratory for Reliable Software to lead this work. If you'd like to learn more, I written about the LARS methodology after hearing Dr. Holzmann at USENIX Hot Topics in Dependable Software: http://www.verticalsysadmin.com/m…

Thanks for your article. It was very interesting to read about the development of such "serious" software. :)
Post reply on HN