Happy Holidays!

Wishing you a wonderful time with your family and friends and community.

Happy Holidays — Merry Christmas, Feliz Navidad, Happy New Year, Prospero Año Nuevo…

I wish for a strong 2012 for you and your family — one full of new opportunities, prosperity & good health.

ceo

Posted in General | Leave a comment

Android in Action, 3rd Edition (Ableson, Sen, King, Ortiz)

Android in Action, 3rd edition, which I co-authored together with Frank Ableson, Robi Sen and Chris King, is out!

You can order it online (see Amazon), or visit your favorite bookstore.

Order one, order two, order three copies!

Give a copy to your favorite developer — a great present for Christmas. She/he will thank you. ;-)

And if you are in Austin, I will even sign it for you!


Writing a book is a lot of work — takes a lot of time, effort and coordination.

This book turned out to be pretty massive and informative. It covers all you need to know about Android development, from the basics such as application components to the latest Android concepts and APIs such as Fragments, the new holographic Action Bar and Drag-and-Drop.

I hope you find this book useful…

CEO

Posted in Mobility | 2 Comments

The Impact of Steve Jobs on Mobility

Thanks Steve
Thanks, Steve — Created by Jonathan Mak.

Steve Jobs’ legacy spans a number of industries — the personal computer, computer graphics & visualization, the movie industry, the music industry, telecommunications and mobile devices, retail stores. The impact he made across technology sectors was like no other before him.

His legacy touched so many people, directly, because he put the user, the user experience and design first. His passion for beautiful was just beautiful and amazing.

Mobility technologists of today must thank Steve. To appreciate his impact on our sector, it is important to understand how things were before Steve Jobs and the iPhone. In short, literally, there was mobility before the iPhone and after the iPhone — both periods are completely different.

Before the days of the iPhone, the operator controlled every aspect of the mobile device — inside and outside. Those were the early days of data networks. While there were mobile platforms such as WinCE, PalmOS, Symbian, WAP and J2ME, that allowed for mobile applications, innovation moved at the speed of a turtle. The main factor that impacted innovation was the operator itself — FUD over the networks, and control over the handsets and what could be done on the handsets themselves (that is, the kind of connected applications). To go to market, it was the most painful process ever, and it was very expensive — creating an application was a barrier to entry all on itself, and then, the ‘operator deck’, which was the main way to gain visibility was terrible. There was no ecosystem. There were people with great ideas, but bringing those to market was just next to impossible. This resulted in non-sophisticated phones and simplistic applications. It meant poor user experience. It wasn’t pretty.

Not even the powerful Nokia could break through this.

Then came Steve Jobs and his team with the iPhone.

The only way to break away from the operator control was to reinvent the mobility sector, which first meant the operator cannot be in the center in control. Imagine that. That was unheard of. And to execute, you create your own hardware, software and complete go-to-market approaches. Now, that is thinking outside of the box.

And in the process, not only they raised the bar on hardware design, software design, the user experience! all beautiful, capable pieces, but it was much more than a phone. Yes it could play music and videos, but most importantly for developers, he redefined how applications are built, marketed and monetized. No more ‘operator deck’! No more operator control. He pushed for latest on web technologies. And the ability to create incredible native applications. The power transitioned from the operator and into the ecosystem and the developers themselves. Developers could write mobile web-apps, or native apps cheaply and market them via an app store and take a huge cut from the sales of their apps, or, developers could give the app away for free and make money in other ways. Developers were no longer at the mercy or FUD from the operators. Finally, after ~9 years!

That was the legacy, the impact of Jobs on mobility — he redefined the mobile industry as a whole, top to bottom and left to right — the hardware design, and the software within, the software ecosystem, the user experience, the monetization aspects. He knew that software was the key to success and that the developers were the messengers, the ones who would make it happen.

The rest is history — now everyone gets it, and everyone follows.

Without Steve Jobs’ vision and his cojones (no one before him dared to challenge the operator) and of course his incredible team, we would still be using crappy handsets, and boring software/apps.

The mobility industry is really defined as Before-iPhone (BiP) and After-iPhone (AiP).

Steve inspired me and many in my generation of mobile technologists. I never got the honor to meet Steve Jobs, but I always wanted to tell him, “Thank you, Steve!”

ceo

P.S. I look back at my out of the blue interview with Apple in ~2004-2005 when they were looking for mobile folks. I have never written about this before, but that is how I learned back then that Apple was getting into mobile. I had my own business back then, so timing-wise wasn’t good for me, but if I had joined, it would have been something special.

