Look here:

xs++ 3.1 guide

Under section Recovering from a bad flash.

Nice day