 Starting with a freshly erased block, any location within that block can be programmed.However, once a bit has been set to 0, only by erasing the entire block can it be changed back to 1.In other words, flash memory (specifically NOR flash) offers random-access read and programming operations but does not offer arbitrary random-access rewrite or erase operations.