fixed flash programming to work with new chirp code and flash code in libpixy