Posted in Mobility | Tagged , | 5 Comments

Remembering Steve Jobs

Steve was an inspiration for me, and for many. I recall on my freshman year at college when the Mac was introduced. Wow. And then, time after time, he innovated and changed the world — movies, music, personal computers, mobile devices; thanks to his vision, and passion, and execution, he changed the world of mobile and as a consequence, my professional career and my life.

Thanks Steve for your vision, passion, for changing and enabling the world. For creating awesome, beautiful things.

ceo

Photo Source: flickr (velorowdy)

Posted in General | Tagged | Comments Off

The Atlassian 10 commandments for startups.

An excellent, must see presentation by Scott Farquhar, Co-Founder and CEO of Atlassian.

I’ve been using different Atlassian tools over the years now, and it is great to see their story, their success, and their 10 commandments for startups.

  1. Start with Two (founders who support each other)
  2. Need a business model
  3. Use your own product
  4. Test everything
  5. Always be marketing
  6. Your first idea will fail
  7. Long-term thinking
  8. Know when to switch gears
  9. Build somewhere you want to work
  10. Give (your employees) experiences

ceo

(Hat tip: @rich_wong)

Posted in Google | Tagged | 1 Comment

What were you doing on Sept 11, 2001?

As we all remember that horrific day on September 11, 2001, I look back at what I was doing at those exact moments. And I remember, crystal clear, that I was on my car, around 7 am, driving to work, to AGEA, a startup I helped start. AGEA was a startup in Austin and we had a great mobile platform. At that time, we were in the process of going through the final acquisition discussions with BEA (today part of Oracle).

When the first plane hit, I was driving; I was listening to the radio, and the news came up. It all was very confusing. An airplane had hit the WTC. The first thing that came to my mind was that airplane during the 1940s or so that hit the Empire State building by accident. But the tone and descriptions from the radio announcer were all very confusing and disturbing – was it an accident? Was it intentional?

As I got to the office, we turned on the TV. And as we talked, the second airplane hit — some scream in disbelieve, others in anger, then total silence. It was confusing. We couldn’t believe it. What is going on?

As things evolved, and we continue watching those images coming from the TV, it was clear that we were under attack, we all realized the severity of what was happening — we knew we were entering new times.

What a morning. We couldn’t work, we all left the office, we all went to one of the co-workers home nearby. And we continued watching TV news throughout the date, the President speak, the theories, the horrific images of the buildings, and of the people who were there. Then the buildings started to fall, one by one. I just wanted justice, I wanted vengeance. We all did. We knew things were going to be very different from now on; I could feel it in my bones, a bad feeling about the future.

And very different things became. The bubble had just happened in 2000. The attack made things worst. Businesses stopped buying. Mergers and acquisitions stopped, so our BEA discussions. A long-term war, that is still going on today, started that same day. It pushed everything back, including innovation. The rest is history.

Never forget…

ceo

Posted in General | Tagged | 3 Comments

App Developers Conference and Hackathon 2011

The App Developers Conference and Hackathon is taking place Oct 26-27, 2011 in Santa Clara, CA. ADC addresses key components of App development, marketing and revenue on mobile devices and tablets.

Walmart and Pandora will deliver the keynotes. Additionally we have more than 50 speakers, including leading developers participating. Speakers include: Bump, Netflix, Smule, Flurry, Pulse, Chomp, Yelp, OpenFeint, Churn Labs, Nissan, Barnes & Noble, Nielson, BMW, Microsoft Win Phone 7, Samsung, AT&T, Qualcomm, Intel Capital and dozens of others.

Conference tracks include: Platform Wars, Programming and Design and Marketing and Revenue. Additionally, we are hosting the Kidscreen iKids Summit, where the biggest brand-owning companies in the kids entertainment will talk about their 2012 app strategies and partnership needs. ** Great partnership opportunities **

The AppDev Hackathon and Bootcamp taking place October 27, 2011 is free to participate and features hands on training classes on the latest technologies and trends that can help you build better apps. New and experienced developers will learn new skills, build mobile apps, compete for prizes, meet people and find teammates for new or current projects.

Take advantage of $100 discount off the conference price – just use coupon code ENRIQUE – this is on top of the Earlybird discount which expires this September 21st – a $300 savings off the regular full rate.

