done with flashWriteData