Maybe check for Write Protect in the datasheet for your particular chip.

Robert