Follow this link now to register (and don’t forget the coupon code):
http://appdevconf.engagedigital.com/register/

Register for the Hackathon here: http://appdevhackathon.com/

For more information contact Chris Sherman, the conference organizer at chris@engagedigital.com.

ceo

Posted in Mobility | Comments Off

Mobile Monday Austin, Mobile Gaming – Sept 19, sponsored by Nokia

A reminder that our next Mobile Monday Austin event is on September 19, 2011. The topic is Mobile Gaming and the event is sponsored by Nokia.


Date: Monday, September 19, 2011
Time: 6-9pm
Location: Buffalo Billiards, 201 E. 6th St.
Cost: FREE, food and drinks will be served

Please join us on Monday, September 19 for the next Mobile Monday Austin session. We’ll be discussing mobile gaming, and the latest trends and technologies in this exciting and active area of the mobile industry.

We’ll start gathering at 6pm for free drinks and some appetizers, and the session will begin at 7pm. Come out to meet other members of the Austin mobile community, and to hear about:

  • the latest research in mobile gaming from Nielsen, with David Gill
  • what’s hot in the Austin game developer community, from American-Statesman reporter Brian Gaar
  • an update from Nokia and Microsoft on Windows Phone 7, and what it holds for game developers
  • presentations from local game developers on their latest and coolest work

Please RSVP below to reserve your spot! Visit Mobile Monday Austin website.

If you are an Austin-area game developer and would like to present, please contact Carlo Longino, carlo at mobilemondayaustin dot com, or C. Enrique Ortiz, eortiz at mobilemondayaustin dot com.

Thanks to our sponsor, Nokia!

ceo

Posted in MobileMonday Austin | Tagged , | Comments Off

Evernote in Austin

I just blogged at the Austin Startup blog, about Evernote in Austin; the popular Evernote is opening a development Studio in Austin.

The company is growing fast — they started the year with 45 people and are looking to grow to 130 by the year end. And they have about 11 million users, and growing.

A few weeks ago, I met with Rich Warwick, Evernote’s new vice president and general manager for Austin products, where I learned that Evernote was going to open a development lab in Austin, and that they will be aggressively looking for Mobility and Mac developers here in town. I, being a mobility person, am pretty excited about the news: 1) I am a fan of Evernote, 2) they are opening a dev studio in Austin, and 3) a core focus of the Austin lab is Mobility!

On August 31st, they will run an Evernote Meetup at the W. If you are a mobile app developer and curious about joining the Evernote team, you should attend the meetup and also see their current job postings in the new Austin Studio.

Related:

ceo

Posted in Mobility | Tagged , | Comments Off

HP TouchPad soon to be running Google Android

A week ago or so, HP announced that it was pulling the plug on their webOS devices, including their TouchPad.

A few days ago, TouchPads go on fire sale for $99. And guess what? They are selling like hot cakes.

Now HP TouchPad will soon to be running Google Android via Touch Droid.

Ironic. There is a chance that HP TouchPads get popularity via Android. Or in other words, HP could have played all this much better and saved $1.2B, and still be in the tablet race.

Oh well…

ceo

Posted in Mobility | Tagged , , | 2 Comments

6th Mobile 2.0 Event | September 1, 2011 | San Francisco

On September 1st, 2011 is the 6th edition of the Mobile 2.0 in San Francisco:

Our one-day event, presented by the Mobile 2.0 Organizing Committee, focuses on understanding and leveraging Mobile Ecosystems, building and successfully monetizing new Mobile Applications and Services, and exploring Disruptive Mobile Innovation and Business Models.

This is a very unique event, put together by mobile technologists and developers (my friends Daniel Appelquist, Gregory Gorman & Tony Fish) for mobile technologists. It is a day of interactive panels and workshops, with focus on the latest trends in Consumer Acceptance, Mobile Design, Monetization and Advertising.

I will be attending this year’s Mobile 2.0 event, and I hope to see you there.

For members of Mobile Monday Austin, there is a 25% discount if you register by August 28th. Simply type in the discount code “MobileMonday” as the promotion code on the registration home page. I’m attending the event; let me know if you are.

See the Mobile 2.0 event’s website for more information and registration.

ceo

Posted in Mobility | Tagged | Comments Off

On Google’s Moto Mobility Group Acquisition

The latest big news on Android is Google’s acquisition of Motorola’s Mobility group.

And I have to say, I wasn’t expecting that one.

