For example, after a missed packet. It might be worth validating the current offset to avoid bricking micro:bit - in FLASH_DATA too.