Thomas, interesting point. In other words, your code would make cbfs more robust in the event of a failed flash operation due to power fail or reset in the middle of flashing. I don't know how well this could work in practice but it's intriguing. OK, let's see that patch when it's ready :-) ron