The main arguments floating around on the acquisition are:

  • Patent play, driven by the patent war including the recent Nortel patent acquisition by Google’ competitors
  • Hardware play, which better positions Google against Apple

My thoughts

  1. It is a patent play
  2. TBD is the impact of this on Google/Android partners — this is huge with respect to Android partners, creates a love-hate relationship, and definitely will have a negative impact on their partners, their growth, their confidence, and as a consequence, will affect Android’s growth; it is the way things work. While Android’s global growth was leveraging big manufacturers such as HTC and Samsung, now, unless some kind of awesome agreement is done with the partners (see last bullet), Android’s success has now reverted mainly onto Google’s shoulders
  3. Google must to decide very fast what they want to be: a SW or HW-or both kind of company
  4. Google *must* keep the IP for the patent wars, and spinoff Motorola as a subsidiary — running a HW company is just a different kind of beast.
  5. While maintaining ownership of the new IP, Google shall give royalty-free access of the Motorola patent portfolio to Open Handset Alliance (OHA). This will 1) provide incentives to existing OHA partners, 2) provide incentives for new partners to join OHA, and 3) allow OHA and Android to continue its growth path and benefits to OHA partners

Pretty unexpected, but very interesting move by Google indeed. We are witnessing a major reshape of the mobile industry from software to hardware; from Nokia and Microsoft, to Goggle, Motorola, the impact on APAC-based device manufacturers, the operators, Apple, and so on.

This counter-offensive by Google will or should help battle the potential new costs to consumers due to patents wars. As a side note, now imagine how much innovation (and quality of innovation) would be possible if instead of having to spend so much cash on patents, instead it is invested on people, their research-and-ideas, and thus true innovation.


Update Aug 16, 1:30pm: Android partners “welcome” Google’s Motorola Mobility buy (VentureBeat). Very interesting to see Android partners are welcoming this. Maybe they were consulted? (unlikely). But it means that today they see the ROI and are so committed to Android that as long as Android itself is less risky (due to more IP protection), then they are OK with some competition. And/or maybe they don’t see Motorola itself as a real threat. If the latter changes where Motorola becomes a threat, we obviously will see a change of heart.

Update Aug 16, 2:30pm: Google: We Bought Motorola To “Protect” The Android Ecosystem (Business Insider)

Update Aug 22: Android vs Windows Phone 7: At least one handset maker thinking about it (GigaOM)

ceo

Posted in Mobility | Tagged , , | Comments Off

Are we still talking about WORA?

A friend of mine who works at Phunware recently pointed me to their blog to read about a recent acquisition they have made; very cool, congrats.

Then a recent blog post of theirs caught my eye (as it is a topic close to my heart): The Delusion of “Write Once Run Anywhere” Mobile App, where Phunware’s CEO writes:

“…I turn my attention to another popular myth about the development and publication of mobile applications: the delusion of “write once, run everywhere” mobile applications and the fallacy of their existence.”

WORA? We still taking about WORA?

…deja-vu!

Today, talking about WORA is similar to the debate on mobile apps vs. webapps — seems it will never end. But I guess since for many mobile is still a new space, it is good someone writes about it.

True WORA will never happen. Not back in 2004 during my J2ME days when I wrote True WORA will never happen, and not today.

For certain classes of mobile applications though, there is some light at the end of the tunnel, as “close to WORA” can be achieved — for native apps with the help of cross-platform development tools, and for webapps thanks to toolkits such as WebKit, jQuery Mobile, Sencha, and so on.

But today (still) once you go media-rich, highly-sensor and context-based, it starts to break-down.

Even popular tools like Titanium and PhoneGap have limitations when trying to maximize the experience/goals, or maybe the problem is with the folks using such tools, but nevertheless, a number of companies that I have talked to recently and which have advised on the benefits of native app vs. webapp, have given up entirely and instead have explicitly asked for target-specific (Android vs. iPhone vs. mobile web) development only vs. trying to go cross-platform with the hope of reducing development costs.

At the same time, some of companies do realize that while mobile webapps won’t able to deliver (today) the level of functionality and user-experience that is as rich as native apps do, they do understand the trade-offs where the functionality and experience of mobile webapps is sufficient-enough for their goals, their customers, across mobile platforms, with respect to their development budget and expectations.

So yes, for certain application classes WORA is possible today, while true WORA across all classes of applications is not.

Related to this see: Mobility in 2011: Mobile Apps, Webapps and Tipping Points

