need to erase flash before writing