OLPC trac #1161 - improved robustness of "flash" command by clearing status register and retrying a failed "flash" attempt once.