ceo

Posted in Mobility | Tagged , , , , | 1 Comment

Launch of STS-135 Atlantis (final mission of the Space Shuttle)

Video of the last Space Shuttle launch (Atlantis , STS-135) as I saw it on July 8th, 2011…

(thanks to James Daniels for the video editing/rotation effects)

This is from 7 miles way. If you listen carefully, you can hear the double-boom as the vehicle breaks the sound barrier.

This is the last time my code gets to fly to space, so it was pretty special for me to go see this launch happening…

ceo

Posted in Space | Tagged , , , | Comments Off

Looking back at the Space Shuttle Program

Tomorrow I leave to the Cape Canaveral (Kennedy Space Center) to see the last launch of the Space Shuttle, STS-135.

(I hope it doesn’t get delayed).

I am very excited about this. I was able to get some tickets at the last minute to see this launch from ‘up close’ (~7 miles away) from the KSC Visitor’s Center. Back in 1994 when I used to work on the Shuttle, I was able to see the launch of STS-60 from really up-close (~3 miles); and there is nothing like seeing a Shuttle launch.

Below is a post I made to the Illist group on my Shuttle story, which I am posting here on my blog as well. Some aspects of it are a bit technical. I am sharing this here so that everyone who reads this understand the awesomeness of the Space Shuttle and of our Manned-space program.

Godspeed!


Looking back at the Space Shuttle Program
C. Enrique Ortiz | July 4, 2011

For months I have been looking to get tickets to see the last Shuttle mission from up-close. I was lucky to get the tickets to go see the launch of Atlantis thanks to @hugs (Jason) and the Illist.

I mentioned to Jason that going to see this last mission of the Space Shuttle was a special event for me, and he asked me to post to the Illist my story. It has been a very long time since I worked on the Shuttle program, so bear with me, but here it goes…

This last Shuttle mission has a lot of meaning to me because it is the last flight on which my contributions to the Space Shuttle onboard system software (SSW) will be flying on. As with many thousands of others, STS-135 and Atlantis is the last flight that will carry to space all of our contributions to the USA manned space program.

I grew up loving Space (and Astronomy). Movies like Space Odyssey 2001 changed the way I saw the future, space exploration and learned about that cool thing call computers, which later on turned out to be how I made my living. After I graduated from college my first job was in computers (software) and the space program, specifically the manned space program. Awesome. And to Houston I went. It was so exciting — the environment, the history, the astronauts, the vehicles and writing software for it.

This was back in the 1990s. I worked on the Shuttle program for ~5 years. My job was as a SW engineer on the Flight Computer OS (FCOS). I “quickly” learned the codebase, which was very complex and took me a year to master, or at least I thought I did. Then I began supporting flight missions (~20 in total) from launch to landing, and writing code in support of new CPU capabilities and/or new features, some small, some very large and all very critical.

The team I worked with was the best, and I miss them all. A bunch of great people, smart people, very passionate people. The space program was in our veins. We were all so proud of the space program and contributing to the mission’s success. There was nothing like getting the vehicle ready for flight (from our software point of view), and seeing that bird roaring up to space.

The Space Shuttle computer systems are *old*, very old. The drivers or requirements for it much came from the lessons learned from the Apollo missions; things like screen refresh rates, the redundancy and fail-operational/fail-safe requirements, the fly-by-wire and digital control and other. The SW implements a number of very important concepts that at the time, and still today, are very awesome and unique.

First, it probably still is the most complex real-time system out there. There are 5 general purpose computers (GPC). Each GPC has one processor the AP101/S and about 1MB of main memory. All ran in less than that. For storage, it relies on magnetic tape! (not sure if that got upgraded after I left, but those tapes gave us grief as it aged and I had to code to take into consideration changes in spinning start/stop & read/write times). There are 24 I/O buses for commanding/controlling different subsystems of the vehicle. Of the 24 buses, 8 are considered critical, for example, controlling critical sensors and/or controlling the main engines. Access to each subsystem is redundant via two different paths. A given GPC is assigned a String which consist of two critical I/O buses to command (one flight-forward and one flight-aft bus) and it listens to all the critical buses (to so maintain redundancy). That means a given GPC commands a set of 2 buses while it is listening and ready to take over others in case the other commanding GPC fails.

