started adding flash control functions to bustest