forked from: Flash block tester