Four of the GPCs run the Primary Avionics software system (PASS) written by IBM (I was an IBMer at the time); GPC 1-4 run that exact same software image. The 5th computer runs the Backup Flight System (BFS) written by a different vendor, totally independent, given the same requirements given to IBM for the PASS. The idea of PASS vs. BFS is that no single bug should affect all of the computers. The idea is that if the primary systems fail because a common issue on that version of the software, the astronauts can engage the backup system. Note that the BFS has never been engaged during an actual mission.

(As a side note, it typically takes around one year for a new version of the software from completion to actual flight, due all the testing, then astronaut training).

The idea behind this fail-operational/fail-safe modus operandi is a common theme across the Shuttle. Everything is redundant. The system must handle failures such that a single system failure should keep the mission and its crew operational (fail-operational) and two system failures should keep the vehicle and its crew safe and able to land (fail-safe). This is the reason there are five GPCs, and four of those are primary ones and one is a separate, backup one. In addition, for this the PASS GPCs run in a Redundant Set during the critical phases of the mission (lift-off, on-orbit and re-entry/landing). In a redundant set, each of the primary GPCs, as previously mentioned, command two (of the eight) critical I/O buses at a given time, while listening to other buses. The idea is that if all computers are running the same software, and are receiving all the same inputs, then all execution should be the same (and all outputs should be the same as well). All computers in the redundant set, which again are running the same SW, sync-up at every interrupt (I/O , timer). If a computer fails to sync (not show up on time) twice in a row, it is voted out from the redundant set by the rest of the computers, and the designated bus-listener now takes command of those critical buses. The failed computer is halted as soon as possible by the astronauts. (while all this is happening, a number of audible alarms are going off). The computers also form what is called a Common Set, which can include redundant computers (in a redundant set of their own) and non-redundant computers; these sync-up every 160 ms. And example of a redundant set are when the computers are in guidance and navigation and control mode for launch, orbit or re-entry, and an example of a common set is having two computers in a redundant set in orbit, while having a 3rd computer doing system’s management dedicated to the robotic arm or the payload. (the 4th computer is in stand-by conserving power). It is uncommon for GPCs to fail to sync from a redundant set and is even more uncommon to fail-to-sync from a common set.

During my Shuttle days I was exposed to a number of great concepts that today are common. There I was first exposed to vector graphics used in the Shuttle UI/displays units. To Heads-up display (HUD) which I see it as my first exposure to “augmenting the reality”. I was exposed to deep embedded real-time programming and hard-core scheduling and redundant systems (as any manned-rated software should be) where computers can vote each other out to maintain safety. And I was also exposed to what probably was one of the first real uses of Metaprogramming and self-modifying code. Many people don’t know that the Space Shuttle OS implements self-modifying code for the purpose of “fault-tolerance” where the I/O code will at runtime overwrite itself for the purpose of bypassing faulty I/O elements and taking control of I/O buses when needed.

Back then I contributed in many ways. We were put under a lot of pressure to find “answers” to issues before we could go for launch or re-enter for landing.

One example was a ‘random’ issue that was showing up where blocks of memory were getting zeroed. It took me 3 weeks to figure that one out. Management was impatient, everyone was. But I finally nailed it when I was able to identify the issue to a *single* instruction of Assembler code. But how could this be? The answer -> microcode bug. The HW folks at first couldn’t believe it; microcode issues are almost unheard of. This was an issue related to how the Move-HalfWord (MHV) instruction behaved when the destination and source addresses overlapped, which was a ‘trick’ used to clear out memory (here 0xdeadbeef helped my find the source of the issue). Once found, code audits where done, and the code was patched and we were Go.

