WriteToFlash in firmwaretab now working