fixed issue #2 «error on page 0: byte 0x00 is 0x00 instead of expected 0x02» due to incorrect write length : we must write entire words to flash.