Another experience was when one of the computers actually failed to sync in orbit during the STS-51 mission. GPC2 was voted out of the redundant set. This particular issue was of extreme pressure as our Astronauts were in orbit and it was imperative to know if this is a problem that would affect re-entry. Because the fail-to-sync had occurred on the first or second day of a 2 week mission, we had some time to figure out this one. Using downlink data (every 160ms) and memory dumps and the knowledge of the code and the help of other experts, we all got to work. A lot of detective work. At the end, I could come up with only a one answer to the issue, which up to this date, has remained. After lots of careful analysis was able to identify the fail to sync to a single If-statement or ‘branch out’ instruction which seem has taken this particular GPC2 a different route thus didn’t show up to sync when it was supposed to. It happened at the DEU UI code (which is coded using the HAL/S programming language). It is as if the contents of the variable being tested was different on this particular computer. This was hard to prove as I could not see the actual value on the downlink, as it was loaded into registers for the actual branch-out/test. But how could that be? The Space Shuttle computers are space radiation hardened, but are susceptible to soft-errors or single-event memory upsets. In space, cosmic radiation will flip bits in memory all the time, specially when over the South Atlantic Anomaly (when entering the anomaly region, you can see the bit-flip count going up like crazy in the monitor screens during mission support). As a side note, the GPCs memory can sustain and will self-correct during memory scrubs 1-bit flip on a given word (32 bits), but 2+ bit flips will crash the computer. Back to the fail to sync story, the only part of the processor that is NOT radiation hardened are the registers themselves; so my only possible answer was that when the branch instruction executed, which uses registers (R2 in this case), the value of the register itself must have flipped. Everyone is like uhg? But there we were, I was, with the analysis, and dumps and explanation. That was the only explanation, everyone agreed, some had doubts, and the go ahead, and all went well.

BTW, one of the reasons memory dump analysis as above was possible is because the memory model used by FCOS is static. A very deterministic model from the rate monotonic process scheduling, to the I/O profile at any given time, and the memory layout: the I/O and process queues, the interrupt vectors, every piece of code, the patch areas, all — you knew the exact layout and location of everything. I could take a memory dump, read it (manually), and tell you exactly what was going on with that particular computer. Today I still believe that for any manned-rated software system, static-deterministic models are best; you need to be able to see, explain and saves lives by reading a memory dump. I then wrote tools in OS/2 that would take a given a dump, tell you what was going on.

Before I left the program, I helped in the analysis in preparation for GPS I/O support and the new Glass-Cockpit, but I didn’t get to work on their implementation.

And there are other stories like the above, not only from me, but from many others; amazing stories.

I enjoyed working with the Astronauts themselves, and it was very cool to meet in person John Young, first Shuttle astronaut and who walked on the moon (visited the moon twice!). And I enjoyed working with the other amazing individuals, super sharp, super smart. It was super cool listening to the astronauts as they used the code I have written, specially when it was used the first time in orbit, and all worked well; was great. And I always had a blast during mission support. Behind the big room where the flight controllers are (the one you see on the TV) there is another room, called the back-room or Mission Evaluation Room, where all the engineers for each subsystem of the vehicle are located. Typically a flight-controller consults with the back-room engineers when making decisions; in my case I was one of the engineers on anything related to the flight computer operating system.

I loved my time at the manned space program. I am very proud to have received the Silver Snoopy. While it didn’t pay$ a whole lot, it was the best job I have ever had; the people I worked with, the missions, the space program, the pride.

(A cool ‘family fact’ is that my brother also worked in the Shuttle program at the same time I did; he worked on the Thermal Protection System (the tiles). At a number of missions we both saw each other at the back-room/Mission Evaluation Room while giving mission support. I am not sure how many brothers have worked together at the same mission giving mission support; but that is pretty cool. My brother is also a recipient of the Silver Snoopy Award.)

And with this last mission of the space shuttle, an era of the manned space program ends, and a new one begins, I hope. I am thankful of such experiences and proud of the USA space program, and specifically the manned space program, what it has accomplished in its 50 years (and 30 years of Space Shuttle program).

It is of great importance that we as a Nation and as soon as possible get back into the manned space program. Otherwise we are going to lose lots of experience and expertise; gone. The manned space program requires practice and it is not like riding a bicycle which you can pick up back easily with few practice. On the manned space program if you do not practice, if you forget, people will die. Unacceptable. For the next five years we are going to be relying on our friends the Russians to get to space, but we really need to get back to it by ourselves. The research that comes out if this, the jobs, and the independence (and status) when it comes from space exploration of our nation nation depends on it.

Today I dedicate my time working on mobile and wireless technologies and software, but I always look back at my days at the Space Shuttle program, and remember…

Godspeed to the crew of STS-135 Atlantis…

Links:


http://about.me/cenriqueortiz


References:
Space Shuttle Computers and Avionics


7/16/2011 STS-135 Fail-to-Sync
Source: Huffington Post

NASA declared all five of Atlantis’ primary computers to be working, pending evaluation of the latest shutdown.

Computer failures like this are extremely rare in orbit, said lead flight director Kwatsi Alibaruho. The two problems appear to be quite different, he noted. The first was caused by a bad switch throw; the second possibly by cosmic radiation.

Posted in Space | Tagged , | 1 Comment