Whitespace
Whitespace. Erase firmware only if writing to device, not if reading.  Ditto for updating fimrware.