make framework for reflashing.